Associate II
October 23, 2019
Question
STM32F7 interface to DS3231MZ+
- October 23, 2019
- 3 replies
- 1987 views
Hi,
We are trying to interface STM32F76 custom board to DS3231MZ+ RTC chip ,we are able to set and retrieve time using I2C and it is incrementing properly as long as board is powered up. But Time and date are reset to 0:0 and year 2000 after board is powered off and powered on.RTC chip is provided with coin cell battery which has proper 3v.
Attached is the design of RTC chip.
1)Reset pin is left unconnected .does it have any impact for above error.
2) We are writing 0x00 value to 0x0E(control register) and 0x08 value to 0x0F(status register) in ds3231 initialization in code.
Thanks & Regars,
P Tulasi Krishna