Skip to main content
Scotty55
Associate III
Jun 13, 2021 1:17 AM UTC
Solved

STM32G474 OPAMP configuration Bug

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.
Sara BEN HADJ YAHYA
ST Technical Moderator
Jun 29, 2022 10:11 AM UTC

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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

11 replies

Aurelian Lazarut
Associate II
Jun 30, 2022 8:24 AM UTC

@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