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.

F28069的epwm和spi问题

现在我在程序里开了一个PWM中断,133us,我的spi外接了一个芯片用于串口读取数据,读取数据函数大概用时7us,现在将spi读取数据的这个函数,放在pwm中断执行,应该时间足够,但是放在里面后会经常看门狗复位(我的看门狗是200ms),整个程序里没有其他的中断,包括spi也没有开中断,难道spi读取发送程序不能嵌套在其他中断里,请问这是为什么,有什么解决方法吗?