2024-06-07 06:20 AM - last edited on 2024-06-07 06:43 AM by Tesla DeLorean
Hi, Master:
Hello, I want to use the opamp amplifier function of the g431kb board to connect an external gain circuit and use standlone mode. Can I use it after downloading my MXsoftware generate code?
I set the OPAMP1_P (PA7) input to 2.5V (DC power supply),
OPAMP1_M (PA3) input to 1Vpp sine wave,
plus 15K ohm R1, 33K ohm R2,
OPAMP1_P (PA7) output should be 5.8V~10.2V , is this correct?
Because the output waveform cannot be changed according to the DC power supply, the gain is always 5.
Have I not enabled the OPA function?
Thank you very much!
2024-06-07 06:30 AM
The Opamp can only work inside the limits of its supply voltage and also needs some head and footroom. So scale down your input to not overdrive the input.
2024-06-07 06:50 AM
Hi,
Turn down the input signal and the gain is still 5,and still will not change according to DCpower supply
Whether it is increasing or decreasing the voltage