RS-232 to I2C Host Adapter 
with ASCII Fast Mode Interface
iPort/AFM 2TM

iPort/AFM 2 brings I2C directly to any computer with an RS-232 serial port. Just plug an iPort/AFM 2 into your computer's legacy or add-on serial port, load our free software, and you will be sending and receiving I2C Bus messages at up to 400Kbit/s in seconds. This second-generation iPort/AFM doubles the I2C Bus data throughput, and adds our 0.5v to 5v Circuit Sense bus voltage sensing technology.

Which I2C Adapter is right for me.

  • Turn ANY Computer's legacy or add-on RS-232 Serial Port into an I2C Bus Port.
  • Supports 7-bit addressing Standard (100k) and Fast (400k) Mode I2C Bus Activity.
  • High Performance Processor Increases Throughput (2x+).
  • Circuit Sense, Low Voltage Sensing Circuit.
  • I2C Bus Mini Interface.
  • Powered via I2C Bus or External +5VDC Power Supply.
  • Built-in ESD, Over-voltage, and Reverse-voltage Protection.
  • Switch Controlled Properties:
    • I2C Bus +5V Power Source, or Voltage Sense (0.5v to 5v, Enable or Disable) 
    • I2C Bus Pull-Ups (1.8K ohm, Enable or Disable)
  • Software Controlled Properties:
    • I2C Bus Master Clock Rates:
      • 23KHz
      • 86KHz
      • 100KHz (Standard Mode)
      • 400KHz (Fast Mode)
    • I2C Bus General Call Enable
    • I2C Bus Time-Out (0-32K ms)
    • I2C Bus Interrupt Signal Control (Assert, Release, Monitor)
    • Host Communication Flow Control (XON/XOFF or RTS/CTS)
    • User Interface Echo/Prompt Enable
    • User Data Format (HEX or ASCII/HEX)
    • Serial Port Baud Rate 19,200, 57,600, and 115,200
  • Supported I2C Bus Activities:
    • Master and Slave Functions
    • Transmit, Receive, and Tx/Rx Data Functions
    • Multi-Master Arbitration Loss Detection
    • Clock-stretch Detection
    • Bus Time-Out Detection
    • Interrupt Signal Generation and Detection
    • 7-bit Slave Address Generation and Detection
    • Up to 32K data bytes in a single message
    • SMBus Packet Error Detection
    • eXtended Commands for 2-Wire, "I2C-Like" Low-level SCL/SDA Signal Control
  • Software Support:
    • Application Software:
      • Windows:
        • Master or Slave Tx and Rx with iPort Utility Pack Software
        • Program I2C Bus EEPROMs with iBurner EEPROM Programming Software
      • Linux:
        • Master Tx and Rx with Message Center for Linux
      • Mac OSX:
        • (Comming Soon)
    • Software Development Tools:
      • Windows:
        • Develop Custom VB/C#/C++/LabVIEW Apps with Microsoft .NET Class Library
        • Develop Custom LabVIEW Apps with LabVIEW VI Library
        • Develop Custom Apps with ASCII Text Command Interface
      • Linux:
        • Sample Master Tx/Rx Console Project
        • Sample Master/Slave Tx/Rx Console Project
        • Develop Custom Apps with ASCII Text Command Interface
      • Mac OSX:
        • Develop Custom Apps with ASCII Text Command Interface
  • Compatible with existing MCC ASCII-text based I2C Bus adapter applications.
  • US-FCC and EUR-CE EMC Certified.
  • RoHS/Lead-Free Compliant.

Download PDF (400KB)
The iPort/AFM 2 is our fastest and most powerful I2C Bus host adapter. Its RS-232 serial port interface and simple ASCII commands allows the iPort/AFM 2 to operate with any operating system, and its compatible with most embedded systems. Applications include product development and testing, EEPROM loading, device control and sensor networking.

Over the past few years, the I2C Bus has expanded from simple control to data intensive applications. As new uses arise, bus bandwidth and message overhead have become key issues in product design and testing. The iPort/AFM 2, our third generation adapter for the I2C Bus, addresses these issues by supporting several bus speeds, including fast mode (400kbit/s), and three RS-232 transfer rates up to 115.2K baud. Implemented using a high-performance bus co-processor with optimized instruction set, the adapter also includes large message buffers (256 bytes) to reduce host computer and bus overhead. In addition to operating as a bus master or slave in a multi-master system, a built-in bi-directional /INT signal line allows the device to receive or generate slave only device notifications.

