In this post, DS1307 is used as RTC and it is connected to STM32F446RE using I2C
Components:
Hardware Part:
There are two DS1307, one with a complete circuit another with only DS1307.
Both will work just fine for this Project.
Set the circuit as shown in the figure above.
Software Part:
After connecting the STM32F446RE with the target now, connect to the computer where Keil uVision v5 is installed.
You can get the code from here
After successfully flashing the code, the Build-in LED every second
That's it for now.
Kommentarer