AnsweredAssumed Answered

MPC5748G SPI using dma not working

Question asked by Zubair Ahmed on Sep 13, 2018

MPC5xxx  all, I have to read 252 bytes of data over SPI using dma and need to return same amount of data 252 byte back to Master module. 

 

My SPI channel is configured as slave and it can transfer 16 bits of data. My microcontroller is MPC5748G.

 

It will be great if you can suggest me TCD structure for RX and TX. I am currently receiving 252 bytes correctly but the TCD structure I am using for Treansmission is sending 8 byte of data & remaining 244 byte are repeated with 8th byte of data. It looks like dma transfer first 8 byte of data but then nothing works. 

 

Please guide me on this issue. 

Outcomes