cancel
Showing results for 
Search instead for 
Did you mean: 

SPI communication with DMA handler

RBV
Associate II

Hi, I have implemented SPI communication using DMA and it works.

When i receive different data than the mentioned protocol format then it hangs and i dont receive any more data and i have to reset the chip to get back the communication.

Is there anyway to overcome this, any thoughts about the DMA handling??.

1 REPLY 1
TDK
Guru

Write your code such that it's robust against unknown data coming in and implement verification on incoming data.

If you feel a post has answered your question, please click "Accept as Solution".