Question
ADC using DMA
- May 27, 2024
- 1 reply
- 1344 views
Hello,
I would like to measure the voltage on analog pin A0 and A1 simultaneously, using ADC in DMA mode. I configured my ADC settings as SCAN, CONTINUOUS mode to measure continuously the whole group. The DMA is also configured and linked to the ADC1. However, the results that i am trying to display on the serial screen from UART communication, are all the same, even though with applying a sinewave evolving from 0V to 5V at 1Hz. Here are the .ioc and main.c files attached.
Thanks in advance for help.