I designed a circuit that contains a CR2032 Battery for backing up the RTC.
The circuit is shown below.
Without the battery the RTC is running well and an initialize of the RTC is no Problem.
After inserting the battery the controller won't startup anymore.
The program hangs while the RTC is initialize. The function is waiting that the RTC registers will be syncronized. But the RSF Bit will be never set.
If i remove the battery the RSF Bit is immediately set.
I also tried to connect VDD directly to the VBAT Pin, but that results in the same situation, the RTC is not working and the program is hanging.
Is there something that i have forgotten to do?
I already tried to searched the REF manual but without success.