2020-06-04 02:09 AM
Dear,
On MCU STM32L071 we use LSE crystal (32,768 khz) with param:
and I am not sure how to set up LSEDRV bits in RCC register. I computed (according to AN2867) Gmcritical=2.06 uA/V
Do I understand correctly that I should set LSEDRV in MCU to 2.7 uA/V? Because when I set it lower than 2.06 uA/V then it would not work reliably?
But whe I set it higher than something than I could damage LSE - what is something?
Steps for setting Driver Level in L071CB are:
Thank you very much for help.
Jan.
2020-06-09 07:24 AM
Hi @Community member
As mentioned in section 3.4 Oscillator transconductance of AN2867 Rev12, Gm_crit_max(MCU) must be grater then gmcrit(crystal); under this condition the crystal works fine.
According to your calculation you have to set the LSEDRV to high drive level as mentioned in table 45 of STM32L071 datasheet DS10690 Rev 7.
Best regards
Bouraoui