cancel
Showing results for 
Search instead for 
Did you mean: 

Op-Amp on STM32G474RE

squek
Associate

I have been trying to program the Op-Amps on STM32G474RE using the latest STM32CUBEG4 version 1.2 and my version of STM32CUBEMX is version 5.6.1. I am trying to get PGA mode to work. In STM32CUBEMX, I selected PGA connected. When I tried to bias one of the input pins with 1.5V, the output is always saturated and hitting the supply rail.

In addition, in dm00605707-operational-amplifier-opamp-usage-in-stm32g4-series-stmicroelectronics.pdf, it mentions the op-amp will not amplify the input for bias (level shifting) in PGA mode. I have been trying but it never works. For example, if I provided a bias of 1V and set a gain of 2, the bias always gets raise to 2V.

Just wondering is there a bugs in STM32CUBEMX? or What is the right setting to use. Thanks a lot.

0 REPLIES 0