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.

Interrupt in P1 and P2

Other Parts Discussed in Thread: MSP430F5438

Hi,

The P1 and P2 of the MSP430F5438 Experimenter board is used for bluetooth communication and Bottons. I'm wondering if it is possible to change one pin of the P1 and P2  to function as edge-detection pin. Have any of you done that before? I believe it requires soldering one Pin and change the interrupt function.

SuiYu

  • Hi SuiYu,

               Yes, pins on Port 1 and Port2 can be configured for that. Since it is a MSP430 related question, I am moving it to the MSP430 forum for further information.

    Regards,

    ~Miguel

  • P1 and P2 have full interrupt capabilities. You can configure for each individual pin whether it shall trigger an interrupt at all, and whether on the rising or falling edge (but not on both, you'll have to swtich it inside the ISR then).

    However, it's up to you to implement means for debouncing, either in hardware or software.

    What to do on the hardware side, I don't know. I don't have the schematics of the experimenters board at hand.

**Attention** This is a public forum