ST STEVAL-PCC001V1 User manual

December 2006 Rev 1 1/24
UM0323
User manual
STEVAL-PCC001V1 - Getting started with the ST7
Full-speed USB/RS232 Evaluation Kit
1 Introduction
The ST7 Full-speed USB/RS232 Evaluation Kit (STEVAL-PCC001V1) has been created in
order to provide a complete reference design for a serial port bridge as well as an evaluation
board for ST72F651 devices. This application is used as an interface between devices with
a serial port (RS-232 type) and a host computer USB port.
The USB interface is widespread and well known, but due to its complexity, the RS232
standard connection is still much used in some applications. In the past all PC's had two
Serial communication ports RS232, but in the majority of PCs on the market today there is
only one serial communication port RS232 and some notebooks don't include RS232 at all.
In contrast the number of USB sockets are increasing.
This evaluation kit demonstrates the use of the USB Full Speed microcontroller ST72651 as
a bridge between the USB and the RS232 interface, providing an additional Serial port on
computers equipped with USB.
In addition, this evaluation kit demonstrates a simple method for connecting the USB
microcontroller ST72651 to the PC without need of a proprietary driver.
Several general purpose input / output pins of ST72651 are provided on the external
connector, thus providing a way to connect additional circuitry and allow customized USB
application. The evaluation board can be reprogrammed easily with a user code through the
In-Circuit Communication (ICC) connector.
1.1 Features and limitation of the RS232 communication
■Communication speeds implemented (Baud/s): 2400, 4800, 9600, 14400, 19200, 28800,
38400, 56000, 57600, 115200, 128000, 256000
■Half-duplex communication
■8-bit or 7-bit data + 1-bit parity (even/odd)
■No hardware handshaking (can be implemented by user).

Contents UM0323 - User manual
2/24
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Features and limitation of the RS232 communication . . . . . . . . . . . . . . . . 1
2 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Package content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3.1 Windows XP installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3.2 Windows 2000 installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3.3 Windows 98SE installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.4 COM port number change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 Usage of the evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 Evaluation board hardware description . . . . . . . . . . . . . . . . . . . . . . . . 19
5 Evaluation board firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6 Evaluation board diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7 Part list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

UM0323 - User manual List of tables
3/24
List of tables
Table 1. Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 2. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

List of figures UM0323 - User manual
4/24
List of figures
Figure 1. Windows XP driver installation - welcome dialog box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 2. Windows XP driver installation - search options dialog box . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 3. Windows XP driver installation - hardware type dialog box . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 4. Windows XP driver installation - have disk dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 5. Windows XP driver installation - path to driver dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 6. Windows XP driver installation - driver selection dialog box. . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 7. Windows XP driver installation - compatibility warning dialog box . . . . . . . . . . . . . . . . . . . . 9
Figure 8. Windows XP driver installation - installation finished dialog box. . . . . . . . . . . . . . . . . . . . . . 9
Figure 9. Windows 2000 driver installation - welcome dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 10. Windows 2000 driver installation - search options dialog box . . . . . . . . . . . . . . . . . . . . . . 10
Figure 11. Windows 2000 driver installation - locate driver files dialog box. . . . . . . . . . . . . . . . . . . . . 11
Figure 12. Windows 2000 driver installation - path to driver dialog box. . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 13. Windows 2000 driver installation - digital signature dialog box. . . . . . . . . . . . . . . . . . . . . . 12
Figure 14. Windows 2000 driver installation - installation finished dialog box . . . . . . . . . . . . . . . . . . . 12
Figure 15. Windows 98SE driver installation - welcome dialog box. . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 16. Windows 98SE driver installation - search options dialog box . . . . . . . . . . . . . . . . . . . . . . 13
Figure 17. Windows 98SE driver installation - specify location dialog box . . . . . . . . . . . . . . . . . . . . . 14
Figure 18. Windows 98SE driver installation - driver confirmation dialog box . . . . . . . . . . . . . . . . . . . 14
Figure 19. Windows 98SE driver installation - installation finished dialog box. . . . . . . . . . . . . . . . . . . 15
Figure 20. Windows 98SE driver installation - the second welcome dialog box . . . . . . . . . . . . . . . . . 15
Figure 21. Device manager window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 22. Communication port properties dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 23. Advanced settings dialog box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 24. Evaluation board components layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 25. Evaluation board diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

