Hello,
We want to support SPI communication on F28069M to get motor control command.
When we disable the ADC interrupt for motor control, the SPI interrupt can receive frame successfully. But if we enable the ADC interrupt, SPI interrupt receive wrong data sometimes.
I think it's caused by ADC interrupt has higher priority than SPI interrupt, SPI ISR can't read the data in time. Since F28069M doesn't support DMA on SPI, do you have any suggestion to keep the SPI communication successfully when enable motor control?
Thanks.
Best Regards.