[U-Boot-Users] I2C address above 0x7f

Wolfgang Denk wd at denx.de
Wed Dec 4 12:43:33 CET 2002


In message <0212041158460F.06014 at pcj86.jena.mazet.de> you wrote:
> 
> currently I play with the I2C facility of PPCBoot 2.0.0 (I know, it's 
> deprecated). At my TQ850L I'm using the I2C hardware machine 
> (CONFIG_HARD_I2C) with needed configuration:
> 
>    * CFG_I2C_SPEED=400000
>    * CFG_I2C_SLAVE=0x7f

Why don't you use the default of 0xFE?

> Hm, what's the meaning of CFG_I2C_SLAVE ? I've expected it's the highes valid 
> slave address, isn't it ?

No, what makes you think so? It's the value that gets programmed into
the MPC8xx I2C controller's I2ADD register. See the Users Manual  for
details.


The subject suggests you ntended to ask something different?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You don't have to worry about me. I might have been born yesterday...
but I stayed up all night.




More information about the U-Boot mailing list