Spin Driver for PCF8563 rtc chip?
Jammer7071
Posts: 17
in Propeller 1
I've seen a few discussions about using these chips, but can't seem to get it running myself.
I tried to modify Kyle Crane's PCF8583 driver but it doesn't run correctly.
Does anyone have a ready made object for this chip?
I tried to modify Kyle Crane's PCF8583 driver but it doesn't run correctly.
Does anyone have a ready made object for this chip?
Comments
so far I have found two differences between the chips.
The 8583 is a 4 year counter while the 8563 is 0 to 99.
That also puts the year bytes in a different register.
In the 8583 register $05h holds the date and the year
while the 8563 holds only the year in register $08h
Kyle Crane's PCF8583 driver gets the the date and year
from the same register, so when I run this on the 8563
all I get for the date and year are random junk.
I am still trying to figure it out. how do I split up
the registers in his driver? I'm new to this and thanks
again for your help.
Everything I needed to know I got from William Henning's
MorphDiag.spin code.