This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

两块DSP之间使用SPI通信,当使用多个中断时丢失或者错收数据

Other Parts Discussed in Thread: TMS320F28069

大家好,

我在进行两块TMS320F28069之间的SPI通信, 中断机制。

当主从的程序都只有RX和TX中断时, 主从收发都正确。

但是,当程序中加入采样ADCINT1和EPWMINT1中断后, 丢失数据或者收到错误的数据。这是因为中断优先级造成的吗?

大家有没有碰到过这种问题,一般该怎么样解决呢?

我的想法是把ADC采样得到的数据通过SPI在主从之间互传。

谢谢!