^6 I2C1 Checked With i2c-debug

A project log for RPUadpt - a shield for multidrop serial over CAT5

Serial mezzanine with management for host to one or many targets.

ronald.sutherlandronald.sutherland 07/14/2018 at 06:170 Comments

BlinkLED allows the I2C1 port (e.g. the secnond I2C port on ATmega328pb) to interface with a host SBC.

The i2c-debug firmware can be used to test the I2C1 port, its address is at 0x2A. The Uno clone running i2c-debug has another I2C interface at 0x29.

picocom -b 38400 /dev/ttyUSB0
Terminal ready
/0/iaddr 42
/0/ibuff 0,3

blinking has stopped

/0/ibuff 0
/0/iread? 2

Note: I incuded the command byte befor reading the data because I think that is what SMBus does.

^6 I2C1_Checked_With_i2c-debug