2025-11-10 6:08 PM - last edited on 2025-11-11 8:16 AM by Andrew Neil
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.
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.
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.
2025-11-11 7:42 AM
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