AnsweredAssumed Answered

Spurious DMA interrupts related to SPI-Rx

Question asked by SATYA SUDHIR SURE on Aug 6, 2019
Latest reply on Aug 11, 2019 by Lukas Zadrapa

Hi,

 

We are using MPC5746C controller and implemented SPI in full duplex mode.

2 DMA channels are configured for both SPI-Tx & SPI-Rx.

Also, interrupts are enabled which will be triggered upon the completion of both SPI-Tx DMA & SPI-Rx DMA.

In Interrupt routine, Destination address is updated for both the DMA channels (ping-pong buffer implementation).

With the above mentioned implementation, we are observing spurious SPI-Rx DMA interrupts.

Major Loop count is '1' & minor loop count is '64'.

Could you pl let us know the causes for this spurious interrupts ?

 

Regards,

Satya Sudhir

Outcomes