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.

LP-MSPM0G3507: LP-MSPM0G3507

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: MSPM0G3507

Tool/software:

Hi,

I have a question regarding the formula in the reference manual for the temperature sensor. In Chapter 2.2.5, the equations are for a reference voltage of 1.4V.

Can these equations also be used for a reference voltage of 3.3V?

Best regards,
Ali

  • Yes. You just need to change the Vsample reference from 1.4V to 3.3V.

    For Vtrim, you keep it to be same by using 1.4V as the reference.

  • Hi Eason!

    The values in the data sheet for the mspm0g3507 microcontroller for TSTRIM and TSare for the reference voltage VDD = 3.3 V

    And in the reference manual the values in the equations are for a reference voltage of 1.4 V

    I measure on my launchpad for the ADCCODE = 800 (ADC result code based on 12-bit mode and a 3.3-V reference)

    and I am reading for the TEMP_SENSE0.DATA = 797 (ADC result code based on 12-bit mode and a 3.3-V reference)

    Doing what you said only replacing the value VSAMPLE with 3.3V and not chaning the VTRIM reference voltage means 

    VSAMPLE = (3,3 V/4096) * (800 - 0,5) = 0,64412 V

    VTRIM = (1,4V/4096) * (797 - 0,5) = 0,2722 V

    TSAMPLE = (1/- 0,0018) * (0,64412  - 0,2722 ) +30 = -176 °C (which makes absoultly no sense)

    However replacing the reference voltage in both equations 

    VSAMPLE = (3,3 V/4096) * (800 - 0,5) = 0,64412 V

    VTRIM = (3,3 /4096) * (797 - 0,5) = 0,6417 V

    TSAMPLE = (1/- 0,0018) * (0,64412  - 0,6417 ) +30 = 28 °C (which makes much more sense)

    So, Please I want a clarification according to the equations in the reference manual. :)

    There is one more thing older lanchpads seam to be not calibrated. I am reading for TEMP_SENSE0.DATA = 750, and therefore TSAMPLE is not accurate because VTRIM is not accurate. And in the data sheet on bage 74 it stated that X stands for Experiment silicon. What does that mean exactly? 

      

    Best regards

    Ali 

  • Please refer to the datasheet not TRM. It is under 3.3V not 1.4V. You can also find the reference code in the latest SDK.

    For X, means the device is for early customers and not RTM yet.