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.

MSPM0L1306: Internal connection of ADC and OPA

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I think the OPA_burnout_current_source_to_adc in the MSPM0L1306 sample design has an internal connection between the OPA and the ADC.
For this reason, I thought that the ADC pins would not be consumed.
However, when I checked the SYSCONFIG settings, I found that 1 pin is consumed as ADC channel, as in PA18/22(A7).
Is it necessary to use channel A7 for internal connection?

Best regards,
DDdoor

  • Hello 

    I will check it and reply to you tomorrow morning.

    Best Regards,

    Janz Bai

  • Hello,

    It seems that the example has some error. The Sysconfig disable the OPA output which means that the OPA output connecting the ADC.

    And the channel 12 of ADC is used to connect the OPA0 output.

    Even though Sysconfig use Channel 7, the code re-configurates the ADC and use the channel. You can change the channel 7 to channel 12 in Sysconfig, and you can see that no GPIO be used by ADC. And you should also change the channel 13 to channel 12 in the code.

    Best Rrgards,

    Janz Bai

  • Hi DDoor -

    Does Janz' response answer your question?

  • Hello Janz

    Thank you for your support.

    I would like to confirm one.
    After all, to connect OPA0 output and ADC internally in Sysconfig, do I just select channel12 ?

    Best regards,
    DDdoor

  • You need select channel 12 in Sysconfig, and you also need modify the channel 13 to channel 12 in the code (you can see channel_13 in the main.c).