Skip to main content
Associate
March 31, 2025
Question

Current sensing with internal Opamp and internal PGA

  • March 31, 2025
  • 1 reply
  • 333 views

Hi I am trying to configure a custom board to start development for a new motor driver.

During this setup I encountered a very weird issue I don't understand. I want to use internal opamps for phase current sensing. These will be single ended opamps with internal PGA. In the board designer software this is shown as using one pin as can be seen in the image below. Yet when I configure this all and generate the IOC using the workbench I see that there are 2 more pins used for "OPAMPx_OUT". Why is that the case and how can I disable it? Please let me know if there is any more information you need.

Jelmer_0-1743447569088.png

Jelmer_1-1743447658119.png

 

1 reply

AScha.3
Super User
March 31, 2025

Hi,

-- on which cpu ?

but in general, on F303 here, read in rm , opamp :

AScha3_0-1743449070394.png

So output always on a pin, for debug or check, what its doing...  ok ?

"If you feel a post has answered your question, please click ""Accept as Solution""."