linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC8245 and PCF8563 RTC
@ 2003-07-24 22:07 Matthew S. McClintock
  2003-07-24 22:26 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew S. McClintock @ 2003-07-24 22:07 UTC (permalink / raw)
  To: linuxppc-embedded


Has anyone had any success using an MPC8245 and a Philips PCF8563 real
time clock in linux? Everything works in U-Boot but I can not get
everything working in linux.

I am using the MPC8245 I2C drivers from:
http://www.humboldt.co.uk/mpc10xi2c.html
and I am using the PCF8563 drivers from the CVS DENX Linux kernel.

I know I2C works in linux because the two LM75 temperature sensors on
the board work. However the PCF8563 driver does not work. I have
debugging turned on for both the i2c-adap-mpc10x and pcf8563 kernel
modules and I get output that looks like this:

rtc_rd(): i2c transfer error
i2c-adap-mpc10x.c: Doing write 1 bytes to 0x51 - 1 of 2 messages
i2c-adap-mpc10x.c: Doing read 1 bytes to 0x51 - 2 of 2 messages
rtc_rd(): i2c transfer error
Alarms: wday: ff day: ff hour: ff min: ff
PCF8563 RTC Low Voltage - date/time not reliable
get rtc [dec] year=2165 mon=25 day=45 hour=45 min=85 sec=85
Set System Time from RTC Time: 1925913489
RTC installed, minor 135
i2c-adap-mpc10x.c: Doing write 1 bytes to 0x51 - 1 of 2 messages
i2c-adap-mpc10x.c: Doing read 1 bytes to 0x51 - 2 of 2 messages
rtc_rd(): i2c transfer error
PCF8563 RTC Low Voltage - date/time not reliable
i2c-adap-mpc10x.c: Doing write 2 bytes to 0x51 - 1 of 1 messages
rtc_wr(): i2c transfer error
i2c-adap-mpc10x.c: Doing write 2 bytes to 0x51 - 1 of 1 messages
rtc_wr(): i2c transfer error
i2c-adap-mpc10x.c: Doing write 2 bytes to 0x51 - 1 of 1 messages
rtc_wr(): i2c transfer error
i2c-adap-mpc10x.c: Doing write 1 bytes to 0x51 - 1 of 2 messages
i2c-adap-mpc10x.c: Doing read 1 bytes to 0x51 - 2 of 2 messages
rtc_rd(): i2c transfer error

Obviously it has a transfer error, but I am curious if anyone has any
experiences with the same situation. Anyone have any ideas?

Thanks,
Matthew


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-25 16:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-24 22:07 MPC8245 and PCF8563 RTC Matthew S. McClintock
2003-07-24 22:26 ` Wolfgang Denk
2003-07-25 14:24   ` Matthew S. McClintock
2003-07-25 16:15     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).