cancel
Showing results for 
Search instead for 
Did you mean: 

H5 ADC clock

MikeInMinnesota
Visitor

Hi, I'm using the Cube IDE 1.17 on an H5.  The HCLK is 248MHz.  When I try to configure the ADC/DAC clock to use HCLK, I get a red error.  According to the data sheet, the maximum clock to the ADC is 75MHz.  I am configuring the clock as divide by 6.

Am I misunderstanding the maximum ADC clock rate in the datasheet?  The part should be able to perform 5 MSPS.

Regards,

Mike 

3 REPLIES 3
STTwo-32
ST Employee

Hello @MikeInMinnesota @and welcome to the ST Community.

Could you please give me the exact part number of your MCU and a screenshot of your Clock tree and another one for the message you are receiving.

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.

TDK
Guru

There are limits on  f_adc_ker_ck_input, which is the clock fed to the ADC before it is divided down. The limit varies by part and by run mode.

TDK_0-1739396355092.png

 

There are additional limits on f_adc_ker_ck, which is the clock after it's been divided down.

TDK_1-1739396387963.png

 

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

Hi,

so choose a somewhat lower clock... (that can work on AHB bus)

AScha3_0-1739396552009.png

+ the "red error" telling you, whats wrong (just go with mouse pointer at it).

If you clock it at 75M , it can reach 5 Msps / 12 bit. (with minimum sampling time)

But be aware: it needs low impedance driving the input then:

AScha3_1-1739396884381.png

 

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