DS28E17IIC(4) | Device Drivers Manual | DS28E17IIC(4) |
ds28e17iic
—
Driver for Maxim DS28E17 1-Wire to I2C bridge
ds28e17iic* at onewire?
The ds28e17iic
driver provides a 1-Wire to
I2C bridge with a iic(4) bus at
the far end using the DS28E17 bridge chip.
The DS28E17 will automatically detect and deal with a end device that uses I2C clock stretching.
The following sysctl(3) variables are provided:
hw.ds28e17iic0.readycount
hw.ds28e17iic0.readydelay
hw.ds28e17iic0.reportreadnostop
hw.ds28e17iic0.reportzerolen
hw.ds28e17iic0.debug
DS28E17IIC_DEBUG
,
this node will appear and can be used to set the debugging level.The ds28e17iic
driver first appeared in
NetBSD 11.0.
The ds28e17iic
driver was written by
Brad Spencer
<brad@anduin.eldar.org>.
While this may not be considered a bug, the DS28E17 chip will detach itself from the onewire(4) bus if there is not a device connected to its SDA and SCL pins.
The i2cscan(8) command will not function entirely correctly when run against a DS28E17 chip. The default mode of doing a I2C Write with Stop that is zero length is not supported by the DS28E17 chip. When the i2cscan(8) command is used with its one byte read mode it will find devices as long as the device does not NACK on a I2C read.
January 12, 2025 | NetBSD 10.99 |