Enumerable I2C busses

Dag-Erling Smørgrav des at des.no
Mon Nov 24 00:52:38 PST 2008


Rafał Jaworowski <raj at semihalf.com> writes:
> Well, hard-coded addresses and conflicting assignments between vendors
> do not technically prevent from scanning the bus; actually, our
> current iicbus code can do bus scaning when compiled with a diag
> define.

I haven't looked at how that is implemented, but - I2C version 3
describes device enumeration and identification, but AFAIK very few
devices actually support it.

This is really stupid, BTW.  Philips could easily have required the
first few bytes of the device address space to contain a vendor / device
ID, along the lines of PCI and USB, from the start.  I wonder: did it
not occur to them, or did they intentionally leave it out to save a few
microcents per chip?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list