2025-01-10 07:46 AM - last edited on 2025-01-10 07:47 AM by Andrew Neil
Hi
On STM32L4xx Ref Man
Programmable voltage detector (PVD) supports external input PVD_IN.
How to configure the GPIO for PVD_IN (ex STM32L4 PB7)?
How to configure VREFINT?
Is there any example?
2025-01-10 08:11 AM
Hello @CanRF
As an example on STM32L476 device (Nucleo-L476RG)
According to DS10198 Rev 11 in Table 16. PVD_IN is an additional function connected to PB7.
And in RM0351 Rev10, PVD can be configured in PWR_CR2 bits PLS[2:0] = 111.
In STM32CubeMX here the possible PVD levels configurations:
The internal voltage reference VREFINT is calibrated in production with VDDA=VREF=3.0V at 30°C, is around 1.2V (see DS10198 Table 26) and it is enabled when VDDA and VSSA are supplied.
Best regards,
Romain,
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.