This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Level triggered GPIO interrupt

Part Number: AM625


We have a use case that requires a level triggered gpio interrupt and notice that the main gpios can only provide an edge triggered interrupt. 

Is it possible to use the mcu gpios to provide a level triggered interrupt?

Any other suggestions to setup an input for a level triggered interrupt (maybe unused spi or uart lines)?

  • Hello Chris,

    Thanks for reaching out to Texas Instruments E2E support forum.

    We have a use case that requires a level triggered gpio interrupt and notice that the main gpios can only provide an edge triggered interrupt. 

    It is mentioned in the TRM, "Interrupts can be triggered by rising and/or falling edge, specified for each interrupt capable GPIO signal".

    To configure GPIO interrupt as level trigger, you will need to set the trigger type as both rising and falling edge. 

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your response.  I'm not sure I understand how setting the trigger to both rising and falling edge will accomplish a level trigger. 

    For example, if the triggering device asserts the gpio, an edge will occur and the interupt handler runs and then clears the interrupt.  Meanwhile the device has not changed it's state and is still asserting the gpio (no new rising/falling edges have occured).  Will the interrupt controller cause another interrupt to fire if no new edges have been seen?

    Thanks,

    Chris  

  • Hello Chris,

    Sorry for confusion. As per TRM, we can support only edge triggers and not the level triggers for GPIO interrupts. 

    Regards,

    Anil.