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.
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.