p3
22-Nov-10
expandIO-USB
HW148-18
www.firmwarefactory.com
All-Systems-Go Indication
Optional output that indicates when the expandIO-USB
is configured and not suspended, and full power may be
drawn.
General I/O pins
Any pin not configured as detailed above may be used
as a general I/O pin and manipulated using commands.
All such pins initialize as digital inputs. Refer to the
base controller data sheets for electrical specifications
of these pins.
Device Fuses
Fuses are non-volatile settings you may select to
customize your device.
For information on how to
modify them, refer to the device configuration section.
USB Status Indicators
Each pin that can take a USB-status indication function
has a fuse to specify whether the port serves this
function, or is available as general I/O.
Write Lock
Once the write lock bit is set, all commands which
change the device strings and fuses will have no effect.
Unless otherwise configured, the default is unlocked.
Power Setting
The device can be configured to draw a maximum of up
to 500mA. If more than 100mA is specified, the Host
Ready and All Systems Go indicators will only assert if
the host has the full requested power available.
Custom VID / PID
Personalized Vendor and Product IDs are not required.
However, you may customize them if you wish. Unless
otherwise configured, the default IDs are given in table 1.
Device Strings
Device strings are non-volatile Unicode strings stored by
the expandIO-USB and which may be read by the host
PC and all its applications. For information on how to
modify them, refer to the customization section.
Product Name
The manufacturer name is a Unicode string of up to 61
characters plus zero terminator. The host application
can read this data using a Get Feature request for string
1. The host PC commonly displays this string while it is
installing the default HID driver when it is first inserted.
Unless otherwise configured, the default value is
“expandIO-USB”.
Manufacturer Name
The manufacturer name is a Unicode string of up to 61
characters plus zero terminator. The host application
can read this data using a Get Feature request for string
2. The host PC commonly displays this string while it is
installing the default HID driver when it is first inserted.
Unless otherwise configured, the default value is
“Firmware Factory Ltd”.
Serial Number
The Serial Number data is a Unicode string of up to 61
characters plus zero terminator. The host application
can read this data using a Get Feature request for string
3. The Serial Number is a unique string which you can
use to differentiate one physical device from other
devices with the same expandIO-USB Vendor ID /
Product ID / Product GUID combination.
Unless
otherwise configured, the default value is a unique value.
Product GUID
The product GUID is a Unicode string of up to 61
characters plus zero terminator. The host application
can read this data using a Get Feature request for string
4. The product GUID is a string which you can use to
differentiate a product from other devices with the
expandIO-USB Vendor ID / Product ID combination. It
should be the same for all products of the same type.
Unless otherwise configured, the default value is “No
GUID”.
Config (EEPROM) String
The configuration data is a Unicode string of up to 61
characters plus zero terminator (i.e. 122 bytes). You
can use it as you wish to store configuration data on the
product which the host software can access. The host
application can read this data using a Get Feature
request for string 5. Unless otherwise configured, the
default value is “No Config”.
Application Circuits
The following circuits are typical implementations of the
expandIO-USB.
Suggested component values are
shown in table 4.
Table 4. Suggested component values
Label
Component
R1, R2
22k resistor
R6
1k resistor
R2x
470Ω resistor
T1
P-channel Mosfet, e.g. NDS352P
LED1x
Light emitting diode
C1
10μF capacitor
C2, C3
22pF capacitor
C4, C6, C7
100nF capacitor
C8
470nF capacitor
X1
12MHz parallel cut crystal
Figure 2 is the suggested circuit for expandIO-USB.