Other Parts Discussed in Thread: C2000WARE
CCS debug register CMPA 32 bit integer view memory mapped value of match counts are very high from 24 bit wide bus TBCTR up/down counts:
Condition 1: TB is not being reset on TBD counts. And CMPA match counts via bits (31:16) do not cause TB ctr_MAX status bit toggles, when CMPA matches occur below TBCTR=0xFFFF.
Undocumented errata seems to be present in EPWM type 4 module, silicon revision 3.
1. Would a proper WA be to also leverage AQ sub module (CTR=PRD (Priorty 6)) as to augment (CTR=CMPA (Priority 5)) action qualifier in the event TB reset fails to toggle for preset TBD periods?
2. Would adding the second AQ then trim down an overflowing TB counts occurring presumably in the 24 bit decade counter chain of TB sub-module?
Effect 1: Ignoring 24 bit wide TB counts masked via 16 bit tool chain registers seem to have unintended consequences of excessively long PWM cycles of TBD fixed periods.
Void of Action Event: TB module counter chain seems to overflow and reset is not clearing TBCTR counts upon CTR=PRD.