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.

MSP430FR2111: LPM3 affects ADC sampling result

Part Number: MSP430FR2111

Hi Champs,

My customer is designing a control board for smart grid using MSP430FR2111. During their debugging, they found when enabling LPM3, there will be an erroneous offset on A0 channel. You can find their code and testing results as follows.

A dry battery with resistive voltage divider was connected to both the A0 and A1 channels.

When enabling LPM3, the code is as follows

    InitAdc10(ADCSSEL_0);
    AdcVoltageRef(Enable);
    InitTimerB00(8);
    __bis_SR_register(GIE);
    
    while(1)
    {   
        if(AdcFlg)
       {
            FaultCalculate();
            AdcFlg = 0;
       }
        __bis_SR_register(LPM3_bits | GIE); 
    }

And the results can be found in the following figure.

If MSP430 is set to active mode all the time, the code is as follows.

  InitAdc10(ADCSSEL_0);
    AdcVoltageRef(Enable);
    InitTimerB00(8);
    __bis_SR_register(GIE);
    
    while(1)
    {   
        //if(AdcFlg)
       //{
       //     FaultCalculate();
       //     AdcFlg = 0;
       // }
       //  __bis_SR_register(LPM3_bits | GIE); 
    }

The result is as follows.

Would you kindly suggest the root cause? Thanks.

Regards,

Young

  • Hi Young,

    Thank you for posting the issue. Could you please provide more information of below question?

    1. What's the stage of customer's project? In mass production or development? 
    2. What's the failure rate? How many units did you test? Is it only observed on some units (e.g. can only be reproduced on already known failing customer return units)?
    3. What's the ADC reference voltage? Did you find a related reference voltage or power supply change when entering LPM3?

    Besides, for further debugging, the schematic and  whole code may be needed.

    Best regards,

    Winter Yu

  • Hi Young,

    is this a duplicate post of the below item which was posted a couple of hours before? If yes, please check beside Winter Yu questions as well my proposals.

    Best regards,

    Tobias

  • Tobias,
    Yes. It is my customer's post. Many thanks. Let's go to that post for further discussion.

    Thanks.
    Regards,
    Young

**Attention** This is a public forum