11.4.11.2.6 Self-Test

The IOIMCON SFR contains the FLTINJ bit and OKINJ bit, which allow user software to simulate an IOIM failure/OK. This feature allows the user to fully test Fault handling software (see IOIMxCON). The mode for artificial test must be set accordingly.

Table 11-47. IOIM Test Conditions
Operating ModeATEST BitOKINJ BitFLTINJ BitRegister Bits ValidComments
OKERRERRCNTOVF
Functional mode00/01xxYesYesYesYesReference and feedback signals are taken from external signals.
11101000It is a module health test. Feedback and reference signals are injected from the register bit (OKINJ) by user.
100101YesYesIt is a module health test. Feedback and reference signals are injected from the register bit (FLTINJ) by user.
Note:
  1. It is not recommended to set the OKINJ and FLTINJ bits at the same time.
  2. OK bit is not set when FLTINJ = 1.
  3. It is recommended to disable and then enable the module using the ON bit after mode changes.