Hello,
I am working on the S32K358 and I want to configure the ADC to read multiple channels using DMA. Specifically, I would like to:
Use a software trigger to start ADC conversion.
Configure the DMA so that the converted results from multiple channels are transferred to a buffer automatically.
Handle the sequence of multiple ADC channels without CPU intervention for each conversion.
I am a bit confused about the steps required in the S32DS + RTD environment (or SDK).
How do I configure the ADC for multiple channels with software trigger?
How should I set up the DMA TCD (Transfer Control Descriptor) so that each ADC conversion result is placed correctly in memory?
Is there an example or application note for ADC + DMA + software trigger on S32K3 MCUs?
Any guidance, example code, or reference material will be very helpful.
Thanks in advance!