MPC5748G: No Write access to eDMA TCD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5748G: No Write access to eDMA TCD

556 Views
PeterHartlmuell
Contributor I

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

0 Kudos
1 Reply

429 Views
PeterHartlmuell
Contributor I

The problem was a missing call to a RE - routine.

0 Kudos