Skip to content

Reading ADC on STM32H750B-DK. #76493

Answered by gautierg-st
adtvtk asked this question in General
Discussion options

You must be logged in to vote

Hello @adtvtk,
You seem to have a clock configuration problem, I tried to put st,adc-prescaler = <4>; and it works on my board. I didn't push the analysis, but it seems the ADC kernel clock was too fast.
If you like, you can try to further reduce the frequency by defining an asynchronous clock for the ADC (by using st,adc-clock-source = <ASYNC>; and adding a secondary clock in clocks; there are examples of this sort of thing in the board dts)

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by erwango
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) platform: STM32 ST Micro STM32
3 participants
Converted from issue

This discussion was converted from issue #76252 on July 30, 2024 16:33.