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.