XRDC for peripheral access control

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

XRDC for peripheral access control

573 Views
shivakrishna
Contributor I

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.

 

0 Kudos
Reply
3 Replies

535 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @shivakrishna,

There is RTD Rm_Example_S32K344 that configures XRDC and tests it in main.c

danielmartynek_0-1713857282411.png

 

Regards,

Daniel

 

0 Kudos
Reply

525 Views
shivakrishna
Contributor I

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.

0 Kudos
Reply

483 Views
danielmartynek
NXP TechSupport
NXP TechSupport
0 Kudos
Reply