2022-01-07 05:34 AM
Hello. I am making software with STM32F030CCT6 processor. I am trying to make ADC with or without DMA. I always face this problem in F0 series. I can read only one channel. When it switches to multi-channel, it transfers data from a single channel to all channels. In the STM32F4 series, we could choose the rank in the settings. So it was easy to run DMA. You can't choose rank on this one. How to read multiple ADCs in F0 series Can you help with the HAL library?
2022-01-07 05:55 AM
Guys, I found the solution. Stuck friends can try the code here.
2022-01-07 05:56 AM
The ADC peripheral varies between series, so don't expect the interface to be the same. It's also perhaps the peripheral with the most examples.
Here is an example on the F0 for reading multiple ADC channels.
2022-01-07 07:04 AM
In the F0 series, you can only scan from first to last or from last to first. If you are using 2, 5, 7 inputs, you can only read 2-5-7 or 7-5-2. default order 2-5-7