Skip to main content
R.K
Associate II
February 10, 2021
Question

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

  • February 10, 2021
  • 1 reply
  • 622 views

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.​

This topic has been closed for replies.

1 reply

R.K
R.KAuthor
Associate II
February 11, 2021

Is DMA and oversampling incompatible?​