2021-11-29 1:21 AM
I set up the VREFBUF (using CubeMx) to use the internal voltage reference, with a SCALE of 2.048V. When i probe the Vref pin i see a voltage of around 2.2-2.3V, it changes slightly after ever power reset. It is a custom board with a G061c8 micro. The vref pin is not connected to any capacitors or any other pins.
I tried the same thing on a G071 nucleo board and i got exactly 2.048V on the Vref pin.
Any help is appreciated.
2021-11-30 3:25 PM
Does the board otherwise work (can it be programmed, blink LEDs, etc)? The simplest answer is a hardware issue with your custom board.
2021-12-01 9:20 AM
The board is functional.
2021-12-01 11:12 AM
VDDA is rock stable and high enough? VSSA is properly connected to GND? No bad solder joints?
Do you have DAC/ADC active? If yes, create a simple experimental program which does nothing just enables the VREFBUF.
Read out and check/post content of relevant registers.
> The vref pin is not connected to any capacitors or any other pins.
DS specifies min. 100nF in footnote 4 to table VREFBUF characteristics.
JW