cancel
Showing results for 
Search instead for 
Did you mean: 

ADC converters on STM32H562 (H5-series)

rolfmyhre
Associate II

I have used several different STM32 devices over the years, but never experienced this problem. It´s simple: I cannot get the ADC´s on th H5 series to work. Is there anyone who can suggest (low level without STCubeMX etc.) the following two functions for STM32H562 ?
"void ADC1_init(void) {}" and
"unsigned short read_ADC1(char) {}"

regards
Rolf Myhre
r-my@online.no

2 REPLIES 2
AScha.3
Chief II

did you try this on a H7 ?   ( i gave up - and used HAL .)

just if you prefer low level , i would use HAL , gen. code, and then look, what is to do. then you know.

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

This is not exactly about the model that you are using. But the solutions may help you somehow.

https://community.st.com/t5/analog-and-audio/how-can-i-read-analog-data-using-adc-with-low-layer-libraries/td-p/69730