STMICROELECTRONICS UM0087

UM0087
USER MANUAL
Turbo uPSD DK3300 User Manual
WELCOME TO THE DK3300 DESIGN KIT
The DK3300 board is a demo board for the uPSD3300 family which is a series of 8051 class microcontrollers (MCUs) that contain a new fast Turbo 8032 core with a large Dual Bank Flash memory, a large
SRAM, many peripherals, programmable logic and a JTAG Debug / In System Programming (ISP) port.
The DK3300 contains all the items needed to explore the Turbo uPSD3300 MCU. Included in the kit are
demonstration application examples along with an evaluation copy of the tools needed to develop and
compile code for the uPSD3300. The kit also contains the adapters necessary for programming the Flash
inside the uPSD and for accessing the built-in JTAG debug port. Please find or locate the following items:
Figure 1. DK3300 Kit Contents
1. DK3300 Board
2. DK3300 CD
3. 110V/220V AC adapter
4. Plug adapters
5. RS232 Serial Cross-Over
Cable
6. USB R-LINK Adapter
7. USB ULink Adapter
8. USB Cable
9. Quick Start Flyer (not
shown)
May 2004
1/11
UM0087 - USER MANUAL
TABLE OF CONTENTS
WELCOME TO THE DK3300 DESIGN KIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 1. DK3300 Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Before you can use the uPSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 1 - Install PSDsoft Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 2 - Install Keil uVision2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 3 - Connecting the DK3300 Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Step 4 - Try Your DK3300 Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Step 5 - Starting a Debugging Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Step 6 - Following the AN1763 Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
DK3300 HARDWARE FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 2. DK3300 Board Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
APPENDIX A.DK3300 JUMPERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 1. DK3300 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
APPENDIX B.DK3300 SCHEMATICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 3. MCU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 4. Peripheral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 5. Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
REVISION HISTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 2. Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2/11
UM0087 - USER MANUAL
GETTING STARTED
Please insert the CD that comes with the Kit and print the following documents. These documents will help
you become familiar with the CD contents, the DK3300 Users Guide and an Application Note that will walk
you through a design example.
■
Read me text file (Readme.txt)
■
DK3300 Users Guide (UM0087.PDF)
■
AN1763 Example Design (AN1763.PDF)
■
Any errata file that may exist (*errata*.PDF)
Before you can use the uPSD
You will need to install some software on your PC system before you can program the DK3300. This includes PSDSoft Express and the Keil uVision Integrated Development Environment. Please follow the following steps to get started using the DK3300:
Step 1 - Install PSDsoft Express. Install the latest version of PSDsoft Express (from the Raisonance
CD).
Note: PSDSoft Express is required to configure the µPSD device. Please check the ST Website for the
Latest PSDSoft version: www.st.com/micropsd
If you already have PSDSoft Express installed, then please install the update file by first unzipping the file
called Update_ExpressXXX.zip. This update file will automatically update your version of PSDSoft to support the Turbo µPSD3300.
If you do not have PSDSoft Express installed, then please install it by first unzipping the file called InstallExpressXXX.zip. This will install the software needed to configure and optionally program the Flash
inside the µPSD3300 product.
Step 2 - Install Keil uVision2. Install the latest version of Keil uVision2 Integrated Development Environment (ver 2.39 or greater). or the latest version of Raisonance’s Ride Environment.
Note: The Keil IDE or Raisonance IDE is required in order to make use of the JTAG debug feature builtinto the µPSD3300. Please check the Keil website for the latest version: www.keil.com, or Raisonance
website: www.raisonance.com
If you already have uVision2 Integrated Development Environment from Keil Software Inc., and your Keil
software maintenance period has not expired, just update your uVision2 by double-clicking the file
UP51XXXX.exe located in the Keil directory on the CD.
If you do not have uVision2 Integrated Development Environment, you should install the trial version from
Keil in order to compile the example application described in AN1763. To install the trial version doubleclick the file EK51XXXX.exe located in the Keil directory on the CD.
3/11
UM0087 - USER MANUAL
Step 3 - Connecting the DK3300 Board. Connect the Cables to the DK3300 board (see Figure
2., page 5) by connecting the following cables from the DK3300 board to your PC system.
1. Connect the AC adapter to the DK3300 board. The DK3300 AC adapter will work on either 110V or
220V, and contains several different plug adapters to fit popular European AC outlets. Please set up
your AC adapter to fit your AC plug type and plug in the AC adapter. Then plug the small power plug
into the DK3300 9V DC input.
2. Connect the R-LINK adapter to a USB port on your PC system by using the supplied USB cable.
3. Next, connect the small ribbon cable on the R-LINK adapter to the 14 pin JTAG connector on the
DK3300 board.
4. Start the PSDsoft application on your PC.
5. Make sure that you have selected R-LINK in the PSDsoft environment.
6. Test the R-LINK connection to ensure that PSDsoft and the R-LINK cable is communicating with your
DK3300 board.
7. Follow the Design Guide to program the desired design/demo in the uPSD using R-LINK and JTAG
port.
8. Verify that the correct application or demo is installed by viewing the LCD.
Note: The DK3300 may come with a pre-programmed demo described in AN1763.
9. Refer to the Design Guide and application notes for more details.
Step 4 - Try Your DK3300 Board. Your DK3300 board comes pre-programmed with the ADC demo application that is discussed in AN1763. To test your DK3300 board, you should have the AC adapter power
plugged in and connected to the 9V DC input on the DK3300 board.
Once you have confirmed your connections physically, turn the DK3300 board on. You should see the
DK3300 AC demo running in the LCD window. If you do not see it running, please verify that you have
power by verifying the red power LED is on.
Note: Use the R-LINK adapter in conjunction with PSDsoft and Design guide to flash the other demos in
the DK3300 Kit to configure/reconfigure the uPSD device and then switch to ULink adapter to debug and
re-program the Flash as needed.
Step 5 - Starting a Debugging Session. To continue with the Raisonance debugging suite, leave the RLINK connected, otherwise for starting the Keil Tool chain, swap the R-LINK adapter for the ULink adapter.
The ULink/R-LINK adapters provided with DK3300 kit are used to debug the µPSD3300 with the built-in
JTAG debugger. It can optionally program the Flash in the µPSD3300 as well. This ULink/R-LINK adapter
plugs into the SAME 14-pin JTAG connector. Follow the IDE environment and the associated user’s guide
for debugging the codes.
Step 6 - Following the AN1763 Example. Read and follow the example in application note AN1763 on
the CD.
This Application Note will guide you through a design cycle of the ADC demo to help you familiarize yourself with PSDSoft Express (used to configure and program the uPSD device) and Keil’s uVision2 (used to
compose, compile, and debug firmware, as well as understand the architecture of the uPSD device).
4/11
UM0087 - USER MANUAL
DK3300 HARDWARE FEATURES
The uPSD3300 has many different IP features and the DK3300 board has a variety of hardware capabilities built into the demo board itself. Some hardware on the DK3300 board is provided to enable exploration by the customer and for future demo application software. Over time additional demo applications will
be added, so please check the ST website below for the latest demo applications. Some of the DK3300
board hardware features include (see Figure 2):
■
I2C Real Time Clock by ST with built in Crystal and Tamper Detect Logic
■
Tamper Detect switches connected to the ST RTC
■
Dual RS232 connectors driven by ST RS232 level shifter
■
SPI interface EEPROM
■
IrDA Transceiver
■
Two input switches and two output LED’s
■
Rotary encoder with select switch
■
2 Line by 16 Character LCD
Please check the ST uPSD website at www.st.com/micropsd for the latest updates to PSDSoft Express
and Demo Applications for the DK3300 kit.
Figure 2. DK3300 Board Connections
1. Switches and LEDs
2. Rotary Encoder
3. LCD Display
4. Reset Switch
5. JTAG LED
6. 14-pin JTAG Connector
7. uPSD33XX
8. Expansion Connectors
9. IrDA Transceiver
10. Tamper Detect Switches
11. Real-Time Clock
12. EEPROM & Battery under
LCD
13. RS232 Connectors
14. 9VDC Power Input
15. On-Off Switch and Power
LED
5/11
UM0087 - USER MANUAL
APPENDIX A. DK3300 JUMPERS
Verify JP0, JP1, JP3, JP13, JP14, and JP15 for the ADC demo. See DK3300 SCHEMATICS, page 7 for
more information regarding the jumpers.
Table 1. DK3300 Jumpers
Jumper
No.
Description
JP0
LCD Enable/Disable
JP1
ADC VREF Input
JP2
JTAG Debug I/O Pin
JP3
LCD Contrast
JP4
Encoder Connection to PB
Normally all 3 positions are closed to enable the encoder connection to
port B
JP5
Switch / LED Connection to PB
Normally both positions are closed to enable the SW/LED connection to
port B
JP6
MCU Clock Select
JP7
Enable SPI
JP8
Reset Input Select
Normally closed in position 1-2 for reset switch input. Position 2-3 for RTC
reset.
JP9
UART1 Select
Normally closed in position 1-3 and 2-4 to select the RS232 connector 1.
Else can be se to position 3-5 and 4-6 to select the Urdu transceiver to be
connected to UART1.
JP10
Enable I2C
Normally both positions closed to enable I2C access to RTC chip.
JP11
uPSD VSTANDBY Input
Normally open. Used to enable backup power to uPSD if needed.
JP12
Interrupt Select for MCU
JP13
PWM Channel Select
Selects what PWM channel connects the RC circuit on the board.
Normally PWM0 is connected via position 1-2 closed.
JP14
ADC Channel Select
Selects what ADC channel connects the RC circuit on the board. Normally
ADC7 is connected via position 15-16 closed.
JP15
PWM RC Constant
JP16
N/A
JP17
Used to connect UART0 and
UART1 in loop back mode
6/11
Comments
Normally closed to enable LCD
Normally closed to set VREF = 3.3V
Should be OPEN
Normally closed in position 2-3
Position 1-2 used for PWM control
Normally closed in position 1-2 for Oscillator. Position 2-3 for Crystal
Normally closed to enable SPI EEPROM
Used to map various Interrupt sources to the MCU. Normally open (see
DK3300 SCHEMATICS, page 7).
Selects PWM RC constant. Normally position 1-2 (1ms) is closed.
Not selectable – fixed at 3.3V
Normally open. Can be connected positions 1-2 and 3-4 for loop back.
A
B
C
D
X1
1
2
JP1
CPU_UART2
CPU_ADC_IN
CPU_I2C
CPU_P3
CPU_CMM
1
2
JP2
3.3V Reset
CPU_CLOCK
200
R12
X2
40MHz
1
CPU_SPI_BUS
CPU_PWM_OUT
100µH
3.3V
L1
JTAG_CNTRL
R7
470
D2
DEBUG
VCC
3
2
1
JP6
C8
104P
40MHz
49
48
3.3V
5V
0
0
R16
R8
CPU_PWM0
CPU_PWM1
CPU_PWM2
CPU_PCA0CLK
CPU_SPI_CLK
CPU_SPI_RXD
CPU_SPI_TXD
CPU_SPI_SEL
VREF
33
31
30
27
25
23
19
18
70
52
54
56
58
59
60
61
64
CPU_ADC0
CPU_ADC1
CPU_U2RXD
CPU_U2TXD
CPU_ADC4
CPU_ADC5
CPU_ADC6
CPU_ADC7
8
75
77
79
2
40
42
44
46
CPU_U1RXD
CPU_U1TXD
CPU_INT0
CPU_INT1
CPU_P3.4
CPU_P3.5
CPU_I2CSDA
CPU_I2CSCL
4
1
2
VCC
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
CTRL0/WR
CTRL0/RD
CTRL2/PSEN
ALE(PD0)
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
VC1
2
3.3V
PD1
PD2
T2/TCM0/P4.0
T2x/TCM1/P4.1
TMS/PC0
RXD2/TCM2/P4.2
TCK/PC1
TXD2/PCA0/P4.3
VSTBY/PC2
SPISCLK/TCM3/P4.4
TSTAT/RDY/PC3
SPIRXD/TCM4/P4.5 TERR/V
BATON/PC4
SPITXD/TCM5/P4.6
TDI/PC5
SPISEL/PCA1/P4.7
TDO/PC6
PC7
VREF
ADC0/T2/P1.0
ADC1/T2x/P1.1.
ADC2/RXD2/P1.2
ADC3/TXD2/P1.3
ADC4/SPISCLK/P1.4
ADC5/SPIRXD/P1.5
ADC6/SPITXD/P1.6
ADC7/SPISEL/P1.7
RXD/P3.0
TXD/P3.1
EXINT0/GATE0/P3.2
EXINT1/GATE1/P3.3
T0/P3.4
T1/P3.5
I2CSDA/P3.6
I2CSCL/P3.7
DEBUG
RESET_IN
X2
X1
U3
DK3300
VCC
OSC_OUT OE
GND
X1
C13
104P
3.3V_RST 68
X2
X1
3
CPU_DEBUG
JTAG_CNTRL
C18
20pf
C17
20pf
2
VCC
VCC
VDD
VDD
72
10
12
50
VCC
GND
GND
GND
13
29
69
3 CPU_PD1
1 CPU_PD2v
20 CPU_TMS
16 CPU_TCK
15 CPU_PC2
14 CPU_TSTA
9 CPU_TERR
7 CPU_TDI
6 CPU_TDO
5 CPU_PC7
80 CPU_PB0
78 CPU_PB1
76 CPU_PB2
74 CPU_PB3
73 CPU_PB4
71 CPU_PB5
67 CPU_PB6
66 CPU_PB7
35 CPU_PA0
34 CPU_PA1
32 CPU_PA2
28 CPU_PA3
26 CPU_PA4
24 CPU_PA5
22 CPU_PA6
21 CPU_PA7
62 CPU_WR
65 CPU_RD
63 CPU_PSEN
4 CPU_ALE
51 CPU_AD8
53 CPU_AD9
55 CPU_AD10
57 CPU_AD11
36 CPU_AD0
37 CPU_AD1
38 CPU_AD2
39 CPU_AD3
41 CPU_AD4
43 CPU_AD5
45 CPU_AD6
47 CPU_AD7
3
3
CPU_JTAG
PB[0.. 7]
PA[0.. 7]
Control Bus
AD[0.. 11]
MCU
Clock
C14
104P
VC1
C15
104P
VC1
Reset
C16
103P
C11
103P
JTAG (FlashLINK)
4
C7
103P
3.3V
C9
104P
3.3V
3.3V low active RESET
CPU_JTAG
4
C10
103P
C12
104P
CPU_TMS
CPU_TCK
CPU_TSTA
CPU_TERR
CPU_TDI
CPU_TDO
JTAG_CTRL
3.3V_RST
RC_RST
8
7
6
5
R1
10K
RESET
SWITCH
PUSH-BUTTON
1
2
3
4
X2
N.C.
N.C.
11
17
5
14
12
10
8
6
4
2
TDO
TCK
TMS
VCC
TDI
GND
JEN
FlashLINK
TERR
GND
GND
RST
TSTAT
CNTL
TRST
13
11
9
7
5
3
1
6
5
Date:
File:
Size
B
Title
Reset Circuit
RESET
3.3V_RST
3
2
1
JP8
6
C5
104P
VCC
Revision
4-August-2003
Sheet 2 of 4
C:\Documents and Settings\bo kang.ST
Number
MCU
C4
105P
RC_RST
D3
1N4148
VCC
FlashLINK JTAG for 3300 Programming/Debugging
R4
470
D1
JEN
VCC
R2
10K
VCC
8
7
6
5
2
1
1
2
3
4
3
4
1
A
B
C
D
UM0087 - USER MANUAL
APPENDIX B. DK3300 SCHEMATICS
Figure 3. MCU
AI09611
7/11
A
B
C
D
1
2
JP0
3.3V
5V
3
2
1
R0
4K7 JP3
4
1
1
2
3
4
LM358
OP-A
IP-A
IP_A
GND
U2
1K
R11
R10
4K7
5V
3
3.3V_RST
SPI_SEL
2
C3
104pF LCD_VL
LCD_EN
CPU_PB7
C35
104P
1
Q
VSS
C
D
VCC
HOLD
VCC
OP-B
IP-B
IP_B
W
6
5
8
7
CPU_SPI_RXD
5 3.3V
6 3.3V
7 GND
8
CPU_SPI_CLK
CPU_SPI_TXD
VCC
8
7
6
5
5V
3
7
8
9
10
11
12
13
14
2
RS
R/W
E
VL
D0
D1
D2
D3
D4
D5
D6
D7
LCD
LCD Module
PB[5.. 7]
CPU_PB6 4
CPU_PB5 5
LCD_EN
6
CPU_PA0
CPU_PA1
CPU_PA2
CPU_PA3
CPU_PA4
CPU_PA5
CPU_PA6
CPU_PA7
PA[0.. 7]
5V
C6
104P
LCD Interface Circuit
SPI Interface Circuit
LCD Module Only Operates on 5V
48PE16
S
RESET VCC
C
D
U10
W
VSS
S
Q
U4
M95080W
CPU_SPI_TXD
3
4
1
2
CPU_SPI_CLK
VCC
CPU_SPI_SEL
SPI_SEL
CPU_SPI_RXD
C19
104P
VCC
2
1
JP7
R15
10K
2
CON3
3
2
1
CON4
2
1
CON5 VCC
1
2
CON6
R21
10K
I2CSDA
I2CSCL
3
PWM, ADC
CPU_PWM
7101UART2
7101ADC
I2C Interface Circuit with Battery
3
1
2
3
4
4
CPU_PWM0
CPU_PWM1
CPU_PWM2
CPU_SPI_CLK
CPU_SPI_RXD
CPU_SPI_TXD
CPU_ADC0
CPU_ADC1
CPU_U2RXD
CPU_U2TXD
CPU_ADC4
CPU_ADC5
CPU_ADC6
CPU_ADC7
GND
GND
M41ST87_VOUT
4
1
3
5
7
9
11
JP13
1
3
5
7
9
11
13
15
JP14
2
4
6
8
10
12
2
4
6
8
10
12
14
16
GND
3.3V
5V
10K
R18
LCD_VL
SENSOR2
SENSOR1
R25 R27
1k2 1k2
RESET
F32K
R22
4K7
R23
V_UNREG 6k8
R26
3k6
5V
R24
4K7
8
7
6
5
VCC
20
24
23
13
10
11
17
22
27
9
2
C24
105pF
JP15
JP12
AI09612
5
C25
104pF
14
M41ST87_PFO 11
M41ST87_SQW 8
M41ST87_PFO 25
CPU_PB1
F32k
PFO1
PFO2
IRQ
SQW
RST
VOUT
TPCLR
ECON
1
2
3
4
JP18
CPU_I2CSCL
CPU_I2CSDA
1
3
1
2
2
4
JP11
JP10
CPU_PC2
M41ST87_VOUT
6
6
I2CSCL
I2CSDA
Revision
4-August-2003
Sheet 3 of 4
C:\Documents and Settings\bo kang.ST
Number
Peripheral
CPU_INT1
CPU_INT0
ECON
TPCLR
F32k
GND
F32k
Date:
File:
Size
B
Title
15
12
13
9
10
6
7
3
4
1
21
12 M41ST87_PFO1
7 M41ST87_PFO2
26 M41ST87_IRQ
8 M41ST87_SQW
19 RESET
25 M41ST87_VOUT
18 TPCLR
16 ECON
U7
3.3V or 5V
Battery Socket
BATTERY
5
M41ST87
M41ST87_IRQ
TP1IN
TP2IN
PFI1
PFI2
RST INT1
RST INT2
SDA
SCL
EX
WDI
104pF
C33 0
R28
0 R29
15
VBAT
VCC
2
VCC
GND
1
28
VCC
VSS
8/11
14
1
A
B
C
D
UM0087 - USER MANUAL
Figure 4. Peripheral
A
B
C
D
CPU_PB2
CPU_PB3
CPU_PB4
1
6
4
2
JP4
CON30
CPU_PA7
CPU_PA6
CPU_PA5
CPU_PA4
CPU_PA3
CPU_PA2
CPU_PA1
CPU_PA0
5
3
1
CPU_P4
CPU_P1
C2
103P
1K5
R13
1K5
R14
CPU_PD2
CPU_PD1
VCC
C1
103P
R5
R3
VCC
JP5
2
4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
VCC
2
LED_ONE
1
3
CPU_CTRL
CPU_RD
CPU_PSEN
CPU_WR
CPU_ALE
5V
5V
3.3V_RST
GND
VREF
CON1
3
2
1
*
Connector
5
5
4
KEY1 SW
PUSH-BUTTON
3
2
1
4
Power Supply
RS232, IrDA
RS232_TXD0
RS232_RXD0
CPU_COMM
KEY2 SW
PUSH-BUTTON
3
Encoder, Button, & LED
ENCODER
R9
4k7
3
CON30
30
29
28
27
26
25
Reset
24
23
22
21
CPU_DEBUG 20
CPU_ADDR_DATA
GND
19
CPU_A11
18
CPU_A10
17
CPU_A9
16
CPU_A8
15
CPU_U1RXD
14
CPU_P3
CPU_U1TXD
13
CPU_INT0
12
CPU_INT1
11
CPU_P3.4
10
CPU_P3.5
9
CPU_I2CSDA
8
CPU_I2CSCL
7
VCC
6
VCC
5
GND
4
X2
3
2
1
LED_TWO
CON30
10K
10K
CPU_ADC0
CPU_ADC1
CPU_U2RXD
CPU_U2TXD
CPU_ADC4
CPU_ADC5
CPU_ADC6
CPU_ADC7
CPU_AD7
CPU_AD6
CPU_AD5
CPU_AD4
CPU_AD3
CPU_AD2
CPU_AD1
CPU_AD0
CPU_PWM0
CPU_PWM1
CPU_PWM2
CPU_PCA0CLK
CPU_SPI_CLK
CPU_SPI_RXD
CPU_SPI_TXD
CPU_SPI_SEL
3.3V
8
7
6
5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
4
3
CPU_PB7
CPU_PB6
CPU_PB5
CPU_PB4
CPU_PB3
CPU_PB2
CPU_PB1
CPU_PB0
CPU_PD2
CPU_PD1
CPU_PC7
CPU_TDO
CPU_TDI
CPU_TERR
CPU_TSTAT
CPU_PC2
CPU_TCK
CPU_TMS
1
2
1
2
3
4
0
2
4
3
CON3
1
2
CON2
RXD1
TXD1
5
CPU_U2TXD
3
1
2
CPU_U2RXD
4
J1
4
6
3
VCC
C32
104pF
5V
VCC
3.3V
3
2
1
JP16
12
CPU_U1RXD
5
C2+
C2–
VCC
V–
GND
R2OUT R2IN
T2IN T2OUT
R1OUT R1IN
T1IN T1OUT
C1–
C1+
V+
U8
15
1
5V
3
5
6
8
1
2
5
10µF
C29
SWITCH
R20
10
3
7
4
Date:
File:
Size
B
Title
2
Number
C28
10µF
5V
C26
104pF
TXD1
RXD1
6
D4
POWER
UART1
UART2
Revision
R17
1K
1
6
2
7
3
8
4
9
5
1
6
RS232_RXD0 2
7
RS232_TXD0 3
8
4
9
5
6
4-August-2003
Sheet 4 of 4
C:\Documents and Settings\bo kang.ST
3.3V
3
C34
4.7µF
R19
5
VOUT
C27
104pF
VIN
U6
78M05-5V
C31
104pF
Input/Output
VOUT
U5
LD1117-3.3V
VIN
1
C30
220µF
VUNREG
1N4004
D5
GND
GND
SD
GND
GND
RXD
TXD
VCC
VCC
TXD1
RXD1
7
8
13 RS232_RXD0
IrDA Interface Circuit (disable shutdown)
U9
TFDU4203
C21
334pF
VCC
14 RS232_TXD0
4
5
16
ST3232
RS232 Interface Circuit
C20
334pF
6
9
10
11
1
1
C23
334pF 2
C22
334pF 3
VCC
CPU_U1TXD
JP17
4
2
4
GND
1
GND
2
1
A
B
C
D
UM0087 - USER MANUAL
Figure 5. Input/Output
AI09613
9/11
UM0087 - USER MANUAL
REVISION HISTORY
Table 2. Document Revision History
Date
Version
May 7, 2004
1.0
10/11
Revision Details
First Issue
UM0087 - USER MANUAL
If you have any questions or suggestions concerning the matters raised in this document, please send them to
the following electronic mail addresses:
[email protected] (for general enquiries)
Please remember to include your name, company, location, telephone number and fax number.
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics.
All other names are the property of their respective owners.
© 2004 STMicroelectronics - All rights reserved
STMicroelectronics GROUP OF COMPANIES
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore Spain - Sweden - Switzerland - United Kingdom - United States
www.st.com
11/11