6.2.6.17.1 Fault Injection Software Operation
Prior to any fault injection procedure, the timing engine must be disabled (see Timing Engine Power-Down Software Operation.
To inject a fault into a detection block related to config or registers (block index from 32 to 95, see Fault Injection Block Indices), follow the steps below:
- Configure LCDC_FICFG.
- Configure LCDC_FICR.
- Configure any register, so the fault is injected.
- Configure any register again so that the fault is cleared.
- Read LCDC_FDSR.
To inject a fault into a detection block related to attribute registers or critical FSMs (block index from 128 to 197, see Fault Injection Block Indices), follow the steps below:
- Configure LCDC_FICFG.
- Check that LCDC_LCDSR.SIPSTS is cleared.
- Configure LCDC_FICR.
- Check that LCDC_LCDSR.SIPSTS is cleared.
- Read LCDC_FDSR.
Note:
For attributes registers and critical FSMs, the fault is injected during only one clock cycle.