cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between VREFRDYF and VREFINT_RDYF in STM32L053, STM32L0X3

ygkim550
Associate II
Posted on March 01, 2016 at 17:59

Hello...

I am using STM32L053.

I don't konw the difference between VREFRDYF and VREFINT_RDYF.

   Is the register the same function?

  - VREFINTRDYF in p26, RM0367 Reference manual.

VREFINTRDYF: Internal voltage reference (VREFINT) ready flag

This bit indicates the state of the internal voltage reference, VREFINT.

  - VREFINT_RDYF in p26, RM0367 Reference manual.

    VREFINT_RDYF: VREFINT ready flag

     This bit is read-only. It shows the state of the internal voltage reference, VREFINT. When set, it indicates that VREFINT is available for BOR, PVD and LCD.

#vrefint_rdy #vrefrdyf
2 REPLIES 2
Amel NASRI
ST Employee
Posted on March 14, 2016 at 15:15

Hi kim.young_gil,

VREFINTRDYF (in PWR_CSR register) and VREFINT_RDYF (in SYSCFG_CFGR3 register) are equivalent: both flags are set/reset at the same time and reflect the same state.

-Mayla-

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.

ygkim550
Associate II
Posted on March 21, 2016 at 07:34

Resolution Summary:

SOLUTION PROPOSED BY SUPPORTER - 15/3/2016  07:02:10 : 

Dear

Both flags are set/reset as the same time and reflects the same state. 

So, VREFINTRDYF(in PWR_CSR register) and VREFINT_RDYF(in SYSCFG_CFGR3 register) are equivalent. 

Both flags reflect the state of internal voltage reference in order to provide stable voltage related to analog peripherals 

And to reduce power consumption in low power mode,  it can controlled by EN_VREFINT(in SYSCFG_CFGR3). 

In additional, ADC, HIS, comparator and temperature sensor have each bit which can independently switch on/off their internal reference voltage.

BEst Regards,