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.

MSP430FR5869: Question about LPM

Guru 16770 points
Part Number: MSP430FR5869


Hi

We have following questions.  Could you answer them?

1.

According to Table 6-1 in the datasheet, wake-up events of LPM3 are described as LF, I/O and Comp.

Does "I/O" mean digital IO and "Comp" mean Comparator_E?

2.

Is it possible to wait interrupt for multiple different port?

For example, is it possible to wait interrupt to Comp, digital IO and ADC at the same time?

3.

If MSP430 is waken from any LPM mode by wake-up event, it always shifts to AM mode.

Is my understanding correct?

4.

Is it possible to change the PIN function after waking up from LPM.

For example, regarding to PIN1, it is functional of P1.0/TA0.1/DMAE0/RTCCLK/A0/C0/VREF-/VeREF-.

First, PIN1 is wait for interrupt with Comp mode, and waken up from LPM by Comp interrupt.

And then, PIN1 would be changed as  ADC input.  Is it possible?

BestRegards

  • na na78 said:
    Does "I/O" mean digital IO and "Comp" mean Comparator_E?

    Both is correct.

    na na78 said:
    Is it possible to wait interrupt for multiple different port?

    You cannot combine interrupt sources by an AND functionality, at least not in hardware...if I understood you right here. Each one can generate an interrupt on it's own. The first one is served first. If more than one interrupt is pending, the one with the highest priority is served first. Any kind of combination (if useful in any way) has to be done in software.

    na na78 said:
    If MSP430 is waken from any LPM mode by wake-up event, it always shifts to AM mode.

    Yes.

    na na78 said:
    Is it possible to change the PIN function after waking up from LPM.

    You can re-configure any pin at any time.

  • Hi Dennis

    Thank you for your reply.

    1.
    I understood "Comp" means Comparator_E.
    By the way, can not the interrupt from ADC's windows comparator be used to for wake-up event?

    2.
    Thanks. My question was not good.
    I had misunderstood. I had assumed Comp_E is up to 16, not input is up to 16ch.

    Comp_E is inside device only one, so it is impossible to wait for two interrupt from two comparator. Is it correct?

    BestRegards

**Attention** This is a public forum