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.
Operating Mode | ATEST Bit | OKINJ Bit | FLTINJ Bit | Register Bits Valid | Comments | |||
---|---|---|---|---|---|---|---|---|
OK | ERR | ERRCNT | OVF | |||||
Functional mode | 00/01 | x | x | Yes | Yes | Yes | Yes | Reference and feedback signals are taken from external signals. |
11 | 1 | 0 | 1 | 0 | 0 | 0 | It is a module health test. Feedback and reference signals are injected from the register bit (OKINJ) by user. | |
10 | 0 | 1 | 0 | 1 | Yes | Yes | It is a module health test. Feedback and reference signals are injected from the register bit (FLTINJ) by user. | |
Note:
|