MPC5748G: No Write access to eDMA TCD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5748G: No Write access to eDMA TCD

935件の閲覧回数
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 返信

808件の閲覧回数
PeterHartlmuell
Contributor I

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

0 件の賞賛
返信