eepj / stm32-ds1307

An STM32 HAL library for the DS1307 real-time clock IC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DS1307_for_STM32_HAL

An STM32 HAL library for the DS1307 real-time clock IC.

To test

  • Minimal setup:
                                             _________
                       32.768 kHz XTAL1 1 --| o       |-- 8 VDD
                       32.768 kHz XTAL2 2 --|         |-- 7 N/C
                                    N/C 3 --|         |-- 6 SCL1
                                    GND 4 --|_________|-- 5 SDA1
 

Note

  • Avoid writing to registers 00h to 10h as those are reserved for this library.

Known issues

  • Day of week fails to update at mindnight on March 1, 2020. This does not appear to recur in any other leap year.

About

An STM32 HAL library for the DS1307 real-time clock IC.

License:MIT License


Languages

Language:C 100.0%