SWT Time-out Interrupt on MPC5777C

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

SWT Time-out Interrupt on MPC5777C

跳至解决方案
1,840 次查看
berat24
Contributor III

Hello everyone,

I have a problem about SWT time-out interrupt. SWT interrupt function cannot be called although I set relevant bits. However, I can generate reset after second time-out. My settings are below. 

SWT_0->CR = 0xFF000159;

INT_SYS_EnableIRQ(SWT0_IRQn);

0 项奖励
回复
1 解答
1,831 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Berat,

did you use INTC_SYS_SetPriority to configure the priority? It's zero by default which means an interrupt is disabled. I guess that this could be the reason.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,832 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Berat,

did you use INTC_SYS_SetPriority to configure the priority? It's zero by default which means an interrupt is disabled. I guess that this could be the reason.

Regards,

Lukas

0 项奖励
回复