Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Chrisk Senior Member Joined: 21/12/2014 Location: AustraliaPosts: 122
Posted: 09:04pm 21 Jun 2015
Copy link to clipboard
Print this post
Hi Guys
I don't seem to be winning.
I have a Colour MM from Altronics K9555 running V4.5.
When I use the SETTIME command I get back:
Error: PCF8563 not responding.
My colour MM uses a DS1307 but I assume the communication between the processor and the DS1307 is similar.
I have replaced the crystal and the IC, both communications pins are pulled high and there is nothing wrong with my soldering.
Has anyone got any ideas.
regards
Chrisk
cosmic frog Guru Joined: 09/02/2012 Location: United KingdomPosts: 302
Posted: 09:40pm 21 Jun 2015
Copy link to clipboard
Print this post
Is the battery good? The RTC needs a working battery.
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10259
Posted: 10:27pm 21 Jun 2015
Copy link to clipboard
Print this post
PCF8563 and DS1307 are not compatible, you need to use the one which the version of the software is designed for. Latest versions of the Micromite software can cater for both but not AFAIK other versions including Maximite
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935
Posted: 10:34pm 21 Jun 2015
Copy link to clipboard
Print this post
The DS1307 and the PCF8563 are at different I2C addresses. The ds1307 was the original RTC for the Colour Maximite and the fact that it's asking for the PCF may mean that it can't find the DS1307 or the time is invalid. Like cosmic frog said, have you replaced the battery? Is it in the right way? They usually won't fit or connect if wrong. Does pin 8 on the IC have 5 volts? Pin 3 should have battery at about 3 volts.
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935
Posted: 10:38pm 21 Jun 2015
Copy link to clipboard
Print this post
That's also what I thought Pete but I just looked at the Maximite MMBasic manual and it appears to support the PCF also. The original for the Maximite was the DS1307 but was optional. I was wondering if he even has the correct version (Maximite v Micromite) in his machine.
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935
Posted: 10:44pm 21 Jun 2015
Copy link to clipboard
Print this post
I just read the manual again and there is a possibility that you may have the Maximite monochrome software in your processor.
Can you work the colour commands?
Chrisk Senior Member Joined: 21/12/2014 Location: AustraliaPosts: 122
Posted: 12:20am 22 Jun 2015
Copy link to clipboard
Print this post
Hi Guys
Thanks for your replies but I have figured it out.
The colour maximite that I was sold uses the DS1307 as the real time clock.
I upgraded to V4.5 thinking that it was compatible. No its not.
I found if I use the the old DATE$= to set the date and TIME$= to set the time it works.
It appears it is not possible to use RTC SETTIME 14, 11, 10, 16, 0, 0 for this old hardware.
I suspect there are other instructions that may not be compatible either. I'll wait and see.
I had checked the battery and it was OK at 3.16V inserted with correct polarity.