Problem with RTC on STM32G0.... family MCU
HI,good mornig,
I'm starting to use RTC on STM32G0...family
I'm using NUCLEO board G071RB for initial tests and I setted it as follow:
1) introducing 2032 battery on Vbat pin (previous disconnect SB26 jumper (Vdd))
2) select LSE by STCubeMX configuration tool
By using uart2 trought ST-Link (on nucleo), the FW sends each 5sec date and time to PC.
RTC is working well when Vdd is present ( Nucleo board is supplied by USB ).
I also checked by scope either 3.3V on Vbat pin and oscillation from 32.768KHz quarz on board (signal quite low but seems enough to trigger ready flag in RCC reg.).
So, I try to disconnect Vdd from MCU, by disconnecting JP3; in this situation I check also 3.3V from battery and clock from quarz but when I re-supply MCU by inserting JP3, the RTC is stopped (seem from a reset event).
Can you help and suggest where I'm wrong?
Thank you
N.B. I tried on another board G071RB, and the 32.678 Khz clock doesn't work when LSE is selected!!!