2025-06-03 4:22 AM
I'm using stm32u5 series MCU and I need help on below.
1. System clock I've configured to 24Mhz and how do I set my ADC clock to sample at 20Khz
2. Without DMA, single channel data collection I'm able to do but not able to do for multiple channels.
Solved! Go to Solution.
2025-06-03 8:24 AM
Your code is trying to convert multiple channels without using DMA. This is bound to lead to issues.
2025-06-03 5:55 AM
Use DMA to read multiple ADC channels, or reconfigure the ADC after each one to convert only a single channel. If you are having problems, refer to an example or show your code.
2025-06-03 8:13 AM - edited 2025-06-03 8:15 AM
@TDK Here is my code, I've attached my main.c file. Only this file I edited and this approach without DMA is required for me to explore the things
Please let me know if you need complete project.
2025-06-03 8:24 AM
Your code is trying to convert multiple channels without using DMA. This is bound to lead to issues.
2025-06-03 9:19 AM
Do you have any suggestion to get this working?
I need to demonstrate all this below option
As of now I'm on 2nd stage