SUPER MICRO Computer MIIC-203 manual

Page 42

Command: /X[S~xxRrP01?DdCcLA "]..., then Press Enter or ESCape Enter /X followed by zero or more sub-commands, the [CR]

Response: /XCC(see commands below)[CR]

High Level Sub-Commands:

S = Send Start

~xx = Send Byte (xx = 00...FF)(response = A or N) R = Read Byte with Ack (response = ~xx)

r = Read Byte with Nak (response = ~xx) P = Send Stop

Mid Level Sub-Commands:

0 = Send 0 Bit

1 = Send 1 Bit

?= Read Bit (response = 0 or 1) Low Level Sub-Commands:

D = Set SDA High

d = Set SDA Low

C = Set SCL High

c = Set SCL Low

L = Read SCL (response = 0 or 1) A = Read SDA (response = 0 or 1)

Misc Sub-Commands:

space = no action “comment” = no action

Examples:

Master transmit three bytes to slave address 0x4e using high level, mid level, and low level sub-commands.

High Level Command:/X S ~4e ~01 ~02 ~03 P [CR]

High Level Response: /XCCAAAA[CR]

Mid Level Command:/X S 01001110 ? 00000001 ? 00000010 ? 00000011 ? P [CR]

43

Image 42
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 Starting the program Select iPort DeviceEstablish iPort Link Basic Set-up Advanced Set-up Diagnostic Set-up iPort Only Sending Messages Master Operations To Master Transmit DataTo Master Receive Data Uninstalling iPort Utility Pack To Slave Transmit a messageTo Slave Receive 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 ControlI2C General Call Control Hex Only Display ControlCommand Menu Display Set iPort/AFM’s Own I2C Slave AddressI2C Bus Clock Rate Control Interrupt Signal Control/Status Open I2C ConnectionMaster 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+ Slave Receive Complete Asynchronous Interface EventsSlave Transmit Request General Call Receive CompleteINterrupt Signal Assert INterrupt Signal ReleaseI2C Bus Time-out Detected 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