User’s Guide RS-232 to I2C Host Adapter ASCII Fast Mode with iPort Utility Pack Software www.mcc-us.
Introduction The MCC iPort/AFM™ RS-232 to I2C Host Adapter with ASCII Fast Mode (#MIIC-203) allows any PC, Host Computer, or Data Terminal with an RS-232 port to become an I2C Master or Slave device, transmitting or receiving I2C messages between the PC and one or more I2C devices across an I2C Bus. This user’s guide describes the installation and operation of the iPort/AFM host adapter and the iPort Utility Pack Software for Windows, and includes the Programmers Reference for creating custom applications.
Copyright© 2004 by Micro Computer Control Corporation. All rights reserved. No part of this publication may be reproduced by any means without the prior written permission of Micro Computer Control Corporation, PO Box 275, Hopewell, New Jersey 08525 USA. DISCLAIMER: Micro Computer Control Corporation makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.
Table of Contents Part 1 - iPort/AFM RS-232 to I2C Bus Host Adapter . . . . . . . . . . . . . . . . . . . . . 1 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iPort/AFM RS-232 to I2C Bus Host Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . iPort Utility Pack Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iPort/AFM Programmer’s Reference . . . . . . . . . . . . . . . . . . . .
Installing from the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4 iPort Message Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Message Center Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting the Message Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting the Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting the Message Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Select the Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Establish Adapter Communications Link . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Advanced Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Close I2C Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Set Destination I2C Slave Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Echo/Prompt Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RS-232 Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I2C General Call Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iPort/AFM Revision Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Appendix A - I2C Connector Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Part 1 - iPort/AFM RS-232 to I2C Bus Host Adapter Part 1 RS-232 to 2 I C Bus Host Adapter with ASCII Fast Mode User’s Guide Model: MIIC-203 1
1 Overview The MCC iPort/AFM RS-232 to I2C Bus Host Adapter with ASCII Fast Mode (#MIIC-203) allows any PC, Host Computer, or Data Terminal to become an I2C Master or Slave device, transmitting or receiving I2C messages between the PC and one or more I2C devices across an I2C Bus. Product Features: • Turn ANY Computer’s RS-232 Serial Port into an I2C Port. • Supports Bus Master and Slave, Transmit and Receive, and /INT signal generation and detection. • Compatible with 3.
1.4 Packing Slip This package includes the following items: • • • • • • • 1.5 iPort/AFM RS-232 to I2C Bus Host Adapter (#MIIC-203). I2C Interface Cable. Interrupt (/INT) Signal Clip Lead Wire. RS-232 Serial Port Cable, 9F/25M. iPort/AFM User’s Guide. iPort Utility Pack for Windows software. Power Supply. System Requirements a. A host computer with one free RS-232 port. b. Windows 95 OS or higher to run iPort Utility Pack applications.
The I2C adapter implements the RS-232 interface using the following pins: 2.1.1 DB-25 Serial Port Pinout DB-25 Pin 2, Transmit Data from the Host Computer to the iPort DB-25 Pin 3, Receive Data from the iPort to the Host Computer. DB-25 Pin 4, Request to Send from the Host Computer to iPort. DB-25 Pin 5, Clear to Send from the iPort to the Host Computer. DB-25 Pin 7, Ground between Host Computer and iPort 2.1.
Receptacle Connector An I2C Interface Cable (White=SCL, Red=+5VDC, Green=SDA, Black=Ground) is provided to connect to an external I2C Bus. Since there is no standard I2C Bus connector, you may want to cut off one end of the cable and add a connector compatible with your target system. Additional I2C Interface Cables (4 ft., 8 ft., or 16 ft.), and modular connectors are available from MCC. Clip Lead cables are also available. (see Appendix A) 2.
/INT signal level, and send a notification to the host computer when the /INT signal changes state. 3 Hardware Configuration 3.1 Pull-up Resistors The I2C adapter includes a slide switch used to enable or disable internal +5VDC I2C Bus 1.8K ohm pull-up resistors attached to the SCL, SDA, and /INT lines. Every I2C Bus system must have at least one pull-up on the signal lines. Use this switch to configure the pull-up resistors for your system. 3.2 Connecting to a 3.
supported include time-outs, device reset, and Packet Error Check byte processing. The non-supported SMBus features may, or may not, permit the use of the I2C adapter in your SMBus application. Consult the MCC FAQ web page and SMBus Specification for details. 4 ESD (Electrostatic Discharge) Precautions Electrostatic discharge is defined as the transfer of charge between bodies at different electrical potentials.
• Wear an earth grounded wrist strap, or discharge any static charge build-up, when handling the I2C adapter or any target system devices. • Ensure that both the host computer and target system are connected to a common earth ground point. • Make sure that all interconnections are made BEFORE applying power to the host computer, I2C adapter, and target system.
If you have any questions on I2C adapter setup and configuration, please contact our technical support department via our web site.
10
Part 2 - iPort Utility Pack for Windows Part 2 iPort Utility Pack for Windows V5.
12
1 iPort Utility Pack for Windows The iPort Utility Pack for Windows is your express lane to I2C Bus communications. The Utility Pack includes two (2) Windows-based applications (Message Center and Message Manager) that will help you get started sending and receiving I2C Bus messages quickly and easily. 1.1 iPort Message Center The iPort Message Center, our most popular application, operates with all versions of our I2C Bus Host Adapters.
1.2 iPort Message Manager The iPort Message Manager operates with all versions of our I2C Bus Host Adapters.
2 System Requirements One of the following MCC I2C Bus adapters: 1. 2. 3. 4. iPort (#MIIC-201) Windows to I2C Bus Host Adapter. I2C Bus Host Adapter Variable Clock Rate (#MIIC-201-V). iPort/AI (#MIIC-202) RS-232 to I2C Bus Host Adapter with ASCII Interface iPort/AFM (#MIIC-203) RS-232 to I2C Bus Host Adapter with ASCII Fast Mode Interface. Windows 95 OS or higher. 1 free RS-232 Serial Port. 3 iPort Utility Pack Installation 3.1 Installing from CD 1. Insert a software distribution CD into your CD drive.
4 iPort Message Center The iPort Message Center supports I2C Master Transmit and Master Receive activities for all MCC I2C Bus host adapters. With this program you can create, save, and execute scripts of I2C Master messages. Main Application The iPort Message Center allows a PC to become an I2C Master transmitter or receiving device, sending I2C messages between the PC and one or more I2C devices across an I2C Bus.
4.1 Message Center Operations Communicating with another device on the I2C Bus is easy. Just install the software as described in Section 3, then following these simple steps: 4.1.1 Starting the Message Center Click, Start *Programs *iPort Utility Pack*iPort Message Center 4.1.2 Selecting the Adapter Select the I2C adapter you are using by clicking the corresponding adapter image (see Opening Screen), or the Device Select checkbox (see Main Application Screen).
4.1.3 Select the Communications Port Use the “Using Com:” control to select the RS-232 communication port connected to the I2C adapter. Message Center supports USB and network connected local or remote RS-232 ports via the Windows Com driver. 4.1.4 Options Menu Use the Options menu to override default Baud Rate and I2C Bus Clock rate settings. Default settings and options are adapter dependant. 4.1.
Use the I2C Message Editor to: 1. Set I2C Address. The I2C Address is the I2C slave address of the slave device being addressed on the bus. All slave addresses are displayed as even numbers (00...FE), representing the 7 most significant bits of the 8-bit slave address transmitted on the bus (aaaa aaa0). The I2C adapter automatically supplies the 8th, least significant, Read/Write bit when it sends the slave address across the bus.
Sending an I2C message with doStop enabled will cause the message to be terminated with a Stop Condition. Sending an I2C message with doStop disabled will cause the message to end without a Stop Condition, allowing the next message to be sent with a Repeated Start. 4. Set Time Delay. Message Center supports time delays after the completion of a message. Time delays can be used to synchronize or sequence bus messages with the activity of external devices. 5. Specify Write Data or Read Byte Count.
4.1.8 Saving or Loading Message Lists Message Center I2C message lists can be saved to, or loaded from, a disk file. To save the current message list, click File|Save on the menu bar. To open an existing message list, click File|Open List on the menu bar. Message lists are maintained in ASCII text files (*.IML) that can be edited manually or created with a customer-developed program. See message list files for details. 4.1.
4.2 Command Line Arguments The Message Center can be controlled via command line arguments. This feature allows the Message Center to be accessed from a batch file or another program. Message Center Command Line Arguments Command Description iPort, iPort/AI, iPort/AFM, Variable Specify I2C adapter type.* COM1...COM20 Specify RS-232 communication port. BAUD19200, BAUD57600, BAUD115200 Set RS-232 Baud Rate.* CLOCK12.5K, CLOCK23K, CLOCK86K, CLOCK100K, CLOCK400K, VCLOCK Set I2C Bus Clock Rate.
4.2.1 Set Adapter Type iPort iPort/AI iPort/AFM Variable iPort (#MIIC-201) iPort/AI (#MIIC-202) iPort/AFM (#MIIC-203) Variable Clock (#MIIC-201-V) The Adapter Type argument should be the first argument in the argument list as it controls the availability of other arguments. If the Adapter Type is not specified, the startup adapter selection screen will be presented. 4.2.2 Set RS-232 Communication Port COM1 (Default) COM2...COM20 Set the RS-232 communications port attached to the I2C adapter. 4.2.
4.2.5 Enable /INT Signal Monitor Monitor/INT (on INT supported adapters only. Default=OFF) Enable /INT signal monitoring. 4.2.6 Stop On Busy StopOnBusy (Default=OFF) Stop sending I2C messages if the adapter returns a "Busy" response to the host computer. 4.2.7 Stop On Arbitration Loss StopOnArbLoss (Default=OFF) Stop sending I2C messages if the adapter returns a "Bus Abritration Loss" response to the host computer.
Generate a host computer beep if the adapter returns a "Bus Arbitration Loss" response to the host computer. Bus Arbitration Loss occurs when another I2C Bus master wins arbitration while the adapter is attempting to become a bus master. 4.2.11 Beep On Slave Negative Acknowledgment BeepOnNak (Default=OFF) Generate a host computer beep if the adapter returns a "Slave Not Acknowledging" response to the host computer.
4.2.15 Auto Open AutoOpen Auto Open Link to I2C Adapter Open link to adapter. 4.2.16 Auto Send AutoSend Auto Send I2C Message List Send I2C messages loaded with the AutoLoad command. 4.2.17 Auto Exit AutoExit Auto exit after sending the message list. Message Center will auto exit after sending the last message in the I2C message list.
5 iPort Message Manager The iPort Message Manager supports I2C Master and Slave, Transmit and Receive activities for all MCC I2C Bus host adapters, allowing a PC to become an I2C Master or Slave device, transmitting or receiving I2C messages between the PC and one or more I2C devices across an I2C Bus. Main Application The Message Manager is designed to be a simple application for experimenting with I2C messages. Message Manager provides methods to: 1.
5.1 Message Manager Operations Communicating with another device on the I2C Bus is easy. Just install the software as described in Section 3, then following these simple steps: 5.1.1 Starting the Message Manager Click, Start *Programs *iPort Utility Pack*iPort Message Manager 5.1.2 Select the Adapter Select the I2C adapter you are using by clicking the corresponding adapter image (see Opening Screen), or the Device Select checkbox (see Main Application Screen).
5.1.3 Establish Adapter Communications Link On the main screen, click the Open button to view the Set Up Screen. Three levels of setup options are available, Basic, Advanced, and Diagnostic. Only Basic setup is required. Basic Set Up Screen 5.1.3.1 Basic Setup Use the “RS-232 Port Settings” control to select the RS-232 communication port connected to the I2C adapter. Message Manager supports USB and network connected local or remote RS-232 ports via the Windows Com driver.
Advanced Set Up Screen 5.1.3.2 Advanced Setup On the Advanced Setup screen you can set the following parameters: Adapter’s Own I2C Slave Address Select the I2C adapter’s own slave address. The adapter will acknowledge messages sent to this slave address. The default address is 0x6E. General Call Enable General Call Enable allows the I2C adapter to respond as a slave receiver to the I2C General Call Address (0x00). General Call is used by a master to broadcast an I2C message to multiple devices.
main screen Communications Events window. Diagnostic Set Up Screen 5.1.3.3 Diagnostic Setup (on supported adapters) On the Diagnostic Set-up screen you can set the following parameters: Log File Level A log file is available to troubleshoot RS-232 communication problems with the selected communication port. The log file is an ASCII text file viewable with any text editor. Select logging level. Level 1 provides minimum information. Level 4 provides maximum information. Log File Name Specify a log file name.
5.1.4 Sending I2C Messages 5.1.4.1 Master Operations 5.1.4.1.1 Specifying the Destination Address The Destination Address is the I2C slave address of the slave device being addressed on the bus. All slave addresses are displayed as even numbers (00...FE), representing the 7 most significant bits of the 8-bit slave address transmitted on the bus (aaaa aaa0). The I2C adapter automatically supplies the 8th, least significant, Read/Write bit when it sends the slave address across the bus.
5.1.4.1.3 Auto Repeat The situation often arises, where you would like to automatically repeat a master message operation. The Message Manager supports auto-repeat with the Auto Repeat checkbox. You can automatically repeat a master operation by checking the Auto Repeat control before clicking the Master Tx, Master Rx, or Master TxRx buttons. The master operation repeats until the Auto Repeat control is unchecked. 5.1.4.1.
Click OK to accept the data. Sending Master Transmit Messages Click the Master Tx button to write the specified Master Tx Data Bytes to the selected destination slave device. If Auto Repeat is checked, the message will automatically repeat upon completion. The Communications Events window on the main screen should report “Master Tx Complete.” If this message does not appear, check the slave device address, connections, and power.
Negative Acknowledge Last Byte On supported adapters, the doNak checkbox gives you the option to acknowledge, or negatively acknowledge, the last byte read from a slave device. Some Slave Transmitter Devices require a negative acknowledgment on the final byte read from the slave device. I2C adapters not supporting this option automatically negatively acknowledge the last byte read. 5.1.4.1.
6 Uninstalling iPort Utility Pack Click, Start | Programs | iPort Utility Pack | uninstall. Follow the on screen instructions.
Part 3 - iPort/AFM Programmer’s Reference Part 3 Programmer’s Reference ASCII Command Interface Definitions 37
Programmer’s Quick Start Creating a custom iPort/AFM program is easier if you know what to expect. Follow these steps to manually control the iPort/AFM from your computer’s keyboard and screen. 1 Install the iPort/AFM as directed in the “Hardware Set-Up” section of this User’s Guide. 2 Use a terminal emulator program, like Windows’ Hyperterminal, to start communicating with the I2C adapter.
iPort/AFM ASCII Command Interface Note: [CR] = Carriage Return Code or Enter Key. Syntax: [Select], (Optional), xx = [00..FE], n = [0..32767] Command Description Ctrl/R,Ctrl/R,Ctrl/R iPort/AFM Reset This command resets the iPort/AFM to its default state. //[CR] Status Display Display iPort/AFM status information. /B[0|1|2][CR] RS-232 Baud Rate Control Set the RS-232 Baud rate (0 = 19.2, 1 = 57.6, 2 = 115.2 Baud) /C[CR] Close I2C Connection Disconnect from the I2C Bus.
/Stext[CR] Slave Transmit Message Write the specified data bytes to a requesting I2C Master Receiver device. /(*)Ttext[CR] Master Transmit Message Master Transmit the specified data bytes to the current Destination I2C Slave device. * = No Stop for Repeated Start. /Un[CR] I2C Bus Time-oUt Set I2C Bus Time-oUt in msec (0=Disable) /V[CR] Display Firmware Version (Major XX.XX Minor) (Requires Firmware V2.0 or later) /X[CR] eXtended Commands (See Prompt or User’s Guide) (Requires Firmware V2.
Command: //[CR] 'Status Display Response: iPort/AFM I2C Host Adapter w/ASCII Fast Mode Interface Vxx.xx Copyright © xxxx, Micro Computer Control Corp. Visit our Web Site at: http://www.mcc-us.com RS-232 Baud Rate (19.
Transmit or Receive operation. Command: /Dxx[CR] Response 1: * Response 2: /I89[CR] Default Setting: 00 'Set Destination I2C Slave Address 'iPort/AFM Ready 'Invalid Command Argument Echo/Prompt Control This command enables or disables data entry echo and prompts used as feedback to manual operations from a computer terminal.
by Host communication driver software, and are not visible at the application program level. The RTS/CTS protocol requires a serial port, cabling, and Host communication driver software that supports the additional control signals. Command: /F[0|1][CR] Flow Control [0 = XON/XOFF, 1 = RTS/CTS] Response: * 'iPort/AFM Ready Default Setting: XON/XOFF I2C General Call Control Enables or disables iPort/AFM response to I2C Bus General Call (Address x00) messages.
Response 2: /I89[CR] Default Setting: 6E 'Invalid Command Argument I2C Bus Clock Rate Control Set the I2C Bus master clock rate. (0=23, 1=86, 2=100, 3=400 KHz) Command: /K[0|1|2|3][CR] 'Set iPort/AFM's Clock Rate Response 1: * 'iPort/AFM Ready Default Setting: /K2[CR] The iPort/AFM I2C Bus master clock rate is controlled by the frequency of the oscillator used in the adapter.
/O /(*)Rn /S(text) /(*)T(text) /Un /V /X[...]... /Y Open I2C Connection Master Rx Message *=No Stop Slave Tx Message Master Tx Message *=No Stop Set I2C Bus Time-oUt in msec 0=Disable) Display Firmware Version (Major XX.XX Minor) Extended Cmds (See Prompt or User's Guide) Display Tx bYte Count Interrupt Signal Control/Status The INT signal allows the iPort/AFM to participate in INT master and/or slave communications.
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 that are available to read. The 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 I2C Bus, the iPort/AFM outputs a Slave Transmit Request to its Host device, and initiates an I2C Clock Stretch (SCL Low) until a Slave Transmit command is received from the Host computer. While clock stretching, no other messages can be transmitted on the I2C Bus. Note 2: The tilde (~) character and the Carriage Return (CR) characters are used as special marker characters within all iPort/AFM RS-232 transmitted text messages.
Enter Message Bytes (0 or more Printable ASCII or Hex-equivalent ~00..~FF), then Press Enter, ESCape to Cancel. Note: The tilde (~) character and the Carriage Return (CR) characters are used as special marker characters within all iPort/AFM RS-232 transmitted text messages.
Set I2C Bus Time-oUt in msec Set bus time-out in milliseconds. The iPort/AFM reports a bus time-out if no intra-byte bus activity for the specified time occurs within an I2C Bus message. Command: /Unnnnn[CR] 'I2C Bus time-oUt (nnnn = 0 (disable)...32000 msec) Response: * 'iPort/AFM Ready Default Setting: 10000 msec (10 seconds) Display Firmware Version (requires firmware V2.00+) Display firmware version Command: /V[CR] 'Firmware Version Response: /VCCXX.XX[CR] '(Major XX.
S = Send Start ~xx = Send Byte (xx = 00...
Low Level Response: /XCC0000[CR] Master read three bytes from slave address 0x4F. First two bytes are acknowledged by master. Command: /X S ~4f Rrr P [CR] Response: /XCCA~xx~xx~xx[CR] ‘(xx = 00...FF) Master transmit a Write WCR command to a Xicor X9241 at slave address 0x50. WCR data is 0x00. Command: /X S ~50 ~a0 ~00 P [CR] Response: /XCCAAA[CR] Master transmit a Write WCR command to a Xicor X9241 at slave address 0x50. WCR data is 0x3f.
Command: /Y[CR] Response: /TBCn[CR] 'Tx bYte Count 'n =00000...
Asynchronous Interface Events Asynchronous Events are those iPort/AFM interface activities initiated by the iPort/AFM I2C Host Adapter in response to activities on the I2C Bus. Slave Transmit Request This event is caused by the reception of an I2C Bus Slave Transmit message directed at the current iPort/AFM’s own Slave address. Prompt: /STR[CR] Command: /Stext[CR] ‘Slave Transmit Request ‘Slave Transmit Text The normal Host computer response is to send a Slave Transmit (/Stext[CR]) command.
The received text is a representation of the data bytes within the Slave Receive message. The format of this data is controlled by the current setting of the Hex Only Display Control . Prompt: /GRCtext[CR] ‘General Call Receive Complete Command: None Required iPort/AFM Ready Prompt: * ‘iPort/AFM Ready Cause: iPort/AFM is ready for the next Host command.
Cause: iPort/AFM has detected an error condition on the I2C Bus. The host computer should retry the last command or issue an iPort/AFM Reset command. I2C Bus Time-out Detected Prompt: /I85[CR] ‘I2C Bus Time-out Detected Cause: iPort/AFM issues this response when it detects a byte transfer delay greater than the specified I2C Bus Time-oUt period. No corrective action is taken by the iPort/AFM regarding I2C Bus activity.
host. The host should reissue the correct command. iPort/AFM RS-232 Receive Buffer Overflow Prompt: /I90[CR] ‘iPort/AFM RS-232 Receive Buffer Overflow Cause: This event normally indicates that data sent to the iPort/AFM via the RS-232 serial port has been lost. Check the host computer’s RS-232 Serial Port Flow Control (XON/XOFF, or Hardware) to make sure it matches current iPort/AFM Flow Control. Also, check if the host computer’s FIFO buffers in its 16550 UART are enabled.
Example Code The following examples are written in MS Visual Basic V3 for Windows using the serial communications control (MSCOMM.VBX). It can be used as a guide in implementing iPort/AFM interface programs in other programming languages and operating environments. Note: Sample code is also available online at: www.mcc-us.com iPort/AFM Reset Comm1.Output = Chr$(18) Comm1.Output = Chr$(18) Comm1.Output = Chr$(18) 'Ctrl/R 'Ctrl/R 'Ctrl/R iPort/AFM Initialization Comm1.
Communication Event Processing Static Sub Comm1_OnComm () Static LineBuf$ While Comm1.InBufferCount Msg$ = Comm1.
ElseIf (StrComp(iPortResp$, "/BC0") = 0) Then ' iPort/AFM Baud Change 0 {19.2K} TextBox.Text = "iPort/AFM Baud Change 0 {19.2K} " ElseIf (StrComp(iPortResp$, "/BC1") = 0) Then ' iPort/AFM Baud Change 1 {57.6K} TextBox.Text = "iPort/AFM Baud Change 1 {57.6K} " ElseIf (StrComp(iPortResp$, "/BC2") = 0) Then ' iPort/AFM Baud Change 2 {115.2K} TextBox.Text = "iPort/AFM Baud Change 0 {115.
TextBox.Text = "/I83 Arbitration Loss" 'Update Display ElseIf (StrComp(iPortResp$, "/I84") = 0) Then TextBox.Text = "/I84 I2C Bus Error Detected" ElseIf (StrComp(iPortResp$, "/I85") = 0) Then TextBox.Text = "/I85 I2C Bus Time-out Detected" ElseIf (StrComp(iPortResp$, "/I88") = 0) Then TextBox.Text = "/I88 iPort/AFM Connection Closed" ElseIf (StrComp(iPortResp$, "/I89") = 0) Then TextBox.Text = "/I89 Invalid Command Argument" ElseIf (StrComp(iPortResp$, "/I8A") = 0) Then TextBox.
iPort/AFM Revision Report This section defines revisions and changes made to the iPort/AFM interface: Revision: 2.00 1. Add Firmware Version command. 2. Add eXtended commands. 3. Add Tx bYte Count command. Revision: 1.02 1 Initial Release Additional Information For additional information on the I2C Bus, please refer to the following: “What is I2C?” www.mcc-us.com/I2CBusTechnicalOverview.pdf “Frequently Asked Questions (FAQ)” www.mcc-us.com/faq.htm "The I2C and How to Use It" www.mcc-us.com/i2chowto.
Appendix A - I2C Connector Information Interface Connector and Plug Information MCC uses two (2) different connectors and plug assemblies. We have found these parts to be compatible. I2C Receptacle Connectors Molex SEMCONN ACCESS.bus Receptacle Connector Molex Part # 15-83-0064 AMP SDL (Shielded Data Link) Connectors for ACCESS.bus AMP Part # 4-943197-1 I2C Plug Connectors Molex SEMCONN ACCESS.bus Plug Molex Part # 15-83-1564 AMP SDL (Shielded Data Link) Plug for ACCESS.
Declaration of Conformity This Declaration of Conformity is issued by the indicated company which is solely responsible for the declared compliance.