Other Parts Discussed in Thread: TMS320F28069
Hello,
I'm testing the communication between two DSPs (TMS320F28069) via SPI (interrupt mechanism).
When I implement simple code in both master and slave, everything works very well. By 'simple code', I mean only RX and TX interrupts are used.
However, when I add interrupts EPWM1_INT and ADCINT1 to the program, the two DSPs lost sychconization (missing or mis-receiving data). I'm thinking perhaps this is caused by the interrupt priority issue. RX and TX interrupt have lower priority. Does anyone know how to solve this issue? Or did I misunderstand anything?
The thing I want to do is transmitting the sampled data (obtained from ADC) between two DSPs .
Thank you for your help.