SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1
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.
It is important to consider the following basic properties of faults in a system, such as:
Fault conditions are synchronously detected using TIMCLK or asynchronously detected. Synchronous faults have a configurable glitch filter and can generate a latched fault event. Asynchronous faults cannot be latched and do not generate a fault event. The CCP output can be configured for either type of fault upon entry and exit conditions.
The fault handler logic diagrams are split into three parts: asynchronous faults, synchronous faults, and fault output generation.
Figure 25-34 shows the asynchronous fault handler logic connections.
Figure 25-35 shows the synchronous fault handler logic connections.
Figure 25-36 shows the fault output generation logic connections.
Key registers for configuring the fault handler are:
TIMA.CCACT_xy[0/1]: this register controls the actions of the signal generator of the capture-compare portion based on fault events.