Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 3 months ago.
STM32 nucleo using SCAN mode for ADC
Hi, I have been trying to use scan mode for the ADC to try to convert two channels as quickly as possible. I am able to set up ADC to DMA for a single channel. However when I increase the buffer size of the DMA to larger than 1, sporadically every 5-10 reading a completely wrong. It seems the two channels every once in a while get crossed and ch0 goes to ch1 and ch1 goes to ch0.
Probably my setup is not right. The question then is there an example somewhere for SCAN mode being using for the STM32 family? It is not in one of the standard library examples that I have. Specifically I am using the L152RE (only has one ADC block).
4 years, 11 months ago.
could you share the example here too? I'm trying to use a similar approach on the SMT32 L053 board.