How do we generate the ECC interrupts?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do we generate the ECC interrupts?

681 次查看
sardalkar
Contributor I
Hello Team,
We need to hits the ECC interrupts for single fault and double fault bits.
Target MCU - S32K142
S32DS Version - 2.0
SDK version - 0.8.4
erm1_interrupt0 and erm1_Interrupt1 are configured as Single correction and Non-correctable error interrupt enabled in erm1_InitConfig0[0].
Below are the code for reference.
/*ECC check enable - Error reporting manager to detect data range failures */
ERM_DRV_Init(INST_ERM1, ERM_CHANNEL_COUNT0, &erm1_InitConfig0[0]);
INT_SYS_InstallHandler(ERM_single_fault_IRQn, &ErmErrorIntCh_0_1, (isr_t *)0);
INT_SYS_InstallHandler(ERM_double_fault_IRQn, &ErmErrorIntCh_0_1, (isr_t *)0);
INT_SYS_EnableIRQ(ERM_single_fault_IRQn);
INT_SYS_EnableIRQ(ERM_double_fault_IRQn);
 
For testing, How do we generate the interrupts?
Thank you.
Regards,
Sandip
0 项奖励
回复
1 回复

594 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Sandip,

Please refer to the erm_report_s32k142 SDK example.

Thank you,

BR, Daniel

0 项奖励
回复