MCC MIIC-201 Manuale utente

User’s Guide
Windows to I2C Bus Host Adapter
with iPort Utility Pack Software
www.mcc-us.com

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.
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.
I²C is a trademark of Philips Corporation.

Table of Contents
Part 1
Windows to I2C Bus Host Adapter
Overview ........................................................1
iPortAdapter.................................................2
iPort Utility Pack Software ......................................2
iPort Software Development Kit for Windows (optional) ..............2
Packing Slip .....................................................2
System Requirements .............................................2
Interconnects ....................................................3
RS-232 Serial Port Connector ...................................3
DB-25 Serial Port Pinout .......................................3
DB-9 Serial Port Pinout ........................................3
+5VDCPowerJack ...........................................4
I2C Interface Connector ........................................4
Hardware Configuration ..........................................5
Pull-upResistors..............................................5
Connecting to a 3.3v System ........................................5
Connecting to an SMBus System ....................................5
Hardware Set-Up .................................................5
Part 2
iPort Utility Pack For Windows
Introduction to Utility Pack ........................................7
iPortMessageCenter .......................................... 7
iPortMessageManager ........................................ 8
System Requirements .............................................9
Software Installation ..............................................9
Introduction to Message Center ....................................10
I2CMessageOperations .......................................11

Introduction to Message Manager ..................................14
I2CMessageOperations .......................................15
BasicSet-up............................................16
AdvancedSet-up ........................................17
Diagnostic Set-up .......................................18
Sending Messages ...............................................19
MasterOperations............................................19
ToMasterTransmitData..................................19
To Master Receive Data ..................................20
SlaveOperations.............................................21
ToSlaveTransmitamessage ..............................21
To Slave Receive a message: ..............................21
Uninstalling iPort Utility Pack .....................................21
Software License Agreement ......................................22
Appendix A .....................................................24

Part 1
Model MIIC-201
Windows to I2C Bus Host
Adapter

1
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.
•Includes our I2C Message Manager and Message Center
Windows Applications.
•Compatible with 3.3v to 5V I2C at up to 100Kbps.
•Build your own custom I2C applications with our I2C Software
Development Kit.

2
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. iPort Software Development Kit for Windows
This optional software package includes, the iPort DLL
(Dynamic Linked Library), a programmer’s guide, and sample
programs. This package is needed if you are developing a
custom Windows software application for the iPort adapter.
Packing Slip
This package includes the following items:
• iPort (#MIIC-201) Windows to I2C Host Adapter.
• 4 Foot I2C Interface Cable. (CAB4)
• Serial Port Cable, 9F/25M, 1 Foot Long (#C9F25M1)
• iPort User’s Guide.
• iPort Utility Pack for Windows software diskette.
• Power Supply
Standard 120VAC, 60Hz, USA Plug (#MWT-5VA)
European 220VAC, 50Hz, European Plug (#MWT-5VAE)
International 120/220/240VAC, 50-60Hz, Int.Plug selection
(#MWT-5VAI)
System Requirements
a. Host computer with Windows 95 or higher
b. 1 free RS-232 Serial Port

3
RS-232 Serial Port Connector
Interconnects
The I2C Bus Host Adapter includes three interconnections:
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.
DB-25 Pin 5, Clear to Send from the iPort to the Host Computer.
DB-25 Pin 7, Ground between Host Computer and iPort
DB-9 Serial Port Pinout
iPort implements the RS-232 interface using the following pins:
DB-9 Pin 3, Transmit Data from the Host Computer to the iPort
DB-9 Pin 2, Receive Data from the iPort to the Host Computer.
DB-9 Pin 7, Request to Send from the Host Computer to iPort.
DB-9 Pin 8, Clear to Send from the iPort to the Host Computer.
DB-9 Pin 5, Ground between Host Computer and iPort

4
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. I2C Interface Connector
The iPort Host Adapter includes a four wire, positive locking,
modular connector (see Appendix A for more info on these parts)
for interfacing to an external I2C Bus. Lines provided include I2C
Clock (SCL), Data (SDA), Ground, and +5VDC.
Receptacle Connector
An I2C Interface Cable (White=SCL, Red=+5VDC, Green=SDA,
Black=Ground) is provided to connect to a 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., 8ft., or 16 ft.) and above
mentioned modular connectors are available from MCC. Clip Lead
cables are also available. (see Appendix A)

5
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 is a 5-volt device. 3.3v is high enough for the iPort to see
a Logical 1.
Connecting to an SMBus System
1. Shut off iPort internal pull-ups. (See Pull-up Resistor section)
2. Use external SMBus rated (approx. 15k ohm) pull-up resistors.
Hardware Set-Up
1. Attach your iPort(#MIIC-201) to an open ComPort on your
computer. If your ComPort has a DB9 connector, use DB-9F to
DB-25M Serial Port Adapter Cable included with your iPort to
connect.
2. Connect the power supply provided or see Interconnect Section
+5VDC Power Jack.
3. Connect I2C/ACCESS.bus Cable to iPort and your I2C device. If
your device does not have the matching connector(#15830064)
you can cut the end of the cable and attach the individual wires
to your device or you can purchase our clip-lead cable
(#CABCL).
Indice
Altri manuali MCC Adattatore






















