Hello,
Currently, I am working on S32K312 SAF EVAL Package. I am using S32K312EVB-Q172, PE Micro debugger and S32DS using RTD Build version S32K3_RTD_3_0_0_P07_D2306_ASR_REL_4_7_REV_0000_20230629.
Target - Debug_FLASH.
I have query related to STCU2 for S32K312.
1. I tried to insert fake fault of FCCU which is NCF_5. then while debugging observed ERR_STAT register bit 8 is in high state, FES register bit 4 ST_DONE in high state, NCF_S0 register bit 5 in high state, MBESW0 bit 1 to 5 in high state, MBSSW0 bit 1 to 5 is in high state. So, I am assuming BIST is functionally fine. is it expected behavior for NCF_5? please see the attachment.
2. For other FCCU NCFn (apart of NCF_5) any bit in ERR_STAT register why not in high state? apart of ERR_STAT other register of STCU2 is same as NCF_5 FCCU fault injection?
3. What is the co-relationship between NCF_5 (FCCU NCF_5) and STCU2, ERR_STAT register or STCU2? I tried to refer RM but unfortunately not able to be understood (55.8.3). please see the attachement.
4. After injection of FCCU NCF_5 error, called Bist_GetExecStatus(BIST_DIAGNOSTIC_CFG), function then got BIST_FAILED. is it expected behavior for NCF_5? if yes then why?
5. But for other NCFn called Bist_GetExecStatus(BIST_DIAGNOSTIC_CFG), function then got BIST_OK. is it expected behavior for other NCFn (apart of NCF_5).? if yes then why?
6. Which NCF Fault we should need to inject for STCU2 fault checking? I am trying to run test procedure which is provided in S32K3XX_SAF_BIST_TS.pdf (Page number 14). I am attaching snapshot below kindly look onto that.
I am looking forward for reply.
Thanks
Hello,
1. I tried to insert fake fault of FCCU which is NCF_5. then while debugging observed ERR_STAT register bit 8 is in high state, FES register bit 4 ST_DONE in high state, NCF_S0 register bit 5 in high state, MBESW0 bit 1 to 5 in high state, MBSSW0 bit 1 to 5 is in high state. So, I am assuming BIST is functionally fine. is it expected behavior for NCF_5? please see the attachment.
The Fake fault is only to set error to ERR_STAT register. Its purpose is to test the reaction path on STCU to FCCU and relative actions ataken by FCCU. Not to physically corrupt BIST. That is not possible from SW.
2. For other FCCU NCFn (apart of NCF_5) any bit in ERR_STAT register why not in high state? apart of ERR_STAT other register of STCU2 is same as NCF_5 FCCU fault injection?
Sorry, I do not understand this question. Could you explain it closer?
3. What is the co-relationship between NCF_5 (FCCU NCF_5) and STCU2, ERR_STAT register or STCU2? I tried to refer RM but unfortunately not able to be understood (55.8.3). please see the attachement.
See answer 1.
4. After injection of FCCU NCF_5 error, called Bist_GetExecStatus(BIST_DIAGNOSTIC_CFG), function then got BIST_FAILED. is it expected behavior for NCF_5? if yes then why?
Check the description of that function in documentation. If it only reads ERR_STAT the I assume it is correct.
5. But for other NCFn called Bist_GetExecStatus(BIST_DIAGNOSTIC_CFG), function then got BIST_OK. is it expected behavior for other NCFn (apart of NCF_5).? if yes then why?
Well, others do not inject faults in BIST fault register.
6. Which NCF Fault we should need to inject for STCU2 fault checking? I am trying to run test procedure which is provided in S32K3XX_SAF_BIST_TS.pdf (Page number 14). I am attaching snapshot below kindly look onto that.
I expect you misunderstood the concept of fault injection in STCU module. You can only inject fault to check the reaction path, not to inject fault in the physical BIST itself. This is not possible.
Best regards,
Peter