MPC5668G, interrupt on PA0 pin?

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

MPC5668G, interrupt on PA0 pin?

597 次查看
sukruthrameshba
Contributor III

Hi,

I am trying to install an interrupt on the pin PA0(with the pad number 0).

But interrupt for this pin doesn't seem to be generated.

I have enabled the corresponding pin of IREER , IFEER , DIRER and using the Vector number 53(from the manual)?

Can you please support me by suggesting if I am missing any additional configurations?

Or if available ,Please attach the example code in which PA0  state is used for for generating an interrupt.

Regards,

Sukruth  

0 项奖励
回复
1 回复

433 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi Sukruth,

PA0 cannot be selected as the source for a IRQ0 line, just PB0, PC0, PD0, PE0, PF0, PG0, PH0, PJ0, PK0 can be used depending on setting of SIU_ISEL1[ESEL0], SIU.ISEL2[ESEL0] and SIU.ISEL2A[ESEL0] registers setting.

pastedImage_1.png

Refer to RM for more info.

BR, Petr