cancel
Showing results for 
Search instead for 
Did you mean: 

PVD on STM32L4 with external input

CanRF
Associate II

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?

1 REPLY 1
RomainR.
ST Employee

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:

RomainR_0-1736524842484.png

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.