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.
我有一个时间关键型 ISR、需要在 EPWM2中断上运行。 是否可以将 ISR 卸载到 CPU2、但让 CPU1更新 EPWM2Regs 寄存器以更改其频率和占空比? 实际上、CPU2只需要运行由 EPWM2触发的 ISR、但 ePWM 的其余属性由 CPU1控制。
您好!
[引用 userid="333020" URL"~/support/microcontrollers/C2000-microcontrollers-group/C2000/f/C2000-microcontrollers-forum/1126201/tms320f28379d-using-CPU2-TO-JYE-RUN-ISR"]从本质上讲、CPU2只需要运行由 EPWM2触发的 ISR、但其余属性由 ePWM[]控制。是的、这可能是、但 CPU2 ISR 将执行什么操作? 以及 CPU1如何知道何时更新 EPWM2Regs 寄存器?
CPU2 ISR 将停止 cpuTimer 并向 CPU 1发送一些数据。 CPU1将更新 epwm1isr 中的 epwm2regs、该变量使用全局同步与 epwm2同步。
Anuj、
这应该起作用。
此致、
Vivek Singh