Shop OBEX P1 Docs P2 Docs Learn Events
DS3232 Demo using Parallax Propellor — Parallax Forums

DS3232 Demo using Parallax Propellor

tomcrawfordtomcrawford Posts: 1,126
edited 2015-06-08 09:30 in Propeller 1
The note describes a Propellor demo for the Maxim DS3232 Extremely Accurate I2C RTC with Integrated Crystal and SRAM.

The spin code is attached. I used the JonnyMac i2c driver posted in:

http://forums.parallax.com/showthread.php/161040-Another-i2c-assembly-driver

I have reposted that driver here; it is exactly the same, untouched, unmodified and not fiddled and includes the MIT license.


By far, the greatest portion of the program deals with setting the time and date. The actual timekeeping function is pretty simple. Do note that I keep the timing values internally in binary (the 3232 registers are BCD.)

Since I did this mostly as an i2c exercise and since I already had an MCP3428 wired up, I included it. The program reads and displays the values of two channels once a second.
Sign In or Register to comment.