MPC5748G: No Write access to eDMA TCD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5748G: No Write access to eDMA TCD

939 次查看
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 项奖励
回复
1 回复

812 次查看
PeterHartlmuell
Contributor I

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

0 项奖励
回复