AnsweredAssumed Answered

MPC5777c EDMA-EQADC multiple channel read

Question asked by Amir Asemanpayeh on Oct 9, 2018
Latest reply on Oct 10, 2018 by Amir Asemanpayeh

Hello,

I am trying to configure the EQADC with EDMA to read all of the ADC_A channels. I am struggling to set the EDMA to send the next element in my CQueue array (with the commands to read channels 1, 2 ...) and read the RBuffer (results) and store it the RQueue array. I can only get the EDMA to transfer the command in the first index of the CQueue array and store the read ADC value in the first index of the RQueue array. Does anyone have an example code to show how to setup the EDMA to loop through the commands queue and get all of the ADC channels data and store in the RQueue. 

Thank you

Outcomes