SUPER MICRO Computer MIIC-203 manual Master Read Message

Page 38

Master Read Message

This command causes iPort/AFM to read the specified number of data bytes from the currently selected Destination I2C Slave Address with or without generating an I2C Stop condition after the last byte is received.

Enter Byte Count (Decimal 0...32767) then Press Enter, or ESCape to Cancel.

A Byte Count of Zero (0) represents a Variable Length message, where the first byte read from the I2C Slave device indicates the number of additional trailing bytes are available to read. iPort/AFM automatically reads the first byte, then the additional bytes as specified by the first byte. All message bytes including the Length byte are returned to the Host computer.

The received text is a representation of the data bytes within the Master Receive message. The format of this data is controlled by the current setting of the Hex Only Display Control .

If the device acknowledges its I2C Slave Address, the specified number of bytes are read from the current Destination I2C Slave Address. iPort/AFM acknowledges all bytes read except the last. If not disabled, the message is then terminated with an I2C Stop condition.

Sending Master Receive messages with No Stop allows the Master to retain exclusive control of the I2C Bus until it finally sends a Stop. During this time, the Master can send additional (Repeated Start) Master Transmit or Master Receive messages to the same or other I2C Slave devices.

Command: /(*)Rnnnn[CR]

'Master Read Message

 

(* = No Stop)

Response 1: /MRCtext[CR]

'Master Read Complete

Response 2: /SNA[CR]

'Slave Not Acknowledging

Response 3: /I81[CR]

'iPort/AFM is Busy, Command Ignored

Response 4: /I83[CR]

' I2C Arbitration Loss Detected

Response 5: /I88[CR]

'iPort Connection Not Open

Response 6: /I89[CR]

'Invalid Command Argument

Default Setting:

None

39

Image 38
Contents 479,12 Introduction Page Table of Contents Programmer’s Reference Ascii Command Interface Definitions Page Part Model MIIC-203RS-232 to I2C Host Adapter Ascii Fast Mode Interface OverviewInterconnects RS-232 Serial Port ConnectorSystem Requirements Packing Slip+5VDC Power Jack DB-25 Serial Port PinoutI2C Interface Connector INT, Interrupt Signal ControlHardware Set-Up Connecting to a 3.3v SystemConnecting to an SMBus System Pull-up ResistorsIPort Utility Pack for Windows IPort Message Center Introduction to Utility PackIPort Message Manager Software Installation Page I2C Message Operations Page Page Page Establish iPort Link Starting the programSelect iPort Device Basic Set-up Advanced Set-up Diagnostic Set-up iPort Only Sending Messages Master Operations To Master Transmit DataTo Master Receive Data To Slave Receive a message Uninstalling iPort Utility PackTo Slave Transmit a message Programmer’s Reference IPort/AFM Quick Start IPort/AFM Ascii Text Interface Commands Command DescriptionIPort/AFM Reset Synchronous Interface EventsStatus Display RS-232 Baud RateEcho/Prompt Control Close I2C ConnectionSet Destination I2C Slave Address Flow Control I2C General Call Control Hex Only Display ControlI2C Bus Clock Rate Control Command Menu DisplaySet iPort/AFM’s Own I2C Slave Address Interrupt Signal Control/Status Open I2C ConnectionMaster Read Message Slave Transmit Message Master Transmit Message Display Firmware Version requires V2.00+ EXtended Commands requires V2.00+Set I2C Bus Time-oUt in msec Page Issue a Read WCR command to a Xicor X9241 at slave address Display Tx bYte Count requires V2.00+ Slave Receive Complete Asynchronous Interface EventsSlave Transmit Request General Call Receive CompleteI2C Bus Time-out Detected INterrupt Signal AssertINterrupt Signal Release IPort/AFM Ready I2C Bus Error DetectedIPort/AFM Prompts Slave Not AcknowledgingIPort/AFM Connection Closed Invalid Command ArgumentInvalid iPort/AFM Command Slave Transmit Request Not ActiveMaster Receive Message Example CodeIPort/AFM Initialization Communication Event ProcessingPage Page Page Additional Information IPort/AFM Revision ReportRevision Micro Computer Control CorporationLimited Warranty Life Support ApplicationsLimitation of Remedies and Damages Appendix a