MSPM0G3519: MSPM0G3519 : Internal temperature measurement issue

Part Number: MSPM0G3519

Hi Ti Team,

Currently I'm running example adc12_internal_temp_sensor_mathacl on launch map MSPM0G3519.

The internal temperature result is following, and I think it's not correct:

image.png

Can you help me to check this point again ?
Another question is that according to the datasheet of G3519 ,it will use internal VREF 1.4V as voltage reference 
image.png

image.png

But what I actually observed in the example code is using VDDA/VSSA as voltage reference. So which one is correct ? 
image.png

  • Hi Khanh,

    To use the calibration constant in the factory region of memory, the 1.4V reference should be used. You can scale the constant based on a 3.3V reference and your readings will be significantly more accurate (but still less accurate than using the 1.4V reference).

    Best Regards,
    Brian

  • Hi Brian, thank you for your answer. I would like to ask more.

    What will happen if I access directly to FACTORYREGION->TEMP_SENSE0 without using your API. Does this have any bad effect in the system?

    Or should I use the provided API from sample source code?

    The reason for asking this is because include code for factory region will cost more ROM in our project 

  • Hi Khanh,

    Accessing TEMP_SENSE0 directly is valid and will not cause issues if FLASH_ERR_01 is handled properly.

    Best Regards,
    Brian