DS3232M RTC demo program. Tested on the K64F (this example) and the KL25Z, but should work on any platform by changing the SDA and SCL pins. USB serial baud rate is 230400, tested on TeraTerm. Demo includes setting the DS3232's time, turning on and off the 32KHz and 1Hz outputs and accessing the DS3232's temperature. Also included are DS3232 user RAM access tests and user RAM CRC data calculations. Since user RAM is battery backed up, CRC routines are included to insure that the data stored in user RAM is intact.

Dependencies:   ds3232m mbed mbed-rtos

History

Updated support for v6 of ds3232m library default tip

2016-03-11, by loopsva [Fri, 11 Mar 2016 18:19:40 +0000] rev 4

Updated support for v6 of ds3232m library


Using updated, non-RTOS ds3232m library only. No other changes made.

2014-12-25, by loopsva [Thu, 25 Dec 2014 21:43:17 +0000] rev 3

Using updated, non-RTOS ds3232m library only. No other changes made.


Added checks in main() to test for user RAM access errors.

2014-12-23, by loopsva [Tue, 23 Dec 2014 20:11:26 +0000] rev 2

Added checks in main() to test for user RAM access errors.


Additional example commands to save and restore text strings in DS3232 user RAM, display user RAM CRC16 data, RTOS hooks. The RTOS can be enabled by un-commenting line #define "rtos.h". Tested on K64F (this example) and the KL25Z, with and w/o RTOS

2014-12-19, by loopsva [Fri, 19 Dec 2014 20:28:39 +0000] rev 1

Additional example commands to save and restore text strings in DS3232 user RAM, display user RAM CRC16 data, RTOS hooks. The RTOS can be enabled by un-commenting line #define "rtos.h". Tested on K64F (this example) and the KL25Z, with and w/o RTOS


DS3232M RTC demo program

2014-12-08, by loopsva [Mon, 08 Dec 2014 23:11:15 +0000] rev 0

DS3232M RTC demo program