SLAAEK4 January 2024 MSPM0C1104
Fault handler is usually required in real-time control to handle abnormal conditions, for example overcurrent or overvoltage conditions. Hardware fault behavior enables faster protection than software code. In addition, more complex PWM control can be implemented based on the fault handler.
In TIMA only, there are internal and external fault inputs which can be used to control the generation of PWM signals. The intended use of these inputs is as a mechanism for internal or external circuitry to indicate a fault in the system. This allows the hardware to react quickly to the external fault while optionally signaling an interrupt for software correction and leaving the output signals in a safe state.
To enable fault handler, TIMA is required. The following is the key feature for the use case.