S32 SDK
Error Injection Module (EIM)

Detailed Description

The S32 SDK provides both HAL and Peripheral Drivers for the Error Injection Module (EIM) of S32 MCU
.

The Error Injection Module is mainly used for diagnostic purposes. It provides a method for diagnostic coverage of the peripheral memories.
The Error Injection Module (EIM) provides support for inducing single-bit and multi-bit inversions on read data when accessing peripheral RAMs. Injecting faults on memory accesses can be used to exercise the SEC-DED ECC function of the related system.

Important Note:

  1. Make sure that STACK memory is located in RAM different than where EIM will inject a non-correctable error.
  2. For single bit error generation, flip only one bit out of DATA_MASK or CHKBIT_MASK bit-fields in EIM control registers.
  3. For Double bit error generation, Flip only two bits out of DATA_MASK or CHKBIT_MASK bit-fields in EIM control registers.
  4. If more than 2 bits are flipped that there is no guarantee in design that what type of error get generated.

Modules

 EIM Driver
 Error Injection Module Peripheral Driver.
EIM PD provides a set of high-level APIs/services to configure the Error Injection Module (EIM) module.
 
 EIM HAL
 Error Injection Module Hardware Abstraction Level. EIM HAL provides low level APIs for reading and writing register bit-fields belonging to the EIM module.