I2C
NeuralPlex includes i2c-tools as a part of the default file system build, examples of optional commands:
Command | Description |
---|---|
i2cdetect | detect the devices present on the I2C bus |
i2cdump | dump the content of an I2C device |
i2cset | write a single character to an I2C device |
i2cget | read a single character to an I2C device |
Detecting I2C devices
Section titled “Detecting I2C devices”root@neuralplex:~# i2cdetect -y 6 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- --10: -- -- -- -- -- -- UU -- -- 19 -- -- -- -- -- --20: -- -- -- -- 24 -- -- -- -- -- -- -- UU -- -- --30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --40: -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- --50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --60: -- -- 62 -- -- -- -- -- -- -- -- -- -- -- -- --70: -- -- -- -- -- -- -- --
I2C Devices
Section titled “I2C Devices”# Bus 40x28 = PMIC, MAX200870x29 = PMIC, MAX200870x44 = Audio Codec0x60 = Tuner0x6b = IMU
# Bus 50x10 = Apple Authentication0x68 = RTC0x77 = Temperature and Barometric Pressure
# Bus 6: LVDS-10x16 = Serializer0x19 = Accelerometer0x24 = GPIO Expander0x25 = GPIO Expander0x2c = Deserializer0x41 = 12.3 Touchscreen
# Bus 7: LVDS-20x16 = Serializer0x19 = Accelerometer0x24 = GPIO Expander0x25 = GPIO Expander0x2c = Deserializer0x41 = 12.3 Touchscreen
# Bus 8: DSD-10x16 = Serializer0x19 = Accelerometer0x24 = GPIO Expander0x25 = GPIO Expander0x2c = Deserializer0x41 = 12.3 Touchscreen