Timekeeping chip problem
Tabiri
Posts: 23
All my timekeeping chip displays on the debug screen is
SUN 01/01/00 00:00:80.
I think the problem is the crystal, but even after replacing it nothing has changed, and i've triple checked all my other wiring.
SUN 01/01/00 00:00:80.
I think the problem is the crystal, but even after replacing it nothing has changed, and i've triple checked all my other wiring.
Comments
Need more info.
'
What timekeeping chip are you using?
'
What Stamp.
'
What program, (Post-it if its your own and need help with it)
'
Is this the RTC on the BasicStampPro.Dev.Board? ( If so there is a thin clear piece of tape on the watch battery for shipping)
'
Else need more info.
I'm using the DS1302, BS2. I'm currently using the timekeeping template from Chris' thread.
http://forums.parallax.com/showthread.php?77867-DS1302-Demo-Code-%28Updated%29&highlight=chris+savage+ds1302
I'm using the board of education.
Hope that helps
Tabiri:
'
I dug-up a DS1302 RTC. If I can find a 32.768KHz Xtal in my drawer of Xtals, I'll lay this out on my Pro. Dev.Board and see what I come up with.
Demo code
The that way I hook mine up
I hope this helps
The crystal does have to be connected as close to the chip as possible for long term accuracy. (I solder mine directly to the chip pins).
Chris's demo program works fine. Sam_sam_sam noted there may be a cross-up in the pin assignments in the demo. I used different Stamp pins so can't confirm that.
Do you have any other circuitry connected?
Stamp: I've got the datalogger as well as the ping ultrasonic sensor connected to my board.
The strange thing was, I did get the demo program working for about a day, but the next time I tried it it didn't work anymore.