WT65F5
USB Micro Controller
Page 1
V0.99j
WT65F5
(FLASH MEMORY Type)
USB Micro Controller
REV. 0.99j
Date: March. 19 2002
Page 2
GENERAL DESCRIPTION
The WT65F5 is highly integrated Micro controller with Universal Serial Bus (USB)
interface. It contains an 8051 based CPU core, 64K bytes Flash memory, 2304
bytes (2K+256 bytes) RAM, USB transceiver, Serial bus Interface Engine (SIE),
System Interface Logic (SIL) and transmit / receive FIFOs. The USB function
supports low/full-speed data rate (1.5M & 12M bps), suspend / resume mode,
control / interrupt/ bulk transfer and is fully compliant with the USB specification
version 1.1.
FEATURES
Built-in 8051 8-bit CPU
64K bytes flash memory, 2304 bytes SRAM
PLL build in and can be disabled to use external crystal oscillator frequency
Complete USB Specification V.1.1 compatibility:
Supports low/ Full-speed (1.5M/ 12Mbps) data rate transfer
Three 8-byte transmit FIFOs and two 8-byte receive FIFO
Support endpoint0 for control IN/OUT, endpoint1 for INT IN or Bulk IN,
endpoint2 for INT IN or Bulk IN, and endpoint 3 for INT OUT or Bulk
OUT
Support Suspend / Resume operation
Supports USB remote wakeup
Power-saving idle and powerdown modes
Level detect interrupt mode for the automatic powerdown mode exit
Built-in power-on reset and low-voltage reset
Built-in 3.3V regulator for USB transceiver
One full duplex serial port
Three 16-bit timer/counter
Eight-Source, two level interrupt capability.
Package information
Package Type
Part Number
LQFP 48
WT65F5-LQ48
SOP 28
WT65F5-S28
Page 3
PIN ASSIGNMENT and DESCRIPTION
Table 1. WT65F5 Pins Description
Pin No.
Die 48
28
Pin Name I/O
Description
1
1
P20/ A8
I/O Port 2: function is the same as that of the standard
8052; or A8 address signal of uP. Pull-up internal
2
2
P21/ A9
I/O Port 2: function is the same as that of the standard
8052; or A9 address signal of uP. Pull-up internal
3
3
P22/ A10
I/O Port 2: function is the same as that of the standard
8052; or A10 address signal of uP. Pull-up internal
4
4
P23/ A11
I/O Port 2: function is the same as that of the standard
8052; or A11 address signal of uP. Pull-up internal
5
5
P24/ A12
I/O Port 2: function is the same as that of the standard
8052; or A12 address signal of uP. Pull-up internal
6
6
P25/ A13
I/O Port 2: function is the same as that of the standard
8052; or A13 address signal of uP. Pull-up internal
7
7
P26/ A14
I/O Port 2: function is the same as that of the standard
8052; or A14 address signal of uP. Pull-up internal
8
8
P27/ A15
I/O Port 2: function is the same as that of the standard
8052; or A15 address signal of uP. Pull-up internal
9
9
5
RST
I Reset: A high on this pin for two machine cycles
while the ocillator is runing resets the device. Pull
Low internal
10
P41
I/O Port 4: bit addressible. Pull-up internal
11 10
6
P10/ T2
I/O Port 1: function is the same as that of the standard
8052; or T2: Timer 2 external input. Pull-up internal
12 11
7
P11/ T2EX I/O Port 3: function is the same as that of the standard
8052; or T2EX: Timer 2 Cature/ Reload triggert. Pull-
up internal
13 12
8
P12
I/O Port 1: function is the same as that of the standard
8052; Pull-up internal. When low,
EXT0_INT
flag is
set to high.
14
GND
P Ground
Page 4
15 13
9
P13
I/O Port 1: function is the same as that of the standard
8052; Pull-up internal. When low,
EXT0_INT
flag is
set to high.
16
N.C.
17 14
10
SW10
I/O SW10 of analog switch (Transmission Gate)
18 15
11 P14/ SW11 I/O Port 1: function is the same as that of the standard
8052; or SW11 of analog switch (Transmission Gate)
Pull-up internal. When low,
EXT0_INT
flag is set to
high.
19 16
/INT3/ P42
I External Interrupt3: An extra interrupt input source.
Or Port 4:
bit addressible. Pull High internal.
20 17
/INT2/ P43
I External Interrupt2: An extra interrupt input source.
Or Port 4. Pull High internal.
21
/PSEN
O Program Store Enable, Active low. Pull-up internal.
/PSEN enables the external ROM data in the Port0
address/ data bus during fetchand MOVC operation.
22 18
ALE
O Address Latch Enable: Active High, ALE is used to
enable the address latch that seperates the address
from the data on port 0. Pull-up internal.
23 19
12
SW20
I/O SW20 of analog switch (Transmission Gate)
24 20
13 P15/ SW21 I/O Port 1: function is the same as that of the standard
8052; SW21 of analog switch (Transmission Gate) ;
Pull-up internal. When low,
EXT1_INT
is set to high.
25 21
14
SW30
I/O SW30 of analog switch (Transmission Gate)
26 22
15 P16/ SW31 I/O Port 1: function is the same as that of the standard
8052; SW21 of analog switch (Transmission Gate);
Pull-up internal. When low,
EXT1_INT
is set to high.
27
16
SW40
I/O SW40 of analog switch (Transmission Gate)
28
23
17 P17/ SW41 I/O Port 1: function is the same as that of the standard
8052; SW21 of analog switch (Transmission Gate);
Pull-up internal. When low,
EXT1_INT
is set to high.
29
24
18
/PLE
I Internal PLLx8 Enable for 6MHz Crystal Oscilator,
Low Active. Internal PLLx8 be disabled and the
Clock (except CPU clock) is same as the Crystal
frequency when /PLE is High.
Page 5
30
25
P07/ AD7
I/O Port 0: function is the same as that of the standard
8052; or A7/D7 Address/Data Bus of uP.
Pull- Low internal
31
26
P06/ AD6
I/O Port 0: function is the same as that of the standard
8052; or A6/ D6 Address/Data Bus of uP.
Pull- Low internal
32
27
P05/ AD5
I/O Port 0: function is the same as that of the standard
8052; or A5/D5 Address/Data Bus of uP.
Pull- Low internal
33
28
P04/ AD4
I/O Port 0: function is the same as that of the standard
8052; or A4/D4 Address/Data Bus of uP.
Pull- Low internal
34
29
P03/ AD3
I/O Port 0: function is the same as that of the standard
8052; or A3/D7 Address/Data Bus of uP.
Pull- Low internal
35
30
P02/ AD2
I/O Port 0: function is the same as that of the standard
8052; or A2/D2 Address/Data Bus of uP.
Pull- Low internal
36
31
P01/ AD1
I/O Port 0: function is the same as that of the standard
8052; or A1/D1 Address/Data Bus of uP.
Pull- Low internal
37
32
P00/ AD0
I/O Port 0: function is the same as that of the standard
8052; or A0/D0 Address/Data Bus of uP.
Pull- Low internal
38
33
19
P30/ RXD I/O Port 3: function is the same as that of the standard
8052; or RXD for UART. Pull-up internal
39
34
20
P31/ TXD
I/O Port 3: function is the same as that of the standard
8052; or RXD for UART. Pull-up internal
40
35
21 P32/ /INT0 I/O Port 3: function is the same as that of the standard
8052; or External Interrupt INT0. Pull-up internal
41
GND
P Ground
42
P40
I/O Port 4:
bit addressible. Pull High internal.
43
GND
P Ground
44
36
22 P33/ /INT1 I/O Port 3: function is the same as that of the standard
8052; or External Interrupt INT0. Pull-up internal
45
37
23
P34/ T0
I/O Port 3: function is the same as that of the standard
8052; or Timer 0 external input. Pull-up internal