SUPER MICRO Computer MIIC-203 Set iPort/AFM’s Own I2C Slave Address, I2C Bus Clock Rate Control

Page 36

Command: /H[01][CR]

'Hex Only Display [0 = Disabled, 1 = Enabled]

Response: *

'iPort/AFM Ready

Default Setting:

Enabled

Set iPort/AFM’s Own I2C Slave Address

This command sets iPort/AFM's own I2C Slave Address (Hex 2...FE). Subsequent

I2C messages to this address will cause iPort/AFM to become an active Slave device on the bus.

Command: /Ixx[CR]

'Set iPort/AFM’s Own I2C Slave Address

Response 1: *

'iPort/AFM Ready

Response 2: /I89[CR]

'Invalid Command Argument

Default Setting: 6E

 

I2C Bus Clock Rate Control

Set the I2C Bus master clock rate. (0=23, 1=86, 2=100, 3=400KHz)

Command: /K[0123][CR] 'Set iPort/AFM’s Clock Rate

Response 1: *

Default Setting: /K2[CR]

The iPort/AFM clock rate for standard commands is controlled by the oscillator crystal we use on our microcontroller. This crystal has been selected to give accurate RS-232 baud rates, as the RS-232 baud rate must exactly match the rate used by the host computer. Master I2C clock rates are the fastest possible given the required crystal frequency. Slave I2C clock rates are driven by the external master device, with possible clock-stretching as required to store or retrieve message data.

Command Menu Display

This command displays iPort/AFM’s command menu.

Command: /M[CR] 'Command Menu Display Response:

iPort/AFM Command Menu Syntax: [Select], (Optional), xx=[00..FE], n=[1..32767]

37

Image 36
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 OverviewRS-232 Serial Port Connector System RequirementsInterconnects Packing Slip+5VDC Power Jack DB-25 Serial Port PinoutI2C Interface Connector INT, Interrupt Signal ControlConnecting to a 3.3v System Connecting to an SMBus SystemHardware Set-Up 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 Events Status Display RS-232 Baud RateClose I2C Connection Set Destination I2C Slave AddressEcho/Prompt Control 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+ Asynchronous Interface Events Slave Transmit RequestSlave Receive Complete General Call Receive CompleteINterrupt Signal Assert INterrupt Signal ReleaseI2C Bus Time-out Detected I2C Bus Error Detected IPort/AFM PromptsIPort/AFM Ready Slave Not AcknowledgingInvalid Command Argument Invalid iPort/AFM CommandIPort/AFM Connection Closed Slave Transmit Request Not ActiveExample Code IPort/AFM InitializationMaster Receive Message Communication Event ProcessingPage Page Page IPort/AFM Revision Report RevisionAdditional Information Micro Computer Control CorporationLimited Warranty Life Support ApplicationsLimitation of Remedies and Damages Appendix a