Skip to main content
Associate II
November 15, 2023
Solved

STM32L412RB

we're using STM32L412RB microcontroller and it has 2*12 bit ADC and our project requires 8 bit resolution, in this controller can we configure the resolution from 12 to 8 bits?

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
November 15, 2023

Hello @Adithya_Jayaram and welcome to the ST Community :smiling_face_with_smiling_eyes:.

Yes, you can configure the resolution  from 12 to 10, 8 or 6 bits. Using CubeMX, under ADC Configuration -> Parameter Settings (ADC_Settings) you can set the Resolution you want:

STTwo32_0-1700030983292.png

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

STTwo-32
STTwo-32Best answer
ST Technical Moderator
November 15, 2023

Hello @Adithya_Jayaram and welcome to the ST Community :smiling_face_with_smiling_eyes:.

Yes, you can configure the resolution  from 12 to 10, 8 or 6 bits. Using CubeMX, under ADC Configuration -> Parameter Settings (ADC_Settings) you can set the Resolution you want:

STTwo32_0-1700030983292.png

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.