5 years, 3 months ago.

Is there a way to configure the ADC to burst mode for the STM32F401RE?


I've been trying to figure out how to configure the registers to enable the ADC to run in burst mode as opposed to continous mode but have failed to do so far.

I am working with the STM32F401RE board and have looked inside the registers (http://developer.mbed.org/users/mbed_official/code/mbed-src/file/cc1c4962551c/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f401xe.h)

From the looks of it, I cannot find any setting to change it to burst mode.

The reason why I need burst mode is to be able to sample incoming data from photodiodes that is capturing light from a transmitting source. I need the ADC to take the data in burst mode as I ran into problems with continuous mode where the sampled data bits seem to flip over time when using Matlab to look at the results.

Thanks for the help.

1 Answer

5 years, 3 months ago.


No, this advanced mode is not supported by the mbed API. You must use the STM32Cube API instead and you should find examples in the STM32Cube package.

Give also a look in the ST forum:



Accepted Answer