Chip Choices
145
The Silicon Laboratories C8051F34x controllers include a dedicated 2-wire
debugging interface that uses no additional memory or port bits on the chip.
With these chips, you can debug without needing to assign other chip resources
to debugging.
$QCTFUHTQO1VJGT5QWTEGU
If you’re on a limited budget, inexpensive printed-circuit boards from a variety
of vendors can serve as an alternative to the development kits offered by chip
manufacturers. You can also use these boards as the base for one-of-a-kind or
small-scale projects, saving the time and expense of designing and making a
board for the controller chip. Boards that include firmware and a host driver
make it easy to exchange data with the device.
I/O Boards. A typical board contains a USB controller and connector along
with I/O pins that you can connect to external circuits of your own design. The
EZ-USB family is a natural choice for this type of board because its firmware is
downloadable from the host so you don’t need additional programming hard-
ware.
Figure 6-1 shows two high-speed USB boards with EZ-USB chips: the USBee
EX2 Experimenter’s Board from CWAV, Inc. and the QuickUSB Module from
Bitwise Systems, Inc. Both boards contain programmed Cypress EZ-USB FX2
controllers, Both companies provide host drivers for generic I/O including
accessing a high-speed parallel port, and example applications in multiple pro-
gramming languages. The USBee EX2’s driver enables configuring and reading
and writing to an 8-bit port. The QuickUSB’s driver and user libraries enable
accessing up to five 8-bit ports and provides functions to support a parallel
port, asynchronous serial ports, I
2
C and SPI communications, and configuring
FPGAs. A stacking connector mates with an adapter board with headers for
accessing the ports. Two asynchronous serial ports have RS-232 interfaces.
Another option is the USBI2C/IO (Figure 6-2) from DeVaSys Embedded Sys-
tems. This board contains a Silicon Laboratories full-speed USB C8051F340
with 63 KB of flash memory. Headers provide access to 31 I/O bits plus an I
2
C
port. DeVaSys provides firmware, a host driver for accessing ports and I
2
C
communications, and example applications.
Emulating a Device with a PC. Using a PC to emulate a device is another
option for developing. You can use the compilers, debuggers, and other soft-
ware tools you’re familiar with on your PC and compile, run, and debug the
device code on the PC. PLX Technology’s NET2272 Rapid Development Kit