首页 > 器件类别 >

W921E400

4-BIT MICROCONTROLLER

厂商名称:Winbond(华邦电子)

厂商官网:http://www.winbond.com.tw

下载文档
文档预览
W921E400A/W921C400
4-BIT MICROCONTROLLER
Table of Contents-
1. GENERAL DESCRIPTION .........................................................................................................................3
2. FEATURES.................................................................................................................................................3
3. PIN CONFIGURATION ...............................................................................................................................5
4. PIN DESCRIPTION.....................................................................................................................................6
5. BLOCK DIAGRAM ......................................................................................................................................7
6. FUNCTION DESCRIPTION........................................................................................................................8
6.1 ROM Memory Map ..............................................................................................................................8
6.2 RAM Memory Map...............................................................................................................................9
6.2.1 Special Control Register Area ....................................................................................................9
6.2.2 Stack Register Area .................................................................................................................11
6.2.3 Working Register Area.............................................................................................................12
6.3 Internal Oscillator Circuit.....................................................................................................................12
6.4 Initial State .........................................................................................................................................13
6.5 Input/Output........................................................................................................................................13
6.5.1 Normal/Special function selection of I/O...................................................................................14
6.5.2 Pull High and Open Drain Control of I/O ..................................................................................15
6.6 Serial Port ..........................................................................................................................................18
6.7 DTMF Generator................................................................................................................................20
6.8 Beep Tone Generator ........................................................................................................................22
6.9 Comparator........................................................................................................................................22
6.10 Timer/Counter ..................................................................................................................................24
6.10.1 TM0.......................................................................................................................................24
6.10.2 TM2.......................................................................................................................................26
6.10.3 TM3.......................................................................................................................................28
6.10.4 Arbitrary Waveform Generator ...............................................................................................29
6.11 Interrupt............................................................................................................................................30
6.11.1 Interrupt Control Register.......................................................................................................30
6.11.2 Interrupt Enable Flag .............................................................................................................31
-1-
Publication Release Date: July 1998
Revision A3
W921E400A/W921C400
6.12 Operating Mode ...............................................................................................................................31
6.12.1 Normal Mode: ........................................................................................................................31
6.12.2 Hold Mode: ............................................................................................................................31
6.12.3 Stop Mode: ............................................................................................................................34
6.13 Initial Condition Register of EPROM Program Method .....................................................................36
6.14 Reset.................................................................................................................................................36
6.14.1 Reset by
RESET
.....................................................................................................................36
6.14.2 Reset by Watch Dog Timer .....................................................................................................36
7. ABSOLUTION MAXIMUM RATINGS .......................................................................................................37
8. ELECTRICAL CHARACTERISTICS.........................................................................................................37
8.1 DC Characteristics .............................................................................................................................37
8.2 AC Characteristics .............................................................................................................................40
9. ADDRESSING MODE ..............................................................................................................................42
9.1 ROM Addressing Mode......................................................................................................................42
9.1.1 Indirect Call Addressing Mode: (1 word/2 cycles) .....................................................................42
9.1.2 Long Call/Jump Addressing Mode: (2 words/2 cycles)..............................................................42
9.2 RAM Addressing Mode ......................................................................................................................42
9.2.1 Direct Addressing Mode: (2 words/2 cycles) .............................................................................43
9.2.2 Indirect Addressing Mode: (1 word / 1 cycle) ............................................................................43
9.2.3 Working Register Addressing Mode: (1 word / 1 cycle).............................................................43
9.3 Look-up Table Addressing Mode (1 word/2 cycles) ...........................................................................43
10. INSTRUCTION CODE MAP ...................................................................................................................45
11. INSTRUCTION SET SUMMARY ............................................................................................................48
12. PACKAGE DIMENSIONS........................................................................................................................52
28-pin DIP .................................................................................................................................................52
28-pin SOP ...............................................................................................................................................52
-2-
W921E400A/W921C400
1. GENERAL DESCRIPTION
The W921E400A/W921C400 is a single-chip CMOS 4-bit microcontroller that is a subset of
W921E880A/W921C880. It features a 4-bit ALU, three multi-function timers, one channel DTMF
generator, a beep tone generator, a serial I/O port and built in four by one channel comparator circuit,
thus it can be easily implemented as telephone processor. Using the serial transmit/receive function,
the W921E400A/W921C400 series can interface with Winbond LCD driver IC by the serial control
circuit. There are also seven interrupt sources and 48-level subroutine nesting for interrupt
applications.
The W921E400A/W921C400 have two power reduction modes, hold mode and stop mode, which
help to minimize power dissipation. This product is a powerful microcontroller for telephone
processor, remote controllers, multiple I/O products, keyboard controllers, speech synthesis LSI
controllers, and other products with few components.
2. FEATURES
Operating Voltage
2.8 to 5.5V operating voltage for W921E400A EPROM TYPE
2.4 to 5.5V operating voltage for W921C400 MASK ROM TYPE
Operating Frequency
Crystal or RC for main system clock:
Crystal for 400K, 800K, 2M, 3.58M, 4 MHz
RC up to 4 MHz
Memory
4K
×
10-bit ROM (super EPROM):
512
×
4-bit RAM:
64
×
4-bit special register
16
×
4-bit working register
128
×
4-bit general register
304
×
4-bit multi-purpose register
Stack
8-bit stack pointer
I/O Pins
13 bidirectional and individually controllable I/O lines:
P2 Port: P2.0 to P2.1 large sink current pins and open drain option
P3 Port: P3.0 to P3.3 multi-function I/O
P4 Port: P4.2 to P4.3 open drain and pull high resistor option, multi-function I/O
P5 Port: P5.1 multi-function I/O
P6 Port: P6.0 to P6.3 open drain and pull high resistor option, multi-function I/O
8 bidirectional I/O lines:
PA Port: PA.0 to PA.3 open drain and pull high resistor option
PB Port: PB.0 to PB.3 open drain and pull high resistor option
-3-
Publication Release Date: July 1999
Revision A3
W921E400A/W921C400
Serial I/O Interface
Clock synchronous multi-nibbles serial transmitter/receiver interface
DTMF Generator
One channel DTMF generator
Beep Tone Generator
4 frequencies (2K, 1K, 630, 520 Hz) software selectable beep tone generator
Voltage Comparator
Multiplexed four channel voltage comparator
Timer/Counter
Timer 0: 2 to 19 order divider, auto-reload timer, watch-dog timer
Timer 2: 2 to 19 order divider, auto-reload timer, arbitrary waveform generator, period/pulse width
measurement function
Timer 3: 2 to 19 order divider, auto-reload timer
Interrupt
Two external sources: INT0 (P4.3), P4 Port (P4.2)
Five internal sources: Timer 0, Timer 2, Timer 3, Comparator, Serial Port
Operating Mode (System Clock)
Normal mode: System clock operating
HOLD mode: No operation except for oscillator (system clock stops only)
STOP mode: No operation including oscillator
Addressing Mode
ROM: Indirect call addressing mode
Long jump/call addressing mode
RAM: Direct addressing mode
Indirect addressing mode
Working register addressing mode
Look-up table addressing mode
Instruction Sets
117 instruction sets
Package Type
28-pin DIP, 28-pin SOP
-4-
W921E400A/W921C400
3. PIN CONFIGURATION
PIN NAME
P2.0
P2.1
P3.0/ANI0
P3.1/ANI1
P3.2/ANI2
P3.3/ANI3
P4.2
P4.3/INT0
P5.1/TM2
P6.0/WDATA
P6.1/WCLK
P6.2/RDATA
V
SS
P6.3/RCLK
DIP28 (OR SOP28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PIN NAME
PA.0
PA.1
PA.2
PA.3
PB.0
PB.1
PB.2
PB.3
BTG
DTMF
RESET
OSCO
DIP28 (OR SOP28)
15
16
17
18
19
20
21
22
23
24
25
26
27
28
OSCI
V
DD
15
W921E400A
/ W921C400
1
-5-
Publication Release Date: July 1999
Revision A3
查看更多>
参数对比
与W921E400相近的元器件有:W921E400A。描述及对比如下:
型号 W921E400 W921E400A
描述 4-BIT MICROCONTROLLER 4-BIT MICROCONTROLLER
我需要一个串口通信代码
我想在串口助手中的输入框中输入一些字符,然后输出框以相同的字符将其输出。这个功能应该如何实现呢?急...
胡豆豆的春天 51单片机
从GPS到RFID日益丰富的定位技术
  在很多类似的东西里,找到自己需要的东西,是很多人在生活中经常会遇到的问题。拿笔者来说,上学的时...
JasonYoo RF/无线
protel模拟电路仿真详解.
protel模拟电路仿真详解. 文件大小: 441 K 软件等级: ★★★ 软...
fighting 模拟电子
先楫官方工程师干货汇总:HPM6700系列硬件设计、功能示例、应用指南、视频教程
更新日期:2023-06-06 在 坛友测评汇总:先楫HPM6750来啦,800MHz RIS...
谍纸天眼 国产芯片交流
【麦昆试用】麦昆小车走迷宫
想着能否用麦昆来走走迷宫,所以现在就开始吧。 算法思想: 设想小车在一个转弯口,小...
youki12345 MicroPython开源版块
RK3288资料
RK3288参考原理图资料 RK3288资料 挺好的资料,有PCB就更好了 下载了,谢谢, ...
弦上的舞 综合技术交流
热门器件
热门资源推荐
器件捷径:
E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF EG EH EI EJ EK EL EM EN EO EP EQ ER ES ET EU EV EW EX EY EZ F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF FG FH FI FJ FK FL FM FN FO FP FQ FR FS FT FU FV FW FX FY FZ G0 G1 G2 G3 G4 G5 G6 G7 G8 G9 GA GB GC GD GE GF GG GH GI GJ GK GL GM GN GO GP GQ GR GS GT GU GV GW GX GZ H0 H1 H2 H3 H4 H5 H6 H7 H8 HA HB HC HD HE HF HG HH HI HJ HK HL HM HN HO HP HQ HR HS HT HU HV HW HX HY HZ I1 I2 I3 I4 I5 I6 I7 IA IB IC ID IE IF IG IH II IK IL IM IN IO IP IQ IR IS IT IU IV IW IX J0 J1 J2 J6 J7 JA JB JC JD JE JF JG JH JJ JK JL JM JN JP JQ JR JS JT JV JW JX JZ K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 KA KB KC KD KE KF KG KH KI KJ KK KL KM KN KO KP KQ KR KS KT KU KV KW KX KY KZ
需要登录后才可以下载。
登录取消