2023-05-22 01:24 AM - edited 2023-11-20 04:57 AM
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