cancel
Showing results for 
Search instead for 
Did you mean: 

OPAMP1 as follower don't give expected results

Sercurio
Associate

I'm trying to use OPAMP1 on stm32g431 adapted by WeActStudio (https://github.com/WeActStudio/WeActStudio.STM32G431CoreBoard)

My Cube settings:

ioc_settings.png

Scoping on generated voltage going to PA1 show 2V:
Vin.png

Scoping Vout on PA2 showing 0V instead of 2V:
Vout.png

I've only the weact version so I can't compare with other hardware, doesn't know if I'm misconfigured Cube.

I compared with a friend that got also the short version and can't got it working.

Zip of the project I'm using with Cube:
AOP_test.zip

1 REPLY 1
KDJEM.1
ST Employee

Hello @Sercurio and welcome to the community;

 

May OPAMP_Follower example can help you to check your software.

To test OPAMP_Follower example, a voltage waveform is generated by the DAC peripheral and can be connected to
OPAMP input. This example is based on the STM32G4xx OPAMP LL API.

I hope this help you.

Thank you.

Kaouthar

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.