MCC IPort MIIC-201D/U User Manual

Dll/usb i2c host adapter with iport utility pack software
Table of Contents

Advertisement

Quick Links

User's Guide
DLL/USB
2
I
C Host Adapter
with iPort Utility Pack Software
www.mcc-us.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IPort MIIC-201D/U and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for MCC IPort MIIC-201D/U

  • Page 1 User’s Guide DLL/USB C Host Adapter with iPort Utility Pack Software www.mcc-us.com...
  • Page 2 C?” at www.mcc-us.com/I2CBusTechnicalOverview.pdf. MCC products use Philips components and are licensed to use the I²C Bus. “Purchase of Philips I²C components conveys a license under the Philips’ I²C patent to use the components of the I²C system, provided the system conforms to the I²C specifications defined by Philips.”...
  • Page 3 Copyright© 2006 by Micro Computer Control Corporation. All rights are 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.
  • Page 4: Table Of Contents

    Part 1 - iPort DLL/USB I 1 Overview ............2 iPort DLL/USB I C Bus Host Adapter .
  • Page 5 4 iPort Message Center ..........16 Message Center Operations .
  • Page 6 Select the Adapter ..........29 Establish Adapter Communications Link .
  • Page 7: Part 1 - Iport Dll/Usb I C Bus Host Adapter

    Part 1 - iPort DLL/USB I C Bus Host Adapter Part 1 DLL/USB C Bus Host Adapter User’s Guide Model: MIIC-201D/U...
  • Page 8: Overview

    The iPort DLL/USB VCP is available to the host computer whenever the iPort DLL/USB is attached to the host computer. C Bus Host Adapter (#MIIC-201D/U) allows any C devices across an I C bit rates of 12.5 KHz and 100 KHz.
  • Page 9: Iport Utility Pack Software

    Sample Program page. 1.5 Packing Slip This package includes the following items: • iPort DLL/USB I C Bus Host Adapter (#MIIC-201D/U). • USB Interface Cable. • I C Clip-Lead Cable. • I C Interface Cable.
  • Page 10: Usb Connector

    2.1 USB Connector The USB connector provides connection from the I C adapter to a USB port on the host computer or self-powered USB hub. The iPort DLL/USB operates as a bus-powered USB device, with limited target system power. Additional target system power can be provided via an included external power supply.
  • Page 11 Use of the +5V wire in the I the target system to power the target system from either: 1 USB derived power. Maximum available target system power is 100 ma at +5V. 2 A +5VDC Power Jack connected external +5V regulated power supply. Maximum available target system power is 250 ma at +5V.
  • Page 12: Hardware Configuration

    3 Hardware Configuration 3.1 Pull-up Resistors C Bus systems are based on open-collector technology requiring pull-up devices on each signal wire. These pull-up devices usually take the form of pull-up resistors connected to bus power. The I C adapter includes a slide switch used to enable or disable internal +5VDC C Bus 1.8K ohm pull-up resistors attached to the SCL, SDA, and /INT lines.
  • Page 13: Esd (Electrostatic Discharge) Precautions

    compatible, not SMBus compatible. Some features of the SMBus protocol not 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 I adapter in your SMBus application. Consult the MCC FAQ web page and SMBus Specification for details.
  • Page 14: Grounding Solutions

    4.2 Grounding Solutions To avoid damage to the host computer, I instructions: • Wear an earth grounded wrist strap, or discharge any static charge build-up, when handling the I C adapter or any target system devices. • Ensure that both the host computer and target system are connected to a common earth ground point.
  • Page 15 The Windows Hardware Wizard will assign the iPort DLL/USB to a new communications port number. You can find the ComPort number of the iPort DLL/USB by running our Message Center or Message Manager software, and selecting the iPort DLL/USB device. You can also find the ComPort number by expanding the Ports Icon in the Windows Control Panel | System | Device Manager application.
  • Page 17: Part 2 - Iport Utility Pack For Windows

    Part 2 - iPort Utility Pack for Windows Part 2 iPort Utility Pack Windows V5.4...
  • Page 19: Iport Utility Pack For Windows

    1 iPort Utility Pack for Windows The iPort Utility Pack for Windows is your express lane to I C 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 I C Bus messages quickly and easily.
  • Page 20: Iport Message Manager

    1.2 iPort Message Manager The iPort Message Manager operates with all versions of our I C Bus Host Adapters. Using the Message Manager, you can perform all four (4) modes of I Bus message activity, including: • Master Transmit • Master Receive •...
  • Page 21: System Requirements

    4. iPort (#MIIC-201) Windows to I 5. Variable Clock Rate (#MIIC-201-V) I 6. iPort DLL/USB (#MIIC-201D/U) I Windows 95 OS or higher. Windows 98se, 2000, XP or higher for iPort/USB and iPort DLL/USB. One free RS-232 Serial Port, or USB port for iPort/USB and iPort DLL/USB.
  • Page 22: Iport Message Center

    4 iPort Message Center The iPort Message Center supports I activities for all MCC I C Bus host adapters. With this program you can create, save, and execute scripts of I The iPort Message Center allows a PC to become an I receiving device, sending I devices across an I C Bus.
  • Page 23: Message Center Operations

    4.1 Message Center Operations Communicating with another device on the I as described in Section 3, then follow these simple steps: 4.1.1 Starting the Message Center Click, Start Programs 4.1.2 Selecting the Adapter Select the I C adapter you are using by clicking the corresponding adapter image (see Opening Screen), or the Device Select checkbox (see Main Application Screen).
  • Page 24: Select The Communications Port

    4.1.3 Select the Communications Port Use the “ComPort:” control to select the communication port connected to the I adapter. If an iPort/USB or iPort DLL/USB is selected, the serial number for the adapter is displayed (Win 2000, XP+ only). In addition to legacy RS-232 ports and Virtual Communication Ports, Message Center supports USB and network connected local or remote RS-232 ports via the Windows Com driver.
  • Page 25: Set I C Address

    Use the I C Message Editor to: 1. Set I C Address. The I C Address is the I 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).
  • Page 26: Set Time Delay

    across the bus begins with a Start Condition, in this case a Repeated Start. An I C Bus master, that successfully sends a message on the bus, owns the bus until that master sends a message with a terminating Stop Condition. The Repeated Start operation allows the bus master to retain control of the bus while sending one or more messages on the bus.
  • Page 27: Inserting And Deleting Messages

    4.1.7 Inserting and Deleting Messages You can insert a new message between existing messages by clicking once on a message below where you want to insert, then press the “Insert” key on your keyboard. The Message Editor also remembers the last message displayed, so double clicking on a blank spreadsheet row will allow you to copy a message.
  • Page 28: Slave Not Acknowledging

    4.1.11 Slave Not Acknowledging If you get a “Slave Not Acknowledging” message in the Status window, this could indicate you have the wrong address in the I C Destination Address, or the device is not answering to its address. Some slave devices temporarily stop acknowledging their address.
  • Page 29: Command Line Arguments

    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. Command iPort, iPort/AI, iPort/AFM, Variable, iPort/USB, iPortDLL/USB COM1...COM20 BAUD19200, BAUD57600, BAUD115200 CLOCK12.5K, CLOCK23K, CLOCK86K, CLOCK100K, CLOCK400K, VCLOCK Monitor/INT...
  • Page 30: Set Adapter Type

    Variable Variable Clock (#MIIC-201-V) iPortDLL/USB iPort DLL/USB (#MIIC-201D/U) 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.
  • Page 31: Enable /Int Signal Monitor

    within the specified range. The Message Center will adjust the specified rate to the nearest available supported rate. 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 I C messages if the adapter returns a "Busy"...
  • Page 32: Beep On Arbitration Loss

    4.2.10 Beep On Arbitration Loss BeepOnArbLoss (Default=OFF) Generate a host computer beep if the adapter returns a "Bus Arbitration Loss" response to the host computer. Bus Arbitration Loss occurs when another I C 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"...
  • Page 33: Saved I C Message List File

    4.2.14 Saved I C Message List File AutoSave=filename AutoSave="file name" Automatically save message list to the specified file upon executing AutoExit. Use to save message data read from a slave transmitter device. 4.2.15 Auto Open AutoOpen Auto Open Link to I Open link to the adapter.
  • Page 34: Iport Message Manager

    5 iPort Message Manager The iPort Message Manager supports I activities for all MCC I C Bus host adapters, allowing a PC to become an I Master or Slave device, transmitting or receiving I one or more I C devices across an I The Message Manager is designed to be a simple application for experimenting with I C messages.
  • Page 35: Message Manager Operations

    5.1 Message Manager Operations Communicating with another device on the I as described in Section 3, then follow these simple steps: 5.1.1 Starting the Message Manager Click, Start Programs 5.1.2 Select the Adapter Select the I C adapter you are using by clicking the corresponding adapter image (see Opening Screen), or the Device Select checkbox (see Main Screen).
  • Page 36: Establish Adapter Communications Link

    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 “ComPort”...
  • Page 37: Advanced Setup

    5.1.3.2 Advanced Setup On the Advanced Setup screen you can set the following parameters: Adapter’s Own I C Slave Address Select the I C 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 I General Call Address (0x00).
  • Page 38: Diagnostic Setup

    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 for troubleshooting communication problems between the host computer and the I C adapter.
  • Page 39: Sending I C Messages

    5.1.4 Sending I C Messages 5.1.4.1 Master Operations 5.1.4.1.1 Specifying the Destination Address The Destination Address is the I 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).
  • Page 40: Auto Repeat

    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.
  • Page 41: Sending Master Transmit Messages

    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.”...
  • Page 42: Negative Acknowledge Last Byte

    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.
  • Page 43: Uninstalling Software Components

    6 Uninstalling Software Components Software components include the iPort Utility Pack for Windows, and, for iPort/USB and iPort DLL/USB users, the Virtual Communications Port (VCP) Device Driver. The following instructions can be used to remove either or both software components from your computer. 6.1 Uninstalling iPort Utility Pack for Windows The iPort Utility Pack for Windows software is installed from the iPort Utility Pack for Windows CD.
  • Page 45: Iport Dll/Usb Revision Report

    C Bus, please refer to the following: “What is I C?” www.mcc-us.com/I2CBusTechnicalOverview.pdf “Frequently Asked Questions (FAQ)” www.mcc-us.com/faq.htm "The I C and How to Use It" www.mcc-us.com/i2chowto.htm "80C51-Based 8-Bit Microcontroller" Data Handbook. Philips Semiconductors, Tel. (800)227-1817 "I C Peripherals for Microcontrollers" Data Handbook. Philips Semiconductors, Tel. (800)227-1817...
  • Page 46: Appendix A - I 2 C Connector Information

    Appendix A - I C Connector Information Interface Connector and Plug Information MCC uses two (2) different connectors and plug assemblies. We have found these parts to be compatible. C Receptacle Connectors Molex SEMCONN ACCESS.bus Receptacle Connector AMP SDL (Shielded Data Link) Connectors for ACCESS.bus C Plug Connectors Molex SEMCONN ACCESS.bus Plug AMP SDL (Shielded Data Link) Plug for ACCESS.bus...
  • Page 47 This Declaration of Conformity is issued by the indicated company which is solely responsible for the declared compliance. Product(s): iPort/USB and iPort/ DLL/USB Product Part Number(s): MIIC-204 and MIIC-201D/U Product Description: I2C Bus Host Adapter Applicable Directive(s): EC Directive 89/336/EEC...

Table of Contents