From: "Matthew S. McClintock" <mattsm@arlut.utexas.edu>
To: linuxppc-embedded@lists.linuxppc.org
Subject: MPC8245 and PCF8563 RTC
Date: 24 Jul 2003 17:07:04 -0500 [thread overview]
Message-ID: <1059084423.4969.11.camel@triffo.arlut.utexas.edu> (raw)
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/
next reply other threads:[~2003-07-24 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-24 22:07 Matthew S. McClintock [this message]
2003-07-24 22:26 ` MPC8245 and PCF8563 RTC Wolfgang Denk
2003-07-25 14:24 ` Matthew S. McClintock
2003-07-25 16:15 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1059084423.4969.11.camel@triffo.arlut.utexas.edu \
--to=mattsm@arlut.utexas.edu \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).