cancel
Showing results for 
Search instead for 
Did you mean: 

Hello everyone. I'm using a ADC with DMA. The device is stm32l073.

R.K
Associate II

If the ADC is used alone without using DMA, the data conversion will be performed in the cycle described in the data sheet.

However, the conversion time is doubled when using DMA.

Do you know why?

Common conditions

・Clock : 16MHz

・​Clock Prescaler : Asynchronous clock mode divided by 1

・Resolution : 12bit

・Continuous Conversion Mode : Enabled

・Overrun behaviour : overwritten

・​Oversampling Mode Enabled

・Sampling ratio : 64

​・Triggered Mode : Single trigger

・​Sampling time : 1.5

・​External Trigger Conversion Source : Regular conversion

Different conditions

・DMA Continuous Requests : Enabled / Disabled

regard.​

1 REPLY 1
R.K
Associate II

Is DMA and oversampling incompatible?​