Introduction - If you have any usage issues, please Google them yourself
The program USES MSP430F149 to drive DS1302. DS1302 can calculate seconds, minutes, time, day, week, month, and year, automatically compensating the leap year date before 2100; The power supply voltage of 2.0V~5.5 V, the serial communication interface of the three-wire system, and the built-in 31-byte static RAM which can be maintained by the battery, can be freely used by the user. The biggest feature of DS1302 is the support of dual power supply, VCC2 connecting main power supply, VCC1 connected to spare battery. When VCC2's voltage is higher than that of VCC1, the chip obtains energy from VCC2 and can charge the battery of VCC1 by charging the VCC1. When VCC2 power disconnected, chip internal switch to take electricity from VCC1, to ensure that even under the condition of the system board out electricity, DS1302 can still proceed to correct timing function and stored in the data is not lost in RAM
Packet : 63535319msp430f149_ds1302.rar filelist
MSP430F149_DS1302\BoardConfig.h
MSP430F149_DS1302\cry1602.c
MSP430F149_DS1302\cry1602.h
MSP430F149_DS1302\D1.dep
MSP430F149_DS1302\D1.ewd
MSP430F149_DS1302\D1.ewp
MSP430F149_DS1302\D1.eww
MSP430F149_DS1302\ds1302.c
MSP430F149_DS1302\ds1302.h
MSP430F149_DS1302\gdata.h
MSP430F149_DS1302\main.c
MSP430F149_DS1302\settings\D1.cspy.bat
MSP430F149_DS1302\settings\D1.dbgdt
MSP430F149_DS1302\settings\D1.dni
MSP430F149_DS1302\settings\D1.wsdt
MSP430F149_DS1302\Debug
MSP430F149_DS1302\settings
MSP430F149_DS1302