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.

MSPM0G1506: How to measure VREF with ADC

Part Number: MSPM0G1506

Hello. My name is Mori.
I'm looking for a way to measure internal VREF using an ADC.
The calculation formula is as follows. Measure the internal VREF using VDDA as the reference voltage.

(Vref/VDDA)×4095 = measured value

If you don't know how to set this up, please let me know if you know.

  • Hi Mori,

    I can provide two scenarios for your reference:

    Scenarios 1:

    Use internal DAC8 / DAC12 referenced by VREF, and then output it to ADC (by OPA)

    Scenarios 2:

    Input VCC to the ADC input through the voltage dividing resistor (make sure that the divided ADC input from VCC does not exceed the voltage of VREF). Then the ADC selects VREF as the reference source and calculates VCC through the ADC sampling results.

    B.R.

    Sal

  • Hello. Sal.

    Thank you for your reply.
    If you convert to DAC8 and use OPA,
    Is it possible to directly connect VREF to OPA and input it to ADC as shown in the diagram?

  • Hi Mori,

    Yes, it also can do.

    The tips is that you should set the OPA works as the buffer mode, so you should RTOP on the NSEL for this. Then the output will follow what you input in PSEL, which can be DAC8/DAC12/VREF.

    B.R.

    Sal

  • Hello. Sal.

    Thank you for your reply.
    It was very helpful. I'll try.
    thank you very much.