cancel
Showing results for 
Search instead for 
Did you mean: 

RTC time lags by 1 minute frequently 4-5 times over the span of 24 hours.

Ali110
Associate II

Hello everyone,

I am using the internal rtc time for stm32g0b1cet6 with external LSE crystal (32.768 KHz) with 22pf load capacitors. 

   1. RTC CR register on device power ON reads wrong value which changes RTC settings such as RTC hour format from 24 HR to 12 HR format,

     which results in wrong RTC time on power boot. (We used workaround for this by writing CR register in the application itself)

   2. RTC time lags by 1 minute frequently 4-5 times over the span of 24 hours. Here we measured the external crystal frequency which gave the value of 32.7685 KHz,

 I am attaching the various information such as RTC crystal layout snippet, cube mx settings, RTC initialization and workaround used for issue mentioned in point 1.

please let me know if any information is require.

please help to find the this issue
_legacyfs_online_stmicro_images_0693W00000bkY6hQAE.png
_legacyfs_online_stmicro_images_0693W00000bkY6XQAU.png
_legacyfs_online_stmicro_images_0693W00000bkY6SQAU.png
_legacyfs_online_stmicro_images_0693W00000bkY2vQAE.png
_legacyfs_online_stmicro_images_0693W00000bkY6NQAU.png

0 REPLIES 0