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.
9 years, 9 months ago.
Is there a way to configure the ADC to burst mode for the STM32F401RE?
Hi,
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
9 years, 9 months ago.
Hi,
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:
https://my.st.com/public/STe2ecommunities/default.aspx
Regards.