EDBG

I2C Interface

The Two-Wire Interface (I2C) is connected to through two signals; SDA and SCL. The two-wire interface is set to slave mode, meaning that communication must be initiated by a target device in master mode. The interface must be enabled from the PC before communication can begin.

The slave address of the I2C interface can be configured, but is default set to 0x28.

Communication from the target device to I2C DGI is done by sending the slave address with the write bit, followed by the data bytes. The master must poll the DGI for data by sending the slave address with the read bit. Then the DGI will send a 1 byte length, directly followed by the data.

Important: An I2C write transaction (could be of length zero) must take place before an I2C read transaction is acknowledged by the EDBG.