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的GPIO33发出同步信号,从dsp的GPIO32接收同步信号。目前主dsp能正常发出同步信号,但从dsp未能正确接收到同步信号实现同步。从dsp的相关代码如图所示,其中在XINT3中断程序中XINT_InterruptCount能正常计数,但EPwm1Regs.TBCTL.bit.SWFSYNC = 1在debug过程中始终保持为0
EPwm1Regs.TBCTL.bit.SWFSYNC = 1;是个one-time pulse的寄存器,不会保持为1的,你可以看看实际有没有完成同步。