cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 ADC_CR Boost bits

jowakar122
Associate III

I am using NUCLEO_H723ZG in which I am using 12-bit resolution ADC. Below is the clock used for ADC:

jowakar122_0-1746706534801.png

Moreover, I have used DIV2 clock prescaler. So my BOOST bits in ADC_CR register should be 11 as it is mentioned in the reference manual.

jowakar122_1-1746706680608.png


I checked those BOOST bits while debugging and they are set 10 instead of 11.

So I assumed the clock frequency to be 50 MHz and checked all the condition. With that all condition the BOOST bits changes accordingly.

Although 64 MHz is shown there but the clock frequency used is 50 MHz?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

The relevant clock rate for the BOOST value is the clock at the ADC--after all the prescalers. You have an input of 64 MHz, a prescaler of 2, and a fixed prescaler of 2, so the clock rate at the ADC is 16 MHz, which lines up with BOOST=10.

 

TDK_0-1746708201081.png

 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Guru

The relevant clock rate for the BOOST value is the clock at the ADC--after all the prescalers. You have an input of 64 MHz, a prescaler of 2, and a fixed prescaler of 2, so the clock rate at the ADC is 16 MHz, which lines up with BOOST=10.

 

TDK_0-1746708201081.png

 

If you feel a post has answered your question, please click "Accept as Solution".