SPRUJ79A November 2024 – December 2025 F29H850TU , F29H859TU-Q1
The register lock protection mechanism is added to protect the critical ePWM registers from being corrupted by accidental writes in case of runaway code. The register EPWMLOCK contains the definition of Lock bits (Table 27-16 shows the lock bits and the corresponding registers). This register also has a KEY field; writes to this register succeed only if the KEY field is written with a value of 0xa5a5. Refer to the register descriptions for more details.
| Bit Field | Definition | Registers Locked |
|---|---|---|
| HRLOCK | HRPWM Register Set Lock | HRCNFG, HRPWR, HRMSTEP, HRPCTL |
| GLLOCK | Global Load Register Set Lock | GLDCTL, GLDCFG |
| TZCFGLOCK | TripZone Register Set Lock | TZSEL, TZDCSEL, TZCTL, TZCTL2, TZCTLDCA, TZCTLDCB, TZEINT |
| TZCLRLOCK | TripZone Clear Register Set Lock | TZCLR, TZCBCCLR, TZOSTCLR, TZFRC |
| DCLOCK | Digital Compare Register Set Lock | DCTRIPSEL, DCACTL, DCBCTL, DCFCTL, DCCAPCTL, DCAHTRIPSEL, DCALTRIPSEL, DCBHTRIPSEL, DCBLTRIPSEL |