Skip to content

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

License

Notifications You must be signed in to change notification settings

eepj/stm32-ds1307

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages