MPC5744 DMA can’t enter in interrupt issue in spi communication

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

MPC5744 DMA can’t enter in interrupt issue in spi communication

384 Views
TbQaQ
Contributor I

Hello all,

               Recently,I try to implement DMA in spi master mode with DSPI_3.I select Sourece Resource DSPI_TFFF and DSPI_RFDF as DMA source and assign them through dammux to dma channel1 and  channel3.Relaed bits  in corresponding SPI register RSER and  INTC wered set.However when bit TFFF in SR register was set ,I can't enter in DMA Interrupt? Can anyone give me some guidance and help solve this problem?

 

0 Kudos
Reply
1 Reply

375 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Here you may see example code:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5676R-DSPI-MasterSlave-DMA-CW210/ta-p...

If you use these flag as DMA source, expected use is subsequently to use DMA channels' interrupts as major loop complete and major loop half complete.

0 Kudos
Reply