p2
22-Nov-10
expandIO-USB
HW148-18
www.firmwarefactory.com
Electrical Specifications
Table 2. Electrical Specifications
Operating voltage Vdd, 18LFx45x
2.7V – 5.5V
Operating voltage Vdd, 18F14K50
1.8V – 5.5V
Typical/max supply current, Vdd = 5.0
10mA / 21mA
Typical/max Sleep current, Vdd = 5.0
0.1μA / 2μA
Operating Temperature
-40°C to +85°C
Refer to base microcontroller data sheet for further information
Part Numbering
expandIO-USB parts are numbered as follows:
expandIO-USB-XX-YY-ZZ
where XX is FS for full speed, LS for low speed; YY is
DIL for dual-in-line, PT for TQFP, or SS for SSOP; ZZ is
20, 28, 40 or 44 according to the number of pins. If XX
is not specified, FS should be assumed. ZZ is only
given only for DIL packages.
The following parts are widely stocked by distributors:
expandIO-USB-FS-DIL-28
expandIO-USB-PT-FS
expandIO-USB-SS
Contact us for information about availability of other
parts.
Basic Operation
To the PC (‘host’), expandIO-USB looks like a Human
Interface Device (HID) with which it may exchange
information using simple commands.
Commands are provided to control most of the I/O and
peripherals of the microcontroller, allowing all product
development to take place in the PC software
application. No microcontroller firmware development is
required.
expandIO-USB is available as a full speed device, which
can process up to 32K commands per second, or as a
low speed device which can process up to 200
commands per second.
Pin Functions
Dedicated pin functions are shown in table 3. Note that
some output pins are in a tri-state condition until ~20μs
after power-on. Pin-outs for the different packages are
shown in Appendix II.
Table 3. Dedicated pin functions
Name
Description
NMCLR
Vpp
Reset (active low)
TEAclipper Vpp
Vusb
USB supply filter
D-
USB data -
PGC
TEAclipper PGC
D+
USB data+
PGD
TEAclipper PGD
Vss
Power ground reference
Vdd
Power positive input
OSC1
Oscillator output
OSC2
Oscillator input
These pin functions, and optional USB status indicator
pins, are described in detail below:
Vss, Vdd, Vusb
Vss is the power supply ground reference. Vdd and
Vusb should be connected to a regulated supply, for
example regulated from the USB bus power.
OSC1, OSC2
OSC1 and OSC2 should be connected to a 12MHz
parallel cut crystal circuit with 22pF capacitors. It may
be replaced with a 12MHz resonator with 0.25% total
tolerance. In low speed devices, it may be replaced with
a 12MHz resonator with 1.5% total tolerance, e.g.
Murata 81-CSTCE12M0G55-R0.
Vpp, PGC, PCD
TEAclipper programming pins. Refer to the Delivery
and Programming section for details. Note that the Vpp
pin may be subject to voltages as high as 12V during
programming.
Reset
This pin should normally be pulled high via a 22k
resistor. It may be pulled low to reset the device.
Tx Indication
Output for connecting to a transmit indication LED. It
turns on for approximately 100ms when data has been
transmitted to the host.
This setting is available as
active high or low on any I/O pin.
Rx Indication
Optional output for connecting to a receive indication
LED. It turns on for approximately 100ms when data
has been received from the host.
This setting is
available as active high or low on any I/O pin.
Tx / Rx Indication
Optional output for connecting to a transmit / receive
indication LED. It turns on for approximately 100ms
when data has been transmitted to or received from the
host. This setting is available as active high or low on
any I/O pin.
Configured Indication
Optional output that indicates when the USB interface
has completed configuration and the host has indicated
that the device may draw its full power setting. Prior to
configuration completing, the device should draw no
more than 100mA from the bus.
Note that the
configured indication continues to stay high when in
suspend mode, even though the device must consume
no more than 100μA during suspend. This setting is
available as active high or low on any I/O pin.
Suspend Indication
Optional output that indicates when the host is entering
a sleep state (active low).
In this state, the device
should draw no more than 100μA from the bus,
excluding the consumption of the expandIO-USB chip.
This setting is available as active high or low on any I/O
pin.