2021-12-18 11:54 AM
Hello
I need to receive the value of multiple Channel of ADC 1
I followed this tuto : https://controllerstech.com/stm32-adc-multi-channel-without-dma/
But when my pin 1 is connected to GND i have 1500 of numeric value
Already tested in Arduino and the adc work perfectly
It is a nucleo l432kc without modification
Do you have an Idea
Thanks
Solved! Go to Solution.
2021-12-20 07:18 AM
Finally y found the solution . The problem was that between two ADC_PollForConversion i was stopping the ADC and that doest work
2021-12-18 05:58 PM
It is difficult to determine your problem without seeing the code as implemented. Perhaps you are inadvertently converting the temperature channel.
Did you debug step through the code to ensure it is working as expected?
Cheers, Hal
2021-12-19 10:13 AM
Here is the code , and no i'm not reading temperature channel
Thanks for the response
2021-12-20 03:13 AM
Have you set the ADC input GPIO pins to the correct alternate function?
2021-12-20 07:18 AM
Finally y found the solution . The problem was that between two ADC_PollForConversion i was stopping the ADC and that doest work