Philips MIIC-201D/U manual

Page 39

5.1.4Sending I2C Messages 5.1.4.1 Master Operations

5.1.4.1.1Specifying the Destination Address

The Destination Address is the I2C slave address of the slave device being addressed on the bus. All slave addresses are displayed as even numbers (00...FE), representing the 7 most significant bits of the 8-bit slave address transmitted on the bus (aaaa aaa0).

The I2C adapter automatically supplies the 8th, least significant, Read/Write bit when it sends the slave address across the bus. For master write operations, the Read/Write bit is always transmitted as a logical 0 (aaaa aaa0). For master read operations, the Read/Write bit is always transmitted as a logical 1 (aaaa aaa1).

On the main screen, use the I2C Destination Address list control to set the slave address of the slave device you want to address on the bus.

5.1.4.1.2Repeated Start Messages

I2C Bus communications support an operation called Repeated Start. In this operation, a message is sent across the bus beginning with a Start Condition, but without a Stop Condition at the end of the message. The next message sent across the bus begins with a Start Condition, in this case a Repeated Start.

An I2C Bus master, that successfully sends a message on the bus, owns the bus until that master sends a message with a terminating Stop Condition. The Repeated Start operation allows the bus master to retain control of the bus while sending one or more messages on the bus. This prevents other bus masters, in a multi-master system, from accessing the bus and interfering with message sequences.

The Message Manager supports Repeated Starts with the doStop checkbox. Sending an I2C message with doStop checked will cause the message to be terminated with a Stop Condition. Sending an I2C message with doStop unchecked will cause the message to end without a Stop Condition, allowing the next message to be sent with a Repeated Start.

33

Image 39
Contents User’s Guide Introduction Page Table of Contents Page Page DLL/USB Page Page Page Page Page Page Page Page Page Part IPort Utility Pack For Windows V5.4 Page Page Page Page Page Page Page Page Page Page Page Message Center Command Line Arguments CLOCK12.5K Page Page Page Page Page Page Page Page Page Page Page Page Page Page IPort DLL/USB Revision Report Appendix a I2C Connector Information England