[U-Boot] [MPC8379E-rdb] Question about master bus busy after enabling I2C.

shawn Bai programassem at hotmail.com
Fri Sep 2 17:18:25 CEST 2011


Hi, here is a question about I2C initialization.
 
I2C driver of our own references i2c driver implemented in fsl_i2c.c
 
The init flow is almost the same.
 
After writing enable-bit MEN into i2c control register to enable I2C controler, 
 
sometimes, Bit 2 in i2c status, MBB bit, will be set, indicating i2c master bus busy.
 
And this will cause wait4bus return with failing.
 
Is there anyone around who used to face this question?
 
Or is there any suggestion or advice anyway?
 
Thanks in advance. 
 
Best Regards,
 
Shawn 		 	   		  


More information about the U-Boot mailing list