GINT with level trigger

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

GINT with level trigger

1,667 Views
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 Kudos
Reply
2 Replies

1,592 Views
Amar1
Contributor I

No suggestions... ??

0 Kudos
Reply

1,573 Views
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 Kudos
Reply