SUPER MICRO Computer MIIC-203 manual To Master Receive Data

Page 27

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

Image 27
Contents 479,12 Introduction Page Table of Contents Programmer’s Reference Ascii Command Interface Definitions Page Model MIIC-203 PartOverview RS-232 to I2C Host Adapter Ascii Fast Mode InterfacePacking Slip RS-232 Serial Port ConnectorSystem Requirements InterconnectsDB-25 Serial Port Pinout +5VDC Power JackINT, Interrupt Signal Control I2C Interface ConnectorPull-up Resistors Connecting to a 3.3v SystemConnecting to an SMBus System Hardware Set-UpIPort Utility Pack for Windows Introduction to Utility Pack IPort Message CenterIPort Message Manager Software Installation Page I2C Message Operations Page Page Page Starting the program Select iPort DeviceEstablish iPort Link Basic Set-up Advanced Set-up Diagnostic Set-up iPort Only To Master Transmit Data Sending Messages Master OperationsTo Master Receive Data Uninstalling iPort Utility Pack To Slave Transmit a messageTo Slave Receive a message Programmer’s Reference IPort/AFM Quick Start Command Description IPort/AFM Ascii Text Interface CommandsSynchronous Interface Events IPort/AFM ResetRS-232 Baud Rate Status DisplayFlow Control Close I2C ConnectionSet Destination I2C Slave Address Echo/Prompt ControlHex Only Display Control I2C General Call ControlCommand Menu Display Set iPort/AFM’s Own I2C Slave AddressI2C Bus Clock Rate Control Open I2C Connection Interrupt Signal Control/StatusMaster Read Message Slave Transmit Message Master Transmit Message EXtended Commands requires V2.00+ Set I2C Bus Time-oUt in msecDisplay Firmware Version requires V2.00+ Page Issue a Read WCR command to a Xicor X9241 at slave address Display Tx bYte Count requires V2.00+ General Call Receive Complete Asynchronous Interface EventsSlave Transmit Request Slave Receive CompleteINterrupt Signal Assert INterrupt Signal ReleaseI2C Bus Time-out Detected Slave Not Acknowledging I2C Bus Error DetectedIPort/AFM Prompts IPort/AFM ReadySlave Transmit Request Not Active Invalid Command ArgumentInvalid iPort/AFM Command IPort/AFM Connection ClosedCommunication Event Processing Example CodeIPort/AFM Initialization Master Receive MessagePage Page Page Micro Computer Control Corporation IPort/AFM Revision ReportRevision Additional InformationLife Support Applications Limited WarrantyLimitation of Remedies and Damages Appendix a