Associate III
June 13, 2017
Question
STM32F7 Disco ADC issue
- June 13, 2017
- 4 replies
- 2051 views
Posted on June 13, 2017 at 08:09
Hello all,
I am trying to read the ADC value from PA0 pin on a STM32F7 Disco board but without any success.
The issue is that the ADC reading is acting as the pin is floating
I suspect that the initialization code is not correct due to the fact that if i change the the Pull parameter to PULLUP/DOWN the behavior of the ADC value stays the same.
I have try to run also the example ADC_RegularConversion_DMA from STM32Cube_FW_F7_V1.7.0 but the behavior of the value is the same (i run the code on 2 different new boards)
I have attached the ADC code for review.
Can someone help me figure it out what is wrong here?
Thanks
#adc-reads #stm32f7-discovery