GINT with level trigger

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

GINT with level trigger

1,672 次查看
Amar1
Contributor I

Hi there,

I am using LPC54608 processor and I needed to use GINT. I am able to use GINT with EDGE_TRIGEERING, but when set it to LEVEL_TRIGGERING, the interrupt is not being generated.

Could anyone please suggest solution for this?

 

Thanks & Regards,
Amar Nath Baliyase.

0 项奖励
回复
2 回复数

1,597 次查看
Amar1
Contributor I

No suggestions... ??

0 项奖励
回复

1,578 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Amar1,

 

Edge triggering detects events (or changes), while level triggers detects states (or conditions). Therefore you can’t expect to detect an event with a level-sensitive trigger or a state with an edge-sensitive one. This is most likely why changing from one trigger configuration to the other does not simply work.

Since level triggering is state-based you would have to corroborate the set polarities (active LOW/HIGH) and the set functionality of the inputs (OR/AND) to determine the actual state the inputs have to be on in order for the interruption to be triggered. So check the polarity and combination registers to determine which state will currently trigger the interruption. That way you will be able to change them to the desired state and get the specific trigger for your application.

 

BR,

Edwin.

0 项奖励
回复