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.

MSP430G2955: MSP430G2955 ADC Port interrupt & Wake Up

Part Number: MSP430G2955

Hi MSP MCU team.

Can I get ISR routin datasheet?

Because, I want to know without wake-up into ADC ISR routin when sleep(LPM3) state.

we set up registor as a below

ADC10CTL1 = INCH6 | ADC10SSEL_1

ADC10CTL0 = SREF_1 | ADC10SHT_3 | REFON | ADC10ON | ADC10IE


Best Regards
Gerald Choi

  • Gerald Choi said:
    Because, I want to know without wake-up into ADC ISR routin when sleep(LPM3) state.

    Source code examples, msp430g2x55_adc10_13.c does exactly what you want: ADC conversions while LPM3:

    //  MSP430G2x55 Demo - ADC10, DTC Sample A1 32x, AVcc, TA0 Trig, DCO
    //
    //  Description; A1 is sampled in 32x burst using DTC 16 times per second
    //  (ACLK/2048) with reference to AVcc. Activity is interrupt driven.
    //  Timer_A in upmode uses TA0 toggle to drive ADC10 conversion. Sample burst
    //  is automatically triggered by TA0 rising edge every 2048 ACLK cycles.
    //  ADC10_ISR will exit from LPM3 mode and return CPU active. Internal ADC10OSC
    //  times sample (16x) and conversion (13x). DTC transfers conversion code to
    //  RAM 200h - 240h. In the Mainloop P1.0 is toggled. Normal Mode is LPM3.
    //  //* An external watch crystal on XIN XOUT is required for ACLK *//
    

**Attention** This is a public forum