Skip to main content
Scotty55
Associate III
June 13, 2021
Solved

STM32G474 OPAMP configuration Bug

  • June 13, 2021
  • 11 replies
  • 3296 views

Are there any plans to repair the CubeMX system and to re-enable the configurations of STM32G4 firmware version 1.2.0? I tried version 1.3.0 and 1.4.0, and both don't allow to configure an OPAMP as follows:

 hopamp5.Instance = OPAMP5;

 hopamp5.Init.PowerMode = OPAMP_POWERMODE_NORMAL;

 hopamp5.Init.Mode = OPAMP_PGA_MODE;

 hopamp5.Init.NonInvertingInput = OPAMP_NONINVERTINGINPUT_IO2;

 hopamp5.Init.InternalOutput = ENABLE;

 hopamp5.Init.TimerControlledMuxmode = OPAMP_TIMERCONTROLLEDMUXMODE_DISABLE;

 hopamp5.Init.PgaConnect = OPAMP_PGA_CONNECT_INVERTINGINPUT_NO;

 hopamp5.Init.PgaGain = OPAMP_PGA_GAIN_32_OR_MINUS_31;

 hopamp5.Init.UserTrimming = OPAMP_TRIMMING_FACTORY;

This was generated with CubeMX version 5.6.1 and STM32G4 firmware version 1.2.0. I am using this in an actual project and because of the bugs in 1.3.0 and 1.4.0 can't change to newer versions.

This topic has been closed for replies.
Best answer by Sara BEN HADJ YAHYA

Hello @Rüdiger Becker​ , @Community member​ 

This issue is fixed in STM32CubeMX latest release.

V6.6.0 is now available under this Link.

Thanks for your contribution.

Sara.

11 replies

Aurelian Lazarut
Associate II
June 30, 2022

@Rüdiger Becker​ 

what's the hurry? lead time of 53 weeks for microcontrollers? we ditched STM32 from most of new designs, do you think that a regular employee really cares about what ST does or doesn't do?

We wish them all the best!

Aurelian