IIC support?

Warner Losh imp at bsdimp.com
Fri Mar 2 17:19:44 UTC 2007


> I have problems to access the iic eeprom from userland. Even after set 
> SCAN_IICBUS in iicbus.c nothing has been detected. I have made some 
> tests from the bootloader to read/write from/to the eeprom and they work.
> Is there any known problems with TWI or any differences between board 
> settings?

The IIC bus is not a self enumerating bus.  Bad things happen when you
go out and try to 'probe' it, although often you can get away with
that.  FreeBSD takes a conservative approach.  You need hints for each
iic device on bus that you have on your board.

Warner


More information about the freebsd-arm mailing list