ChipFind - документация

Электронный компонент: W541C203

Скачать:  PDF   ZIP

Document Outline

W541C20X Data Sheet
4-BIT MICROCONTROLLER
Publication Release Date: May 29, 2003
- 1 -
Revision A4
Table of Contents-
1.
GENERAL DESCRIPTION..........................................................................................................................2
2.
FEATURES....................................................................................................................................................2
3.
BLOCK DIAGRAM ........................................................................................................................................4
4.
PIN CONFIGURATIONS .............................................................................................................................5
5.
PIN DESCRIPTION ......................................................................................................................................6
6.
ELECTRICAL CHARACTERISTICS..........................................................................................................7
6.1
Absolute Maximum Ratings.............................................................................................................7
6.2
DC Characteristics ............................................................................................................................7
6.3
AC Characteristics ............................................................................................................................8
7.
APPLICATION CIRCUIT..............................................................................................................................9
8.
PACKAGE DIMENSIONS..........................................................................................................................10
8.1
18-Lead PDIP-300mil .....................................................................................................................10
8.2
20-Lead PDIP ..................................................................................................................................11
8.3
28-Lead P-DIP Skinny....................................................................................................................12
8.4
20-Lead SOP-300mil ......................................................................................................................13
8.5
28-Lead SOP-300mil ......................................................................................................................14
9.
REVISION HISTORY .................................................................................................................................15
W541C20X
- 2 -
1. GENERAL DESCRIPTION
The W541C20X is fully compatible with W741C20X in the terms of pin assignment and IC functon. It is
a high-performance 4-bit microcontroller (
C) that operates on very low current. The device contains a
4-bit ALU, two 8-bit timers, a divider, a serial port, and five 4-bit I/O ports (including 3 output ports for
LED driving). There are also seven interrupt sources and 8-level subroutine nesting for interrupt
applications. The W541C20X has two power reduction modes, hold mode and stop mode, which help
to minimize power dissipation.
The W541C20X is suitable for remote controllers, toy controllers, keyboard controllers, speech
synthesis LSI controllers, and other products.
2. FEATURES
Operating voltage: 2.4V to 5.5V
Single system clock
- Oscillation frequency up to 4 MHz , Crystal or RC oscillator is selected by mask code option
- High-frequency (400 KHz to 4 MHz) or low-frequency (32.768 KHz) oscillation is delected by mask
code option
Memory
- 2048 x 16 bit program ROM (including 2K x 4 bit look-up table)
- 128 x 4 bit data RAM (including 16 working registers)
21 input/output pins
- Input/output ports: 4 ports/16 pins
- Serial input/output port: 1 port /4 pins (high sink current for LED driving)
- MFP output pin: 1 pin (MFP)
- Do not be floating when it is as input or output open-drain (NMOS type).
Power-down mode
- Hold function: no operation (except for oscillator)
- Stop function: no operation (including oscillator)
Seven types of interrupts
- Five internal interrupts (Divider 0, Timer 0, Timer 1, and Serial I/O)
- Two external interrupts (Port RC and
IN
pin)
T
MFP output pin
- Output is software selectable as modulating or nonmodulating frequency
- Works as frequency output specified by Timer 1
Built-in 14-bit clock frequency divider circuit
W541C20X
Publication Release Date: May 29, 2003
- 3 -
Revision A4
Two built-in 8-bit programmable countdown timers
- Timer 0: One of two internal clock frequencies (F
OSC
/4 or F
OSC
/1024) can be selected
- Timer 1: Offers auto-reload function, and one of two internal clock frequencies (F
OSC
or
F
OSC
/64) can be selected, or falling edge of pin RC.0 can be selected (output through MFP pin)
Built-in 18/14-bit watchdog timer selectable for system reset
Powerful instruction set: 118 instructions
8-level subroutine (include interrupt) nesting
One serial transmission/receiver port specified by software
Up to 1
S instruction cycle (with 4 MHz operating frequency)
Packaged in 18-pin, 20-pin, 28-pin PDIP and 20-pin, 28-pin SOP
W541C20X
- 4 -
3. BLOCK DIAGRAM

