Hi team,
My customer is evaluating MSPM0G1105TPTR. They ask if all the 44 GPIO can be configured as edge trigger ? They want to use this feature to detect button.
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.
Hi team,
My customer is evaluating MSPM0G1105TPTR. They ask if all the 44 GPIO can be configured as edge trigger ? They want to use this feature to detect button.
Hi Jerry,
Is the desired behavior to just fire a CPU interrupt when any of the GPIOs sees an edge? If so the answer is yes, you can configure all of the GPIOs in a given port to cause a CPU interrupt using the CPU_INT IMASK register. Setting any of the 32 bits in that register causes the corresponding GPIO number in that port (Px0 to Px31), to trigger the associated CPU interrupt.
Set the bit fields in the POLARITY register for the GPIOs they wish to use to 0x3, to cause it to trigger an event or interrupt on both rising and falling edges.
There are two main points of concern with using every single GPIO:
Best Regards,
Brandon Fisher