Hi, I want to learn How to use DMA to get ADC transformation result without ADC interrupt.
I used S32K344,
IDE is S32DS3.4 ,
RTD is S32K3 RTD AUTOSAR 4.4 VERSION 2.0.0
I am confused about how to config that.
Hope to get your help, thanks.
Solved! Go to Solution.
Hi,
you can refer to possible implementation in
BR, Petr
Hi,
you can refer to possible implementation in
BR, Petr
thanks for your help, but my RTD VERSION IS 2.0.0. I can't run the project you give.
Hi,
I added RTD200 version as well, so you can try.
BR, Petr
Hello @PetrS ,
In your example you used 5 ADC channels but in "Adc_Sar_Ip_1" you defined only 1 channel, is that correct?
Is it not necessary to put all channels in this array?
Thanks,
MVR
Hi,
actually in this example BTCU is used to trigger conversions and command list is created with 5 commands.
DMA then reads result from BCTU data register.
BR, Petr
Ok, I understand it,
But my question is: In "Adc_Sar_Ip_1" in the "Channel configurations array" option, don't you need to fill with the 5 channels used in your list?
Hi,
the "Channel configurations array" option is for specifying which channels will be converted during normal conversion. It configs NCMRx registers. This is not used in the example
BR, Petr
Hmmm, I understand now! Thanks