Skip to main content
Msert.1
Associate II
November 17, 2020
Question

ADC and DMA

  • November 17, 2020
  • 2 replies
  • 1203 views

Hello,

In the SPC5Studio, eDMA comes enable defaultly. My question when I enable ADC Module, conversion of analog channel is done through eDMA ? If not should I need doing some configurations ?

Best Regards,

This topic has been closed for replies.

2 replies

Giuseppe DI-GIORE
ST Employee
November 19, 2020

Hello,

In ADC driver configuration, enable DMA transfer.

Converted data is transferred from ADC module to application buffer using DMA.

If ADC is configured to convert more than one ADC channel, channels must be consecutive.

Regards,

Giuseppe

Msert.1
Msert.1Author
Associate II
November 20, 2020

Hello,

Thanks for answer, it is going to be like that?

Regards,