XIN
XOUT
PC
STACK
(8 Levels)
RAM
(128*4)
ALU
Timer 0
(8-bit)
Timing Generator
PORT RA
PORT RB
Modulation
Frequency
Pulse
RA0 to 3
RB0 to 3
RE0 to 3
MFP
VDD
VSS
ROM
(2048*16)
(look_up table
2K*4)
Timer 1
(8-bit)
ACC
RES
INT
Divider 0
(14-bit)
Watchdog Timer
(4-bit)
HCF
PEF
HEF
IEF
Central Control
Unit
EVF
SEF
PSR0
.
.
MUX
SEL
+1(+2)
.
PORT RC
RC0 to 3
PORT RD
RD0 to 3
PR
PM0
MR0
PSR1 PSR2
PORT RT
Serial I/O
MUX
(RE0/DOUT,
RE1/CLKO,
RE2/DIN,
RE3/CLKI)
SEL
W541C20X
Publication Release Date: May 29, 2003
- 5 -
Revision A4
4. PIN CONFIGURATIONS
10
11
12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
RB3
RB2
RB1
RA1
RA0
XIN
XOUT
RC3
RC2
RC1
RES
INT
RA3
RA2
RB0
RC0
20
21
22
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
RE3
RE2
RE1
RA1
RA0
XIN
XOUT
RD3
RD2
RD1
RES
INT
RA3
RA2
RE0
RD0
19
10
RB0
RC3
16
17
18
11
12
13
RB3
RB2
RB1
RC2
RC1
RC0
15
14
NC
MFP
W541C201
W541C202/C205
18-PDIP(300 mil)
28 SKINNY(300 mil), 28 SOP
V
SS
V
DD
V
SS
V
DD
10
11
12
13
15
16
17
18
1
2
3
4
5
6
7
8
9
RB3
RB2
RB1
RA1
RA0
XIN
XOUT
RC3
RC2
RC1
RA3
RA2
RB0
RC0
W541C203
20-PDIP(300 mil)
14
19
20
10
11
12
13
15
16
17
18
1
2
3
4
5
6
7
8
9
RB3
RB2
RB1
RA1
RA0
XIN
XOUT
RC3
RC2
RC1
RES
INT
RA3
RA2
RB0
RC0
W541C204
20 SOP
14
19
20
INT
RES
V
SS
V
SS
V
DD
V
DD
V
SS
V
SS
V
DD
V
DD
W541C20X
- 6 -
5. PIN DESCRIPTION
SYMBOL I/O
FUNCTION
XIN I
Input pin for oscillator.
Connected to crystal or resistor to generate system clock by code option.
External 10~20pF capacitor uses to get accurate freq in crystal mode.
XOUT O
Output pin for oscillator.
Connected to crystal or resistor to generate system clock by code option.
20pF capacitor is built in internal for crystal mode.
RA0
-RA3
I/O
Input/Output port. Input/output mode specified by port mode 1 register
(PM1). When used as output port, can provide high sink current for driving
LED.
RB0
-RB3
I/O
Input/Output port. Input/output mode specified by port mode 2 register
(PM2). When used as output port, can provide high sink current for driving
LED.
RC0
-RC3
I/O
Input/Output port. Input/output mode specified by port mode 4 register
(PM4). Each pin has an independent interrupt capability in input mode.
And build-in schmitt trigger.
RD0
-RD3
I/O
Input/Output port. Input/output mode specified by port mode 5 register
(PM5).
RE0/DOUT
RE1/CLKO
RE2/DIN
RE3/CLKI
I/O
Special input/output port.
This port can be configured by software to act as the output of internal
port RT or the serial I/O port. When used as output port, can provide high
sink current for driving LED.
MFP O
Output pin only. This pin can output modulating or nonmodulating
frequency, or Timer 1 clock output specified by mode register 1 (MR1).
INT
I
External interrupt pin with pull-high resistor.
RES
I
System reset pin with pull-high resistor.
V
DD
I
Positive power supply (+).
V
SS
I
Negative power supply (-).
W541C20X
Publication Release Date: May 29, 2003
- 7 -
Revision A4
6. ELECTRICAL CHARACTERISTICS
6.1 Absolute Maximum Ratings
PARAMETER RATING
UNIT
Supply Voltage to Ground Potential
-0.3 to +7.0
V
Applied Input/Output Voltage
-0.3 to +7.0
V
Power Dissipation
120
mW
Ambient Operating Temperature
0 to +70
C
Storage Temperature
-55 to +150
C
Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely
affect the life and reliability of the device.
6.2 DC
Characteristics
(V
DD
-V
SS
= 3.0V, Fosc. = 32.768 KHz, Ta = 25
C; unless otherwise specified)
PARAMETER
SYM.
CONDITIONS
MIN.
TYP.
MAX.
UNIT
Op. Voltage
V
DD
-
2.4
-
5.5
V
Op. Current (Crystal type)
I
OP1
No load (Ext-V)
-
8
20
A
Op. Current (RC type)
I
OP2
No load (Ext-V)
-
35
65
A
Hold Current (Crystal type)
I
HM1
Hold mode No
load (Ext-V)
- 4 6
A
Hold Current (RC type)
I
HM2
Hold mode No
load (Ext-V)
- 16 40
A
Stop Current (Crystal type)
I
SM1
Stop mode No
load (Ext-V)
- 0.1 2
A
Stop Current (RC type)
I
SM2
Stop mode
No load (Ext-V)
- 0.1 2
A
Input Low Voltage
V
IL
- V
SS
- 0.3
V
DD
V
Input High Voltage
V
IH
- 0.7
V
DD
-
V
DD
V
MFP Output Low Voltage
V
ML
I
OL
= 2.7 mA
-
-
0.4
V
MFP Output High Voltage
V
MH
I
OH
= -3.5 mA
2.4
-
-
V
Port RA, RB Sink Current
I
ABL
V
OL
= 0.9V
7.5
-
-
mA
Port RA, RB Source Current
I
ABH
V
OH
= 2.4V
0.4
1.2
-
mA
Port RC, RD Output Low Voltage
V
CDL
I
OL
= 2.0 mA
-
-
0.4
V
Port RC, RD Output High Voltage
V
CDH
I
OH
= -2.0 mA
2.4
-
-
V
W541C20X
- 8 -
6.2 DC Characteristics, continued
PARAMETER
SYM.
CONDITIONS
MIN.
TYP.
MAX.
UNIT
Port RE Sink Current
I
EL
V
OL
= 0.9V
7.5
-
-
mA
Port RE Source Current
I
EH
V
OH
= 2.4V
0.4
1.2
-
mA
INT
Pull-up Resistor
R
INT
- 50
250
1000
K
DIN Pin Pull-up Resistor
R
DIN
RE.2 used as
serial input pin
50 250 1000 K
RES
Pull-up Resistor
R
RES
- 20
100
500
K
6.3 AC
Characteristics
(V
DD
-V
SS
= 3.0 V, Ta = 25
C; unless otherwise specified)
PARAMETER SYM. CONDITIONS MIN.
TYP.
MAX.
UNIT
RC type
-
-
4000
Op. Frequency
F
OSC
Crystal type 1 (Option low
speed type)
- 32.768 - KHz
Crystal type 2 (Option
high speed type)
400
-
3580
Frequency Deviation by
Voltage drop for RC
Oscillator
f
f
f(3V) - f(2.4V)
f(3V)
- -
10
%
Instruction Cycle Time
T
I
One machine cycle
-
4/F
OSC
- mS
Serial Port Data Ready
Time
T
DR
-
200
-
-
nS
Serial Port Data Hold
Time
T
DH
-
200
-
-
nS
Reset Active Width
T
RAW
F
OSC
= 32.768 KHz
1
-
-
S
Interrupt Active Width
T
IAW
F
OSC
= 32.768 KHz
1
-
-
S
W541C20X
Publication Release Date: May 29, 2003
- 9 -
Revision A4
7. APPLICATION CIRCUIT
MFP
INT
RES
XOUT
XIN
RC2
RC3
RA0
RA3
Output Signal
RB0
RB1
RB2
RB3
RC0
RC1
RD0
RD1
RD2
RD3
RE0
RE1
RE2
RE3
or
Vcc
Vcc
Vcc
V
DD
V
SS
Vcc
Vcc
*1(option)
Note :
*1 is for accuracy
W541C20X
- 10 -
8. PACKAGE DIMENSIONS
8.1 18-Lead
PDIP-300mil
1.63
1.47
0.064
0.058
Symbol
Min. Nom
Max.
Max.
Nom
Min.
Dimension in inches
Dimension in mm
A
B
c
D
e
A
L
S
A
A
1
2
E
0.060
1.52
0.175
4.45
0.010
0.125
0.016
0.130
0.018
0.135
0.022
3.18
0.41
0.25
3.30
0.46
3.43
0.56
0.008
0.120
0.375
0.010
0.130
0.014
0.140
0.20
3.05
0.25
3.30
0.36
3.56
0.255
0.250
0.245
6.48
6.35
6.22
9.53
7.62
7.37
7.87
0.300
0.290
0.310
2.29
2.54
2.79
0.090
0.100
0.110
B
1
1
e
E
1
0.900
0.910
22.86
23.11
0
15
0.055
1.40
0.355
0.335
8.51
9.02
15
0
Seating Plane
A
e
2
A
c
E
Base Plane
1
A
1
e
L
A
S
1
E
D
1
B
B
18
10
1
9
W541C20X
Publication Release Date: May 29, 2003
- 11 -
Revision A4
8.2 20-Lead
PDIP
1.63
1.47
0.064
0.058
Symbol
Min. Nom
Max.
Max.
Nom
Min.
Dimension in inches
Dimension in mm
A
B
c
D
e
A
L
S
A
A
1
2
E
0.060
1.52
0.175
4.45
0.010
0.125
0.016
0.130
0.018
0.135
0.022
3.18
0.41
0.25
3.30
0.46
3.43
0.56
0.008
0.120
0.375
0.010
0.130
0.014
0.140
0.20
3.05
0.25
3.30
0.36
3.56
0.255
0.250
0.245
6.48
6.35
6.22
9.53
7.62
7.37
7.87
0.300
0.290
0.310
2.29
2.54
2.79
0.090
0.100
0.110
B
1
1
e
E
1
1.026
1.040
20.06
26.42
0
15
0.075
1.91
0.355
0.335
8.51
9.02
15
0
Seating Plane
A
e
2
A
c
E
Base Plane
1
A
1
e
L
A
S
1
E
D
1
B
B
20
1
10
11
W541C20X
- 12 -
8.3 28-Lead P-DIP Skinny
1.63
1.47
0.064
0.058
Symbol
Min. Nom
Max.
Max.
Nom
Min.
Dimension in Inches
Dimension in mm
A
B
c
D
e
A
L
S
A
A
1
2
E
0.060
1.52
0.175
4.45
0.010
0.125
0.016
0.130
0.018
0.135
0.022
3.18
0.41
0.25
3.30
0.46
3.43
0.56
0.008
0.120
0.370
0.010
0.130
0.014
0.140
0.20
3.05
0.25
3.30
0.36
3.56
0.293
0.288
0.283
7.44
7.32
7.19
9.40
7.87
7.62
8.13
0.310
0.300
0.320
2.29
2.54
2.79
0.090
0.100
0.110
B
1
1
e
E
1
a
1.388
1.400
35.26
35.56
0
15
0.055
1.40
0.350
0.330
8.38
8.89
15
0
e
A
a
c
E
1
E
D
28
15
1
14
A
Base Plane
Mounting Plane
1
A
1
e
L
A
S
1
B
B
2
W541C20X
Publication Release Date: May 29, 2003
- 13 -
Revision A4
8.4 20-Lead
SOP-300mil
L
O
c
E H
A1
A
e
b
D
SEATING PLANE
Y
0.25
GAUGE PLANE
E
1
20
11
10
7.60
0.32
0.51
0.30
E
c
b
A1
7.40
0.23
0.33
0.10
0.299
0.013
0.020
0.012
0.291
0.009
0.013
0.004
Max.
Dimension in mm
2.65
A
Symbol
Min.
2.35
Dimension in inches
0.104
Min.
0.093
Max.
Control demensions are in milmeters .
1.27
0.10
10.65
L
q
Y
H
0
8
0.40
10.00
e
1.27 BSC
0.050
0.004
0.419
0
0.016
0.394
8
0.050 BSC
E
D
12.60
13.00
0.496
0.512

