AnsweredAssumed Answered

MPC5634M eDMA to eQADC to RAM

Question asked by Andrei Chichak on May 17, 2019
Latest reply on May 22, 2019 by Andrei Chichak

This shouldn't be difficult, but I've spent a few weeks on it, am getting nowhere and the next step isn't pretty.

 

I'm trying to use DMA to take a list of ADC commands, DMA them into CFIFO, and DMA the results from RFIFO into RAM.

 

It should work, but it doesn't. I get the end of queue interrupt, but the results have never managed to make it out of the RFIFO into RAM.

 

From this, I can assume that the ADC is being fed, but not emptied.

 

Many things could be wrong, I could be missing a command, the S32DS may have a bug, there could be a silicon bug. At this point I have no idea at all.

 

I'm using the latest S32DS and a TRK-MPC5634M, all NXP off the shelf, nothing custom.

 

Attached is a minimal project that shows the problem.

Attachments

Outcomes