We're developing an application for which the S32K312. for peripheral protection by using XRDC module.
how to achieve the safety functionality for the peripheral.
implemented peripheral protection for one of the module.
like:
IP_XRDC->PDAC_SLOT[0].PDACN[40].PDAC_W0 |= XRDC_PDAC_W0_D0ACP(1);
IP_XRDC->PDAC_SLOT[0].PDACN[40].PDAC_W1 = XRDC_PDAC_W1_VLD(1);
IP_XRDC->CR |= XRDC_CR_GVLD(1);
how to validate this code is it working or not?
how to inject failure to test the XRDC, and what will be the failsafe action .
can provide any sample code.
Hello @shivakrishna,
There is RTD Rm_Example_S32K344 that configures XRDC and tests it in main.c
Regards,
Daniel
hi NXP team,
In my supporting RTD, XRDC component is not applicable.
i want to implement Scheck for XRDC in S32k312 for functional safety. as per mentioned followed the steps for SCHECK implementation.
can you clarify how to validate the XRDC module for peripheral point of view. and
if any sample code available for it please share me.
Hi @shivakrishna,
I believe this was asnwered here:
S32 Safety Software Framework (SAF) and Safety Peripheral Drivers (SPD)
Regards,
Daniel