W541C20X
- 14 -
8.5 28-Lead
SOP-300mil
L
O
c
E
H
A1
A
e
b
D
SEATING PLANE
Y
0.25
GAUGE PLANE
E
1
28
15
14
7.60
0.32
0.51
0.30
E
c
b
A1
7.40
0.23
0.33
0.10
0.299
0.013
0.020
0.012
0.291
0.009
0.013
0.004
Max.
Dimension in mm
2.65
A
Symbol
Min.
2.35
Dimension in inches
0.104
Min.
0.093
Max.
Control demensions are in milmeters .
1.27
0.10
10.65
L
q
Y
H
0
8
0.40
10.00
e
1.27 BSC
0.050
0.004
0.419
0
0.016
0.394
8
0.050 BSC
E
D
17.70
18.10
0.697
0.713
W541C20X
Publication Release Date: May 29, 2003
- 15 -
Revision A4
9. REVISION HISTORY
VERSION DATE
DESCRIPTION
A2
-
Note: Update Hi freq range from 4.19 3.58MHz (C200)
A3
-
Note: RC is built-in schmitt trigger
A4
May 29, 2003
Note: Do not be floating when it is as input or output open-drain
(NMOS type)
Headquarters
No. 4, Creation Rd. III,
Science-Based Industrial Park,
Hsinchu, Taiwan
TEL: 886-3-5770066
FAX: 886-3-5665577
http://www.winbond.com.tw/
Taipei Office
TEL: 886-2-8177-7168
FAX: 886-2-8751-3579
Winbond Electronics Corporation America
2727 North First Street, San Jose,
CA 95134, U.S.A.
TEL: 1-408-9436666
FAX: 1-408-5441798
Winbond Electronics (H.K.) Ltd.
No. 378 Kwun Tong Rd.,
Kowloon, Hong Kong
FAX: 852-27552064
Unit 9-15, 22F, Millennium City,
TEL: 852-27513100
Please note that all data and specifications are subject to change without notice.
All the trade marks of products and companies mentioned in this data sheet belong to their respective owners.
Winbond Electronics (Shanghai) Ltd.
200336 China
FAX: 86-21-62365998
27F, 2299 Yan An W. Rd. Shanghai,
TEL: 86-21-62365999
Winbond Electronics Corporation Japan
Shinyokohama Kohoku-ku,
Yokohama, 222-0033
FAX: 81-45-4781800
7F Daini-ueno BLDG, 3-7-18
TEL: 81-45-4781881
9F, No.480, Rueiguang Rd.,
Neihu District, Taipei, 114,
Taiwan, R.O.C.