AnsweredAssumed Answered

MPC5748G: No Write access to eDMA TCD

Question asked by Peter Hartlmueller on May 15, 2018

I intended to setup a SPI communication from SPI3 (Master) to DSPI0 (Slave) by using the NXP example "dspi_master_mpc5748g" using the PE. The example was changed from an interrupt based signalling to DMA.

The problem is an exception when the eDMA resources are written during the initialization in EDMA_TCDClearReg(). Write protection is also given when atempting to write with the Memory Browser. Reading looks ok.

Neither setting up the MPU nor disabling the MPU (manualy during debugging) helps.

 

Thanks for putting a beginner on the rail!

Peter

Attachments

Outcomes