Does ADC sampling rate change if continuous DMA requests is enabled?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-20 3:08 PM
I am trying to perform ADC whenever external interrupt signal is given. Because I have to perform ADC multiple times (= interrupt signal will come multiple times), I enabled DMA continuous requests option for ADC and enabled Continuous Conversion Mode. However, when I enable this option, the ADC sampling rate seems to depend on the number of ADC samples (buffer size) assigned to each ADC. When I disable DMA continuous request and enable only Continuous Conversion Mode, the sampling rate remains the same.
Is this normal? If so, how do we calculate ADC sampling rate under Continuous Conversion Mode enabled? Here, I mean that ADC sampling rate is the number of ADC samples obtained per second.
Below figures show the ADC parameters that I use. ADC is done under dual regular simultaneous mode and PCLK2 = 108 MHz.
- Labels:
-
ADC
-
DMA
-
STM32CubeMX
