ADC (DMA) overrun error at the fastest sampling speed (STM32F030RC)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-18 1:47 PM
Using ADC with DMA to read a bunch of analog inputs on a STM32F030RC, I am getting an error callback due to an overrun error if I select 1.5 cycles for the sampling time.
Any slower sampling time seems to work OK.
I'm confused about how this error could occur. As I understand it, the ADC runs at 14 MHz. Meanwhile, I'm running the MCU at only 8 MHz. But even so, I'm using the ADC in 12-bit mode, so it's going to take many cycles to read one channel. It seems like the MCU should be able to keep up - even at 8MHz.
Is an overrun in this situation expected?
Thanks.
Labels:
- Labels:
-
ADC
-
DMA
-
STM32F0 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
