SLAAEK4 January 2024 MSPM0C1104
Before configuring fault handler, it is important to consider the following basic properties of faults in a system, such as:
For fault input source, the user can select the polarity and enable various fault input sources, such as comparator (COMP) output, external fault pin, system clock fault or a trigger. The user can also controls the input filtering for the fault input.
Fault handler can have effects on counter and output. For counter behavior with fault conditions, counter can be set to stop immediately, stop when reaches zero or continue to count. Upon exit of fault mode, the counter can be set to restart from Load value, 0 value, or continue counting from where it left off. Figure 8-9shows the counter behavior in fault condition with different configurations.
For output behavior with fault conditions, the CCP output value can be set high, set low, toggled, tristated (Hi-Z), or unaffected by the fault event.
To accelerate development, please refer to the following resources.