System Reset Interrupt Enable Register

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

System Reset Interrupt Enable Register

916 Views
enricoantonioli
Contributor II

Anybody tell me how to enable the RCM interrupt for Watchdog and Software cause on S32K144?

I have write this code but the RCM interrupt doesn't executed?

RCM->SRIE = RCM_SRIE_DELAY(0b11)|RCM_SRIE_WDOG(0b1)|RCM_SRIE_SW(0b1);

NVIC_ClearPendingIRQ(RCM_IRQn);
NVIC_EnableIRQ(RCM_IRQn);
NVIC_SetPriority(RCM_IRQn, 0);

Where can I find any source code examples?

Best regards,

E.

0 Kudos
1 Reply

788 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Enrico,

You need to set RCM_SRIE[GIE] = 1 as well.

Regards,

Daniel

0 Kudos