UM0131
USER MANUAL
Turbo Plus uPSD DK3400 Development Kit
To enhance the feature set of uPSD Turbo Family, the USB Microcontroller Development Kit DK3400 has been released from STMicroelectronics. The kit is a demo board for the uPSD3400 family which is a series of 8051 class microcontrollers (MCUs) that contain a fast Turbo Plus 8032 core with 16-bit code fetch path, full-speed USB port, a large Dual Bank Flash memory, a large SRAM, many peripherals, programmable logic and a JTAG Debug / In System Programming (ISP) port. The DK3400 kit consists of an ED3K4 module and DK3400 motherboard as well as all the items needed to explore the uPSD3400 MCU. There are also demonstration application examples along with an evaluation copy of the tools needed to develop and compile code for the uPSD3400.
Figure 1. DK3400 Contents
1.DK3400 Motherboard
2.ED3K4 uPSD3400 module
3.DK3400 CD
4.110V/220V AC adapter
5.Plug adapters
6.RS232 Serial Cable
7.USB ULINK Adapter
8.USB Cables (x2, only 1 shown): 1 for ULINK, 1 for uPSD
9.14-pin female-female ribbon cable (JTAG)
10.Quick Start Flyer (not shown)
4
9
2
6
8
5
3
1
7
|
|
Rev 1 |
March 2005 |
UM0131 |
1/32 |
|
|
|
Contents |
Turbo Plus uPSD DK3400 Development Kit |
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 DK3400 Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 ED3K4 Hardware and Operation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1 ED3K4 Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1.1 ED3K4 Jumpers Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.1.2 Jumpers Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.3 Connector Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.1.4 ED3K4 Top connection capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.5 LEDs on ED3K4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 ED3K4 Operation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.1 Operation Mode 1: USB Mass Storage Mode . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2.2 Operation Mode 2: uPSD+E-RLINK Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2.3 Operation Mode 3: Stand-alone RLINK mode . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.4 Operation Mode 4: uPSD+ULINK mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2.5 Operation Mode 5: ED3K4+DK3400 Motherboard mode . . . . . . . . . . . . . . . 19
4 DK3400 Motherboard Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . 20
4.1 Jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.2 Connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5 Getting Started With DK3400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Appendix A ED3K4 Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Appendix B DK3400 Motherboard Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2/32 |
UM0131 |
Turbo Plus uPSD DK3400 Development Kit |
DK3400 Hardware Features |
The DK3400 comprises both the ED3K4 board and DK3400 motherboard. ED3K4 is able to work as an uPSD3400 module independently or work together with DK3400 motherboard. The DK3400 motherboard works as a base board for the ED3K4. It is possible to upgrade the motherboard with extension boards (for example, ED3K3 and DKMMX which are currently in development).
The DK3400 motherboard itself has a variety of hardware capabilities built-in. A number of hardware features on the DK3400 are provided to enable exploration by the user and for future demo application software, including (see Figure 2 and Figure 3):
●Two selectable power sources of ED3K4: USB cable and 5V wall adapter
●Dual USB port for E-RLINK and uPSD USB users respectively
●Total of 100 pins for extension connector
●One JTAG port
●One RS232 connector
●One small regulated 5V power jack on ED3K4 and one 9V power jack on the DK3400 motherboard
●128 Mbit NAND Flash
●Very small QFN package RTC from STMicroelectronics
●8 Mbit SPI interface Flash
●16 Kbit I2C interface EEPROM
●Embedded debug tools RLINK
●IrDA transceiver
●122*32 Dot Matrix LCD with Chinese font support
●PS/2 standard keyboard connector
UM0131 |
3/32 |
DK3400 Hardware Features |
Turbo Plus uPSD DK3400 Development Kit |
Figure 2. ED3K4 Board Features
2
4
3
1.USB port for E-RLINK
2. USB port for uPSD user
3. Power-on Switch
4. Reset Switch
13
5.5V power jack
6. 14-pin JTAG Connector
12
7. uPSD34XX
8. Expansion Connectors
9.IrDA Transceiver
10. |
NAND flash |
10 |
|
11. |
Real-Time Clock |
||
|
|||
12. |
I2C interface EEPROM |
11 |
|
|
|
13.SPI interface Flash
14.RS232 transceiver
15.Power management
5
6
4/32 |
UM0131 |
1
15
7
8
14
9
Turbo Plus uPSD DK3400 Development Kit |
DK3400 Hardware Features |
Figure 3. DK3400 Motherboard Features
7
1. Power Switch
2.9V Power Input
3. Dot Matrix LCD
4.RS232 connector
6
5. PS/2 connector
6. Connectors for ED3Kx
7. Connectors for DKMMX
4
2 |
|
|
|
5 |
|
1 |
|
|
|
||
|
|||||
3 |
|||||
|
UM0131 |
5/32 |
ED3K4 Hardware and Operation Mode |
Turbo Plus uPSD DK3400 Development Kit |
The ED3K4 is a very low cost uPSD3400 evaluation module with full-speed USB support, embedded debug tools RLINK and 128-Mbit NAND flash. Depending on different application purposes, ED3K4 can be configured to one of the following 5 operation modes:
●Mode1: USB mass storage mode
●Mode2: uPSD3400+E-RLINK mode
●Mode3: Stand-alone RLINK mode
●Mode4: uPSD3400+ULINK mode
●Mode5: ED3K4+DK3400 motherboard mode
The 5 operation modes will be introduced in detail later.
The jumpers and connectors definitions on ED3K4 board are detailed in this chapter.
6/32 |
UM0131 |
Turbo Plus uPSD DK3400 Development Kit |
ED3K4 Hardware and Operation Mode |
Figure 4. Block diagram layout of the jumper positions of the ED3K4 board
SW1
uPSD eRlink
|
SW2 |
|
|
|
|
|
|
JP1 JP2 JP3 |
|
|
|
|
|
1 |
Extension |
Extension |
Extension |
|
2 |
1 |
|
|||
|
|
|
|
|
|
|
|
2 |
JP6 |
|
|
|
|
|
CN1connector |
CN2connector |
CN3connector |
3 |
uPSD3400 |
|
||||
JP5 |
|
|||
|
|
|
|
|
|
|
|
|
128Mbit NAND Flash |
|
|
|
|
JP8 JP9 JP10 |
|
|
|
|
1 |
|
|
|
|
2 |
|
|
|
|
JP11 |
1
2
Power
JTAG connector
JP4
1
2
3
1 |
2 |
|
|
Extension |
Extension |
||
|
|
|
|
||||
1 |
|
|
|
|
|
connector |
connector |
|
|
|
|
|
|||
|
|
|
|
|
|||
|
|
|
|
|
|||
|
|
|
|
|
|||
|
|
|
|
|
|||
|
|
|
|
||||
2 |
|
|
|
|
|
|
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
CN4 |
CN5 |
|
|
JP7 |
|
||||
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
2 4 6
JP12
1 3 5
IrDA
UM0131 |
7/32 |
ED3K4 Hardware and Operation Mode |
Turbo Plus uPSD DK3400 Development Kit |
The definitions of the jumpers on ED3K4 board are listed in Table 1:
Table 1. |
Description of jumpers on ED3K4 board |
|
|
|
|
||
Jumper |
|
Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JP1 is used to enable SPI interface Flash M25P80. |
|
|
|
|
|
JP1 |
|
M25P80 is enabled when JP1 is closed. |
|
|
|
|
|
|
|
Default status: closed |
|
|
|
|
|
|
|
|
|
|
|
|
|
JP2 |
|
Reserved. Please keep this jumper on open. |
|
|
|
|
|
|
Default status: open |
|
|
|
|
||
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
JP3 is used to enable USB auto-disconnect function. |
|
|
|
|
|
JP3 |
|
USB auto-disconnect function is enabled when JP3 is closed. |
|
|
|
|
|
|
|
Default status: closed |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JP4 is used to select a power source for JTAG port. |
|
|
|
|
|
|
|
Keep JP4 on following status when ED3K4 works on Mode1, 2, 4 and 5: |
|
|
|
|
|
JP4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
2 |
|
3 |
|
||
|
|
|
|
||||
|
|
Keep JP4 on open when ED3K4 works on Mode 3. |
|
|
|
|
|
|
|
Default status: JP4.1 connected to JP4.2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JP5 is used to select which power source will be used as USB power input of power |
|
|
|||
|
|
management circuit, power from E-RLINK USB cable or power from uPSD USB cable. |
|||||
|
|
Keep JP5 on following status when ED3K4 powered from RLINK USB cable: |
|
|
|||
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
||
JP5 |
|
2 |
|
3 |
|
||
|
|
|
|
|
|
|
|
|
|
Keep JP5 on following status when ED3K4 powered from uPSD USB cable: |
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
2 |
|
|
|
|
|
Default status: JP5.1 connected to JP5.2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JP6 is used to provide a boot option for ED3K4 board. |
|
|
|
|
|
JP6 |
|
ED3K4 boot from internal main flash when JP6 is closed. |
|
|
|
|
|
|
ED3K4 boot from internal boot flash when JP6 is open. |
|
|
|
|
||
|
|
|
|
|
|
||
|
|
Default status: open |
|
|
|
|
|
|
|
|
|
|
|
|
|
8/32 |
UM0131 |
Turbo Plus uPSD DK3400 Development Kit |
ED3K4 Hardware and Operation Mode |
JP7 is used to select clock generation source, external clock or internal clock.
ED3K4 works with internal clock when JP7 is set as following:
|
|
|
|
|
3 |
|
|
|
1 |
|
2 |
|
|
JP7 |
ED3K4 works on external clock mode when JP4 is set as following: |
|
|
|
||
|
|
|
|
|||
|
1 |
|
|
|
|
|
|
|
|
|
|
||
|
|
2 |
3 |
|
||
|
Default status: JP7.1 connected to JP7.2 |
|
|
|
||
|
|
|
|
|
|
|
JP8 |
JP8 is used to enable NAND Flash. 128Mbit NAND flash is enabled when JP8 is closed. |
|||||
Default status: closed |
|
|
|
|||
|
|
|
|
|||
|
|
|
|
|
|
|
|
JP9 is used to select JTAG circuit operation mode along with JP10 depending on |
|
|
|
||
|
operation mode of ED3K4. |
|
|
|
||
JP9 |
Keeps JP9 on closed when ED3K4 works on mode 1, 2, 3 and 5. |
|
|
|
||
|
Keeps JP9 on open when ED3K4 works on mode 4. |
|
|
|
||
|
Default status: closed |
|
|
|
||
|
|
|
|
|
|
|
|
JP10 is used to select JTAG circuit operation mode along with JP9 depending on |
|
|
|
||
|
operation mode of ED3K4. |
|
|
|
||
JP10 |
Keeps JP10 on closed when ED3K4 works on mode 1, 2, 4 and 5. |
|
|
|
||
|
Keeps JP10 on open when ED3K4 works on mode 3. |
|
|
|
||
|
Default status: closed |
|
|
|
||
|
|
|
|
|
|
|
JP11 |
JP11 is used to enable DEBUG signal. DEBUG signal is enabled when JP11 is closed. |
|||||
Default status: open |
|
|
|
|||
|
|
|
|
JP12 is used to select which transceiver will be connected to UART1 port, RS232 transceiver or IrDA transceiver.
UART1 is connected to RS232 transceiver when JP12 is set as following:
2 4 6
1 3 5
JP12
UART1 is connected to IrDA transceiver when JP12 is set as following:
2 4 6
1 3 5
Default status JP12.2 connected to JP12.4;
Default status JP12.1 connected to JP12.3.
UM0131 |
9/32 |
ED3K4 Hardware and Operation Mode |
Turbo Plus uPSD DK3400 Development Kit |
The definitions of connectors on ED3K4 board are listed in Table 2 and Table 3:
Table 2. Description of connectors on ED3K4 board
Connector |
Description |
|
|
|
|
POWER |
Regulated 5V power jack. |
|
Note: The absolute Maximum voltage on this jack is 6V. |
||
|
||
|
|
|
USER USB |
USB port connected to uPSD3400 on board. |
|
|
|
|
E-RLINK USB |
USB port for embedded RLINK |
|
|
|
|
JTAG |
JTAG port used for debugging and programming |
|
|
|
|
CN1, 2, 3, 4 and 5 |
100 pins Extension connectors for user. |
|
|
|
10/32 |
UM0131 |