STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
182 stars 98 forks source link

OPAMP #28

Closed JasonLrh closed 2 years ago

JasonLrh commented 2 years ago

ENV

Describe the bug When I use OPAMP3->ADC3 with PGA connect(OPAMP_PGAGAINx_ORMINUSx-1), the output rate is 2*x-1 instead x

The reference input is from ADC1

RKOUSTM commented 2 years ago

Hi @JasonLrh,

Thank you for your contribution.

In order to allow a better analysis of this problem, could you please give us more details about the application that you are using to reproduce this issue or did you use one of our applications? Otherwise, it is possible to share with us a code snippet allowing our development teams to reproduce it.

Also, could you please confirm you are using the latest firmware version and that the issue is systematically reproducible on your side?

Thank you again for your contribution.

With regards,

RKOUSTM commented 2 years ago

Hi @JasonLrh,

Any new comments to move this discussion forward?

With regards,

JasonLrh commented 2 years ago

I’m using the latest version that cubemx offered. Testing on nucleo-g474 board. The static value follow the rule I said. But the slope is accurate.

RKOUSTM commented 2 years ago

Hi @JasonLrh,

Thank you for your contribution. The point you reported is related to the CubeMX generation problem and not directly related to the firmware published in this repository. Unfortunately we don't treat aspect related to CubeMX tool in our GitHub repositories.

Now, as this issue is not directly related to some software component published within this repository (CMSIS, HAL, BSP, etc.) but rather to our ecosystem (namely the Cube MX tool), please allow me to close it.

Thank you for your contribution. We are looking forward to reading from you again.

With regards,

JasonLrh commented 2 years ago

Hello, @RKOUSTM

Thank you very much for your patience. After subsequent verification, the problem is that the static output of the internal operational amplifier has a certain offset, which may be related to my input environment. However, the dynamic characteristics are consistent with the set values. Your contribution to the project is very important. Thank you again for your careful answer.

Best regards