S32K3 EDC after ECC feature

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3 EDC after ECC feature

Jump to solution
722 Views
jinjingyang
NXP Employee
NXP Employee

Hello, team,

According to S32K3 safety manual and RM, there is "EDC after ECC" feature for S32K3 SRAM.

S32K3 Safety Manual section 5.2.2.6:
" It is worth to note that this observation cannot verify the correct function of the correction by the ECC safety mechanism in absence of a fault; for this purpose an error injection (for example—by the EIM) may be required."

The question is:
1) What register bits are used to indicate EDC after ECC fault?
I guess it's DCMROD4 bit9 (PRAM0_FCCU_ALARM) and bit10 (PRAM1_FCCU_ALARM).
Could you please confirm whether it's correct or not?

2) What is the suitable way to inject EDC after ECC fault?
I can inject RAM ECC fault and detect the fault. Flags can be read in ERM, FCCU, DCMROD3~5 registers. But I can see only RAM ECC fault not EDC after ECC fault.
And I can call the SPD API function
"eMcem_InjectFault( EMCEM_DCM_NCF_2_PRAM0_AHB_ALARM );"
to inject a PRAM0_AHB_ALARM fault. But this way only inject fault to FCCU NCF2. It doesn't inject real fault and the DCMROD4 register bit is not set.
Is there are way to inject an EDC after ECC fault?

 

0 Kudos
1 Solution
701 Views
nxf65224
NXP Employee
NXP Employee

Hi

Answer 1:  DCMROD4 bit9 (PRAM0_FCCU_ALARM) and bit10 (PRAM1_FCCU_ALARM) are used to indicate EDC after ECC faults.

Answer 2: We don't have EIM support for injecting faults in EDC after ECC.

View solution in original post

0 Kudos
2 Replies
702 Views
nxf65224
NXP Employee
NXP Employee

Hi

Answer 1:  DCMROD4 bit9 (PRAM0_FCCU_ALARM) and bit10 (PRAM1_FCCU_ALARM) are used to indicate EDC after ECC faults.

Answer 2: We don't have EIM support for injecting faults in EDC after ECC.

0 Kudos
352 Views
XuanShen
Contributor I

I want to know how 9bit ECC for 64bit SRAM data works. Generally, 8bit ECC is used for 64bit data, isn't it?How the additional 1bit works?
Thanks

0 Kudos