Skip to main content
Associate II
July 13, 2026
Question

Can't configure OPAMP_VINM switching in CubeMX

  • July 13, 2026
  • 1 reply
  • 63 views

The chip is STM32G473VET6. When enabling opamp1 in independent mode, I found that the VINM pin can switch between PA3 and PC5. But if you enable independent mode and also connect Vout to the internal ADC channel, you'll find that VINM can only be used on PA3. How should I understand this phenomenon?

From AN5306 Figure 18, you can see that you can switch using VM_SEL[1:0] and OPAINOTEN[0]. Does this mode have any limitations?

 

1 reply

Ghofrane GSOURI
ST Technical Moderator
July 14, 2026

Hello ​@Hakuki_Riumiya 

I am currently checking this behavior. I will get back to you ASAP.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.