Skip to main content
DFehr.1
Associate
May 3, 2021 10:15 AM UTC
Solved

How are VDDA, AGND and VREFP connected to the MCU-Pins on NucleoH723ZG?

Hello everyone,

I am using the NucleoH723ZG board and I'd like to use the internal reference voltage for ADC-purposes. Initialising the VREFBUF...

VREFBUF->CSR &= ~VREFBUF_CSR_VRS_Msk; //Voltage Reference set to 2.5V

VREFBUF->CSR &= ~VREFBUF_CSR_HIZ_Msk; //VREF+ pin is internally connected to the voltage reference buffer output

VREFBUF->CSR |= VREFBUF_CSR_ENVR; //Enable Voltage Reference

while(!((VREFBUF->CSR) & VREFBUF_CSR_VRR)) //Wait for voltage reference ready

{

;

}

...the code gets stuck in the while-loop. (The clock is also enabled for VREF) Is it possible that this is not intended using the Nucleo Board? I wonder how the VREFP signal on the Nucleo board is connected to the Microcontroller (respectively to the VDD?). Unfortunately I couldn't found the answer in the user manual of the nucleo board.

Thank you for your help.

Dietmar

This topic has been closed for replies.
TDK
TDKBest answer
May 3, 2021 1:20 PM UTC

Schematics for all boards are available as well.

https://www.st.com/en/evaluation-tools/nucleo-h723zg.html#cad-resources

0693W00000ANB5NQAX.png 

Connecting 2.5V to 3.3V clearly isn't going to work.

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

3 replies

TDK
TDKBest answer
May 3, 2021 1:20 PM UTC

Schematics for all boards are available as well.

https://www.st.com/en/evaluation-tools/nucleo-h723zg.html#cad-resources

0693W00000ANB5NQAX.png 

Connecting 2.5V to 3.3V clearly isn't going to work.

"If you feel a post has answered your question, please click ""Accept as Solution""."
DFehr.1
DFehr.1Author
Associate
May 3, 2021 1:31 PM UTC

Thank you TDK! I didn't know the schematics are available online...

Removing R36 should be enough, am I right? Would it cause any trouble?

TDK
May 3, 2021 2:17 PM UTC
Seems like it would work. Looks like there are already external caps on that line as well, which are required.
"If you feel a post has answered your question, please click ""Accept as Solution""."