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.

MSPM0G3519: MSPM0G3519 : Self-test mode for ADC

Part Number: MSPM0G3519

Hi Ti Team,

I would like to ask if in G3519 and G3218 we have any feature to self test the ADC modules (beside the DAC for G3519). Currently I would like to have a feature to self check the ADC module before start handling conversion. Is it possible that we choose the internal voltage reference and self -check this ? Or do you have any suggestion or method to validate this point ?

  • Hello Khanh,

    Just want to confirm the details about the self-test of ADC: what do you want to test and what result / purpose you want to get.

    TI can promise that ADC can meet the spec noted on the datasheet. 

    BR,

    Janz Bai

  • As you can see, Vref is connected to channel 12, however, I am not sure that this "tests" the ADC, it should just return the maximum number of counts, and I would think that there are many issues with the ADC that would do that, not to mention that if VRef is off, the ADC will *still* just return the maximum number of counts. 

  • Hi Janz,

    I have one requirement to do the self-test for ADC channel.It's like an internal test for ADC module before we do any measurement on the analog input pin. The scenario would be:

    We have a predefined result. This self-test will run on a specific channel to get the result and compare with this predefined result. If they match, this means the ADC in HW is in good state and can proceed to read ADC on analog pin. Otherwise, module will report error into application.
    In other project using other chip (Renesas), we can implement this by measure internal voltage reference and compare the result.
    I have read the functional safety manual and it points out that I can use DAC feature for internal test. The problem of this approach is available only in G3519, not G3218. Therefore, at the moment I'm trying to find a way to implement this self-test feature

  • Hello Khanh,

    I think I have got what you mean. I think maybe you can refer to the demo in our SDK: adc12_monitor_supply. It use the internal channel of ADC to monitor the MCU supply voltage. I think maybe you can use this method to test whether the ADC is working normally.

    Best Regards,

    Janz Bai