UM0323 - User manual Getting started
5/24
2 Getting started
2.1 System requirements
For correct installation of the ST7 USB/RS232 Evaluation Kit on your PC you need:
●PC with a running operating system of Windows© 98SE, 2000 or XP
●20 MBytes of free hard disk space (the driver itself consumes less than 1 MByte)
●One free USB socket
●CD-ROM drive.
2.2 Package content
The Full-speed USB/RS232 Evaluation Kit includes the following items:
●One evaluation board with ICC, USB and RS232 connectors
●One soldered ST72F651AR6 full-speed USB microcontroller device (TQFP64
package)
ST72F651AR6 is a Flash device which allows up to 100 reprogramming cycles. The
device is programmed with the evaluation firmware.
●CD-ROM
– USB Driver for Windows 2000/XP/98SE
– Documentation (Getting Started Manual, product datasheets)
– Source code for the evaluation board firmware
– PCB production data
– Simple testing application USB_FS_test.exe.
2.3 Installation
The hardware setup process is different for each operating system, but for all of them you
have to insert the installation CD-ROM included in the evaluation board package before
installation.

Getting started UM0323 - User manual
6/24
2.3.1 Windows XP installation
Log on with appropriate administration rights.
Plug the evaluation board into the free USB socket. A short while later Windows starts to
enumerate the new USB device and opens the welcome dialog box.
Figure 1. Windows XP driver installation - welcome dialog box
Select "Install from a list or specific location" and press the Next button.
Figure 2. Windows XP driver installation - search options dialog box

UM0323 - User manual Getting started
7/24
In the search options dialog box select "Don't search …" and press Next button.
Figure 3. Windows XP driver installation - hardware type dialog box
In the hardware type dialog box select "Ports (COM & LPT)" and press Next button.
Figure 4. Windows XP driver installation - have disk dialog box
No available devices should be visible for first time installations. Press the "Have Disk …"
button.

Getting started UM0323 - User manual
8/24
Figure 5. Windows XP driver installation - path to driver dialog box
Select the correct path to the drivers located on the CD-ROM. For Windows XP the driver is
located in the path [CD-ROM letter]:\Drivers\CDC-inf\Win2k_XP. When the directory is
set, press OK button.
Figure 6. Windows XP driver installation - driver selection dialog box
After correct selection of the pathway to the CD-ROM drivers, the evaluation board device
will become visible. Select "STM CDC Communication Port" and press Next.

UM0323 - User manual Getting started
9/24
Figure 7. Windows XP driver installation - compatibility warning dialog box
During the final stage of installation Windows XP warns you that the driver is not certified. If
you are using the original CD-ROM you can ignore this message but you need to press the
Continue Anyway button otherwise the device will not work properly.
Figure 8. Windows XP driver installation - installation finished dialog box
Press the Finish button to complete the installation process.

Getting started UM0323 - User manual
10/24
2.3.2 Windows 2000 installation
Log on with appropriate administration rights.
Plug the evaluation board into the free USB socket. A short while later Windows starts to
enumerate the new USB device and opens the welcome dialog box.
Figure 9. Windows 2000 driver installation - welcome dialog box
Press Next button to continue.
Figure 10. Windows 2000 driver installation - search options dialog box
Select "Search for a suitable driver for my device" and press Next button.

UM0323 - User manual Getting started
11/24
Figure 11. Windows 2000 driver installation - locate driver files dialog box
In the locate driver files dialog box select "Specify a location" and press Next button.
Figure 12. Windows 2000 driver installation - path to driver dialog box
Select the correct path to the drivers located on the CD-ROM. For Windows 2000 the driver
is located in the path [CD-ROM letter]:\Drivers\CDC-inf\Win2k_XP. When the directory is
set press OK button.

