System Reset Interrupt Enable Register

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

System Reset Interrupt Enable Register

929 次查看
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 项奖励
1 回复

801 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Enrico,

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

Regards,

Daniel

0 项奖励