Skip to main content
rolfmyhre
Associate II
December 2, 2023
Question

ADC converters on STM32H562 (H5-series)

  • December 2, 2023
  • 2 replies
  • 1162 views

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

This topic has been closed for replies.

2 replies

AScha.3
Super User
December 2, 2023

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 on " Best Answer ".
Visitor II
December 2, 2023

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