
ST7 FAMILY
USB LOW-SPEED
EVALUATION BOARD
GETTING STARTED
October 2002
DOC-USB LOW-SPEED Evaluation Board

USE IN LIFE SUPPORT DEVICES OR SYSTEMS MUST BE EXPRESSLY AUTHORIZED.
STMicroelectronics PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN
LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF
STMicroelectronics. As used herein:
1. Life support devices or systems are those
which (a) are intended for surgical implant into
the body, or (b) support or sustain life, and
whose failure to perform, when properly used in
accordance with instructions for use provided
with the product, can be reasonably expected
to result in significant injury to the user.
1
2. A critical component is any component of a life
support device or system whose failure to
perform can reasonably be expected to cause
the failure of the life support device or system,
or to affect its safety or effectiveness.

ST7 USB LOW-SPEED
MICROCONTROLLERS
USB LOW-SPEED EVALUATION BOARD
INTRODUCTION
The objective of this evaluation board is to provide you with a complete USB application
package using a Windows-based host software application and one of ST’s range of USB lowspeed microcontrollers acting as a peripheral device. The host software and the ST7 source
code provide an easily-understood example of how to exchange data using the HID class protocols. The firmware supplied on the ST7 devices is based on a USB core library that makes
the control of all the USB interface hardware transparent to the application developer. This
USB library, developed by STMicroelectronics and plug-tested by the USB IF (Implementers
Forum), is intended for you to use as a toolbox. All the documentation you need to do this is
supplied with the package.
This evaluation board incorporates basic input sources such as push-buttons, an analog
trimmer and output sources (LEDs); It also has a wire-wrap area so that you can easily develop your own application. An external 12V charge pump is also provided, to allow you to program the ST7 embedded Flash program memory using In-Application Programming (IAP).
The following development tools can be ordered separately: assembler, linker, C compiler,
source level debugger, hardware emulator, programming boards and gang programmer. For
ordering information, see our website at http://www.stmcu.com or contact your local sales office.
Rev. 1.2
October 2002 1/12
1

Table of Contents
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 SYSTEM REQUIREMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 PACKAGE CONTENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 SOFTWARE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 HARDWARE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4.1 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4.2 Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4.3 Device Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 RUNNING THE USB LOW SPEED EVALUATION BOARD . . . . . . . . . . . . . . . . . . . . 6
2.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 HID DEMONSTRATOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.1 USB ENUMERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.2 COMMUNICATION WITH THE EVALUATION BOARD . . . . . . . . . . . . . . . 8
2.2.2.1 Controlling the evaluation board from a host PC . . . . . . . . . . . . . . 8
2.2.2.2 Displaying the evaluation board state . . . . . . . . . . . . . . . . . . . . . . 8
2.3 REMOTE WAKE UP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 ADDING CIRCUITRY ON THE WIRE-WRAP AREA . . . . . . . . . . . . . . . . . . . . . . 9
2.5 PROPOSAL FOR SDIP42/DIP20 ADAPTOR . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2/12
1
12

ST7 USB Low-Speed Evaluation Board
1 GETTING STARTED
1.1 SYSTEM REQUIREMENTS
In order to use the USB evaluation board with the Windows operating system, a recent version
of Windows, such as Windows 98, Windows Millennium or Windows 2000 must be installed on
the PC.
The version of the Windows OS installed on your PC may be determined by clicking on the
“System” icon in the Control Panel.
IMPORTANT: When running the HID evaluation board applet provided in the package, verify
that the correct version of the HID.dll file is installed:
– Windows 98: HID.dll - Version 4.10.1998
– Windows 98 SE: HID.dll - Version 4.10.2222
– Windows Millennium: HID.dll - Version 4.90.300.1
– Windows 2000: HID.dll - Version 5.00.2134.1
– Windows XP: HID.dll - Version 5.1.2600.0
1.2 PACKAGE CONTENTS
The USB Evaluation Board package includes the following items:
■
Hardware content:
– Two ST72 Low-speed USB microcontroller devices:
–ST72F62 in SDIP42 package
–ST72F63B in SDIP32 package
Both devices are FLASH devices allowing up to 100 reprogramming cycles. They are delivered already programmed with the demonstration firmware.
– One evaluation board
■
Software content:
– PC executable software (C source joined as example) for demonstrating HID transfers.
– ST7 firmware (C source code) for the ST72F62
– ST7 firmware (C source code) for the ST72F63B
■
Documentation:
– USB library 4 x Interface documentation.
– ST7262 and ST7263B Datasheets
– Application Note AN1325
1.3 SOFTWARE INSTALLATION
Run USBDemonstrator.exe to install the PC HID demonstrator, and follow the on-screen
prompts to complete the installation.
3/12