User’s Guide G !479 TM Windows to I2C Bus Host Adapter with iPort Utility Pack Software www.mcc-us.
Introduction The MCC iPort (#MIIC-201) Windows to I2C Host Adapter, when used with appropriate Windows application software, allows 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. This user’s guide describes the installation and operation of the iPort (#MIIC-201) Windows to I2C Host Adapter and iPort Utility Pack Software for Windows. MCC products are licensed to use the I²C Bus.
Table of Contents Part 1 Windows to I2C Bus Host Adapter Overview1 iPort Adapter2 iPort Utility Pack Software2 iPort Software Development Kit for Windows (optional)2 Packing Slip2 System Requirements2 Interconnects3 RS-232 Serial Port Connector3 DB-25 Serial Port Pinout3 DB-9 Serial Port Pinout3 +5VDC Power Jack4 2 I C Interface Connector4 Hardware Configuration5 Pull-up Resistors5 Connecting to a 3.
Introduction to Message Manager14 I2C Message Operations15 Basic Set-up16 Advanced Set-up17 Diagnostic Set-up18 Sending Messages19 Master Operations19 To Master Transmit Data19 To Master Receive Data20 Slave Operations21 To Slave Transmit a message21 To Slave Receive a message:21 Uninstalling iPort Utility Pack21 Software License Agreement22 Appendix A24
Part 1 Model MIIC-201 2 Windows to I C Bus Host Adapter
Model MIIC-201 Windows to I2C Bus Host Adapter User’s Guide Overview The MCC iPort (#MIIC-201) Windows to I2C Host Adapter, when used with appropriate Windows application software, allows 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. Product Features: •Turn your Windows-Based PC’s Serial Port into an I2C Port. •Get on the I2C Bus in Seconds. •Supports Bus Master and Slave, Transmit and Receive.
The iPort system consists of the following components: 1.iPort Adapter This adapter plugs into an RS-232 Port on a Windows based PC and generates I2C Bus signals. 2. iPort Utility Pack Software This software package, included with each iPort, includes the iPort Message Manager and Message Center applications to easily send and receive I2C Bus messages. 3.
Interconnects The I2C Bus Host Adapter includes three interconnections: RS-232 Serial Port Connector 1. RS-232 Serial Port Connector This connector provides connection to the serial port on the PC. Use the #C9F25M1 cable to adapt the iPort to 9-pin serial ports. 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.
2. +5VDC Power Jack The iPort Host Adapter can be powered in one of two ways, from the power jack, or from the I2C interface connector. If the unit is powered from the provided +5VDC Wall Transformer, approximately 250ma of regulated +5VDC is available at the I2C interface connector to power external devices. If the iPort is powered from the I2C connector, the unit requires 50ma of regulated +5VDC. 3.
Hardware Configuration Pull-up Resistors The iPort Host Adapter includes a slide switch used to enable or disable internal I2C Bus 1.8K ohm Pull-Up resistors. Every I2C Bus system must have at least one Pull-Up on the SCL and SDA lines. Use this switch to configure the iPort appropriately for your system. Connecting to a 3.3v System 1. Shut off iPort internal pull-ups. (See Pull-up Resistor section) 2. Use external pull-ups to 3.3 volts. The iPort uses a 5 volt device. 3.
Part 2 iPort Utility Pack for Windows V5 6
iPort Utility Pack for Windows 1. Introduction to Utility Pack This product includes two (2) Windows applications (Message Manager and Message Center) that help a user get started sending and receiving I2C Bus messages quickly. iPort Message Center The iPort Message Center operates with all versions of the iPort I2C Bus Host Adapter.
iPort Message Manager The Message Manager operates with all versions of the iPort I2C Bus Host Adapter.
2. System Requirements a. One of the following: 1. iPort (#MIIC-201) Windows to I2C Bus Host Adapter. 2. iPort/AI (#MIIC-202) RS-232 to I2C Bus Host Adapter with ASCII Interface 3. iPort/AFM (#MIIC-203) RS-232 to I2C Bus Host Adapter with ASCII Fast Mode Interface. b. Windows 95 or higher c. 1 free RS-232 Serial Port. 3. Software Installation Windows 95 and Above: 1. Insert software distribution diskette into floppy drive. 2. Select Start Run. Type “A:SETUP.EXE”. 3. Follow instructions on screen.
iPort Message Center for Windows Introduction to Message Center The iPort Message Center supports I2C Master Transmit and Receive activities for all versions of the iPort I2C Bus Host Adapter. With this program you can create, save, and execute scripts of I2C Master messages. The MCC iPort Message Center Software, when used with an MCC iPort 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.
I2C Message Operations In order to communicate with another I2C device, a user must take the following steps: 1. Start Programs iPort Utility Pack iPort Message Center 2. Select which device you are operating with by choosing the corresponding image (Opening Screen), or the correct checkbox on the main application. Opening Screen Main Application The Main Application screen is opened by selecting an image on the Opening Screen.
3. Select the PC ComPort where the iPort is connected to your computer. 4. Use the Options menu to override default Baud Rate and I2C Bus Clock rate settings. 5. Establish a link to the iPort with the Open button. The iPort Message Center software sets the iPort’s own I2C Slave address to 0xFE. 6. To open an existing message list, click File|Open List on the menu bar. To enter or edit a message List, open the “I2C Message Editor” screen, by double clicking on a message row in the spreadsheet.
You can insert a new message between existing messages by clicking once on message below where you want to insert, press the “Insert” button on your keyboard, this will bring up the I2C Message Editor screen, set all information and click OK. 7. On the main screen, click on Send to transmit the current list of I2C Master messages, with the option to auto repeat upon completion, or send on INT assert (low). (iPort/AFM only) Once the link has opened successfully, you are now an active I2C node.
iPort Message Manager Software for Windows Introduction to Message Manager The MCC iPort Message Manager Software, when used in conjunction with an MCC iPort allows 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. The iPort Message Manager is designed to be a simple application for experimenting with I2C messages. It provides methods to: 1.
I2C Message Operations In order to communicate with another I2C device, a user must take the following steps: 1. Starting the program: Start Programs iPort Utility Pack iPort Message Manager 2. Select iPort Device Select which device you are operating with by choosing the corresponding image (Opening Screen), or the correct checkbox on the main application. Opening Screen Main Application The Main Application screen is opened by selecting an image on the Opening Screen. 3.
Basic Set Up Screen Basic Set-up Select the PC ComPort attached to your iPort and the baud rate, then click OK. The Communications Events window on the Main Screen should report “I2C Open Successful”. If this message does not appear, check the iPort connections and power.
Advanced Set Up Screen Advanced Set-up On the Advanced Set-up screen you can set the following parameters: 1. iPort I2C Slave Address Select iPort’s I2C slave address. iPort will acknowledge messages sent to this address. 2 iPort General Call Enabled allows iPort to respond to the I2C general call address (00). General call is used to broadcast an I2C message to multiple devices. 3. I2C Bus Master Bit Rate (iPort, iPort/AFM) The speed of the Bus will run. 100KHz is standard mode, 400kHz is fast mode.
Diagnostic Set Up Screen Diagnostic Set-up (iPort Only) On the Diagnostic Set-up screen you can set the following parameters: 1. iPort Log File Level Select iPort logging level.1 gives minimal info, 4 is verbose. Use the log file to troubleshoot communication problems. 2. Log File Name iPort log file name if enabled. 3. Log File Size (Lines) iPort log file length if enabled. 4.
Sending Messages Master Operations 1. To Master Transmit Data On the main screen, set the Master Tx Message Bytes edit box to the data you want to send by single clicking on the box. For example: To send a 0x05(hexadecimal) to the device, enter ~05 in the edit box. Click Ok and then the Master TX button to send the message. 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.
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.
Slave Operations To Slave Transmit a message: Enter data to be transmitted in the Slave Tx Message Bytes control by single clicking. Binary data bytes are entered using a three character Hex-Equivalent format (~00 ... ~FF), you may also type in ASCII text. These bytes are automatically transmitted when a Slave Transmit Request is received from a Master device. To Slave Receive a message: Data bytes received from a Master Transmitter are automatically displayed in the Received Message window.
Software License Agreement BY INSTALLING THIS SOFTWARE, YOU ARE AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, PROMPTLY RETURN THE ENTIRE PRODUCT WITHIN 7 DAYS WITH ALL ITS CONTENTS TO THE PLACE OF PURCHASE, WITH A NOTE THAT YOU RETAIN NO COPIES OF THE SOFTWARE OR PRINTED MATERIALS, FOR A FULL REFUND. The computer files and materials supplied in this package are non-exclusively licensed to Purchasers of the MCC iPort I2C Host Adapter.
applies to the quality and performance of the Software. Should the Software prove defective, the Purchaser (and not MCC, authorized MCC distributors, or dealers) assume the entire cost of all necessary servicing, repair or correction. Limitation of Remedies and Damages MCC's entire liability and remedy will be the replacement of any disks not meeting MCC "Limited Warranty" explained above.
Appendix A Interface Connector and Plug Information MCC uses two (2) different connectors and plug assemblies. These parts are all compatible with one another and are interchangeable. 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 Plugs Molex SEMCONN ACCESS.bus Plug Molex Part # 15-83-1564 AMP SDL (Shielded Data Link) Plug for ACCESS.