Skip to main content
ECiot.1
Associate II
October 27, 2023
Question

Maximum analog output voltage from STM32H723ZG

  • October 27, 2023
  • 5 replies
  • 2266 views

Hi, which is the maximum analog output voltage from the STM32H723ZG? In the datasheet I saw that there are two Op-Amp inside the MCU with gain from 2 to 16. How can I use this Op-Amp? I have to do something about the hardware or I have just to write some code? 

This topic has been closed for replies.

5 replies

TDK
October 27, 2023

There are three pins that act as the inputs/output for the op-amp. You have to connect your signals to those pins and use code to configure the OP-Amp as you choose. CubeMX can help with this.

The output is specified as "rail to rail" which in reality typically means a couple mV off from 0-VDDA.

"If you feel a post has answered your question, please click ""Accept as Solution""."
ECiot.1
ECiot.1Author
Associate II
October 27, 2023

Then if I connect the analog output of the micro to the Op-Amp input can I generate a voltage from 0 to 2*Vdda if for example I set the gain of the Op-Amp to 2? Can I do this thing in the interno of micro by software or I have to do an external connection? My need is to generate a controlled analog voltage from 0 to 5 V. 

TDK
October 27, 2023

You can't generate 2*VDDA as the output range is 0-VDDA.

> My need is to generate a controlled analog voltage from 0 to 5 V. 

You'll need an external opamp.

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