Skip to main content
Msert.1
Associate II
Nov 17, 2020 12:20 PM UTC
Question

ADC and DMA

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
Nov 19, 2020 2:51 PM UTC

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
Nov 20, 2020 7:18 AM UTC

Hello,

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

Regards,