
FlexRay Communication Controller (FlexRay)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
1615
define the data distortion pattern
7. FR_EEICR[CODE] = C_DIST;
define the checkbit distortion pattern
8. FR_EERICE[EIE] = 1;
enable error injection
Application write access:
1. If (I_BANK==0)
FR_MBCCFR(2*I_ADDR) = DATA;
If (I_BANK==1)
FR_MBFIDR(2*I_ADDR) = DATA;
If (I_BANK==2)
FR_MBIDXR(2*I_ADDR) = DATA;
If (I_BANK==3)
FR_MBCCFR(2*1) = DATA;
If (I_BANK==4)
FR_MBFIDR(2*1) = DATA;
If (I_BANK==5)
FR_MBIDXR(2*1) = DATA;
write DATA to the defined injection bank and injection address
33.6.25.2 PE DRAM error injection
The following sequence describes an error injection sequence for the PE DRAM. This sequence includes
the setup of error injector followed by an application triggered write access to provoke an distortion of the
memory content. When the FlexRay module is in
POC:default config
, there are no limitations and impacts
of error injection for the application. For error injection out of
POC:default config
see
DRAM error injection out of POC:default config
Injector Setup:
1. FR_MCR[ECCE] = 1;
— enable ECC functionality
2. FR_EERICE[EIE] = I_MODE;
— configure error injection mode
3. FR_EEIAR[MID] = 0;
— select PE DRAM for error injection
4. FR_EEIAR[BANK] = I_BANK;
— define the bank for error injection; I_BANK = {0,1}
5. FR_EEIAR[ADDR] = I_ADDR;
— define the address for error injection; 0<= I_ADDR <= 0x7F
6. FR_EEIDR[DATA] = D_DIST;
— define the data distortion pattern
7. FR_EEICR[CODE] = C_DIST;
— define the checkbit distortion pattern
8. FR_EERICE[EIE] = 1;
— enable error injection
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...