
p1
22-Nov-10
expandIO-USB
HW148-18
www.firmwarefactory.com
expandIO-USBTM
Driver-free USB I/O expander for software-controlled peripherals
Summary
expandIO-USB is an ultra-low cost USB I/O expander.
It allows a PIC microcontroller to be remotely controlled
via USB, significantly reducing time-to-market for simple
USB-based products.
expandIO-USB provides control of most microcontroller
functions and is available for PIC18F14K50, LF2455,
and LF4455 microcontrollers.
expandIO-USB uses the Human Interface Device (HID)
USB profile. It does not require USB drivers and so is
immediately plug-and-play compatible with present and
future Windows, Linux and Mac operating systems.
expandIO-USB is supplied as HexWax firmware, or pre-
programmed and pre-configured microcontroller is larger
volumes.
USB Features
 True HID plug and play - No drivers required
 Ultra-low cost, single chip solution
 Low speed version can use a low cost resonator,
200 commands per second
 Full speed version can process up to 32K
commands per second
 Product name, manufacturer name, serial
number, GUID & 122-byte EEPROM configurable
over USB
 No Vendor ID / Product ID registration required
 USB 2.0 compatible
 USB / Self Power inputs
 Optional Configured, Suspended and All-
Systems-Go, Tx / Rx indications
 DIL, SSOP, TSSOP and QFP packages
Peripheral Features
Table 1. Peripheral feature matrix
Base PIC18F
Microcontroller
14K50
2455
4455
I/O pins
12
21
32
Interrupt on edge
3
Interrupt on change
0
4
Count / Compare /
Pulse Width Modul’n
1
2
UART (not buffered)
1
SPI/I2C (as master)
1
UNI/O (as master)
12
21
32
Comparators
2
0
2
10-bit A to D
9
10
13
Timer 8-bit
1
Timer 16-bit
3
2
3
Product ID, low speed
(hex)
0120
0129
012A
Product ID, full speed
(hex)
012D
0132
0133
Available packages
DIL,
SSOP
DIL,SOIC
DIL,TQFP
Figure 1: How
expandIO-USB
works
expandIO-USB
Crystal /
Resonator
USB Status
Indicators
PC
.
..
Commands
sent by USB
I/O under PC control
No microcontroller
programming required
A/D-I/O-SPI-I2C-UNI/O
I/O Expander Command Set
 Set/Get register byte/bit
 Set/Get digital I/O port/bit
 Get analog input
 Interrupt Event
 Matrix Scan (for matrix keyboards)
 SPI / I2C / UNI/O synchronous serial master
 Multiplex Output (for LED displays)
 Stream Data
 Wait
Applications
 PC peripheral control
 Embedded system peripheral control
 Rapid development of USB products
 PLCs for testing and automation
Firmware Factory USB Product Family
 USB-232 asynchronous serial interface
 TEAleaf-USB security and authentication dongle
 expandIO-USB I/O expander
 USB-SPI synchronous serial slave interface
 USB-I2C synchronous serial slave interface
 USB-DAQ data logger
 USB-FileSys USB embedded file system
Firmware Factory Ltd
2 Marshall St, 3
rd Floor
London W1F 9BB, UK
sales@firmwarefactory.com
support@firmwarefactory.com