MPC5748G SPI using dma not working

显示  仅  | 搜索替代 

MPC5748G SPI using dma not working

812 次查看
Contributor III

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. 

标记 (3)
0 项奖励
1 回复

606 次查看
NXP TechSupport
NXP TechSupport


Could you share with us your DMA TCD configuration,

I have a feeling that you are not incrementing source address.



0 项奖励