2.To Master Receive Data
On the main screen, use the I2C Destination Address list control to set the slave address of the device you want to communicate with.
Main Application Screen
On the lower part of the main screen, set the Bytes to MasterRx edit box to the number of bytes you want to read. For example: Set this to 1 to read a single byte. Click on the Master RX button to receive the message. Data received from the slave is displayed in the Received Messages text box on the main screen. The Communications Events window should report “Master RX Transfer Complete”. If this message does not appear, check the slave device address, connections, and power.
If you get a “Slave Not Acknowledging” message in the Communications Events window, this could mean you have the wrong address in the I2C Destination Address, or the device is not answering to its address.
You have the option to Auto Repeat a transmitted message upon completion by checking the Auto Repeat box. Also you may do a DoStop which will perform repeated starts automatically. Another option you have is to do “DoNak”, which allows you to Ack or Nak the last byte coming from a Slave Transmitter. Some Slave Transmitter Devices require a Nak on the final byte going across the bus. (Option only available for the windows iPort).
28