MPC8347 PQ2 I2C driver
Hi all,
Just a quick one, does any-one know if the i2c-mpc i2c driver will function on a Freescale MPC8347?
Cheers,
Adrian.
Quoted 7 lines · Adrian Craine
Hi all,
Just a quick one, does any-one know if the i2c-mpc i2c driver will function on a Freescale MPC8347?
Cheers,
Adrian.
Yes it will.
- k
Quoted 5 lines · Adrian Craine
Hi all,
Just a quick one, does any-one know if the i2c-mpc i2c driver will function on a Freescale MPC8347?
Seems to work fine on the MPC8349E-MDS-PB.
I believe one of the engineers just installed the lm-sensors i2c tools and they worked fine, i.e., the i2c driver that is built by default in the Denx kernel and LTIB kernel works.
I know I've used the i2c tools without trouble.
If its any use, here's what appears to be running on the board now (ELDK 4.0 based I believe ...)
bash-3.00# uname -a
Linux cobralab1 2.6.18-rc2 #1 Tue Aug 8 13:04:42 PDT 2006 ppc ppc ppc GNU/Linux
Here's the output from an MPC8349E-MDS-PB bus #0
bash-3.00# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- 31 -- -- -- -- -- -- -- -- -- -- -- -- -- 3f 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
bash-3.00#
and bus #1
bash-3.00# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
bash-3.00#
I've hooked up an AD7998 I2C eval board to bus #1 at address 21h. Normally you'd only see the EEPROM at 50h.
Cheers,
Dave