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

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

Скачать:  PDF   ZIP

Document Outline

W541C240 Data Sheet
4-BIT MICROCONTROLLER
Publication Release Date: May 30, 2003
- 1 -
Revision A1
Table of Contents-
1.
GENERAL DESCRIPTION ......................................................................................................... 2
2.
FEATURES ................................................................................................................................. 2
3.
PIN CONFIGURATION............................................................................................................... 4
4.
BLOCK DIAGRAM ...................................................................................................................... 5
5.
PAD 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.
REVISION HISTORY ................................................................................................................ 10
W541C240
- 2 -
1. GENERAL DESCRIPTION
The W541C240 is a high-performance 4-bit microcontroller (
C) that provides an LCD driver.. The
device contains a 4-bit ALU, a 8-bit timers, a divider, a 24
4 LCD driver, and three 4-bit I/O ports.
There are also three interrupt sources and 8-level subroutine nesting for interrupt applications. The
W541C240 operates on low voltage and very low current and has two power reduction modes, hold
mode and stop mode, which help to minimize power dissipation. The W541C240 is suitable for
caculators, simple watches and clocks, multiple I/O products, keyboard controllers, speech synthesis
LSI controllers, and other products.
2. FEATURES
Operating voltage: 2.4V to 5.5V (LCD drive voltage: 3.0V or 4.5V)
Crystal/RC oscillation circuit selectable by code option for system clock
Crystal oscillator: 32.768 KHz only
RC oscillator: 1 MHz (maximum)
- High-frequency (400 KHz to 1 MHz) or low-frequency (below 400 KHz) oscillation option must
be determined by the code option.
- In RC mode, attention must be paid to the high/low frequency oscillation option, because the
LCD driver frequency is related to this option.
Memory
- 2048 16 bit program ROM (shared with 2K 4 bit look-up table)
- 64 4 bit data RAM (shared with 16 working registers)
- 24 4 LCD data RAM
13 input/output pins
- Ports for input only: 1 port/4 pins
- Input/output ports: 2 ports/8 pins

- 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)
Three types of interrupts
- Two internal interrupts (Divider 0, Timer 1)
- One external interrupts (Port RC)
W541C240
Publication Release Date: May 30, 2003
- 3 -
Revision A1
LCD driver output
- 24 segment 4 common
- Static, 1/2 duty (1/2 bias), 1/3 duty (1/2 or 1/3 bias), 1/4 duty (1/3 bias) driving mode can be
selected
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
One built-in 8-bit programmable countdown timers
- Timer 1: Offers auto-reload function and one of two internal clock frequencies (F
OSC
or F
OSC
/64)
can be selected (output through MFP pin)
Built-in 18/14-bit watchdog timer selectable for system reset
Powerful instruction set: 100 instructions
8-level subroutine (include interrupt) nesting
Up to 4 S instruction cycle (with 1 MHz operating frequency)
Chip On Board available / Packaged in 64-pin QFP
W541C240
- 4 -
3. PIN CONFIGURATION
51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
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
31
32
52
53
54
55
56
57
58
59
60
61
RC2
RC1
RC0
RB3
RB2
RB1
RB0
RA2
V
D
I
N
D
D
H
1
D
H
2
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
V
S
S
C
O
M
C
O
M
C
O
M
C
O
M
S
E
G
S
E
G
S
E
G
S
E
G
S
E
G
S
E
G
3 2 1 0 0 1 2 3 4
5
V
D
D
1
SEG9
SEG8
SEG7
SEG6
RA1
RA3
62
63
64
N
C
N
C
X
O
U
T
X
S
E
G
S
E
G
S
E
G
S
E
G
S
E
G
2 2 2 2
1
9
0
1
2
3
3
N
C
N
C
N
C
N
C
R
C
V
D
D
3
V
D
D
2
MFP
RA0
N
C
N
C
N
C
N
C
N
C
N
C
N
C
RES
W541C240
Publication Release Date: May 30, 2003
- 5 -
Revision A1
4. BLOCK DIAGRAM
LCD DRIVER
PC
STACK
(8 Levels)
RAM
(64*4)
ALU
Timing Generator
PORT RA
PORT RC
Modulation
Frequency
Pulse
SEG0 to SEG23
COM0 to COM3
RA0-3
RC0-3
MFP
XIN
XOUT
VDD
VSS
VDD1-3 DH1-2
ROM
(2048*16)
(look_up table
2K*4)
Timer 1
(8 Bit)
ACC
RES
Divider 0
(14 Bit)
HCF
PEF
HEF
IEF
Central Control
Unit
EVF
SEF
PSR0
PR
MR1
.
.
MUL
SEL
+1(+2)
PM0
PM1
.
.
PORT RB
RB0-3