The iPort/AFM 2 will work with any application written for our iPort/AI, only 4 to 40X faster. When operating with new applications written specifically for the iPort/AFM 2, speed increases up to 100X faster are possible.

Master and Slave, Transmit and Receive, iPort/AFM 2 supports I2C message modes including Multi-Master, Arbitration Loss Detection, with  messages from 1 to 32K bytes in length.

Start sending I2C messages in minutes using our Message Manager or Message Center applications included with each adapter. You can also use your computer's terminal emulation software (like Windows' Hyperterminal Program), or create your own custom I2C applications using any programming tool that can access your computer's serial port.

iPort/AFM 2
ASCII Text Interface Commands
Command Description
Note: [CR] = Carriage Return Code or Enter Key.
Syntax: [Select], (Optional), xx = [00..FE], n = [1..32767]
Ctrl/R,Ctrl/R,Ctrl/R iPort/AFM 2 Reset
This command resets the iPort/AFM 2 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.2k)
/C[CR] Close I2C Connection
Disconnect from the I2C Bus.
/Dxx[CR] Set Destination I2C Slave Address
Set the destination I2C Slave Address for subsequent Master Transmit or Receive operations.
/E[0|1][CR] Echo/Prompt Control [0 = Disable, 1 = Enable]
Enable/Disable data entry echo and prompts.
/F[0|1][CR] Flow Control [0 = XON/XOFF, 1 = RTS/CTS]
Select serial communication handshaking protocol.
/G[0|1][CR] I2C General Call Control [0 = Disabled, 1 = Enabled]
Enables/Disables iPort/AFM response to I2C Bus General Call (00) messages.
/H[0|1][CR] Hex Only Display Control [0 = Disabled, 1 = Enabled]
Controls display format of received message data.
/Ixx[CR] Set iPort/AFM 2ís Own I2C Slave Address
Sets iPort/AFM 2's own I2C Slave Address. iPort/AFM 2 will respond to I2C Bus messages sent to this address.
/K[0|1|2|3][CR] I2C Bus Clock Rate Control
Set I2C Bus Clock Rate Control  (0=23, 1=86, 2=100, 3=400 KHz)
/M[CR] Command Menu Display
Display iPort/AFM's Command Menu
/N[0|1|A|R][CR] iNterrupt Signal Monitor/Control Status
Sets Monitor/Control/Status /INT Line. [0=Disable, 1=Enable, A=Assert, R=Release, [CR] = Status]
/O[CR] Open I2C Connection
Activates iPort/AFM 2 as an I2C device attached to the bus.
/*Rn[CR] Master Read Message
Read the specified number of data bytes from the current Destination I2C Slave device. * = No Stop for Repeated Start
/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 the I2C Bus Time-oUt in msec (0=Disable)
/V[CR] Display Firmware Version
(Major XX.XX Minor)
/X[CR] eXtended Commands
Direct control of I2C Clock (SCL) and Data (SDA) lines. See User's Guide for details.
/*Y[CR] Display Tx bYte Count
Display number of data bytes last sent to slave device (Requires iPort/AFM Firmware v2.0+, iPort/AI 2, iPort/AFM 2, iPort/USB, i2cStick, iPort/USB 2). *= Also display last received Ack bit received from slave device (Requires iPort/AI 2, iPort/AFM 2, i2cStick, iPort/USB 2).


Included Parts List:
  • iPort/AFM 2 I2C Bus Host Adapter
  • iPort/AFM 2 Mini Clip Lead Cable (5-wire, 1 ft.)
  • DB-25 to DB-9 Serial Port Adapter Cable
  • Global Power Supply (100-240V, 50-60Hz)
  • iPort/AFM 2 Quick Start Guide
  • iPort I2C Utility Pack for Windows (Download)
  • User's Guide ( Download )
Optional Add-On Parts Environmental Specifications
Declaration of Conformity
Ordering Information
I2C is just a mouse click away TM