SPRZ545D July 2023 – April 2025 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
ePWM: ePWM TZFRC and TZCLR Events May be Missed When PERCLKDIVSEL.EPWMCLKDIV = 1
0, A
The TZFRC bit is used for software-forced trip events, while the TZCLR bit is used for clearing the trip-zone events. On devices with EPWMCLKDIV, the TZFRC and TZCLR write may be missed and leave the output unaffected if PERCLKDIVSEL.EPWMCLKDIV is programmed to 1. This bit is programmed to 1 by default (EPWMCLK is PLLSYSCLK/2).
EPWMXBAR → Digital Compare → Trip Zone
Initialization
Application Code
To Trip the PWMs, you can invert the EPWMXBAR state using XBAR_invertEPWMSignal().