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.

MSP430FR2633: Port Interrupt Edge selection on secondary module function

Part Number: MSP430FR2633

Hi,

I have a question, Is it possible to activate Interrupt Edge selection on a port pin for  ( High to Low transition) which was already configured as Secondary module function  

For instance, i have an SPI peripheral chip select connected to P1.7 which was initally configured for this Secondary module function. But i wanted to know when a high to low transition happens on this pin, so i tried to enable the Port Interrupt Edge selection on this pin to get notified when an transition happens. When i do this, ISR gets executed only once for the first instant, but after that it never returns into ISR.

Have someone explored this already? Looking forward to hear your suggestions.

Regards

Suresh

  • Per FR2 User Guide (SLAU445H) section 8.2.5, the pin interrupt function is disabled when using a pin function other than PxSEL='00' (GPIO).

    I'm not quite sure how you got even one pin interrupt out of it.
  • Bruce is correct here. Interrupts are disabled whenever the pin's corresponding bit is set in either PxSEL0 or PxSEL1.
    Which eUSCI function do you have your chip select connected to? Are you using the STE functionality? As an alternative, if you need the eUSCI function and the interrupt function, you could route that signal to two input pins (one peripheral function pin and a second IRQ/digital input pin.

    Regards,
    Walter

**Attention** This is a public forum