Skip to main content
Explorer
November 11, 2025
Solved

STM32U0: Connection between OPAMP1_VOUT and internal ADC channel (ADC1_IN7 or 8) ?

  • November 11, 2025
  • 1 reply
  • 246 views

I'm designing a circuit to convert sensor values ​​to ADC using the STM32U073MC (LQFP-80).
Unfortunately, I'm new to the STM32U0 series.

I read the RM0503(Rev 4) Reference manual(page 427) and found that the OPAMP1_VOUT can be connected to ADC1_IN8.

ssHan_0-1762825943174.png

However, I checked the datasheet's(DS14548 - Rev 2 - March 2024) port table(page 32/Table 12. STM32U073x8/B/C pin/ball definition) and it seems to be connected to ADC1_IN7.

ssHan_1-1762826048339.png

1. Which information is correct? (ADC1_IN7 or ADC1_IN8)

2. Also, could you briefly explain how to make the desired connection using CubeMX provided by ST?

  - I wish configure VM_SEL bits as “inverting not externally connected” with CubeMX.

ssHan_2-1762826128582.png

 

    This topic has been closed for replies.
    Best answer by MKANO.2

    Hello @ssHan 

    For the first point  : 1/ I confirm that the datasheet is correct, and OPAMP1_VOUT can be connected to ADC1_IN7.  I will  raise internally the error in the RM for correction

    For the second point : 2/ To configure the OPAMP, please refer to the example provided in the STM32Cube MCU Package for the STM32U0 series, which is available for the STM32U083C-DK board. Additionally, AN5306 offers a detailed explanation on implementing the OPAMP for STM32G4 series.

    Best regards,

    Mariem

    1 reply

    MKANO.2Answer
    ST Employee
    November 11, 2025

    Hello @ssHan 

    For the first point  : 1/ I confirm that the datasheet is correct, and OPAMP1_VOUT can be connected to ADC1_IN7.  I will  raise internally the error in the RM for correction

    For the second point : 2/ To configure the OPAMP, please refer to the example provided in the STM32Cube MCU Package for the STM32U0 series, which is available for the STM32U083C-DK board. Additionally, AN5306 offers a detailed explanation on implementing the OPAMP for STM32G4 series.

    Best regards,

    Mariem

    ssHanAuthor
    Explorer
    November 12, 2025

    Thank you, Mariem. It was very helpful to me.