Getting started UM0323 - User manual
12/24
Figure 13. Windows 2000 driver installation - digital signature dialog box
During the final stage of installation some versions of Windows 2000 warn you that the
driver is not digitally signed, but if you are using the original CD-ROM you can ignore this
message. You need to press the Yes button otherwise the device will not work properly.
Figure 14. Windows 2000 driver installation - installation finished dialog box
Press the Finish button to complete the installation process.

UM0323 - User manual Getting started
13/24
2.3.3 Windows 98SE installation
Ensure your Windows 98SE system is running. Plug the evaluation board into the free USB
socket. In a short while Windows starts to enumerate the new USB device and opens the
welcome dialog box.
Figure 15. Windows 98SE driver installation - welcome dialog box
Press Next button.
Figure 16. Windows 98SE driver installation - search options dialog box
Select "Search for the best driver for your device" and press Next button.

Getting started UM0323 - User manual
14/24
Figure 17. Windows 98SE driver installation - specify location dialog box
Select "Specify a location" option and enter the correct path to the driver. For Windows
98SE the driver is located in the path [CD-ROM letter]:\Drivers\CDC-inf\Win98. Then
press Next button.
Figure 18. Windows 98SE driver installation - driver confirmation dialog box
In the driver confirmation dialog box "STMicroelectronics Virtual COM Port" should be
displayed. Press Next button to continue.

UM0323 - User manual Getting started
15/24
Figure 19. Windows 98SE driver installation - installation finished dialog box
Press the Finish button to complete the first stage and to continue to the second stage of
driver installation for Windows 98SE.
Figure 20. Windows 98SE driver installation - the second welcome dialog box
When the first stage of driver installation has been successfully achieved, the wizard detects
a new device. To continue with Windows 98SE device installation,press the Next button and
repeat all the above steps one more time. Press the Finish button to complete the
second round and final stage of driver installation for Windows 98SE.

Getting started UM0323 - User manual
16/24
2.3.4 COM port number change
It is possible to change the COM port number assignment on Windows 2000 and Windows XP
systems. To do this, you have to open the
Control Panel
and run choose
System Properties
.
In the
System Properties
dialog box you have to switch to the
Hardware
tab and press the
Device Manager
button
.
Figure 21. Device manager window
Under the Ports (COM & LPT) section you can find your newly installed STM CDC
Communication Port. Select this item and select Properties from the Action menu.
Figure 22. Communication port properties dialog box
When the properties dialog box appears, press the Advanced button.

UM0323 - User manual Getting started
17/24
Figure 23. Advanced settings dialog box
In the advanced settings dialog box you can change the COM Port Number assignment. By
pressing the OK button you can confirm the new selection. Click also on the OK button in
the properties dialog box and close all previous dialog boxes. Selection is applied
immediately.

Usage of the evaluation board UM0323 - User manual
18/24
3 Usage of the evaluation board
When the board is plugged into the PC and after the device driver is correctly installed, the
evaluation board is ready to communicate. You can use it as a standard communication
COM port. The device will become visible as a new COM port in all common serial
communication programs like Windows Terminal application etc.
The COM port number assignment is based on the USB socket used. Therefore, if you plug
the evaluation board into different USB sockets, the COM port number will change
accordingly.
It is also possible to connect more than one evaluation board into one PC. Each of the
boards is assigned to a different COM port number.
You can use the application USB_FS_test.exe to test the correct functionality of the
evaluation board. The application is included on the supplied CD-ROM.
Warning: It is not possible to use the loop-back device to test the
evaluation board due to half-duplex limitation.

