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.

关于msp430F247的IO中断唤醒

各位大侠,

      430F247在处于lpm3时,能否通过P2口的IO中断唤醒呢?我测试了下p1口是可以的,但是P2口唤醒失败。谢谢。

  • 可以通过P1 P2口唤醒的,确认一下GPIO配置是否存在bug.

    MSP430 devices have up to eight digital I/O ports implemented, P1 to P8. Each port has up to eight I/O
    pins. Every I/O pin is individually configurable for input or output direction, and each I/O line can be
    individually read or written to.
    Ports P1 and P2 have interrupt capability. Each interrupt for the P1 and P2 I/O lines can be individually
    enabled and configured to provide an interrupt on a rising edge or falling edge of an input signal. All P1
    I/O lines source a single interrupt vector, and all P2 I/O lines source a different, single interrupt vector.
    The digital I/O features include:
    • Independently programmable individual I/Os
    • Any combination of input or output
    Individually configurable P1 and P2 interrupts
    • Independent input and output data registers
    • Individually configurable pullup or pulldown resistors
    • Individually configurable pin-oscillator function (some MSP430 devices)

  • P2也可以中断唤醒的。

  • P2也可以中断唤醒的。

  • P2也可以中断唤醒的。