UM0323 - User manual Evaluation board hardware description
19/24
4 Evaluation board hardware description
The evaluation board hardware layout was created in OrCAD 10.3 and all project files are included on the
installation CD-ROM in the Hardware directory.
Figure 24. Evaluation board components layout
Connectors:
●K1 - USB B connector for connection to the PC
●P1 - CANON 9 pin male RS232 connector
●J3 - Power connector, pin1 (square pad) = +5V, pin2 = GND
●J4 - GPIO port D of ST72651. Can be used for connecting additional circuitry.
●J5 - ICC programming connector. Used for programming ST72651 with new firmware or for
debugging.
●J6 - TTL level of RS232 RX (circle pad) and TX (square pad) signals. Some applications need only
TTL signal levels for serial communication.
●J7 - GPIO port B of ST72651. Can be used for connecting additional circuitry.
Junctions (all connected by default):
●CB1 - Connect/Disconnect +10V to pin 4 of the RS232 connector (DTR signal). This connection can
be used to power the application connected with RS232
●CB2 - Connect/Disconnect RX TTL signal from MCU to RS232 level shifter.
●CB3 - Connect/Disconnect TX TTL signal from MCU to RS232 level shifter.
LEDs:
●D1 - lights up when the board is connected to USB and enumerated
●D2 - lights up during transfers from USB to RS232
●D3 - lights up during transfers from RS232 to USB.
AI12635
PLUG P1
1
6
95C16 C14 C15 C17
CB1 CB3 CB2
C20
C19
U3
R8 R7
9
10 J5
1
2
C18
J3 J4
C8
Y1
J6 J7
49 33
117
U1
R9
C21
C10
C9
C11
R3
C13
R1
R5 D1
R4 D3
R6 D2
K1
Y2

Evaluation board firmware UM0323 - User manual
20/24
5 Evaluation board firmware
All source and project files for the microcontroller firmware are included in the Software
directory of the installation CD-ROM.
The evaluation board firmware was developed in the ST Visual Develop rev. 3.3.2 IDE with
16k limited version of Cosmic C compiler 4.5c. Both software tools are available on the ST
internet site http://www.st.com/mcu.
You can also contact your local ST sales office for obtaining this software.
Cosmic C compiler must be installed in the path without spaces in the name, i.e.
"C:\COSMIC\CXST7_16K\". The default installation path cannot be used.
In order to compile the whole project correctly the user has to modify the file
USB_FS_7265_32K.MAK and select the correct path to the project in the PRJ_PATH
definition.
In case the recommended path for Cosmic C compiler is not used, the user has to also
modifythe file USB_FS_7265_32K.LKF and modify the pre-set path to correct the Cosmic C
compiler location.
The firmware is based on the standard ST7 USB Full Speed library. This library can also be
downloaded from ST internet site http://www.st.com/mcu.
One part of the source code is dedicated to Data Transfer Coprocessor, which is part of the
ST72651 MCU. This code can be compiled using the tools included with the source code. In
the "DTC Compiler\Fsm" part of the source code you can find the batch file all.bat which
automatically compiles the source files for DTC and copies the result into the correct project
directory. This batch file should be modified in order to change user paths to the project. The
DTC implements the RS232 serial communication protocol.
Table of contents
Other ST Motherboard manuals

ST
ST STLINK-V3SEGT User manual

ST
ST STEVAL-SMARTAG2 User manual

ST
ST STEVAL-IHM015V1 User manual

ST
ST SPC560D-DIS User manual

ST
ST X-NUCLEO-IKS01A1 User manual

ST
ST EVAL-L99DZ200 User manual

ST
ST EVAL-TDA7803A User manual

ST
ST STM32100B-EVAL User manual

ST
ST STM32L152-EVAL User manual

ST
ST SPC560P-DISP User manual

ST
ST SPC58XXADPT144S REV.B User manual

ST
ST STEVAL-BLUEPLUG1 User manual

ST
ST STM8L1526-EVAL User manual

ST
ST UM1682 User manual

ST
ST STM32439I-EVAL User manual

ST
ST User Manual User manual

ST
ST EVSPIN32G4-DUAL User manual

ST
ST STEVAL-LLL014V1 User manual

ST
ST ST7LIT15BY0 User manual

ST
ST STM32L476G-EVAL User manual