MOS
MOS
MOS
1986
SEMICONDUCTOR DATA BOOK
SEMICONDUCTOR DATA BOOK
(MOS Edition)
General Information 11 ~
4-Bit 1-Chip Microcomputers ~
Products Lineup
• 4-Bit 1-Chip Microcomputer
Supply ClnTent Sub·
Cycle colEUlllPlion Instruc- ROM RAM
Model Process voltage TYP.(mA) lions routine Package Remarks Page
ime. (f' s (bit) (bit)
(V) [operating] nesting
External RAM
SM-3A 10 -15 12 57 2268X8 128X4 2 60QFP 36
expandable
SM-100 10 -9 10 58 1134X8 64X4 2 28DIP 40
SM-105 10 -9 10 58 1134X8 64X4 2 28DIP 40
SM-ll0 10 -9 13 90 2032X9 128X4 6 60QFP 8-bit A/D conversion 44
SM-115 10 -9 13 90 2032.X9 128X4 6 60QFP 8-bit AID conversion 44
SM-111 PMOS 10 -9 13 90 4064X9 192X4 6 60QFP 8-bit AID conversion 49
SM-116 10 -9 13 90 4064X9 192X4 6 60QFP 8-bit AID conversion 49
8-bit AID conversion
SM-114 10 -9' 20 90 4064X9 192X4 6 60QFP Remote control 54
signal receiver
SM-120 10 -9 20 54 1536X8 64X4 2 44QFP External ROM 59
External ROM/REM
SM-200 NMOS 10 -5 32 100 3072X9 128X4t16 3 60QFP Automatic 64
display circuit
SM-4A 6)1 -3 0.05 54 2268X8 96X4 1 60QFP External RAM 69
SM-5A 61' -3 0.05 51 1827X8 65X4 1 60QFP 74
SM-5L 61 -3 0.05 51 1827X8 65X4 1 60QFP 79
SM-500 61 -2 0.02 52 1197X8 40X4 1 48QFP 84
SM-510 61 -3 0.06 49 2772X8 128X4 2 60QFP 89
Melody generator
SM-511 61 -3 0.04 55 4032X8 128X4 2 60QFP 93
circuit
External RAM
SM-520 11 -5 1.5 93 3072X10 160X4+ l6X2 4 64DIP Automatic 98
display circuit
External RAM
SM-525 11 -5 0.6 93 3072X10 160X4+ 16X2 4 64DIP Automatic 103
display circuit
Clock counter circuit
SM-530 91.6 -1.5 0.012 49 2016X8 88X4 1 80QFP Melody generator 108
circuit
Clock counter circuit
SM-531 91.6 -1.5 0.01 45 1260X8 52X4 1 60QEP Melody generator 113
circuit
SM-540 CMOS 16 -4.5 0.23 57 2016X8 128X4 2 60QFP Dot matrix 118
using
8-bit serial
SM-550 1.6 3-5 1 94 1024X8 80X4 RAM 48QFP 123
110 function
area
using
8·bit serial
SM-555 3.3 3-5 1 94 1024X8 80X4 RAM 48QFP 123
I/O function
area
using
8-bit serial
SM-551 1.6 3-5 1 94 2048X8 128X4 RAM 60QFP 128
110 function
area
using
8· bit serial
SM-556 3.3 3-5 1 94 2048X8 128X4 RAM 60QFP 128
110 function
area
2
Products Lineup
.'-'---------------------------
(Continued)
using
8-bit serial
SM-552 L6 3-5 1 94 4096X8 256X4 RAM 60QFP 133
I/O function
area
using
8-bit serial
SM-557 3_3 3-5 1 94 4096X8 256X4 RAM 60QFP 133
I/O function
area
using
8-bit serial
SM-5E3 L6 3-5 1 97 4096X8 256X4 RAM 80QFP 138
I/O function
area
CMOS using
8-bit serial
SM-563 6_6 3-5 0-4 93 4096X8 l28X4t32X4 RAM 64QFP 139
I/O function
area
SM-572 2 3-5 1-5 93 2032X9 128X4 6 64QFP 8-bit AID conversion 144
64DIP 8-bit AID conversion
SM-578 2 3-5 1-5 94 4064X9 192X4 6 150
64QFP 8-bit Serial 110 function
64DIP 8-bit AID conversion
SM-579 2 3-5 1-5 94 6096X9 256X4 6 151
64QFP 8-bit serial 110 function
SM-590 2 3-5 0_5 41 508X8 32X4 4 20DIP 16DIP, 18DIP 152
SM-591 2 3-5 0_5 41 1016X8 56X4 4 20DIP 16DIP, 18DIP 156
--------------SHARP -..-.---------.-.
3
.....,----------...
ProduotsLineup'
279
NMOS 5±5% 40DIP
controller LH0110A 180 4 ~
279
LH5080 2.5 ~
296
40DIP
CPU LH5080L CMOS 5±10% 10(TYP.} 2.5 ~
296
LH5080LM. 2.5 44QFP - 296
Parallel LH5081 2.5 - 302
40DIP
input/output LH5081L CMOS 5±10% 2(TYP.) - 2.5 - 302
.controller LH5081LM 2.5 44QFP - 302
LH5082 2.5 - 307
Counter /Timer 28DIP
LH5082L CMOS 5±10% 2.5(TYP.) 2.5 - 307
controller
LH5082LM 2.5 44QFP - 307
-~~-'----SI-iARP'---'-'-'----------
4
-------------------------
• 16-Slt Microprocessor and Peripheral LSls
Products Lineup
5
Products Lineup
~~~"" __ ~-II!IIf:_""""""""'''''' __''_'':'''''''''''
• Peripheral LSls for Microcomputers
Supply ,Current Clock
Function Model Process voltage consumption ,fequency Package Remarks Page
(V) MAX.(mA) (MHz)
Serial communication LH8530 4 28030 SCC 460
NMOS 5±5% 250 40DIP
controller LH8530A 6 , 28030A SCC 460
CounterITimer parallel LH8536 4 28036 CIO .474
NMOS 5±5% 200 40DIP
input/output unit LH8536A 6 28036A CIO 474
Serial parallel LH8571 NMOS 5±5% 250 4 40DIP -- 49,1
combination controller LH8572 NMOS 5±5% 250 4 40DIP -- 502
GPIB controller LH8573 NMOS 5±5% 250 4 40DIP -- 511
Multitask support
LH8575 NMds 5±5% 250 4 40DIP -- 513
processor
LH8590 4 28090 UPC 525
NMOS 5±5% 250 .40DIP
LH8590A 6 28090A UPC 525
LH8591 4 28091*1 542
NMOS 5±5% 250 64DIP
LH8591A 6 28091A *1 542
I
LH8592 4 28092*1 544
NMOS 5±5% 250 64DIP
LH8592A 6 28092A *1 544
Universal LH8593 4 28093*2 546
NMOS 5±5% 250 40PBP
peripheral LH8593A 6 28093A *2 546
controller LH8594 4 28094*2 548
NMOS 5±5% 250 40PBP
LH8594A 6 28094A *2 548
Key-encoder and
LH8661 NMOS 5±5% 180 8 40DIP -- 550
data transmitter receiver
*1 Development device
*2 Protopack emulator
~~~----'-'---SHARP ---.-..-.------~---
6
Products Lineup
~~.-..-.~~.-..-..-..-..-.~.-..-..-.~.-.~
• Mask ROM
Bit Access Supply Power
Capacih Cycle time
Model Process composition time voltage consumption Package Remarks Page
(bit) MIN.(ns)
(bit) MAX.(ns) (V) MAX.(mW)
LH2331 450 450 5S2
32K
LH2331A
NMOS 4,096XS
350 350
5±5% 5S0 24DIP
582
LH2332 450 450 r-s86
LH2332A 350 350 r-s86
LH2362B 250 250 S40 24DIP 590
NMOS 5±5%
LH2367 250 250 420 2SDIP "594
64K LH5366A S,192XS 2,500 4,000 5±10% 30 599
LH5366S CMOS 6,000 12,000 3±0.5V 3.5 44QFP '602
LH5367 450 750 5±5% 60 605
LH5396 6,000 7,500 35 60S
4.5±0.5V
96K LH5396A CMOS 12,2SSXS 3,000 4,500 60 44QFP 608
LH5396S 15,000 1S,000 3±0.4V 10 ill
LH23126 NMOS 250 250 5±1O% 440 2SDIP 615
12SK
LH53127
16,3S4XS
250 350 5±10% 44 2SDIP rsl8
LH53129 CMOS 6,000 7,500 4.5±O.5V 35
44QFP
~
LH53129A 2,500 3,500 5±1O% SO ~
LH23257 NMOS 250 250 440 28DIP 630
256K LH53256
CMOS
32,76SXS 800 900 5±10% 55 44QFP ~
LH53257 250 250 165 2SDIP '638
512K LH53512 CMOS 65,536XS 3,000 4,400 5±IV 9 24S0P 642
1M LH531000 CMOS 131,072 X8 SO - 5 - 2SDIP 646
102M
LH53012
Series
CMOS 103,680X12 250 250 5 -. 40DIP 647
• EPROM
Bit Access Supply Power
Capacit) Cycle time
Model Process compositiontime voltage consumption Package Remarks Page
(bit) MIN.(ns)
(bit) MAX.(ns) (V) MAX.(mW)
LH5764j-20 200 -- 6"50
LH5764j-25
S,192XS
250 - 2SDIP ~
64K CMOS 5±10% 150
LH5764j-30 300 - (Ceramic) ~
LH5764j-45 450 - ~
LH57128]-20 200 - 651
12SK
LH57128]-25
CMOS 16,3S4XS
250 -- 5±10% 150
2SDIP ~
LH57128]-30 300 - (Ceramic) . '651
LH57128j-45 450 -- ~
LH57256]-20 200 -- 652
LH57256]-25 250 - 2SDIP '652
256K
LH57256]-30
LH57256]-45
CMOS 32,76SXS
300
450
-
--
5±10% 150
(Ceramic) rrn-
rrn-
7
Products ,Lineup
'
................_ _. ._ _................ .........._ _ _. ._ _
~
~
.
-
.
.
r
• StaticRAM
,Bit
Access Supply Power
Capacih Cycle time
Model frocess composition
time voltage consumption Package Remarks Page
(bit) MIN.(ns)
(bit)
MAX;(ns) (V) MAX.(mW)
., LH5101-30 300 300
5±10% 140
653
LH5101-45 450 450 653
LH5101 800 800 658
1K CMOS 250X4 5±5% 145 22DIP
LH5101L3 650 650 658
LH5101S 3,000 3,500 3±OAV 45 602
LH5101W 800 800 5±10% 150 666
LH5102 1,200 1,200 670
5±5% 145
2K LH5102-8 CMOS 512X4 800 900 22DIP 670
LH5102W 1,200 1,200 5±10% 150 675
LH2114L-20 NMOS 200 200 400 680
1,024X4 5±10% 18DIP
4K LH5114-4 CMOS 450 450 110 684
LH5104-4 CMOS ' 4,096X 1 450 450 5±.10% 85 18DIP 688
LH5116-15 150 150 118 pin CS 693
LH5116-20 200 200 20 pin OE 693
LH5117-15 150 150 118 pin GE, ~
16K CMOS 2,048X8 5±10% 220 24DIP
LH5117-20 200 200 20 pin CEI 698
LH5118-15 150 150 118 pin CE, 703
LH5118-20 200 200 20 pin CEI 703
• Dynamic RAM
Bit Access Supply Power
Capacity Cycle time
Model Process composition time voltage consumption Package ' Remarks Page
'(bit) MIN.(ns)
(bit) MAX.(ns) (\1) MAX.(mW)
LH2164-15 150 270 708
248
LH2164-20 200 330 708
64K NMOS 65,536X1 5±10% 16DIP
LH2164A-15 150 260 717
275
LH2164A-20 200 330 717
, LH2464-10 100 - 726
r-------'--
LH2464-12 120 - Page mode 726
r-------'--
LH2464-15 150 - 726
NMOS 65,536X4 5±10% 267.5 18DIP
LH2465c10 100 - 726
r-------'--
LH2465-12 -
120 Nibble mode
~
LH2465-15 150 - 726
256K LH21256-10 100 200 467.5 728
r-------'--
LH21256-12 120 230 440 Page mode 728
LH21256-15 150 260 385 rns
LH21257-10 100 200 467.5 728
LH21257-12 NMOS 262,144X 1 120 230 5±10% 440 16DIP Nibble mode rm-
LH21257-15 , 150 260 385 rns
LH21258-10 100 200 467.5 728
LH21258-12 120 230 440 Byte mode rm-
LH21258-15 150 260 385 c-m--
8
.............................. ......................... .........................
~ ~
Products Lineup
• Tone Dialer
Power Operating Oscillating
Tone
Model Processsupply current frequency Oscillater Mute output Remarks Package Page
output
lvoltage(V) TYP.(mA) (MHz)
LR4087 CMOS 3.5-10 1 3.58 Crystal bipolar output Complementary 16DIP 732
LR4089 CMOS 3.0-10 1 3.58 Crystal bipolar output N-channel open drain 16DIP 735
LR4091 CMOS 3.0-10 1 3.58 Crystal bipolar output N-channel open drain
Op amplifier
output
18DIP 738 1
LR4092 CMOS 3.5-10 1 3.58 Crystal bipolar output Complementary 16DIP 741
• Pulse Dialer
Power Operating Oscillating Make Pluse
Pluse Mute
Model Process supply current frequency Oscillator rate ratio Remarks Package Page
output output
r-roltage(V) MAX.(mA (kHz) (%) (pps)
LR40981A CMOS 2.5-6 0.15 480 Ceramic 33/39 10 Positive Negative 16DIP 744
LR40982 CMOS 2.5-6 0.15 480 Ceramic 33/39 10 Negative Negative 16DIP 748
LR40991 CMOS 2.5-6 0.15 4 CR 34/40 10/20 Negative Positive 18DIP 752
LR40992 CMOS 2.5-6 0.15 4 CR 34/40 10/20 Negative Negative 18DIP 756
LR40993 CMOS 2.5-6 0.15 4 CR 34/40 10/20 Negative Negative Key signal 18DIP 760
LR40994 CMOS 2.5-6 0.15 4 CR 34/40 10120 Negative Negative Key. signal 18DIP 764
---~------SHARP~------~----
9
.....,.-..........
·Products Lineup
• MOS Ie / LSI
.---..... .-~~ ..... ...............................
.-
10
~---------
•
.....---....---....------.......-.------------.....
MOS Ie / LSI (continued)
Products Lineup
11
......
Package Outljoe
~.,
14DIP
16DIP 16 9
12
.-..-..-.
iSDIP
.....-..-.....
.-..-~ ...-.-............ ........ -
Package Outline
7.62 TVP.
1 ;;==
;;
20DIP 20 11
'~-~f:*)
1 24.5±o.25 10 :;;
+1
....
",
..;
7.62TYP.
22DIP
10.16 TYP .
13
.
PackageOuUine
......,.--.
24DIP
......-------_...........
-~ . _-_..................-
CD
"
Normal
13.2±o.2s
Shrink
6.35±O.2
® 31.0±O·3 22.0±O.2S
® 15.24TYP. 7.62TYP.
® 4.25±O·2 3.45±O.2
® 5.1±o.2 4.2±O·2
® p~.54TYP. P-i, 778 TYP.
(J) 0.5±O.1 0.46±O.1
®
Normal Shrink
28DIP CD 13.2±o.25 8.6±O.2
® 36.0±O·3 25.5±O..25
® 15.24 TYP: 10. 16 T¥P.
® 4.25±O.25 3.85±O.2
® 5.1 ±O.2 4.4±O.2
® p-2.54T¥P. P-l, 778TYP.
(J) O.5±O.1 O.46±O·1
Normal Shrink
30DIP 3~ r"l t"J I'i fI t"J t"J ~ r"l r"l t"J t"J J'l r"1 ~6 CD 13.2±o.25 8.6±O.2
- 1----.
-$-
--+-----$-
. I
I
e
®
®
®
®
36.0±O.3
4.25±o.25
S.l ±O.2
27.2±O.25
lS.24 TYP . 10. 16 TYP.
3.85±o.2
4.4±O.2
p-2.54 TYP. P-l, 778 TYP.
\-IV V V V V V ! 'vi V V V V VL ®
(J) 0.5±O·1 O.46±O·1
1 ® 15
~
@ (§)
~
1
~
P-
,~
,,"
-H
on
""
.,.;
~
- ~
~.-.------~--SHARP-.-.~~-.-.--
14
Package Outline
~.-..-..-.-..-..-.-..-.-~.-.-.--.-..-.-.
40DIP
21
42DIP
48DIP
15
P~kage. Outline . .
. - . - . - . - . - . . . . . , . - -..._ ..._~.-.:..._ _illr.. . . . ....,.IIiiIIIIiiiIif.....
640lP 64 33
42.0MAX.
24 DIP (Ceramic) :....-------------t~1
24 13
I _~ n ~L
~
J
- Hjt:=chip ---+---
12
. 11 14.0TYI'·
M
.,;
+1
;2) >=
N t..
~~~~~=t~
.
J O.25±o.05
\: 15.24TYP ·
~
.1
28 DIP(Ceramic)
16
Package Outline
~~~"",~~"",~....,....,.--r~...., _________
'"0'
c::i
+\ +1
_ M '"
to: ~
~ .,.:
........
50.8±o.8
;;. I
ti. ';;,
20 '"0 0;
>-
~------------~--------------~~ ~
~ r--:
,
J~0~46±O.1 '"
.,;
...
+1
8S0P
JJ
- - r-
-'"
C>
: -u;
II
~j ~ II. 0.15±o.05
14S0P
'" .,;
""
o~ ....
o
17
16S0~ .
8
o
...
on on on
~irini$nririC ~ <00
o~
o
24S0P
IS.4 0 0.2 o
~I 3
II eO.IS±O.05
on on
~-~ :
~ttl~:
32QFP
O.8S±O.2
1.45±O.2
16.0±O"
O.ITYP.
-------~---~-~SHARP,-~~-.--------
18
.-..-..-.~.-..-.~.-.~~~.-.~~~.-. .....----
Package Outline
n7~-------' ~----
~
.,;
++1--E""'a::Il
N ..
o 0
~1=E=-88
<=> cD
............
0.85±0.2
10.0±O.2
1.45±O.2
16.0±O.4 o.rrvp
J-.-
- -
0.85-°·2
1.45- 0 . 2
16.0,,0.4
. . . - - . - - - - - , . . . . - - $ H A R p . - - - - - - - - - - -..........
19
Paokage, Outline
........--.~...,...,.-. . ..-..-.. . .....r.-...........~......_
48QFP
p-o.75 TYP ,
24
N ~
__ +I
o 0
+i
<:> <:>
~~
13
16.01: 0 .4
O.I TYP ,
60QFP
0.15 ±0.05
N ~
, 0
00
---111==~3- ~ -r-~
o
""
1.0±0.2
1.9±0.2 .
20.3±0 .• O.FYP' '
20
.-..-..-..... .-..-. .......-....................-........-..-..-........ - Package Outline
64QFP 64-0.4±O.!
64
1
I 20.0±O.2
O.9±O.2
\ . 24.3±o.. I
,.
1. 95±o.2
-1'--1iE-O-.I ±o.os
-t6r;-fulunJ1tU1 rfilil-
~~ (21.9)._ _ _ _ _~-~
76QFP
P-O.8 T¥P.
I
--r'---
,
22.0±0.4 O.I±O.!
21
p,i1~kage Outline
~----- +-----
I
1.25±0.2
18.0±0.2
2.4±0.2
22.0±0.4 O.1't:O.1
I"
I 0.9±O.,
20.0±0.2
1.95±0.2
, 24.3±0.4
0.1±0.1
_ _ ~~-----~-SHARP~------"--'----"""'-
22
.-..-..-. ......-..-.......-.................-.................-.......-.
Package Outline
I
~---+-----
,
I
I
i
18.0±o.2
1.25±o.2
2.4±O.2
22.0±O.'
O.l±O.!
lOOQFP
23
44PLCC
;>1 I,E
6' , 40
!" \
29
16.6.tO·2
28
(17.5)
24
.-.,.-.,.-., ..... .-.,.-., ..... ..... ..... ..... ..... ..........
.-., .-., .-., .-.,
Quality Assurance
.-.,
Quality Assurance
1. Quality Assurance System
25
Q,uality Assurance
.....,.....,....., ........,.....,.... ..-.. .....
Table 1
~- ....,.....,
Examples of items considered in material approval
.....,.....,.....,....., ...........
Material Wafers Resins Lead frames .Bonding wire
Crystal growth method Composition Composition Purity
,Crystal orientation Electrical characteristics Electrical characteristics Appearance
Doping Thermal characteristics Thermal characteristics Dimensions
Oxygen content Formability Physical characteristics Strength
Items Dislocation density Process characteristics Appearance ' Elongation character-is-
Diameter Reliability evaluation Dimensions tics
Thickness Reliability characteris Processing a~cl,lracy Process characteristics
Parallelism tics Plating characteristics
Specific resistance by elements used Process characteristics
Purchase of material .
Silicon
wafers
Inspection upon receipt Appearance, dimensions, Eliminate items with incorrect dimensions;
specific resistance scratches; and crystal defects and assure
resistance values.
, Oxidation
Photolithography
Ion implantation
Chip electrical inspection Electrical. characteristics Eliminate items with unsuitable electrical
characteristics.
Dicing
Breakage screening
Die bonding
Die bonding inspection Appearance, bond strength Check quality of die bond.
Wire bonding
Wire bonding 'inspection Appearance, tensile strength Ch.eck position and shape of bond and
assure sufficient tensile strength.
.-----~-----SHARP,-~-.---.-.-..-.-
26
.-..-..-. ......-..-.......-.................-............-..-........... Quality Assurance
---...-..--.----SHARP-.--~-- ........ -
27
Q.uatity~sslM'anc'i.l·
,..-.r~~ .. ..r....__. .
~ ~~ .....~......-..r.~. .~..........__~..........
SHARP
Manufacturing Quality control Quality assurance Design ' Business, planning
Investigation
sample/Engineering, sample
Pilot production
28
_
.................... .............................. .....................
Customers
_ Quality Assurance
-
Design dept.
1 Parts dept. 1 '
Manufacturing dept., Quality
dept. Assurance I Service dept.
End user
C Equipment
discussionS' )-~------------------~------~o~·----o
r Parts
seleciion )
Confirmation of\.
specifications
Equipment
( design
I Design
\.. sample
r Purchase
specifications }--(
Parts
approval )-
\
0 0 0 0 0
r Speeificatjons
approval
'\
\.. ./
r Mounting
\. approval
~
( Design review )
• "\ r f
( Sample
planning
../ \
Pilot
production
"\
\.
Sample
test )
l
( General evaluation )
+
J' Quality "\
evaluation ./
\...
Process quality
1 "\
Assembling
control
J'
\.
•
l.n s pections
/Aging
"\
./
r Reliability
)
\. evaluation
0
r Evaluation
/Analysis
"\ J' Operation
)
\.. ../ \.
.-.-.--.-----SHARP-----.-.---
29
Qua.lityAssurance
............... ~ ..............r.....AIIiIIIIIir.............,___ .....,~...................... - .
30
Quality Assurance
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
offered and assure the products'long-life service,
5. After-sales Service please refer to this manual to help in designing sys-
If a product malfunctions after shipment, we tems that make best use of their capabilities.
have the customer return the product for detailed (1) Maximum Ratings
analysis. We also obtain complete information con- It is generally known that the failure rate of
cerning conditions of use, frequency of occurrence, semiconductor products increases as the tempera-
and symptoms. ture increases. It is necessary, of course, that the
When the cause has been determined, we report ambient temperature be within the maximum rated
findings concerning the design, manufacturing pro- temperature. Further it is desirable from the stand-
cess, or method of use to the departments con- point of reliability that the ambient temperature be
cerned for preventive action against recurrence of lowered as much as possible. The voltage, current,
the malfunction. We then submit a report to the and electric power used are also factors that signi-
customer. ficantly influence the life of semiconductor pro-
This process of tracking the performance of our ducts. Voltage or current- that exceeds the rated
products in actual use is an extremely effective level may damaged, the semiconductor product;
way to enhance product reliability. We direct a lot even if applied only momentarily and the unit con-
of energy forwards its full imprementation. tinues to operate properly, excessive voltage or
Fig. 5 shows the routes through which accidents current will likely increase the failure rate.
and malfunctions outside of the company are hand- Therefore, in actual circuit design, it is impor-
led, and Fig. 6 shows the procedures used in their tant that the semiconductor products used have a
analysis. certain degree of allowance with respect to the vol-
tage, current and temperature. conditions under
6. Handling Precautions which they will be used. The greater this allo-
All of the semiconductor products listed in this wance, the fewer the failures that will occur.
data book were manufactured based on exacting To keep failures to a minimum, the circuit should
designs and under comprehensive quality control. be designed so that under all conditions to absolute
However, to take full advantage of the features maximum, the ratings are not exceeded even
I
I
Complaint : Reply
I
I
I
Report of : Investigation
complaint I report
I
I
,-
I
I
Quality assurance
--,I
Request for I I Request for
corrective action I Report Report I
I I corrective action
I I
I I
I I
Instructions
Design and
Manufacturing
technology
Request for
corrective action
Fig. 5 Routes through which malfunctions
outside the company, are handled
----------------SHARP .----.--~-----
31
quality Assurance
,....-r..... -................~-.,.-.-....... - .................................
momentarily and so that the maximum values for that will prevent stress, frolll being applied to the
any two' or more items are not achieved simul- base of the wires should be used.
taneously. In addition, remember that the circuit To prevent the input terminals of semicondudor
functions of semiconductor products are gua'ran- products on c()mpleted printed circuit boards from
teed' within the operating temperature'range (To.,) becoming open during storage or transport, the ter-
of the absolute maximum ratings, but that storage minals oilhe circuit board should be'shortcircuited
temperature (Tstg) is the range in a nonoperating or the entire circuit board itself should be wrapped
condition. in aluminum foil.
(2) Transportation and Storage (4) Soldering and Cleaning
Semiconductor products are susceptible to high' When using a soldering iron or solder bath, keep
temperature and high humidity. Please store them the temperature below 260t the .time and within
in a dry place as near to room temperature as 10 seconds. If using a soldering'iron, use one with
possible. no leakage from the soldering tip. An A class
During shipping and storage, keep semiconduc- soldering iron with an insulation resistance of less
tor products in the packaging they were delivered than 10 Mil is recommended. When using a solder
in to prevent damage due to static electricity. If re- bath, it should be grounded to prevent its having
moved from tlIeir packaging, the terminals must be an unstable electric potential.
shortcircuited with a conductive material or the en- Using a strongly acidic or alkaline flux for
tire units wrapped in aluminum foil. Also remem- soldering can cause corrosion of the lead wires. A
ber that nylon and plastic containers build up elec- resin flux is ideal for this type of soldering.
trostatic charges easily and so should not be used To assure the reliability of a system, removal of
for storage or transportation. the flux used in soldering, is generally required.
Mechanical vibration and shock should also be Freon TE, a freon cleaning fluid, or difron solvent
kept to a minimum. S3-E is recommended for use as the cleaning fluid.
(3) Assembly To prevent stress on semiconductor products
When attached ,to printed, circuit boards, semi- and circuit board w'hen using ultrasonic cleaning, a
conductor products are removed from a conductive cleaning method must be used that will shadow the
container, so electrical equipment, work benches, main unit from the vibrator and keep cleaning time
and operators must be grounded to protect the pro- to less than 30 seconds.
ducts fmm static electricity. It is good to use (5) Adjustment and Tests
grounded metal plating on the surf(ices of work When the set is to be adjusted and tested upon
benches. Grounding metal rings and watch bands is completion of the printed circuit board, the printed
a convenient method for grounding operators. The circuit board must, be checked to ensure that there
grounding of operators is required to prevent elec- are no solder bridges or cracks ,before the power is
tric shock due to current leaks from electrical turned on. Also, if the marked rated voltage and
equipment, so it must be performed through a re- ~urrent are to be used, it is wise'to use a current
sistance of 1 Mn. limiter.
Working attire made of synthetic fabrics should Whenever a printed circuit board is to be re-
be avoided in favor of fabrics such as cotton that moved or mounted on a socket, the power must be
do not easily generate static electricity. turned off.
Keeping the relative humidity in working areas When testing with a probe, care must taken to
around 50% will 'also help to prevent the genera- assure that the probe does to' come in contact with
tion of static electricity. other signals or the power supply. If the test loca-
Current leakage from electrical equipment is not tion has been decided beforehand, it is wise to set
desirable from the standpoint of safety. All equip- , up a specially designed test pin for testing.
ment'should therefore be, checked periodically for When testing in high· and low temperatures, the
, current leakage. constant temperature bath must be groundeq and
When forming the lead wires of semiconductor measures taken to protect the set inside the bath
products to be mounted, forceps or a similar tool from static electricity.
32
Quality Assurance
Report
r--""]
'--- ....
Test is applied only to a hermetic sealed package.
33
4-Bit 1-Chip Microcomputers [g
. PMOS 4-Bit 1-Chlp Microcomputer SM-3A
• Features
1. PMOS process
2. ROM capacity 2,268 X 8 bits
3. RAM capacity 128 X 4 bits
4. Instructions 57
5. Subroutine nesting 2 levels
6. Input ports 8 bits
7. Output ports 37 bits
8. Input/Output ports 4 bits Top View
9. On-chip clock generator circuit
10. High voltage outputs (-38V) 27 bits
11. Single power supply -15V (TYP.)
12. Instruction cycle lOps
1a. 60-pin quad-flat package
36
PMOS 4-Bit 1-Chip Microcomputer SM-3A
• Block Diagram
Output Port
ROM
36x63x8
Frequency
Control
Clock RAM
2
8x16x4
Output 31
Port
'----------------------yr----------------------
Output Port
Symbol description
ALU : Arithmetic logic unit RC : Stack register of program counter
Acc : Accumulator Bu, BM, BL : RAM address register
C : Carry F/F X : Temporary register
PB, PU,PM, PL : Program counter S : Flag F/F
SC : Stack register of program counter DISP : Display F/F
37
PMOS 4-Bit t-Chip Microcomputer SM-3A
• ,. Pin Description
Pin I/O Type of circuit Function_
KE j -KE 4 I Pull clown Acc+--KEI-KE~
a, fJ, AK, 'TAB I Pull down Possible to test 4 bits independently
DIO j -DI0 4 I/O Complementary 3 states Acc+--DIOj -DI0 4
Rj -R 7 ci Open drain Segment output or R register output
Rs -R 22 0 Open drain R register output
F j -F 4 0 Open drain F j-F 4+--Acc
ADI-AD IO 0 Open drain BL decode output or external RAM address output
Possible to set, reset and test by command
IDF 0 Open drain
(Suitable for printer motor drive signal)
OD, R/W 0 Complementary External RAM control output
T I Pull down For test (usually connected to VDD)
ACL I Auto clear
~2 0 Complementary Synchronizing signal terminal
VI, SYNC Frequency control terminal
Vs• Power source for external RAM connection
VDD, GND Power source for logic circuit
38
PMOS 4-Bit 1-Chip Microcomputer SM-3A
• Applications
1. Electronic cash register
2. Hard-Hold electronic calculator with printer
3. POS terminal
4. Electronic scale
5. Vending machine
6. Microwave oven controller
- 7. Electronic sewing machine
8. Controllers of game machines
9. Others electronic appliance controller~
Rl~------;---------------f
+15V 56kO 56kO
-20V
lOOkO
Key matrix
~'-'------SHARP-'-'---------
39
PMOS 4-Bit 1-Chip Microcomputer SM-1 00/SM-1 05
• Features
1. PMOS process
2. ROM capacity 1,134X8 bits
3. RAM capacity 64 X 4 bits
4. Instructions 58
5. Subroutine nesting 2 levels
6. Input ports 4 bits
7. Output ports 17 bits
8. Input/Output ports 1 bit
9. On-chip clock generator circuit
10. High voltage outputs (-38V) 18 bits
(only SM-100)
11. Single power supply - 9V(TYP.)
12. Instruction cycle 10 ps
13. 28-pin dual-in-line package
------------~-SHARP------ ............ - - - -
40
PMOS 4-Bit 1-Chip Microcomputer SM-1 00/SM-1 05
• Block Diagram
ACL Oscillator
Output Instruction
Port 1 - - - - - - - - - - 1 Decoder
~---------v~-------~
Output Port
Symbol description
ALU : Arithmetic logic unit RC : Stack register of program counter
Acc : Accumulator DIV : Frequency divider
ACL : Auto clear CG : Clock generator
C : Carry F/F X : Temporary register
PC : Program counter ADC : RAM address register
SC : Stack register of Program counter S : Flag F/F
• Pin Description
Pin name I/O Circuit type Function
KE 1-KE 4 I Pull down Acc -KE 1-KE 4
IDF I/O Mid voltage * open drain Can be set, reset, and tested by instructions
R1-R7 0 Mid voltage * open drain Segment output or R register output
R8 -R 13 0 Mid voltage * open drain R register output
R14 -R 17 0 Mid voltage * open drain R14-R17-Acc or R register output
T I For test (Connected to V DD normally)
ACL I Auto clear
OSCIN, OSC OUT For clock oscillation
V DD , GND Power supply for logic circuit
* For SM-IOO
--.-.--.--.-..--SHARP . . . - - . - - - - - - - - - -
41
PMOS4-Bit 1-Chip Microcomputer .SM'-100/SM-1 05
42
PMOS 4-Bit 1-Chip Microcomputer SM-110/SM-115
• Features
1. PMOS process
2. ROM capacity 2,032 X 9 bits
3. RAM capacity 128 X 4 bits
4. Instructions 90
5. Subroutine nesting 6 levels
6. Input ports 11 bits
7. Output ports 35 bits
8. InputlOutput ports 4 bits
9. On-chip clock generator circuit
10. Interrupt function
External interrupt 1
Timer interrupt 1
11. 8 bits AID conversion
12. Internal divider (1/50 or 1160)
13. High voltage outputs
(-35V) 21bits (only SM-lIO)
14. Single power supply -9V (TYP.)
15. Instruction cycle lOps
16. 60-pin quad-flat package
~--'--------SHARP-----~--'-----
44
PMOS 4-:Bit 1-Chip Microcomputer SM-100/SM-105
• Applications
1. Various types of mechanical controllers for
video players, vending machines, etc.
2. Game machines
----.-----.---~-SHARP --.-.~---.-.-.
43
PMOS 4-Bit 1-Chip Microcomputer SM-110/SM-115
• Block Diagram·
Input Input/Output
Port Port Output Port
~~/~ __ ~ ________ ~ __________ -JA~ ______________________ ~
Analog
Input
Port
Stack
Register ROM
(6Ievels) (2,032X9
Control
and Judge RAM
Interrupt (l28X4)
TF CG
IF
HF
15i}--------------------------{:~ U
'-v--'VDD ACL '--y----/2.5kHz "-v---"
GND Input Port Pulse Output Oscillator
Symbol description
ALU : Arithmetic logic unit PC : Program counter DA D/ A convert er
Acc : Accumulator CG : Clock generator X Temporary register
ACL : Auto clear DIV : Divider CF Comparater
C : Carry F/F BM, BL : RAM address register
45
PMOS .4-Bit l-Chip Microcomputer SM-110/SM-1.15
• Pin Description
Pin name I/O Circuit type Function
KE 1 -KE 4 I Pull down Acc +-KE 1 -KE 4
KH I Pull down HF flag set on t ; reset by instruction
KI I Pull down IF flag set on t ; reset by instruction
KT I Pull down External timer signal input (50 or 60Hz)
KC 1 -KC 4 I Analog input or Acc +-KC 1 - KC 4
P 1 -P 4 I/O Open drain P 1 -P 4 +-Acc
QI-Q4 0 Mid voltage * operi drain Q1-Q4- Acc
R1 -R 16 0 Mid voltage * open drain R register output
Z I - Z I4 0 Mid voltage * open drain Z register output
-~-""""---'-"SHARP-~------------
46
PMOS 4-Bit 1-Chip Microcomputer SM-110/SM-115
l,uF /16
ALCo---~------~
56kO
Note 12: The time for reset of "Low" signal that is applied to the ACL terminal after supply voltage returns to rated level.
----.--------SHARP---~.--.----
47
PMOS 4-Bit1-Chip Microcomputer SM..:nO/SM~f15
. . . . . . . . ._ . . ._ . . . . . . .. . - .. . . . . . . ......"........ - . . - ...................:11. _ r i...~··~.....
•. Applications
1. Microwave oven controllers
2. Blood pressure monitors
3. Controllers for home appliances and audio
equipment
III" n ,-,
III'd/U
Vnn
r--~J.....;:.;;:::';'::'::""-:f--:::L-....::...-~----,Crystal 220 F
400kHz P
Key matrix CL11--1_--11---,
Q--- }-........-\zs
CL2 .........~~,tF--1--;
I
I ACL tE-_-"V'.rv-~
I
I
}-.......-\Z14 SM-llO/SM-1l5
L----:-~KE4
\ V,," 1----.----<>---<> -9 V
'--------'--tKEJ
50/60Hz GNDt---t----.
signal --r--->I
AGND
48
PMOS 4-Bit 1-Chip Microcomputer SM-111/SM-116
• Features
1. PMOS process
2. ROM capacity 4,064 X 9 bits I (62+
3. RAM capacity 192 X 4 bits , CL2
4. Instructions 90
1 2 3 4 5 6 7 8 91 11 1 3 4 5
5. Subroutine nesting 6 levels
6. Input ports 11 bits ~ ~ ~ ~ r:J cE c:.~ ~
(,!l (,!l
aa a a ~Id<
7. Output ports 35 bits < Top View
8. Input/Output ports 4 bits
9. On-chip clock generator circuit
10. Interrupt function
External interrupt 1
Timer interrupt 1
11. 8 bits AID conversion
12. Internal divider (1150 or 1160)
13. High voltage outputs (-35V) 21bits (only
SM-ll1)
14. Single power supply -9V (TYP.)
15. Instruction cycle 10 ps
16. 60-pins quad-flat package
- - - - - - - - - - S H A R P .-..---------~------
49
PMOS 4-Bit1-Chip Microcomputer SM-t111SM-116
• Block Diagram
Output Port
r -____~----~--~----~----~A~----------------------------~
Analog
Input
Port
Stack
Register
(6 levels)
Control
and Judge RAM
Interrupt (192X4)
TF
IF
HF
50
PMOS 4-Bit 1-Chip Microcomputer SM-111/SM-116
• Pin Description
Pin name 110 Circuit type Function
KE 1 -KE 4 I Pull down Acc -KE 1 -KE 4
KH I Pull down HF flag set on t ; reset by instruction
KI I Pull down IF flag set on t ; reset by instruction
KT I Pull down External timer signal input (50 or 60Hz)
KC 1 -KC 4 I Analog input or Acc-KCj-KC j
P j -P 4 110 Open drain P I -P 4 -Acc
Qj-Q4 0 Mid voltage * open drain QI-Qj-Acc
R1 -R 16 0 Mid voltage * open drain R register output
ZI-ZI4 0 Mid voltage * open drain Z register output
T I For test (Connected to VI>I> normally)
ACL I Auto clear
F 0 2.5 kHz pulse output (System clock·100kHz)
1>2+ 0 Sync signal output
CLio CL 2 For clock oscillation
YR. AGND AID conversion standard power supply
VDI>. GND Power supply for logic circuit
* For SM-1l1, ZI pin only is high voltage.
---.-.-..-.--------SHARP - - - - - - - - - - - - -
51
PMOS 4.:.Bit 1-Chip Microcomputer SM-111/SM-116
l,uF/16
ACL 0---+-----,
56kO
Note 12: The time for reset of "Low" signal that is applied to the ACL terminal after supply voltage returns to rated level.
52
PMOS 4-Bit 1';"Chip Microcomputer SM-114
• Features
1.
PMOS process R20 '
2.
ROM capacity 4,064 X 9 bits AGND
3.
RAM capacity 192X4 bits
4.
Instructions 92
5.
Subroutine nesting 6 levels
6.
Input ports 8 bits
7.
Output ports 17bits
8.
Input/Output ports 24 bits
9.
Timer/counter
7-bit 1
8-bit 1
10. Interrupt functions
External interrupt 1
Timer interrupt 2
11. 8-bit A/D conversion
12. Remote control signal receiver
13. Single power supply -9V(TYP.)
14. Instruction cycle 10 ps (TYP.)
15. 60-pin Quad-flat package
54
PMO$4-Bit 1-Chip Microcomputer SM-11~/SM-116 '
• Appli~a:tions
1. Microwave oven controllers
2. Blood pressure monitors'
3. Controllers for home applia,nces and audio
equipment
I I I / ' ,-,,-,I
LII "LlU
Vuu
Key matrix
0---
I
}-..e---\Zs
CL2r-+-~~~-+-,
I
I
I ACL IE--.--IIM---'
I
'-------:---.>-IKE 4
lkO
VI>I)I---1'--~-o-9V
\
'---------~KEI
SO/60Hz GNDf---+'-----.
signal----1o---+I
AGND
53
PMOS 4-Bit 1-Chip Microcomputer SM-114
• Block Diagram
.
Input' Output Port
Output
Port ,
ALV : Arithmetic logic unit PC Program counter RCV Remote control unit
A .... : Accumula tor Stack register of program counter D/A D A converter
SR
ACL : Auto clear
SP Stack pointer COMP Comparator
C : Carry F F
CY : Over flow F F INT Interrupt control unit DIV Divider
B : RAM address register CG Clock generator VR Reference Voltage
------~.--SHARP.-----~--.-..---
55
PMOS.4-Bit 1-Chip Microcomputer ·SM-H4
• Pin Description
Pin name 110 Circuit type Function
KC o -KC:1 I Analog input or Acc-KCo-KC:l
KL I Pull down* .' For optical remote control circuit
KI, KH I Pull
. *
down. IF, HF flag set on t -.
KT I Pull down* • External timer signal input
PO-P:l
QO-Q3 110 Open drain/Pull down * Acc-
!PO""'P:l
QO-Q:l RO, R1, R3-RAM
RO(;-R3:1 RO,R1,R3
ZO-ZI5 0 Open dra{n/Pull down * Can be set, reset individually
F 0 Sound output
TA,TB I Pull down For test (Connected to VDD normally)
ACL I Auto clear
~ 0 System clocj{ output
CLl> CL 2 For clock oscillation
VR, AGND A/D coversion standard power supply
Voo , GND Power supply for logic circuit
* Mask option
56
PMOS 4-Bit 1-Chip Microcomputer SM-114
Ratings
Parameter Symbol Conditions Unit Note
MIN. TYP. MAX.
VIHI -1 V'
1
VILl Voo +1 V
VIII2 -2 V
Input voltage 2
VIL2 Voo +1 V
VIII :l -0.8 V
3
VIL:l Voo +1 V
VOH! lo=-2mA -1 V
4
VaLl 10=20 pA Voo +1 Voo +1.5 V
OutJ'Ut voltage
VOH2 Io =-2rnA -1 V
5
VOL2 RL =50kO Voo +1 V
Inll VIN=OV 180 pA 6
Input current
IR VR =-5V 500 900 pA 7
Current consumption 100 20 rnA 8
Oscillator frequency fose 400 kHz 9
AID conversion linear error V R =-5V ±3 LSB
AID conversion zero error VR =-5V ±3 LSB
AID conversion full scale error VR =-5V ±3 LSB
Note 1: Applied to pins
RO:l-ROo, RIa-RIo, R2:l-R20, R3:l-R30, POI-PO, Q:l-Qo
Note 2: Applied to pins
KI, KH, KL, KT
Note 3: Applied to KC:.- Keo (when used as a digital input), ACL.
pins
Note 4: Applied to pins
RO:l-ROo, Rl:!-RIo, R2:l-R20, R3:l-R30, POI-PO, Q:l-Qo, Z,,-Zo, F
(when an internal pull-down resistance is attached to R, P, Q, and Z)
Note 5: Applied to pins RO:l-ROo, Rl:!-RIo, R2:l-R20, R3,,-R30, P,,-Po, Q:l-Qo, ZI'-ZO
(when an internal pull-down resistance is not attached).
Note 6: Applied to pins RO,,-ROo, Rl:!-RIo, R2,,-R20, R3:I-R30, P,,-Po, Q,,-Qo, KI, KH, KL, KT
(when an internal pUll-down resistance is attached)
Note 7: Applied to pin V. (current folwing into ladder resistance for AID conversion)
Note 8: Measured in no-load condition_
Note 9: Externally connected to oscillation circuit
Rr=lMO
CI = 220pF
C2=220pF
57
PMQS, 4-Bit 1-Chip Microcomputer . SM-:-114
----:----1Rl, ZlS.-------,
I
P3 k - - - - '
------I RIo P2i------'
....---.---IR0 3 Pli-------~
Control signals I Po~-----~---'
--......c.--IRO o
+-:--:---IQ3 KTt+---
KI t - - - - } Sensor input 1
I
KHk----
------IQo
-------IF KC 3 }
Optical remote ~ \ Sensor input 2
control input o------IKL KColE---- (analog input)
, - - - - - - - 1 AGND
.------IGND
TB
TA V»»
C+-~- 1:~
To VDD
56k!l ,--1_M_!l-4_ _
220pF I
58
PMOS 4-Bit 1-Chip Microcomputer SM-120
• Features
1. PMOS process
2. ROM capacity 1,536 X 8 bits
3. RAM capacity 64 X 4 bits
4. Instructions 54
5. Subroutine nesting 2 levels
6. Input ports 9 bits
7. Output ports 26 bits
8. External ROM expandable (512 X 8 bits)
9. On-chip clock generator circuit
10. Internal 17-stage divider with reset (timer cir-
cuit)
11. Alarm sound generator circut
12. High voltage outputs (-38V) 19 bits
13. Single power supply -9V (TYP.)
14. Instruction cycle 10 p.s
15. 44-pin quad-flat package
59
PMOS 4-Bit 1-Chip Microcomputer SM-120
• Block Diagram
Port
Input Port
'--v-" Voo
GND
Symbol description
ALU Arithmetic logic unit SRI, SR, Stack register of program counter
Ace Accumulator DIVo, DIVI, DIV2 Divider
ACL Auto clear CG Clock generator
PC Program counter H,L RAM address register
60
PMOS 4-Bit 1-Chip Microcomputer SM-120
• Pin Description
Pin lIO Type of circuit Function
P IO -P I3 I Pull down Aee-PlO-PI3
P 2O -P 23 I Pull down Aec -P 20 - P 23
PI I Pull down PI flag set by t, reset by command
BIO -B I3 0 Pull down BlO-BI3+-Ace
R 0 Pull down Possible to set, reset, or CE signal output
0 0 Pull down Possible to set and reset
Display segment signal output or internal ROM
So-5 7 0 Open drain
data output
0 0-0 10 0 Open drain Display digit signal output
F 0 Pull down Alarm sound output
T I Pull down For test
ACL I Pull down Auto clear
OSCIN, OSCOUT Clock oscillation
VDD, GND Power source for logic circuit
• Operating Conditions
P¥ameter Symbol Specified value Unit Note
Supply voltage V DD -8.1--9.9 V
Oscillator frequency fose 300-800 kHz 5
Note 5: Frequency supplied to aSCIN Pin.
61
......-.-....-:--,..-..-.-.-.-.-.-..-.-....... -
PMOS4-Bit1-Chip Microcomputer
;~---
'SM-120
• Applications
1. VTR timer
2. Electronic home appliance controller
3. Game machine
r-------------~-- --------------
27kO 27kO lOkO IOkO
Power for display Crystal -36VO--"I/VIr-T
-36V 524.288kHz -36V
2.2kO 470pF
~--+--IDo Sot---~+-+I Ao
SM-120 ( Ll2048
) (Dot matrix driver)
I
I
I
I
--------6
Key matrix
---.-------SHARP.-.--...-.----
63
.....----. ~-- -
..... ....................,,----..........,..... -
SM:..200
computer with 3,072X9 bits of ROM, 132 words of 22 r... d: rE d: ~ ~ rE ~ ~.:2~ ll~'
RAM, automatic display circuit, and a 16-stage
OSCIN"
divider. It is well suited for low cost systems re- SCOUT 7
qlliring many 110 control ports. CT 8
aD
• Features
1. NMOS process
2. ROM capacity 3,072 X 9 bits
3. RAM capacity 128X4+ 16 bits
4. Instructions 100
5. Subroutine nesting 3 levels
6. Input ports 10 bits
7. Output ports 37 bits Top View
8. Input/Output ports 4 bits
9. Enable 8 bits parallel input/output
10. Externally ROM/RAM expandable
11. External interrupt function
12. Internal 16-stage divider ·with reset
(timer circuit)
13. Serial interfaces 8 bits
14. On-chip clock generator circuit
15. Single power supply 5V (TYP.)
16. Instruction cycle 10 p.s
17. 60-pin quad-flat package
64
NMOS 4-Bit 1-Chip Microcomputer SM-200
• Pin Description
Pin I/O Type of circuit Function
Ko-K 3 I Pull down ACCI-Ko-Ka
1. I Set by t, reset of after test instruction execution
h I Internal clock period type, test possible
CT I Open For pulse count per unit time
Pull down ACCI-PIO-PI3, Instruction code input for external
P IO -P I3 I
ROM
Acc2-P20-P2:j, Instruction code input for external
P 2O -P 23 I/O Pull down for input
ROM data transter from/to RAM for external RAM
Set, reset by instruction; chip select for external ROM
RW 0
Connected to RW pin for external RAM
Set, reset by instruction; Instruction code input for
OD 0
external ROM; connected to OD pin for external RAM
Eo-E 3 0 Eo-E3-Accl
BIO -B I3 0 BlO-BI3-Accl ,
B20 -B 23 0 B2o-B23-AcC2
0 1 -0 3 0 Set, reset by instruction
Display digit signal output; Address signal output for
Do-D l l 0
external ROM, RAM
0 0 -0 7 0 Display segment signal output
F 0 Alarm sound output ,
• Operating Conditions
Parameter Symbol Specified value Unit
Supply voltage VDD 4.5-5.5 V
Oscillator frequency fosc 262.144 kHz
--------------SHARP---.----------
66
NMOS 4-Bit 1-:-Chip Microcomputer SM... 200
,...."~I1fIfIfIIII'....,,,..,~.,.,,,;•.•~~'-~"""~..tIIIIIIIII!IP....-.r~"""""""A!IIIIIIIIW
• Block Diagram
Divided
Display Segment Output Display Digit Output
r - __________ ~A~ ____________ ~
Osci- { 46
Bator 47
Pulse
Input
Asynchronous
Input
Symbol description
ALU : Arithmetic logic unit CG : Clock generator
Acc,. Acc2' : Accumulator DIV : Divider
ACL : Auto dear H.L : RAM address r,!'gister
C : Carry F/F SD : Segment decoder
PC : Program counter DD : Digit decoder
SR,. SR2. SR3 : Stack register of program counter X.Y : Temporary register
65
NMOS 4-Bit 1-Chip Microcomputer SM-200
• Applications
1. General·purpose program timer 6. Copy machine controller
2. Controllers for electronic home appliances, 7 . Vending Machine
Audio equipment, Office machines 8. Radio cassette tape recorder and PLL controller
3. Door chime, Home security system 9. TV remote control and channel controller
4. Hand-held calculator with printer
5. Cash register
- - - - - - - - - S H A R P -----.-.---------.-..-.-
67
~I • 'I·~·'
-I
;;;: ;;;: en
~ ~;;;: >ri en
I "" _....,c:: }Key input '<
en
d
CD
MK output 3
I FU output (2)
:::0
~
oo
-...
::::J
I I~
E2 t----->-
(Output level reverses on each FU input) "-
;;;: cO'
EI I - - MT output c::::
'0-"
I FU output OD
INT
Eo
03
02
PC5 output Melody output
Radio ON/OFF
~
'"~.
~
o
::::J
...,
I o~
II
g.
I DC
+ 5V output
77r
Counter control
VDD
RW
J2
SM·200
01
B23
o
....
s
E.
I
B22
I
K3 K2 KI
A JI
ACL
Dl1
Dlo
B21
B20
BI21MUTE
ON/OFF SQ r'l'1' '"'
-5'
~
....
'0
oC/)
Cb
'I
~ 'og."'
D9 Bl1
~
DB
D, (GND)
BIO
s, P L L shift register term inal
....
2. I
I
. il6 il6 D. il6 n, DI il6 Vss 80 81 82 83 8. 85 86 :;;
.:::!-.
I
I
I
I
II
I I
I I
I
I U
CMOS 4:-Bit 1-Chip, Microcomputer SM-4A
• Features
1. CMOS process
2. ROM capacity 2,268 X 8 bits
3. RAM cap~city 96 X 4 bits
1 2 3 4 5 6 7 I! 9 1 11 1 13 41
4. Instructions 54
5. Subroutine nesting 1 level
....
0000:':
SSSS
M N ...... ~ c:tl.Q N ~ ..,. z
z:'::'::':U'
" C/lU
5'"''"'
r- ... N
- . - . - - - . - - - S H A R P ........ .-..---~---
69
CMds 4-Bit 1-Chip Microcomputer . SM-4A
..............................._ .........,.............AIIIIiiIIIiF.....'...._ . ....""....
• Block Diagram
Segment Output
r-___________________________________ ________________________________
~A~ ~
Segment
Output
Segment
Output
'---v--" '-v-'~ ~~
I/O Port Asynchronous Input Port Oscillator Test
Input
Symbol description
ALU : Arithmetic logic unit BM. BL : RAM address register
AI'c : Accumulator DIV : Frequency divider
ACL : Auto clear PLA : Programable logic array
C : Carry F/F CG : Clock generator
Cx. CA. Pu. PL : Program counter WI-W,. Wl';...W. : Static shift·register
Cs. SUo SL : Stack register of program counter
70
CMOS 4-Bit 1-Chip Microcomputer SM-4A
• Pin Description
Pin 110 Type of circuit Function
K1 -K 4 I Pull down Acc+-K l -K 4
a I Pull down Set by t, reset after test instruction execution
f3 I Pull down Input signal is held for 1 instruction, test possible
DIO I -DI0 4 110 3-state output Acc-DIO I - DI0 4
Rl -R 4 0 Complementary Rl -R 4 +-Acc
01l-048 Output of Wand W' registers' content; used for LCD
0
OSlo OS2 segment output
3-state level output possible, used for LCD common
Hb H2 0
output
BA I Pull up For low voltage detection circuit
Tlo T2 I For test (usually connected to V00)
ACL I Auto clear
OSC lN , OSC OllT For clock oscillation
VM Power supply for LCD driver
GND, Voo Power supply for logic circuit
• Operating Conditions
Parameter Symbol Specified value Unit
Supply voltage Voo -3.2--2.6 V
Supply voltage VM Voo/2 (TYP.) V
Oscillator frequency fose 32.768 (TYP.) kHz
'-'-~-----"'--'--SHARP -----..--,-~----..--~
71
CMOS 4-Bit 1-Chip Microcomputer 'SM-4A
72
CMOS 4-Bit 1-Chip Microcomputer SM-4A
• Applications
1. Hand-held calculator with clock function
2. High-quality clock
3. Cash register
4. General-purpose timer
5. Electronic scale
6. Game machine
7. Vending machine
8. Controllers for electronic home appliances
and audio equipment
LCD
046---~
045---~
04'---~
043-----;~
O.2-----;~
038--~
.-.----------SHARP-.-.-------
73
.---....--.... ........
CMOS 4-Bit 1-Chip Microcomputer
-...., .-- -.".-~
.. ....- ....-
/' SM-SA
• Features
1. CMOS process
2. ROM capacity 1,827 X 8 bits
3. RAM capacity 65 X 4 bits
4. Instructions 51
5. Subroutine nesting 1 level
6. Input ports 6 bits
7. Output ports 42 bits
8. On-chip 15-stage divider with reset·
(timer circuit)
9. Direct LCD driver circuit
(3V, 112 duty, 112 bias and 72 segments
MAX.)
10. On-chip crystal-controlled oscillator
(32.768kHz)
11. Standby mode (10 pA current consumption)
12. Single power supply -3V (TYP.)
13. Instruction cycle 61 ps
14. 60-pin quad-flat package
74
CMOS 4-Bit 1-Chip Microcomputer SM-5A
• Block Diagram
Segment ______________________
r -____________________ Output
--JA~ ~
Segment
Output
fl 5
. Segment
Output
,)-------{23 22:)-------------'
~ '--v---' ~ '--v--'
Output Asynchronous Input Port Oscillator
Port Input
Symbol description
ALU : Arithmetic logic unit CF : Carry F/F
Acc : Accumulator CA, CB, Pu, PL : Program counter
CG : Clock generator Cs, Su, SL : Stack register of program counter
ACL: Auto clear WI-W4, WI' -W4' : Static shift register
DIV : Frequency divider BM,BL : RAM address register
C : Carry flag
75
-~ ............... .. ...... .......... .. .... .. ..... ..........
CMOS 4-:-Bit 1-Chip MicrOComputer
~ ~ ~ ~ ~ ~ ~ ~
SM-5A
• Pin Oescription
Pin I/O Type of circuit Function
K1 -K 4 I Pull down Acc-K 1 -K 4
a ,{J I Pull up Independent test possible
0 11 -0 48 Output of cont!!nts of Wand W' registers; used for out-'
0
OSI-0S4 ,put oLLCD segment
3,-state, level output possible; used for LCD common
H},H2 0
output
- -
R1 -R 4
R 1 -R 4-Acc, R 1 --·,Control output or alarm sound
0
output
Tp I For test (usually open)
T}, T2 I For test (usually connected to GND)
ACL I Auto clear
,
OSCIN, OSCOUT For clock oscillation
VM Power supply for LCD driver
Voo• GND Power supply for logic circuit
• Operating Conditions
Parameter Symbol Specified value Unit
Supply voltage Voo -3.3--2.7 V
Supply voltage VM Voo/2 (TYP.) V
Oscillator frequency lose 32.768 (TYP.) kHz
~ -----VOH
Note 5: Applicable pins ~I,..QS'!......O~ OSI, all ----------VOA
Note 6: Applicable pins RI, R2, R:l, RI
Note 7: Applicable pins HI, H2
Note 8: Mean current consumption at 32.768 kHz ------Voc
Note 9: Oscillating circuit constant
• Oscillator circuit
---'--------SHARP------....-.--
77
CMOS 4-Bit 1-Chip Microcomputer SM-SA
• Applications
1. Hand-held electronic calculator with clock
2. High-quality clock
3. Cash register
4. Hand-held electronic culculator with printer
5. pas terminal
6. Electronic scale
7. Game machine
8. Vending machine
9. Controller for electronic home appliances and
audio equipment
AMI D·DD
PM U'UU
LCD
r---'-~-"------'--"""32.768kHz 20pF
0" OSConJ-....,..--i
Piezoelectric buzzer =
Left Right
-------~------SHARP----.-----
78
CMOS 4-Bit 1-Chip Microcomputer SM-5L
• Features
1. CMOS process
2. ROM capacity 1,827 X 8 bits
3. RAM capacity 65X4 bits
4. Instructions 51 100 '"
5. Subroutine nesting 1 level ooooooozooooooo
.... .., In In It) IJ') \CO ID t-- r-- l'- I'-
79
CMOS 4-Bit ~1-Chip M i c r o c o m p u t e r ' SM:~5L
' ..................................... ----~ .................,...........................
• Block Diagram
Segirient ______________________
r -____________________ Output
~A~ ~
Segment
Output
80
CMOS 4-Bit 1-Chip Microcomputer SM-5L
• Pin Description
Pin I/O Type of circuit Function
K1 -K 4 I Pull down Acc+-K 1 -K 4
a,p I Pull up Independent test possible '
0 11 -0 48 Output of contents of Wand W' registers; used for out-
0
OSI-0S4 put of LCD segment
3-state level output possible; usep for LCD common
HI> H2 0
output
- - R 1 - R4+- Ace, RI "'Control output or alarm sound
RI -R 4 0
output
Tp I For test (usually open)
TI> T2 I For test (usually connected to GND)
ACL I Auto clear
OSC IN , OSCOUT For clock oscillation
VM Power supply for LCD driver
VDD , GND Power supply for logic circuit
-"'-''--~''''''''---SHARP'-~---~---
81
CMOS 4-Bit 1-Chip Microcomputer SM-5L
wJ'
OSC" OSCOt:T
1rlDi~1 1 er :1:.,
Cc
-----------SHARP - . - - - - - - - - - - -
82
CMOS 4-Bit 1-Chip Microcomputer SM-5L
• Applications
1. Digital watch
2. Game machine
3. Controller for electronic home appliances and
audio equipment
4. Hand -held electronic calculator with clock
• System Configuration
LCD
~tt==~---------
I r- DC voltage
.-t-±",-"""-1cutout O.02}lF
.--...J.._--....:.....-.1.---,Crys~al 22 pF
HI aj; (36 lines) aSCol'TH-l11---.
22 pF
H2 ascI~ '--'---R~
Rt ACL
SM-5L
VDD
Key matrix
- - - - . -.......... ------SHARP--~--------
83
CMOS 4-Bit 1-Chip Microcomputer SM-SOO
. . . . .. - . -_ _ _ _ _ _ _. . . .. -. . . .. - . -___ ~_~ _ _............._r......
ose""
• Features VillI
K.
1. CMOS process
K.
2. ROM capacity 1,197X8 bits K2
3. RAM capacity 40 X 4 bits
4. Instructions 52
<5 <5 ci! c>: c>: Ii ~ I... 0>. ~ d ~
5. Subroutine nesting 1 level " <
6. Input ports 6 bits Top View
7. Output ports 26 bits
' 8. Input/Output ports 8 bits
9. On-cp.ip 15-stage divider with reset
(timer circuit)
10. Direct LCD driver circuit (3V, 112 duty, 112
bias and 56 segments MAX.)
11. On-chip crystal controlled oscillator
(32.768kHz)
12. Standby mode (3 pA current consumption)
13. Single power supply -3V (TYP.)
14. Instruction cycle 61 ps
15. 48-pin quad-flat package
84
CMOS 4-Bit 1-Chip Microcomputer SM-500
• Block Diagram
Segment Output
ROM
(1,197 X8) I/O Port
-..-.---------SHARP-----------
85
CMOS 4-Bit 1-Chip Microcomputer 8M-500
• Pin Description
Pin I/O Type of circuit Function
K1 -K 4 I Pull down Acc+-K 1-K 4
a,f3 I Pull up Independent test possible
Output of contents of Wand W' registers or input/out·
0 11 -0 41 I/O
put to/ from KF register
Output of contents of Wand W' registers or i.nput/out·
. OSI-OS4 110
put to/from Ks register
Output of contents of Wand W' registers; Used for
0 12 -0 46 0
LCD segment output
3·state level output possible; used for LCD common
HI> H2 0
output
R1 -R 4 0 R1-R 4-Acc
T I Pull up For test (usually connected to GND)
ACL I Pull down Auto clear
OSCIN , OSCOUT For clock oscillation
VM Power supply for LCD driver
Voo, GND Power supply for logic circuit
• Operating Conditions
Parameter Symbol Specified value Unit
Voo -3.3--2.7 V
Supply voltage
VM V00/2 (TYP.) V
Oscillator frequency fose 32.768 (TYP.) kHz
'-'-~'---------SHARP ...--...--,.--------
86
CMQS 4-Bit1-Chip Microcomputer SM-SOO
U _______::::
-u-J"C.--.====~=
Note 4: Applicable pin ACL
Note 5: Applicable pins a, p
Note
Note
Note
6: Applicable pins HI, H2
7: Applicable pins Oi, (i= 1-4, j=2-6)
8: Applicable pin Oll -041, OSI -051
- IL
• Oscillator circuit
Voc
c~fD~'"
Note 10: Applicable pins Rz, R3, R,
Note 11: Current consumption under no load conditions at fosc=32.768kHz
'-'-~-------""--'----SHARP ---~-----
87
....,-.........,
.
• . Applications
~-.....
OMOS 4-Bit l-Chip Microcomputer'
...................--....,-......
1. Digital watch
2. Game machine
3: pas terminal
4. Electronic scale
5. Controlle~ for electronic home appliances
and audio equipment
12 H/24 H Cl-----i
KI~---------------'
K,!E-------------,
K31E-------,
1-----IOSC0 1:T K.
22pF /3 R, R3 R. OSI OS2 a", 0 54
For
control
Mode switch
88
CMOS 4-Bit 1-Chip Microcomputer SM-510
• Features
L CMOS process
2. ROM capacity 2,772 X 8 bits
3_ RAM capacity 96X4+32X4 bits
4_ Instructions 49
5. Subroutine nesting 2 levels
6_ Input ports 6 bits
7_ Output ports 47 bits
8. On-chip 15-stage divider with reset
(timer circuit)
9. DirectLCD driver circuit (3V, 1/4 duty, 1/3
bias and 132 segments MAX.)
10. On-chip crystal controlled oscillator
(32.768kHz)
1 L Standby mode (10 pA current consumption)
12. Single power supply -3V (TYP_)
13. Instruction cycle 61 ps
14. 60-pin quad-flat package
~~-------SHARP"-------""'-~--""
89
CMOS 4-Bit 1-Chip Microcomputer SM-510
• Block Diagram
~ Seliment
________________________ ~A~Output
________________________~
Display RAM
(32X4)
RAM
(96X4)
Segment
Output
Parallel
Output
Port
- , - - - - - - - - - - - - - - S H A R P , - - . - . '......... ------------'"......-
90
CMOS 4-Bit 1-Chip Microcomputer SM-510
• Pin Description
Pin I/O Type of circuit Function
K I -K 4 I Pull down Acc-K I -K 4
SA, PIN I Pull up Independent test possible
aI-aIS, b I -b I6 Output of contents of display RAM as LCD segment
0
bs signal
4-state level output possible; used for LCD common
HI -H 4 0
output
SI- S8 0 Output of contents of W register
Rr. R2 0 For piezo-electric buzzer direct drive
T I For Test (usually connected to V00)
ACL I Pull down Auto clear
OSCIN, OSCOUT For clock oscillation
Voo, GND Power supply for logic circuit
• Operating Conditions
Parameter Symbol Specified value Unit
Supply voltage Voo -3.2--2.6 V
Oscillator frequency fose 32.768 (TYP.) kHz
--~------SHARP'--~---~--
91
GMQS:4-Bit 1-Chip Microcomputer
• AppHcations
1. Hand-held electronic calcuator with multi-digit
display and clock
2. High-quality clock:
3. Handy game machine'
4. Equipment that. need mUltiple LCD display seg-
ments
LCD
DC voltage cutout
O.02.uF
15pF
SM-510
Piezoelectric
5,
buzzer
88
'-----y----'
Key matrix'
92
CMOS 4-Bit 1-Chip Microcomputer SM-511
• Features
1. CMOS process
2. ROM capacity 4,032 X 8 bits
3. RAM capacity 96X4+32X4 bits
4. Instructions 55
5. Subroutine nesting 2 levels
6. Input ports 6 bits
7. Output ports 47 bits
8. On-chip 15-stage divider with reset
(timer circuit)
9. Melody generator circuit
10. Direct LCD driver circuit (3V, 1/4 duty, ~
1/3 bias and 136 segments MAX.)
11. On-chip crystal controlled oscillator
(32.768kHz)
12. Standby mode (10 pA current consumption)
13. Single power supply - 3V (TYP.)
14. Instruction cycle 61 ps
15. 60-pin quad-flat package
~-------SHARP----'----'---------
93
I
GMOS4-Bit 1-Chip Microcomputer . . . . . .'. SM-511
.-......~~.-._~.-.~~~.-...-..r~~~~~ I,
• Block Diagram
Segment Output
r-------------------------J~~------------------------~
Display RAM
(32X4)
RAM
(96X4)
Segment
Output
Parallel
Output
Port
12 13 14 15
Test '--y---' ACL Input '--y--I Voo '-y--.I Input Melody~
Parallel GND Osci. Output Segment
Input lIator Output
Port
Symbol description
ALU : Arithmetic logic unit W : 8·bit shift register
Acc : Accumulator BM, BL : RAM address register
ACL : Auto clear Bp : Backplate signal generator circuit
C : Carry F/F H, L, X, Y : 4·bit F/F
Pu, PM, PL : Program counter K : Key input F/F
Su, SM, SL : Stack register of program counter CG : Clock generator
Ru, RM, RL : Stack register of program counter
DIV : Frequency divider
94
CMOS 4-Bit1-Chip Microcomputer
• Pin Description
Pin 110 Type of circuit Function
KI -K 4 I Pull down Acc+-K I -K 4
BA, {3 I Pull up Independent test possible
al-aI6, Output of contents of display RAM as LCD segment
0
b l -b l6 signal
bS I 0 LCD segment or LCD flashing output
bS2 0 Input of X register contents as LCD segment signal
4-state level output possible ; used for LCD common
HI -H 4 0
output
Sl-SS 0 Output of contents of W register
R 0 Melody output
T I For Test (usually connected to VDD)
ACL I Pull down Auto clear
OSC IN, OSC OUT For clock oscillation
VDD , GND Power supply for logic circuit
• Operating Conditions
Parameter Symbol Specified value Unit
Supply voltage V DD -3.2--;-2.6 V
Oscillator frequency fose 32.768 (TYP.) kHz
---.-..-.-------SHARP . - . - - - - - - - - - - - -
95
...........
•
----.....
CMOS'4-Bit 1-Chip Microcomputer
Electrical Characteristics
.-- ............. .-~--. ..................................
SM-'511
~-----~---~SHARP .....--....-.--....-.-.--~
\ . .
96
CMOS 4-Bit 1-Chip Microcomputer SM-511
• Applications
1. Hand-held electronic calculato'r with multidigit
display and clock
2. Hand-held electronic calculator with function
calculation capability
3. Hand-held game machine
4. Equipment that need multiple LCD display seg-
ments
• System Configuration (for melody alarm, watch, and hand-held electronic calculator with game func-
tion)
LCD
DC voltage cutout
O.02JlF
Crystal
32.768 kHz
OSCOl'T I-~--I
General {
purpose output 15pF
SM-511
...------1 S3
R Piezoelectric
buzzer
'---v------I
Key matrix
97
CMOS 4-Bit 1-Chip Microcomputer SM-520
. '1 ~ ,
·. . . . .~~~~.-.~.....,. . . .. - . . . . ,...............,AIiIIIiIIIIr.-'~. . . . .
- '
P 7
PE
• Features
MP3 I
1. CMOS process
2. ROM capacity 3,072 X 10 bits
3. RAM capacity 160 X 4 + 16 X 2 bits
(including 16 X 2 bits for display)
4. Instructions 93
5. Subroutine nesting 4 levels
6. Input ports 8 bits
7. Output ports 37 bits
8. Input/Output ports 8 bits
9. On-chip 15-stage divider with reset
(timer circuit)
10. External interrupt function
11. External RAM expandable (1,704 X 4 bits)
12. Clock generator circuit
13. On-chip crystal controlled oscillator
14. Standby mode (50 f.1-A current consumption)
15. Single power supply -5V (TYP.) Top View
16. Instruction cycle 11 f.1-s
17. 64-pin dual-in-line .package
98
CMOS 4-Bit 1-Chip Microcomputer SM-520
• Block Diagram
Digit
and
Input { 7
External
RAM
Osci-
Bator
{2 Address
Output
Input { 9
Segment
Output
~------~v~------~
Register Output I/O Port
Symbol description
Acc : Accumulator DB, DP : Registers for automatic display use
ALU : Arithmetic logic unit W;j : Shift register
PC : Program counter 10 : DID control F/F
SR : Stack register C : Carry F/F
BM, BL : RAM address counter SD : Segment decoder
SB : RAM address counter stack IF : Interrupt flag F/F
X, SX : Temporary registers E : Interrupt mask F/F
ST : T output control register DIV : Divider
TC, J! : Counters for automatic display use CG : Clock generator
99
G,MOS 4-Bit 1-Chip Microcomputer
• Pin Description
..
Pin I/O Type of circuit Function
KE 1 -KE 4 I Pull down Acc+-KEI - KE4
a, f3, PE, Q 1 I Pull down Test possible by separate input
DI0 1 -DI0 4 I/O Pull down Acc-DI0 1 - DI0 4
MG register output, on-the-way stage signal output o~
MP 1 -MP4 I/O
dividei- o~ Acc+- MP,- MP.
To-TIl 0 Digit signal or external RAM address signal output
R1 -R IO 0 W register content output
SI-S9 0 Segment signal output ,
F I -F 5 0 Can be set or reset independently
Q2 0 Can be set or reset .
TEST l TEST z I Pull down For test (usually connected to VDO)
ACL I Pull down Auto clear
Rf, Cf For system clock oscillator
OSCIN, OSCOUT For clock oscillator
Voo , GND Power supply for logic circuit
• Operating Conditions
Parameter Symbol Conditions Specified value Unit Note
-5.5--4.5 V
Operating voltage Voo In "Low" clock -5.5--3.5 V· 4
Note 4: When the clock frequency (c is lowered to 118 of that in normal operation
.,
CMOS 4-Bit1-Chip Microcomputer SM-520
101
............................. ..._..._.............................................
CMOS 4-Bit 1-Chip Microcomputer
.-:
SM:"S20
• Applications
1. Cash register
2. Hand·held electronic calculator with printer
3. Electrical copy machine
4. Microwave oven
5. Vending machine
6. Game machine
7. POS terminal
8. Electronic scale
9. Controller for electronic and electric home
appliances
U ~~;::::+;=~~--o-30V
lkO
SM-520
OSCH 1
1000
lkO
+5V
lkO
~
Input signals
102
CMOS 4-Bit 1-Chip Microcomputer SM-525
• Features
1. CMOS process
2. ROM capacity 3,072 X 10 bits
3. RAM capacity 168X4 bits
(including 16 X 2 bits for dis-
play)
4. Instructions 93
5. Subroutine nesting 4 levels
6. Input ports 8 bits
7. Output ports 37 bits
8. Input/Output ports 8 bits
9. High voltage outputs (- 30V) 21 bits
10. On-chip 15-stage divider with reset
(timer circuit)
11. External interrupt function
12. External RAM expandable (1,704X4 bits)
13. Clock generator circuit
14. On-chip crystal controlled oscillator
15:Standby mode (50 Jl-A current consumption)
16. Single power supply -5V (TYP.) Top View
17. Instruction cycle 11 Jl-S
18. 64-pin dual-in-line package
'-~------SHARP---'---""'-'-''-
103
CMOS A-Bit 1-Chip Microcomputer. , SM ..525
................-.......... .-~.-.-.- .....................-.-:__,.IIIIiI.
• Block Diagram
Digit and
External
RAM'
Address
Output
RAM Address
Decoder
Segment
Output
y
Register Output
Symbol description
Ace : Accumulator DB,DP: Registers for automatIc display use
ALU : Arithmetic logic unit W,' : Shift register
l'C : Program counter DIO : DIO control F F
SR : Stack register C : Carry F F
B\I,BI.: RAM address counter SO : Segment decoder
SB : RAM address counter stack IF : Interrupt £lag F/F
X,SX : Temporary registers E : Interrupt mask F IF
ST : T output control register DIV : Divider
TC, £ : Counters for automatic display use CG : Clock generator
104
CMOS 4-Bit 1-Chip Microcomputer SM-525
• Pin Description
Pin name 110 Circuit type Function
KE I -KE 4 I Pull down Acc-+KEI - KE4
a, {J, PE, QI I Pull down Can be tested on individual input
010 1 -010 4 110 Pull down Acc +-+ 010 1 -010 4
MG register output or
MP I -MP 4 110 divider middle stage signal output or
Acc +- MP I -MP 4
To-T l l 0 Digit signal or external RAM address signal output
RI-R lO 0 W register output
SI-S9 0 Segment signal output
F I -F 5 0 Can be set or reset individually
Q2 0 Can be set or reset
TEST,TEST 2 I Pull down For test (Connected to V~)D normally)
ACL I Pull down Auto clear
Rf, Cf For system clock oscillation
OSC IN , OSC OliT For clock oscillation
Voo, GND Power supply for logic circuit
~TEST/V"
r19V
(Example of circuit with V PR externally attached)
_....-..-.-_.-.--$HARP - - - - - - . - - - - - - -
105
C~OS 4-Bit 1-Chip Microcomputer SM-525
pJ'
C
r
R=82kO Cl=330pF Rl=200kO
C=15pF C2=150pF CG=lOpF
Rl=lMO Co=33pF
• When a ceramic oscillator is used, the operating Crystal: KF-38G
voltage VDD is limited to -5.5 to -4.5V. R2 =5600
• Oscillation starting voltage becomes larger than the Ceram ic oscillator : KB R - (made by Kyocera Corp.)
CR oscillation. , (made by Kyocera Corp.)
~'-''---'---SHARP------'-'~-'--~
106
CMOS 4-Bit 1-Chip Microcomputer SM-525
M 8.2V
U~
Fluorescent tube display
~~---r~:f::~::~::~:;::~C:::::::::::~---------o-30V
IkO IkO
SM-525
OSCOCT
KE, - KE, DIO, - DIO, F, - F; MP, - MP. GND OSC"
Crystal
s.... --- S
....
c: ___ S
"'...." ""
00
32.768kHz
~ ~
Input signals ' - y - I Input signals
Control signals
1000
lkO
+5V
Key matrix
lkO
'----y---'
Input signals
.----.-...-.------'--SHARP ----------....-.-----
107
CMQS 4-Bit 1-Chip .Microcomputer •. SM~530
• Features
1. CMOS process
2. ROM capacity 2,016X8 bits
3. RAM capacity 64 X 4 + 24 X 4 bits
4. Instructions 49
5. Subroutine nesting 1 level
6. Input ports 8 bits
7, Output ports !i8 bits Top Vi~w
8. Timer/Counter
(On-chip 15-stage divider with reset, 10-
second counter and 11100-second counter) /
9. Direct LCD driver circuit (3V, 112 duty, 112
bias and 96 segments MAX.)
10. On-chip crystal controlled oscillator
(32.768kHz)
11. Melody generator circuit
12. Standby mode (1.5 p.A current consumption)
13. Single power supply -1.5V (TYP.)
14. Instruction cycle 91.6 p.s
15. 80-pin quad-flat package
108
CMOS 4-Bit 1-Chip Microcomputer SM-530
• Block Diagram
~
Segment Output
______________________________ ________________________________
~A~ ~
Segment
Output
ROM
(2,016 X 8)
RAM'
(4X16x4)
Pu(5) PL(6) Parallel
Output
Port
Battery
Alarm
Parallel
Input
Melody 12 Port
Output
'--v-'
Oscillator
Symbol description
ALU : Arithmetic logic unit DDC : LCD supply voltage generator
Acc : Accumulator DIV : Frequency divider
ACL : Auto clear CG : Clock generator_
C : Carry F/F BA : Battery alarm circuit
Pu. PL : Program counter BM, BL : RAM address register
Su, SL : Stack register of program counter
109
..............-.---.... .............-:-----..... -........
,
CMOS 4-Bit 1-Chip Microcomputer SM~530
-~
• PIn Description
Pin name I/O Circuit type Function
Kl -K 4 I Pull down Acc -Kl-K,j
KE l -KE 4 I Pull down Acc - KEl - KE4
OlO- 0 4B 0 Display RAM contents output as LCD segment signals
Tri-value output capability;
. Hl -H 2 0
used for LCD common output
F l -F 4 0 F l -F 4 -Acc
Sl-S4 0 Sl-S4 - Acc
So 0 Melody output
BA I For Iiatter,y alarm
Test I Pull down For test (Connected to Voo normally)
ACL I Pull down Auto clear
OSC1N, OSC OUT For clock oscillation
Voo, Vee, DDC LCD driv~ power supply
VM,GND Power supply for logic circuit
-------~--SHARP.-.-.--·------
110
CMOS 4-Bit 1-Chip Microcomputer SM-S30
~ ------- V"
------------GND
--------V,,"
eH"H2 Waveform Cc;=ISpF, C,,=22pF
e Oscillation circuit e Boost circuit
- - - - - - - - S H A R P - - - - - - -1". .-
- j""
.....
....................., ....,.....,
CMOS 4-8it 1-Chip Microcomputer
..... .............
......,~
..
~.-. ................,.........
. .. 'SM"':530
• Applications
1. Digital watch
2. Game machine
3. Digital clock
4. Controllers for home appliances and audio
equipment
5. Calculator with d9Ck
.
III
Test
FJ
"
"8 F2
i:!0 F3
"...
0 F,
~
SO
R
Key matrix
112
CMOS 4-Bit 1-Chip Microcomputer SM-531
• Features
1.
CMOS process
2.
ROM capacity 1,260 X 8 bits
RAM capacity 32 X 4 + 20 X 4 bits
3.
4.
Instructions 45
5.
Subroutine nesting 1 level
6.
Input ports 6 bits
Output ports 42 bits
7.
8.
Timer/Counter
(On-chip 15-stage divider with reset, 1/100-
second counter)
9. Direct LCD driver circuit (3V, 1/2 duty, 112
bias and 80 segments MAX.)
10. On-chip crystal controlled cscillator
(32.768kHz)
11. Melody generator circuit
12. Standby mode (1.5 p.A current consumption)
13. Single power supply -1.5V (TYP.)
14. Instruction cycle 91.6 p.s
15. 60-pin quad-flat package
------------SHARP----..-,----
113
CMOS 4-Bit 1-Chip Microcomput~r SM-531
• Block Diagram
~
Segment Output
_____________________ ____________________
A~ ~
common{ 3
Output (2)----...r--"'L---~---...;;;..;...-------r----'
Segment
ROM Output
DDC (1.260xS)
RAM
(2X16X4)
PutS) PL(6)
Parallel
\ Input
Port
Melody { 9
Output 'ID
114
CMOS 4-Bit 1-Chip Microcomputer SM-531
• Pin Description
Pin name 110 Circuit type Function
K1 -K 4 I Pul1 down Acc - K I -K 4
KEh KE2 I Pul1 down Acc - KEh KE2
0 10 -0 49 0 Display RAM contents output as LCD segment signals
Tri·value output capability;
Hh H2 0
used for LCD common output
SOh S02 0 Melody output
Test I Pul1 down For test (Connected to VM normal1y)
ACL I Auto clear
OSCIN, OSCO\JT For clock oscillation
VDD , , Vee, DOC LCD driver power supply
V M, GND Power supply for logic circuit
.-----------SHARp.-..--------....-.
115
CMOS4-Bit 1-Chip Microcomputer SM"531
~---------
--------------GND
Note 8: Applied to pin VOD
Note 9: Applied to pins 0" (i= 1-4, j=0-9) V~I
Note 10: Applied to pins HI, H2
------------ VIlIl
Note 11: Applied to pin DOC
Note 12: Applied to pin Vc
Note 13: Applied to pins Sal, SO, • Oscillation circuit, Boost circuit
Note 14: (::urrent consumption at 32.768kHz
Note 15: Oscillation circuit constant CG=15pF, Co=22pF
~---'--'---'-----SHARP .-------------,---
116
CMOS 4-Bit 1-Chip Microcomputer SM-531
• Applications
1. Digital watch
2. Game machine
3. Controllers for home appliances and audio
equipment
4. Calculator with clock
LCD
DC voltage cutout
O.02,uF
~~--~--~~~--,
o ij (40Iines)
15pF
1/.1F
+
SM-531 1.5 V
V,,"
DDC
Vc
ACL
ACL
----------SHARP--------
117
CMOS 4-Bit 1:"Chip Microcomputer , SM-S40
• Features
L CMOS process
2. ROM capacity 2,016 X 8 bits I Vuu 5
ALM
3. RAM capacity 128 X 4 bits
4. Instructions 57
5. Subroutine nesting 2 levels
6. Input ports 6 bits
7. Output ports 55 bits
8. On-chip 15-stage divider with reset
(timer circuit)
9. Direct LCD driver circuit (4_5V; 1/8 duty,
113 bias and 256 segments MAX.)
10. On-chip clock generator circuit
1 L Standby mode (1 pA current consumption)
12. Single power supply -4_5V (TYP.)
13. Instruction cycle 16 ps
14. 60-pin quad-flat package
-~-----~'---SHARP''''''-''''-'-'-~'-'-~
118
CMOS 4-Bit 1-Chip Microcomputer SM-540
• Block Diagram
Segment Output
ROM
(2,016X8)
Segment Segment
Driver Output
Backplate Common
Control Output
}-____~~I}-------~
~ '--y-I Tone
GND Oscillator Output
Symbol description
ALU : Arithmetic logic unit CG : Clock generator
Acc : Accumulator DIV : Frequency divider
C : Carry F/F BM, BL : RAM address register
P, PL : Program counter S : Shift register
SCI, SC2 : Stack register of program counter X, SB : Temporary register
~--------'---SHARP -----.-.-..-..-.--
119
CMQS4-Bit 1-Chip Microcomputer SM-S40
• Pin Description
Pin name 1/0 Circuit type Function
K1-K 4 I Acc - K1 -K 4
,
R register output;
Ra I/O ' Pull down
a F IF is\nput when R registerRa' is reset
R re~ister output;
Rb I/O Pull down
f3 F IF is input when R register Rb is reset
al-al6
0 Display RAM contents output as LCD segment signals
bl -bi6
H1-H s 0 8·value output capability;used for LCD common output
SI-S4 0 S register output
RC 0 R register output
ALM 0 For sound generator
T I Pull up For test (Connected to GND normally)
Sync I External clock input
Rf 0 System clock output
When system clock is running,
Vc 0
output at the same voltage as Vnn
VDlSP LCD driver power supply
Vnn, GND Power supply for logic circuit
--'-'-"'-~-,--SHARP------'-'---""""'-
120
CMOS 4-Bit 1-Chip Microcomputer SM-540
-rz-- - - --
IDA
Current consumption 10
IDs During system clock stop 1 ~A
Note 3: Applied to pins Kl- K" R" Rb e Hl-Hs Waveform eal-as,bl-bs Waveform
Note 4: Applied to pins Kl- K,
~
--------- - VOA Vo.'
Note 5: Applied to pins R" Rb
-------VOB
Note 6: Applied to pins HI-H8, al-aI6, bl-bl6 ----- - VOE
Note 7: Applied to pins SI--S, ------ -Voc ------- - V OF
Note 8: Applied to pin RC ------------- - VOIl - - - - - - - - - - - VIlIl
Note 9: Applied to pin ALM
Note 10: fose= 120kHz(TYP.) and VDlSP= -4.5V e Clock from external input pin SYNC
. 50kHz-144kHz
121
.CMOS 4-Bit 1-Chip Microcomputer SM-540
~"""""""'''''''''''''_ _' I11!11!1••_''''_ _~''''~''''''''''''.-..r ....
• Application
1. Game machine
16 x 16 dot matrix
LCD
K2 t - - - {
Hs K3~--{
SM-540
K,iE---{
Vc S,I-----I
S21-------'
lOOkO
R,
ViliSI'
BOkO
Piezoelectric
buzzer
2SC45B
122
CMOS 4-Bit 1-Chip Microcomputer SM-550/SM-555
• Features
1. CMOS process
2. ROM capacity 1,024 X 8 bits
3. RAM capacity 80 X 4 bits
4. Instructions 94 Top View
5. Subroutine nesting using RAM area
6. Input ports 4 bits
7. Output ports 8 bits
8. Input/Output ports 24 bits
9. Interrupt function
External interrupts 2
Internal interrupts 3
10. External ROM/RAM expandable
11. Timer/event counter
12. Serial interface 8 bits
13. Standby mode (10,uA current consumption)
14. Single power supply (2.7-5.5V)
15. Instruction cycle (MIN.)
1.6 ,us(SM-550)
3.3 ,us(SM-555)
16. 48-pin quad-flat package
123
CMOS4-Bit 1""Chip Microcomputer
P
L
ROM
"'"
(:I
D
Parallel
(1,024 X8l:: '1 ~) I/O
Port
GND 7
RESET 17 Parallel
Output
Port
Parallel
I/O
Port
Symbol description
A,B : Accumulators Pl', PI. : Program counters
ACL : Auto clear circuit PO - PB : Registers
ALU : Arithmetic logic unit PSW : Program status word regi'ster
CG : Clo~k generator RD, RE, RF : Mode registers
DIV : DivIder SB : Shift registers
H,L,D,E : General-purpose registers SP : Stack pointer
IE : Interrupt enable F /F TC : Count registers
IFT,IFA,IFS TM : Module registers
IFB,IFV : Interrupt requests
IME : Interrupt mask enable F /F
124
CMOS 4-Bit 1-Chip Microcomputer SM-550/SM-555
• Pin Description
Pin name 110 Circuit type Function
P7 I Pull up 4·bit parallel
PO, PI
110 Input-pull up 110 selectable by instruction
P5,P8
P6 110 Input·pull up 110 selectable using RF register
P4 110 Input-pull up Serial interface input capability using RE register
P2,P3 0 4-bit parallel
INTA,INTB I Pull up Interrupt input
TEST I Pull down For test (Connected to GND normally)
RESET I Pull up Auto clear
~ 0 System clock output
CKj, CK z For system clock oscillation
OSC IN , OSCOUT For clock oscillation
Voo , GND Power supply for logic circuit
.....-.-.-..-.-------SHARP----------
125
CMQS 4-Bitt-Chip Microcomputer SM-550/SM-555
• Oscillation circuit
_ CKI CK2
~ R
External clock
126
CMOS 4-Bit 1-Chip Microcomputer SM-550/SM-555
• Applications
1. Controllers for various home appliances, au-
dio equipment, office equipment, etc.
2. Vending machines
+5V
~
u
Z
f- Z -
-::<: ~
Cl E-<O
::>
:>
U ;;;u U
Cl
>- UlZ
~0
Ul 0 E-<
0
INTA
Pulse input {
INTB
P40
I SM-550/SM-555
P43 P83
POo \ } Control signals
Control signals \
P8 0
P0 3 P6 3
Pl o I } Input signals
I P60
PI,
.----.----$HARP--------
127
CMOS 4""Blt 1-Chip Microcomputer SM-551/SM':556
I P20
• Features
1. CMOS process
2. ROM capacity 2,048 X 8 bits
3. RAM capacity 128 X 4 bits
4. Instructions 94
5. Subroutine nesting using RAM area
6. Input ports 4 bits
7. Output ports 16 bits
8. Input/Output ports 28 bits
9. Interrupt function
External interrupt 2
Internal interrupt 3
10. External ROM/RAM expandable
11. Timer/event counter
12. Serial interface 8 bits
13. Standby mode (10 I'-A current consumption)
14. Single power supply (+2.7-+5.5V)
15. Instruction cycle (MIN.)
1.6I'-s(SM-551)
3.3I'-s(SM-556)
16. 60-pin quad-flat package
128
CMOS 4-Bit 1-Chip Microcomputer SM-551/SM~556
• Block Diagram
SP
H L
Q
.,.; D E
Parallel
ROM I/O
(2,048X8) ~
Port
en
..s
Test
PU PL
RESET
Parallel
Output
Port
Clock
Output
Parallel
110
Port
~----~v v~-----
Parallel Output Port Parallel 110 Port
Symbol description
A,B : Accumulators IME : Interrupt mask enable F/F
ACL : Auto clear PU, PL : Program counters
ALU : Arithmetic logic unit PO-PB : Registers
CG : Clock generator PSW : Program status word register
DIV : Divider RD, RE, RF : Mode registers
H,L,D,E : General-purpose registers SB : Shift register
IE : Interrupt enable F/F SP : Stack pointer
IFT,IFA, TC : Count register
IFS, IFB, IFV : Interrupt requests TM : Module register
-~""""""----~--"""'--~~~*'-""-"-""""'"
• Pin Description
Pin name I/O Circuit type Function
P7 I Pull up 4-bit pararell
PO,PI
110 Input-pull 'up I/O selectable by instruction
P5,P8
P6 I/O Input-pull up I/O selectable using RF register
P4 I/O Input-pull up Serial interface input capability using RE register
P9,PA,PB I/O Input-pull up I/O selectable by instruction
P2, P3 0 4-bit pararell
INTA,INTB I Pull up Interrupt input
TEST I Pull down For test (Connected to GND normally)
RESET I Pull up Auto clear
~ 0 System clock output
CK b CK 2 For system clock oscillation
OSC IN , OSC OllT For clock oscillation
\roo,GND Power supply for logic curcuit
'-'-~--'-'---SHARP ----.-..----~---
130
CMOS 4-Bit 1-Chip Microcomputer SM-551/SM-556
• Oscillation Circuit
C,,=lSpF, Cn =22pF
------------SHARP------------
131
CMOS4-Bit1-Chip Microcomputer, SM-551/$M-556
• Applications _
1. Controllers for' various' home appliances, audio
equipment, office equipment, etc.
2. Vending machines
+5V
PA 3
INTA I
Pulse input { PAo
INTB
P9 3
P40 Control signals
I
\ SM-551/SM-556 P9 0
P43 P8 3
POo I
-
Control signals
\ P80
P0 3 P6 3
Pl o I } Input signals
\ P60
132
CMOS 4-Bit 1-Chip Microcomputer SM-552/SM-557
• Features
1 2 3 .I, 3 6 7 g 9 10 11 I I 14 13
1.
CMOS process
~ ~ ~ 8 ~ I~ I~ ~ ~ ~ ~ ~ £ ~ 0:Top View
2.
ROM capacity 4,096 X 8 bits g; 1il :::: :::: c.:>
o
3.
RAM capacity 256X4 bits
4.
Instructions 94
5.
Subroutine nesting using RAM area
6.
Input ports 4 bits
7.
Output ports 16 bits
8.
Input/Output ports 28 bits
9.
Interrupt function
External interrupts 2
Internal interrupts 3
10. External ROM/RAM expandable
11. Timer/event counter
12. Serial interface 8 bits
13. Standby mode (10 pA current consumption)
14. Single power supply (2.7-5.5V)
15. Instruction cycle (MIN.)
1.6 ps(SM-552)
3.3 ps(SM-557)
16. 60-pin quad-flat package
------.-.----~--SHARP---~-~--
133
CMOS 4~Bit t-Chip Microcomputer SM-552/SM;.557
• Block Diagram
P
L
D
ROM Parallel
(4, 096X81:: ," ~ ) I/O
Port
RAM
(256X41:: '" r)
Parallel
Output
Port
OSC\\ 4
OSCo,"r 5
Parallel
I/O
Port
,
Parallel Parallel Parallel
Output Port I/O Port Input Port
Symbol description
A,B : Accumulators Pl', PL : Program counters
ACL : Auto clear circuit PO-PB : Registers
ALU : Arithmetic logic unit PS W : Program status word register
CG : Clock generator RD,RE,RF : Mode registers
DIV : Divider SB : Shift registers
H,L,D,E : General-purpose registers SP : S tack point er
IE : Interrupt enable F IF TC : Count registers
IFT,IFA, IFS TM : Module registers
IFB, IFV : Interrupt requests
IME : Interrupt mask enable F IF
, . - . - - - - - - - - - S H A R P -~.-....-------.-.--
134
'CMOS 4-Bit 1-Chip Microcomputer SM-552/SM-557
• Pin Description
Pin name 110 Circuit type Function
P7 I Pull up 4 -bit parallel
PO,Pl
110 Input-pull up 110 selectable by instruction
P5, P8
I
P6 110 Input-pull up 110 selectable using RF register
P4 I/O Input-pull up Serial interface input capability using RE register
P9, PA, PB 110 Input-pull up 110 selectable by instruction
P2,P3 0 4-bit parallel
INTA,INTB I. Pull up Interrupt input
TEST I Pull down For test (Connected to GND normally)
RESET I Pull up Auto clear
~ 0 System clock output
CK h CK 2 For system clock oscillation
OSC IN , OSC OUT For clock oscillation
Voo, GND Power supply for logic circuit
135
CMOS 4;',Bit t-Chip M i c r o c , o m p u t e r S M - : 5 5 2 / S M - 5 5 7
'-1III!IIIIi~.II,I"...
, ......................~. . . . . . . . . . . . . . . . . . ..-...-.;~-"......_ , . " . . , . " , . "
• Oscillation Circuit
CG=15pF, CD=22pF
.---.----.-~------.-~SHARP - - - - - . - - - - . . - - ........
136
CMOS 4-Bit 1-Chip Microcomputer SM-552/SM-557
• Applications
1. Controllers for various home appliances, audio
equipment, office equipment, etc.
2. Vending machines
+sv
PA3
INTA \
Pulse input { PA o
INTB
P93
P4 0
\ Control signals
\ SM -5521 SM -557 P9 0
P43 P83
POo \
Control signals \
P03 P80
P63
- \
Ph
P6 0
.....-.~-.---- ........S H A . R P - - - - - - - - -
137
CMOS 4-Bit 1-Chip Microcomputer SM-5E3
- . - - - - - - - - - S H A R P . - . . . . - . - - . - - - - - - -.........
138
CMOS 4-Bit 1-Chip Microcomputer SM-563
• Features
1. CMOS process
2. ROM capacity 4,096 X 8 bits
3. RAM capacity 160X4 bits
(including 32 X 4 bits for display)
4. Instructions 93
5. Subroutine nesting using RAM area
6. Input ports 4 bits
7. Input/Output ports 11 bits
8. Timer/event-counter
9. Interrupt functions 5
External interrupt
Serial 110 interrupt Top View
Timer/event-counter interrupt
f. signal interrupt
Divider overflow interrupt
10. Serial interface 8 bits
11. Standby mode
12. Direct LCD driver circuits (1/4 duty, 113 bias
and 128 segments (MAX.))
13. Insturuction cycle 6.67 ps (MIN.)
14. Single power supply (2.7-5.5V)
15. 64-pin quad-flat package
--'---'---SHARP'--'---'--~--
139
CMOS 4-Bit 1-Chip Microcomputer SM-563
• Block Diagram
SP Parallel
H I/O
D Port
ROM
(4,096XS)
RAM
Test (12SX4 )
PU PL
RESET
R4
R5
R6
Clock Output 2 R7
RD Segment
RE Output
RF
,
Common Segment Output
Output
Symbol description
A,B : Accumulators IME. : Interrupt mask enable F F
ACL : Auto clear PI-P3 : Registers
ALU : Arithmetic logic unit PL,PU Program counters
BR,DS : Common signal control F/F PSW : Program status word register
CG : Clock generator R4- R7 : General- purpose registers
DIV : Divider RD,RE,RF: Mode registers
D,E,H,L : General-purpose registers SB : Shift register
HC : Common signal circuit SP : Stack pointer
IE : Interrupt enable F /F TC : Count register
IFA,IFB TM : Module register
IFS,IFT,IFV: Interrupt requests
-------~---SHARP-~-~-~---
140
CMOS 4-Bit 1-Chip Microcomputer SM-563
• Pin Description
Pin name I/O Circuit type Function
PO O-P0 3 I Pull up Acc +- PO O-P0 3
P1 0 -P1 3 I/O Pull up I/O selectable by instruction
I/O selectable individually
P2 0 -P2 3 I/O Pull up
Sound output only when P2 3 pin is used for output
P3 0 -P3 3 I/O Pull up Serial interface input capability using RE register
SO-S31 0 Display RAM contents output as LCD segment signals
H1-H 4 0 4·value output capability; used for LCD common output
TEST I Pull down For test (Connected to GND normally)
RESET I Pull up Auto clear
0 System clock output
'"
CK[, CK 2 For system clock oscillation
OSC'N. OSC OUT For clock oscillation
Vos P• VOA• VOB LCD driver power supply
Voo• GND Power supply for logic circuit
• Oscillation circuit
CKI CK2
~ R
CG=15pF. CD=22pF
....--.-~---------SHARP -------------------
141
CMOS 4-Bit 1.-Chip Microcomputer SM-:563
COA=lpF, COB=lpF
142
CMOS 4-Bit 1-Chip Microcomputer SM-563
• System Configuration
Key matrix
-.-------SHARP--------
143
CMOS4-Bit 1-Chlp Microcomputer .SM.;572
• Features
1. CMOS process
2. ROM capacity 2,032 X 9 bits
3. RAM capacity 128 X 4 bits·
4. Instructions 93
5. Subroutine nesting 6 levels
6. Input ports 8 bits
7. Output port . 1 bit
8. Input/Output ports 40 bits
9. Timer/counter
8-bit counters 2
10. Interrupt function
External interrupt 2
Timer interrupt 2
11. A/D converter 8 bits
Conversion time 32 ps(MIN.)
12. Single power supply (2.7-5.5V)
13. Instruction cycle 2 ps (MIN.)
14. 60-pin quad-flat package
....------,---SHARP"-~--------
144
CMOS 4-Bit 1-Chip Microcomputer SM-572
• Block Diagram
.
Input/Output Port
V,w
Val.
ROM
I 2,032 x9 ) Input
Port
MPX .
•
Input Output Port
Symbol description
ALU : Arithmetic logic unit Ace : Accumulator
X : X register SR Stack register
B : RAM address, register RO,Rl,R2,R3: Latch
C : Carry F/F DIV Divider
PC : Program counter
SP : Stack pointer
CG : System clock generator
MPX.: Multiplexer
A/D : A D convertor and Comparator unit
~'-'-'-----SHARP~'-''------'--'--
145
CMos 4-Bit 1-Chip Microcomputer SM-572
• Pin Description
Pin name 110 Circuit type Function
KC o -KC 3 I Acc +- KC o - KC:l or AID conversion analog input
Acc +- KI, KH, KT, KL
KI, KH
I KI ~ (IF flag set), KH +- (HF flag set),
KT,KL
KT +- (External timer signal input)
Z registor contents output;Can be tested individually
ZO-ZI5 110
Reset ZF IF ",hen used as input pins
PO-P 3 1/0 3 states Acc - . PO-P:l
QO-Q:l +- Acc
QO-Q:l 110
Reset QF IF when used as input pins
110 RO, Rl, R2 +- Acc
RO,Rl,R2
Reset RF IF when used as input pins
F 0 Sound output or 1 bit output
T I Pull down For test (Connected to GND normally)
ACL I Pull down Auto clear
.fOUT 0 System clock output
CLl> CL 2 For system clock oscillation
OSC IN , OSC OliT For clock oscillation
VRH , VRL AID conversion standard power supply
Voo , GND Power supply for logic curcuit
146
CMOS 4-Bit 1-Chip Microcomputer SM-572
VDD =5.0V±10% 50
p.A 10
1ST VDIl =3.0V±10% 30
VDD =5.0V±10% 400
p.A 11
Hold mode VDD =3.0V±10% 100 ,
VDD =5.0V±'10% 600
p.A 12
VDD =3.0V±lO% 200
Note 1: Applied to pins KH;KL, KI, Pa-Po, Q3-QO, R03-ROo, R13-Rlo, R23-R20, R33-R32, KC:,-KCo
Note 2: Applied to pins Z[5-Z0, CL[, OSCIN/KT, ACL .
Note 3: Applied to pins Q3-QO, R03-ROo, R1:J-Rlo, *R23-R20, *R3a-R30, *ZI5-Z0
Note 4: Applied to pin ACL
Note 5: Applied to pins Q3-QO, R03-ROo, Rl:l-Rlo, R23-R20, R33-R3o, Z15-Z0
(*Jf CMOS buffer is specified for mask option, Note 6 applies to these pins.)
Note 6: Applied to pins P3- Po, F, fOliT
Note 7: Applied to pin CL 2
Note 8: No·load condition
Note 9: When the OSC1N/KT pin is connected to GND and in no· load condition.
Note 10: When the timer clock crystal oscillation circuit and timer 1 are operating and in no·load condition.
Note 11: When the OSClN/KT pin is connected to GND and in no·load condition, f,= 100kHz
Note 12: When the OSClN/KT pin is connected to GND and in no·load condition, f,=500kHz
Note 13: tACL is the ACL input pulse width required to cause ACL to operate when Von has completely risen.
VDD _______~~~,----------VDD
W
tVDD
GND
tACL
Note 14: tVDD is the power supply rise time necessary for the built·in ACL to operate (ACL input pin is connected to GND).
147
....................,.-...;
CMOS 4.,.Bit 1-Chip Microcomputer
~ ..............................-................ 'SM";'S72
N
N ::t:
i1 2
" 2
\\
Rr=lOkO ~ootv
»
"~
.."».
g.
~ 0.5
§ 0.4
]
~
.,
o
0.3 -- Rr=82kO
.&
J:: 0.5
c
.~
1;;
=
.<l 0.2
0
.,
\Joo=3
~\
V
2 4 6 10 100
Supply voltage Voo (V) Externally attached resistance R (kO)
When fosc=32.768kHz
Cl = 22pF. C2 = ~2pF
Crystal: 32.768 kHz
148
CMOS 4-Bit 1-Chip Microcomputer SM-572
• System Configuration
Ceramic buzzer
}
.
o
'"Ii
<fl
Control output
--.v
'-----<----f I--~...... DD
149
CMOS 4-Bit 1-Chip Microcomputer SM-578
• Features
1. CMOS process OSC(wr 14
OSCI,/KT 15
2_ ROM capacity 4,069 X 9 bits KL 16
3_ RAM capacity 192X4 bits
4. Instructions 93
5. Subroutine nesting 6 levels
6. Input ports 8 bits
~~~ N N N ~ N NN N NN Top View
7. Output ports 1 bit
8. Input/Output ports 40 bits
9. Timer/counter: 8-bit counters 2
10. Interrupt function
External interrupts 21Timer interrupts 2
11. A/D converter 8 bits
12. Single power supply (2.7-5.5V)
13. Instruction cycle 2 ps (MIN.)
14. 64-pin quad-flat package
64-pin dual-in-line package
Top View
150
CMOS 4-Bit 1-Chip Microcomputer SM-579
• Features
1. CMOS process
2. ROM capacity 6,096 X 9 bits
3. RAM capacity 256 X 4 bits
4. Instructions 93
5. Subroutine nesting 6 levels
6. Input ports 8 bits
Top View
7. Output ports 1 bit
8. Input/Output ports 40 bits
9. Timer/counter: 8-bit counters 2
10. Serial interface 8 bits
11. Interrupt function
External interrupts 2
Timer interrupts 2
12. A/D converter 8 bits
13. Single power supply (2.7-5.5V)
14. Instruction cycle 2 p.s (MIN.)
15. 64-pin quad-flat package
64-pin dual-in-line package
Top View
----~.-.------SHARP-----.-.-~
151
.....,,~- .. .....
CMOS4-Bit 1-Chip Microcomputer
~ ~......,~~ ......-..-,;.-.... .... .....
; ~" ~ ~.-. ......
,SM-590
I.
ACl,
Features
1.CMOS process ROo I
Top View
152
CMOS 4-Bit .1-Chip Microcomputer SM-590
• Block Diagram
VIlIl
RAM
(32X4) GND
ROM ACL
1508X8J
. Symbol description
A.... : Accumulators PC : Program counter
ALU : Arithmetic logic unit RO-R3 : Register
B : RAM address register SP : Stack pointer
C : Carry F F SR : Stack register
CG : Clock generator X : Temporary register
• Pin Description
Pin name 110 Circuit type Function
RO o -R0 3 110 Pull down *1 Acc - RO o-R0 3 , RO o-R0 3 <-- RAM
Rl o -R1 3 110 Pull down* 1 Ace - Rl o-R1 3 , Rl o-R1 3 <-- RAM
R2 o -R2 3 110 Pull down/open drain * 2 Acc - R2 o-R2 3 , R2 o -R2 3 <-- RAM
R3 0 -R3 3 110 Pull down*1 Acc - R3 0 -R3 3 , R3 0 -R3 3 <-- RAM
ACL I Pull down Auto clear
CLl> CL 2 For system clock oscillation
V DD , GND Power supply for logic circuit
*1 Mask option; Open drain 110 or CMOS output selectable
* 2 Mask option
-----~.--.---....----SHARP -----.----~-
(
153
CMOS 4-Bit 1-Chip Microcomp~ter SM-590
154
CMOS 4-Bit 1-Chip Microcomputer SM-590
~n
Pin
Voo =5V±10% Voo=3V±10% VoL=Oo4V
VoH =V oo -2V VOH =V OD -0.5V Voo =5V±10% lIE
VOL =Oo4V
Voo =5V±10% lIE
ROo 10 1 1.6 0.8 15 8
R0 1 10 1 1.6 0.8 15 8
R0 2 10 1 1.6 0.8 15 8
R0 3 10 1 1.6 0.8 15 8
RIo 10 1 1.6 0.8 15 8
Rl1 10 1 1.6 0.8 15 8
R12 10 1 1.6 0.8 15 8
R13 10 1 1.6 0.8 15 8
R20 4 0.5 15 8
R21 4 0.5 15 8
R22 4 0.5 15 8
R23 4 0.5 15 8
R3 0 4 0.5 1.6 0.8 15 8
R3 1 10 1 1.6 0.8 15 8
10 1 6
R3 2 1.6 0.8 15 8
3 004 7
CL 2/R3 3 1 0.15 0.6 0.3
Mask option
2 1
switch number
Note 1: Applied to pin ROo, ROI, RO" R03, RIo, Rh, Rh, Rh, R20, R2l, R2" R23, R30, R3l, R3,
. Note· 2: Applied to pins ACL, CL I
Note 3: Applied to pin R2, (when standby cancel signal is input)
t:. VI=VIH3-VIL3 (See the SM590 programming manual for details)
Note 4: Applied to pin ACL
Note 5: No-load condition
Note 6: When the contents of the R latch is output to the R3, pin_
Nate 7: When the clock input to the CLI pin is output from the R3, pin_
lIE: VDD=3V±1O%
155
CMOS 4-Bit 1-Chip Microcomputer SM-591
• Features
1. CMOS process
2. ROM capacity 1,016 X 8 bits
3. RAM capacity 56 X 4 bits
4. Instructions 41
5. Subroutine nesting 4 levels
6. Input/Output ports 15 bits (MAX.)
Available for use as lOrnA output port 10 bits
(MAX.) by mask option
(RO o-R0 3, R1 o-R1 3 , R3j, R3 2)
7. Standby mode
8. Single power supply (2.5 - 5.5V)
9. Instruction cycle 1 f.1S ROo 1
10'~P~a-c-ka-g-e-'~I~/O~p-(o-rt-s-
16DIP 11 bits
18DIP 13bits RO" ,
20DIP 15bits R3,,/CL2 6
Top View
-'-'---'-'--SHARP~-------~-----
156
CMOS 4-Bit 1-Chip Microcomputer SM-591
• Block Diagram
Parallel I/O
, . -_ _ _ _ _ _ _ _ _ _.-J.4 _ _ _ _ _ _ _ _ _ _...,
Parallel Out/Oscillator Oscillator
Voo
RAM
(56X4) GND
ROM ACL
(1016X8 )
Symbol description
A('(' : Accumulators PC : Program .counter
ALU : Arithmetic logic unit RO-R3 Register
B : RAM address register SP : Stack pointer
C : .Carry F/F SR : Stack register
CG : Clock generator X : Temporary register
• Pin Description
Pin name I/O Circuit type Function
RO o-R0 3 I/O Pull down*l Ace - ROo-RO:l , ROo-RO a +- RAM
Rio-Ria I/O Pull down*l Acc -Ri o-Ri 3 , Ri o-Ri 3 +- RAM
R2 o-R2 3 I/O Pull down/open drain * 2 Acc - R2 o-R2 3 , R2 o-R2 3 +- RAM
R3 o-R3 3 I/O Pull down* 1 Ace - R3 0 -R3 3 , R3 0 -R3 3 +- RAM
ACL I Pull down Auto clear
CLl> CL 2 For system clock oscillation
V DD, GND Power supply for logic circuit
* 1 Mask option; Open drain 110 or CMOS output selectable
*2 Mask option
-.-----------SHARP.-..-.--------
157
CMOS 4-Bit 1-Chip Microcomputer SM:.591
158
CMOS 4-Bit 1-Chip Microcomputer SM-591
~
Voo =5V±10% Voo =3V±10% VOL =O.4V VOL =O.4V
Pin VoH =V oo -2V VoH =V oo -O.5V Voo =5V±10% liE Voo =5V±10% liE
ROo 10 1 1.6 0.8 15 8
R0 1 10 1 1.6 0.8 15 8
R0 2 10 1 1.6 0.8 15 8
R0 3 10 1 1.6 0.8 15 8
RIo 10 1 1.6 0.8 15 8
Rl1 10 1 1.6 0.8 15 8
R12 10 1 1.6 0.8 15 8
R13 10 1 1.6 0.8 15 8
R20 4 0.5 15 8
R21 4 0.5 15 8
R22 4 0.5 15 8
R23 4 0.5 15 8
R3 0 4 0.5 1.6 0.8 15 8
R3 1 10 1 1.6 0.8 15 8
10 1 0.8 6
R3 2 1.6 15 8
3 0.4 0.8 7
CL 2 /R3 3 1 0.15 0.6 0.3
Mask option
2 1
switch number
Note 1: Applied to pins ROo, ROl, RO" R03, RIo, Rh, Rh, Rh, R2o, R21, R22, R23, R3o, R31, R32
Note 2: Applied to pins ACL, CL I
Note 3: Applied to pins R22 (when standby cancel signal is input)
!!. Vr=VIH3-VrL3 (see the SH59I programming manual for details)
Note 4: Applied to pin ACL
Note 5: No-load condition
Note 6: When the contents of the R latch is output to the R3 2 pin.
Note 7: When the clock input to the CLI pin is output from the R3, pin.
----....-......-.--------SHARP - - - - - - - - - - - - -
159
DevetQpment Guide for 4-Bit 1-Chip Microcomputers (SM Series)
I . . . . . .. .
DeveJ6pmentguidefor.4-Bif 1-Chip
Microcomputers (SM Series)
(1) Description
functions required of the microcomputer are clear.
To facilita,te efficient product development us- Specifications should be prepared by the user, but
ing Sharp's SM series 4-bit, I-chip microcompu-
consultation on SM series microcomputers will be
ters, we have established a general development
provided on request. In addition, a programming
procedure covering determination of specifications manual is available for each microcomputer. .
to actual delivery of the microcomputer as shown
below.
® Determining the microcomputer to be used
Select a microcomputer mos.t suitable for the pro-
duct. After determining the model of microcompu-
(2) Development Procedure
ter, we will work out a rough development sche-
CD Determination of specifications dule in consultation with the user.
Specifications for a product you intend to de- ® System design
velop must be determined in such a way that the Detailed specifications for the operation of the
r1 h
Technical meeting/Determining
specifications
Write programme/
assemble /debug
t Program demonstration
Final check of I!t
program PLA designation
I J
Program approval t
ROM design drawing
-l
TS evaluation/approval: I TS manufacture/
I forwarding
l X------
TS approval ~ I
ES evaluation/approval I. J
I
ES manufacture/
forwarding
I
(Can be eliminated)
I
I
ES approval
+
1-------
I
I
CS man.ufacture/ (Can be eliminated)
C S evaluation / approval :
I forwarding
L t.I ______
CS approval ~.
Mass production
Delivery of goods l J
I
160
Development Guide for 4-Bit 1-Chip Microcompliters (SM Series)
--.-..---.-.-..-..-..-.-.-.-..-..-..-.-
microcOl~puter and its peripheral circuitry are de- after consultating with the user.
termined of this stage. We recommend that the user ® PLA (Programmable Logic Array) assignments
confer with Sharp's staff even if the user himself If the program is developed by the user, the user
under takes program development. prepares the PLA assignments diagram which
If Sharp is to carry out program development, should be submitted to Sharp about two weeks be-
the user must prepare the specifications first. Af- fore the date on which the ROM is scheduled to be
ter consultation with Sharp, the user determines submitted. The procedure for PLA assignment is
the final specifications. The subsequent schedule covered in the programming manual. Pre-printed
will then be settled after consultation with the
user.
@ Writing the program
PLA assignment forms will be provided to the user
on request.
When the program is developed by Sharp, we
will make the PLA assignments.
@
2
==~
A flow chart is worked out and based on it,
machine code is written. The mnemonic codes ®, ROM submission
used for coding are covered in the programming If the program is developed by the user, the
manual or cross-assembler manual. After coding, ROM must be submitted in the form of either an
a source file is prepared using a computer editor. EPROM or diskettes. Along with the ROM , the
Sharp's microcomputer development tools, the ROM map should also be submitted to make sure
SM-D-8000II or SM-D-80 system can be used for that the correct data can be ,read from the ROM.
this purpose. A microcomputer development sys- Whoever develops the program, it is impossible
tem running under the CP/M (Digital Research Inc.) to change the program after the ROM is submitted.
operating system can also be used. For the prepa- The final confirmation of program operation must
ration of source file, refer to the respective de- be extremely thorough.
velopment systems' manuals (SM-D-8000II User's ®> TS (Technical Sample)
Manual, for example). The TS is submitted to the user in a ceramic
® Assembler package for performance evaluation as a trial mod-
The object file is created from the source file us- el. If no problems are found, the user shall issue a
ing the cross-assembler prepared for the develop- statement of performance approval. Note that' the
ment system. TS package is a ceramic type and differs from that
There are a number of cross-assemblers avail- which will be mass produced.
able to meet the requirements of respective SM @ ES (Engineering Sample)
series products. Please, contact us for details. . After approval ofthe TS, the ES is prepared and
® Debugging and program revision submitted to the user. The ES is normally con-
After the object file has been created, the prog- tained in a plastic package the same shape as that
ram must be debugged by operating the EVA board which will be mass produced.
or CPU unit while using the checker to monitor After evaluating the performance of the ES, the
program operatfon. If the program is not running user shall issue performance approval, assuming
properly, it must be revised and re-qssembled until no problems are encountered. The ES may be skip-
a satisfactory object file is prepared. A number of ped if desired.
development tools are available to perform this @ CS (Commercial Sample)
task efficiently. After approval of the ES, the CS is prepared and
(j) Final confirmation of program operation submitted to the User. The CS is the mass-pro-
The final confirmation of the program is in- duction trial model so it is made in the same shape
cluded in the debugging work described in (2) ® if and quality as that which will be mass prodl:lced.
program development was made by the user. After evaluating the performance of the CS, the
If Sharp undertook program development, three user shall issue performance approval, assuming
copies of programming specifications are usually no problems are encountered. The CS may be skip-
presented to the user for final confirmation of ped if desired.
program operation one week before the ROM is @ Mass production
submitted. If no problem is found in the program- After approval of the CS, mass production is in-
ming specifications, a copy of programming speci- itiated. If the ES and/or CS is omitted, the user
fications shall be sent back to us bearing a signa- shall advise us when to start mass production.
ture of approval.
In the event that probelms are discovered in the (3) Development Tools
program at this time, the program will be revised To faciJ.itate program development for SM
161
Development
.'
.~~~~~~~~~
Guide
I
......
for 4-BIt 1-Chip Microcomputers ,(SM Series)
~~ .......-....:--,.-..-
r-SM~W--~--~----------------~~
r---~-------------'
SM-D -8000 II I CPU :
I
I
I
Floppy disk I
I
I
I
I
ROM OK) I
II
RAM (64K) I I
I ___________________________ JI
I
I
SIO
I
I PTP/PTR
IL __________________ JI
Terminal printer
(Sharp writer, etc.)
SM-series
series microcomputers, two kinds of development evaluation board
tools are available: one which uses the SM-D-
8000II and one which uses the sharp MZ-80B
computer.
Development tools equipped with an RS232C in-
terface running under the CP1M OS can also be
used.
CD SM-D-8000II system
This emulator consists of the keyboard, display
LED, PROM writer, and interfaces. Although it is
possible for the SME-20 to debug the prograin by
connecting the CPU unit or EVA board, more effi- Debugger unit
cient debugging can be achieved by transferring
the object file through the SM-D-8000II and
RS232C interface.
For details, see the SM software package manual
and instruction manuals of the SM series,SM-
D-800011 and SME-20. SM .evaluation
The SME-20 can be connected not only to the board
SM-D-80001l, but to any development device
equipment with an RS232C interface.
@ SM-D-80 system
. The SM series development system can be confi-
gured by connecting the debugger unit and SM ev-
alution board to the basic FDOS system (MZ-80B,
floppydisk, printer) of the commercial personal
computer MZ-80B. Various utility 'programs such
as a cross-assembler, debugger and editor which
operate under the control of the FDOS are pro-
vided as standard equipment to facilitate efficient
program debugging.
162
....,....,....,~....,....,~....,~~....,....,~~ ..........
Development Guide for 4-Bit 1-Chip Microcomputers (SM Series)
~....,
I I
I I
I I
I I
IL ____ Main body of debugger unit I
..---___.i..J---:-_ _-:--. _ _ _ _ ...lI
Floppy disk
SM -series
Printer evaluation board
....--------SHARP--------
163
a-Bit 1-Chip Microcomputers
Z8-01 Microcomputer Unit LH0801
• Features
1. Complete single-chip microcomputer with in-
ternal ROM, RAM and 110
• RAM 124 bytes
• ROM 2K bytes
• 110 32 lines
2. On-chip two programmable 8-bit counter/tim-
ers, each with a 6-bit programmbre prescaler Top View
3. Full-duplex UART
4. 144-byte register file
5; Register pointer so that short, fast instructions
can access any working register groups
6. Vectored, priority interrupts for 110, counter /
timers, and UART
7. Up to 62K bytes addressable external space
each for program and data memory
8. On':'chip oscillator
9. High speed instruction execution
• Working register operating time: 1.5 ps
• Average instruction execution time: 2.2 fJ.S
,; Maximum instruction execution time: 5.0 fJ.S
10. Low-power standby option which retains con-
tents of general-purpose registers
11. Single + 5V power supply
12. All pins are TTL compatible
---.--.-----SHARP-----,~--...-.-,
166
Z8-01 Microcomputer Unit LH0801
• Block Diagram
ALU
Flags
UART
Program Memory
(2,048X8)
Register Pointer
Counter/Timer
Interrupt Control
--~--~--SHARP'-~-''''''''-'--~
167
Z8-01 Microcomputer Unit LH0801.
• Pin Description
Pin Meaning I/O Function
PO O-P0 7 Port 0 I/O 8-bit I/O port, programmable for I/O.
Pl o -P1 7 Port 1 I/O Programmable for I/O in btyes.
P2 o-P2 7 Port 2 I/O Programmable for I/O in bits.
P3 0 -P3 7 Port 3 I/O P3 0 -P3 3 for input, P3 r P3 7 for output.
- 0 Active "Low", activated for external address memory
AS Address Strobe
. transfer.
- Active "Low", activated for external data memory
DS Data Strobe 0
transfer.
R/W Read/Write 0 Read at "High", Write at "Low".
RESET Reset I Active "Low". Initializes.
XTALl Clock 1 I Clock terminal pin.
XTAL2 Clock 2 0 Clock terminal pin.
Vee
2.lkO 1.5kO
From output From output l8kO
under test ruDder test
;>CJ>-------...... ;'O>--+--CrystaI2
o---~-~~~~
74LS04 ~CL-=15pF MAX.
' - - - -.....--'Crystall
lCL=15:PFMAX.
- - . . - . . - . . - - - - - - - - - S H A R P -~-.-.-.------
lEl8
Z8-01 Microcomputer Unit LH0801
CLOCK
PORT 0,
DM
PORT 1
AS
TdDS(R)
DS dTdRIAS'
_TdWIAS) *" TdDS(W)~
RiW
'-'-'--'-'-'--SHARP'--'-'-'-'---
169
Z8-01 Microcomputer Unit LH0801
Driven by external
TwC Input clock width 37 ns
clock oscillator
TdSC (AS) System clock input to AS delay ns 5
TdSY (DS) Command sync output to DS delay 200 ns 5,6
TwSY Command sync output pulse width 160 ns 5,6
Note : All timing references use 2.0 V for a logic "1" and 0.8 V for a logic "0". __ ,
Note 5: Test load 1 is used when' SCLK and SYNC are outputt via port 3, aad test load 2 when SCLK and SYNC are direct-output with
64-pin version.
Note 6: With an 8 MHz QC unit. If below this frequency, add 2 increments of clock period.
CLOCK
SCLK
170
Z8-01 Microcomputer Unit LH0801
DAV
(input)
TdDAL(RY)
RDY
(output)
Port read
Input handshake
Output handshake
171
.z~-01 Microcomputer Unit LH0801
• Architecture
(1) Address Spaces
(i) Program Memory The 16-bit program Z8 instructions can access registers directly or
counter addresses 64K bytes of program memory indirectly with an 8-bit address field. The Z8 also
space. Program memory can be located in two areas 'allows short' 4-bit register addressing using the
: one internal and the other external (Fig. 1). The , Register Pointer (one of the control registers). In
first 2048 bytes consist of on-chip mask-prog- the 4-bit mode, the register file is divided into nine
rammed ROM. At addresses 2048 and greater, the working-register groups, each occupying 16 con-
Z8 executes external program memory fetches. tiguous locations. The Register Pointer addresses
The first 12 bytes of program memory are re- the starting location of the active working-register
served for the interrupt vectors. These locations' group'.
contain six 16-bit vectors that correspond to the (iv) Stacks Either the, internal register file
six available interrupts. or the external data memory can be used for the
(ii) Data Memory The Z8 can address 62K stack. A 16-bit Stack Pointer (R254 and R255) is
bytes of external data memory beginning at loca- used for the external stack, which can reside any-
tion 2048 (Fig. 2). External data memory may be where in data memory between locations 2048 and
include with or separated from the external prog- 65535. An 8-bit Stack Pointer (R255) is used for
ram memory space. OM, an optical I/O function the internal stack that resides within the 124
that can be programmed to appear on pin P3 4 , is general-purpose registers (R4-R127).
used to distinguish between data and program
memory space.
(iii) ,Register File The 144-byte register
file includes four I/O port registers (RO-R3), 124 65,535
general-purpose registers (R4-R127) and 16 con-
trol and status registers (R240-R255). These reg-
isters are assigned the address locations shown in
Fig. 3.
Location of firs t
byte ,of instructJon On-chip ROM
executed after '-....
reset 12
f"'------ --- --- -------- 2,048 t-'---------1
11 IRQ5
10 IRQ5 Not addressable
9 IRQ4
O~ ______________ ~
8 IRQ4
7 IRQ3
Interrupt vector
6 IRQ3
(Lower byte)
5'" IRQ2
Fig. 2 Data memory map
,4 J! IRQ2
Interrupt vecto r 3 IRQ1
(Upper byte ) 2 IRQ1
1 IRQO
0 IRQO
172
Za-01 Microcomputer Unit LH0801
LOCATION IDENTIFIERS
255 STACK POINTER(BITS 7-0) Sl'L
254 STACK POINTER(BITS 15-8) SPH
r--;--;:::==t--------., 255
-..J: ~253
253 REGISTER POINTEIt RP
252 PROGRAM CONTROL FLAGS FLAGS r7r6irsr4 I 000 0
251 INTERRUPT MASK REGISTER IMR l~
I_--::-:~:--.-_~I 240
The upper nibble of the reg ister file address
250 INTERRUPT REQUEST REGISTER
249 INTERRUPT PRIORITY REGISTER
IRQ
IPR
>----+ provided by the register pointer specifies the
,active working-register group_
248 PORTS 0-1 MODE POIM r--------,127
247
246
PORT 3 MODE
PORT 2 MODE
P3M
P2M
--1l
245 TO PRES CALER
TIMER/COUNTER 0
PREO
TO
-.J
244
243 T1 PRES CALER PREI
, l
242 TIMER /COUNTER I Tl
TMR
r-Jl
241 TIMER MODE
240 SERIAL I/O
NOT
SIO
1-- -f
l 1-_ _ _ _ _ _ _ _-1 of the register
The lower nibble
IMPLEMENTED
r--.--ir file address
SPECIFIED WORKING~ provided by the
127 l REGISTER GROUP instruction
GENERAL- PURPOSE
r
t- - ,..
points to the
specified
REGISTERS
__ll-________
f -I register'
4
3 PORT 3 P3 It--------t 15
2 PORT 2 P2 r
1 PORT I PI --l r---iIOP;rts---- ~
,0 PORT 0 PO Register file
(2) I/O ports vide address bits AsAll (lower nibble) or As-A15
The Z8 has 32 lines dedicated to input and out- (lower and upper nibble) depending on the required
put. These lines are grouped into four ports of address space.
eight lines each and are configurable as input, out- (iii) Port 2 bits can be programmed independent-
put or address/data. Under software control, the ly as input or output. The port is always available
ports can be programmed to provide address out- for I/O operations. In addition, Port 2 can be confi-
puts, timing, status signals, serial I/O, and parallel gured to provide open-drain outputs.
I/O with or without handshake. All ports have ac- (iv) Port 3 lines can be configured as I/O or
tive. pull-ups and pull-downs compatible with TTL control lines. In either case, the direction of the
loads. eight lines is fixed as four input (P3 0 -P3 3 ) and four
( i ) Port 1 can be programmed as a byt.e I/O output (P3 4 -P3 7 ). For serial I/O, lines P3 0 and P3 7
port or an address/data port for interfacing exter- are programmed as serial in and serial out respec-
nal memory. tively.
Memory locations greater than 2048 are refer- • handshake for Ports 0, 1 and 2 (DA V and
enced through Port 1. To interface external mem- ROY)
ory, Port 1 must be programmed for the multi- • four external interrupt request signals
plexed Adress/Data mode. If more than 256 exter- (IRQo-IRQ3)
nal locations are required, Port 0 must output the • timer input and output signals (TIN and TOUT)
additional lines. • Data Memory Select (OM).
(ii) Port 0 can be programmed as a nibble I/O
port, or as an address port for interfacing external (3) Serial Input/Output
memory. Port 3 lines P3 0 and P3 7 can be programmed as
For external memory references, Port 0 can pro- serial I/O lines for full-duplex serial asynchronous
----.-~-"----SHARP-.-~--:-----
173
'Z8,...,01 Microcomputer Unit LH0801
T I
Transmitted Oata (With Parity)
LSTART BIT
EIGHT OATA BITS
TWO STOP BITS
stop bits to transmitted data (Fig. 5). Odd parity ,is
also available as an option.
'(4) Counter/Timer
The Z8 contains two 8-bit programmable coun-
ISplSpl P 106105104103102101lDoiSTI ter/timers (To and T I ), each driven by its own 6-bit
TI
programmable prescaler. The T I' prescaler can be
I LSTART BIT
SEVEN DATA BITS
driven by internal or external clock sources;
OOD PARITY however, the To prescaler is driven by the internal
I TWO STOP BITS clock bnly.
The counters can be start{!d, stopped, restarted
Received Oata (No Parity) to continue, or restarted from the initial value. The
IspI0710610sI0,10,,10210110oISTI counters can also be programmed to stop upon
reaching zero (single-pass mode) or to automaticaily
I ,
L.START BIT
EIGHT OATA BITS
reload the initial value and continue counting (mod-
I ONE STOP BIT ulo-n continuos mode). The counters, but not the
prescalers, can be read any time without disturbing
Received Oata (With Parity)
their value or count mode.
ISpl pI0610sI0,10,,102101100ISTI
(5) Interrupts
I L.START BIT
SEVEN OAT A BITS The Z8 allows six different interrupts from eight
II PARITY ERROR FLAG
ONE STOP BIT sources: the four Port 3 lines P3 0 -P3 3, Serial In,
Serial Out, and the two counter/timers. These in-
Fig. 5 Serial data formats terrupts are both maskable and prioritized.
All Z8 interrupts are vectored. Polled interrupt
systems ,are also supported.
~-------'---SHARP~~-------.-Ir~
174
Z8-01 Microcomputer Unit LH080t
-------------------SHARP - - - - - - - - - - - - - - - - -
175
Z8-01 ~icrocomputer Unit LH0801
(5) Opcodemap
6.5 6.5
SRA SRA LDC LOCI
12.0 18.0 20.0 20.0
CALL
10.5
LD
r---s:s-
D CALL' SCF
R, IRI r~. 11'1'1 Ir2.lrr, IRRI DA rlo x, RJ
6.5 6.5 6.5 10.5 10.5 10.5 10.5 ~
E RR RR LD LD LD LD LD CCF
R, JR, 1'1.11'2 R 2 • Rl IR z, RJ RItIM lRloIM
8.5 8.5 6.5 10.5 ~
F SWAP SWAP LD LD NOP
R, JR, 11'\, r2 Rz.IR I
-=--------------------''---------~-------,--~~------------~-------------------~
Bytes per Instruction 3 2 3
Lower Opcode
Nibble Legend:
R =8~Bit Address
Execution
Cycles
t Pipeline Cycles
r = 4 ~ Bit Address
R 1 or rJ = Dst Address
R2 or n = Src Address
Sequence:
Upper Opcode Opcode, First Operand, Second Operand
Nibble - A ~--- Mnemonic
Note: The blank areas are not defined.
176
Z8-02 Microcomputer Unit LH0801
(6) Instruction Summary Instruction I Addr Mode Opcode Byte Flags Affected
Instruction I Addr Mode 'Opcode Byte Flags Affected and OperationJ dst src (Hex) CZSVDH
and Operation I dst src (Hex) CZSVDH LDEI dst,src Ir Irr 83 ------
ADC dst,src (Note 1) 10 ****0* dst<-src Irr It 93
dst<-dst + src + C r<-r + 1; rr<-rr + 1
ADD dst,src (Note 1) 00 ****0* Nap FF ------
dst <-dst + src
ANDdst,src (Note 1) 50 -**0-- OR dst,src (Note 1) 40 -**0--
dst<-dst AND src dst<-dst OR src
CALL dst DA D6 ------ POP dst R 50 ------
SP<-SP-2 IRR D4 dst<-@SP IR 51
@SP<-PC;PC<-dst SP<-SP+ 1
CCF EF * - - - - - PUSH src R - - - - - -
C<-NOTC 70
SP<-SP - 1; @SP<-src IR 71
CLR dst R BO - - - - - -
dst<- 0 IR Bl RCF CF o- - - - -
o- - C<-O
COM dst R 60 -**
. dst<-NOT dst IR 61 RET AF - - - - -
CP dst,src (Note 1) AD ****-- PC @SP;SP<-SP+ 2
dst<-src RLdst ~ R 90 ****--
DA dst R 40 ***X- - C 7 0 IR 91
dst<-DA dst IR 41
RLCdst~R 10 ****
DEC dst R 00 -***- - C 7 0 IR 11
dst<-dst-l IR 01
DECW dst RR 80 -***-- RR dst 4il L[ii)J IRR
C 7 0
EO
E1
****
dst<-dst-l IR 81
DI 8F - - - - - - RRC dst I@:[ii}J
C 7 0
R
IR
CO ****
IMR(7)<-0 Cl
DJNZ r,dst RA rA - - - - - - SBC dst,src (Note 1) 3D ****1*
r<-r-l r=O-F dst<-dst - src - C
if r o PC<-PC + dst
Range: +127,-128 SCF DF 1-----
EI ------ C<-l
9F
IMR(7) <-1 SRA dst R DO ***0--
INC dst r rE -***-- 4£lCil?f--l IR D1
dst<-dst+l r=O-F SRP src 1M 31 ------
R 20 RP<-src
IR 21
INCW dst RR AO -***-- SUB dst,src (Note 1) 20 ****1*
dst<-dst+ 1 IR Al dst <-dst - src
IRET BF ****** SWAPdst ~
7 4 3 0
R FO X**X--
FLAGS<-@SP; SP<-SP + 1 IR Fl
PC<-@SP;SP<-SP+2;IMR(7)<-1
TCM dst,src (Note 1) 60 -**0--
JP cc,dst DA cD ------
(NOT dst) AND src
if cc is true c=O-F
PC<-dst IRR 30 TM dst,src (Note 1) 70 -**0--
JR cC,dst RA cB ------ dst AND src
if cc is true, c=O-F XOR dst,src (Note 1) BO -**0--
PC <-PC + dst dst<-dst XOR src
Range: +127,-128
LD dst,src r 1M rC ------ Note 1 These instructions have an identical set of addressing
dst<-src r R r8 modes, which are encoded for brevity. The first opcode nibble is
R r r9 found in the instruction set table above. The second nibble is ex·
r=O-F pressed symbolically by a 0 in this table, and its value is found
r X C7
X r D7 in the following table to the left of the applicable addressing mode
r Ir E3 pair.
Ir r F3 For example, to determine the opcode of an ADe instruction use
R R E4 the addressing modes r (destination) and Ir (source). The result is
R IR E5 13
R 1M E6
IR 1M E7
IR R F5
LDC dst,src r Irr C2 ------ Addr Mode
dst<-src Irr r D2 Lower
src Opcode Nibble
LDCI dst,src Ir Irr C3 ------ dst
dst<-src Irr Ir D3
i
r<-r + l;rr<-rr + 1 r
------
r Ir
LDE dst,src r Irr 82 R R
dst<-src Irr r 92 R IR
R 1M
IR 1M
-----------SHARP--------..-,
177
Z8~01 Microcomputer Unit LH0801
• Register
II
(FlH : Read/Write)
ID71 D61 Dsl D,I D31D21 DII Do' ID71 D61 Dsl D" D31 D21 DII Do'
TOUT M~g:~~oo
To OUT=OI
LO=NO FUNCTION
I=LOAD To
LLCOUNT MODE
O=To SINGLE-PASS
Tl OUT = 10 O=DIS. ABLE To COUNT 1 = To MODULO-N
INTERNAL CLOCK OUT =11, I=ENABLE To COUNT RESERVED
T IN MODES O=NO FUNCTION '
EXTERNAL =00 I=LOAD Tl
CLOCK INPUT PRES CALER MODULO
GA TE INPUT = 01 O=DISABLE Tl COUNT (RANGE: 1-64 DECIMAL
TRIGGER INPUT = 10 I=ENABLE Tl COUNT , 01-00 HEX)
(NON-RETRIGGERABLE)
TRIGGER INPUT = 11
(RETRIGGERABLE)
R246 (P2M)
Port 2 Mode Register
R242 (T1)
Counter Timer 1 Register (F6H: Write Only)
(F2H: Read/Write)
I~I~I~!~!~I~I~I~I
I D11 D6! Dsl D.I D31 D21 Dl ! Do I
LTI INiTIAL VALUE Lp 20- P 27 I/O DEFINITION
(WHEN WRITTEN) o DEFINES BIT AS OUTPUT
(RANGE 1-256 DECIMAL 01-00 HEX) 1 DEFINES BIT AS INPUT
TI CURRENT VALUE
(WHEN READ)
R247 (P3M)
R243 (PRE1) Port 3 Mode Register
Prescaler 1 Register (F7H: Write Only)
1LL dDo]
(F3H: Write Only)
ID11D61 DsID.ID31 D21 D
ID1 ! D61 Dsl D.I D31 D21 Dd Do' L 0 PORT 2 PULL-UPS OPEN DRAIN
1 PORT 2 PULL-UPS ACTIVE
I RESERVED
o P32=INPUT P3s=OUTPUT
COUNT MODE
O=TI SINGLE-PASS 1 P32=DAV1i/RDYO P3s=,RDYO/DAVO
I=Tl MODULO-N 00 P 33 = INPUT P 3. = OUTPUT
CLOCK SOURCE ~np33=INPUT P3.=DM
1 = Tl INTERNAL 11 P33=DAVl/RDYl P3.=RDYI/DAVI
O=Tl EXTERNAL TIMING INPUT o P31 = INPUT (TIN) P3s=OUTPUT (TouT)
(TIN) MODE I P31 =DAV2/RDY2 P3s=RDY2/D AV2
o P 30 = INPUT P 31 = OUTPUT .
PRESCALER MODULO 1 P30=SERIAL IN P37 = SERIAL OUT
(RANGE: 1-64 DECIMAL o PARITY OFF
01-00 HEX) 1 PARITY ON
178
Z8-01 Microcomputer Unit LH0801
...........................................................................................................
, '
J
(F8u: Write Only) (Feu: Read/Write)
IX = Aa- All
STACK SELECTION
0 = EXTERNAL
Llll &SER FLAG Fl
USER FLAG F2
HALF CARRY FLAG
DECIMAL ADJUST FLAG
TIMING 1 =INTERNAL OVERFLOW FLAG
NORMAL=O Plo-Ph MODE
EXTENDED = 1 00 = BYTE OUTPUT SIGN FLAG
01 = BYTE INPUT ZERO FLAG
10=ADo-AD7
11 = HIGH· IMPEDANCE ADo- AD7, CARRY FLAG
AS,DS, R/W,Aa-All,AwAls
IF SELECTED
RESERVE~ !
A)
INTERRUPT GROUP
PRIORITY
r7~1~
rs~
I ~LLDON'T CARE
IRQ3,IRQ5 PRIORITY ( GROUP RESERVED =000 DON'T CARE
0= IRQ 5> IRQ 3 '---+--+-- rs DON'T CARE
1=IRQ3>IRQ5 C > A > B=OOI
IRQO, IRQ2 PRIORITY (GROUP B) A > B > C =010 r4 DON'T CARE
0=IRQ2>IRQO A > C > B=Ol1 REGISTER POINTER
1 =IRQO>IRQ2 B > C > A = 100
IRQl,IRQ4 PRIORITY (GROUP C) C > B > A=10l
O=IRQl>IRQ4 B > A > C=110
I=IRQ4>IRQl RESERVED=lll
1
. I~!~I~I~I~I~I~I~I
IRQO=P32 INPUT
IRQ 1 = P 33 INPUT
IRQ 2 = P 31 INPUT [STACK POINTER UPPER
IRQ3=P3o INPUT, SERIAL INPUT BYTE (SPa-SPIs)
IRQ4=To, SERIAL OUTPUT
IRQ5=TI
RESERVED
l[
.ID7IDsIDs!D.IDaID21 DIIDol
RESERVED
[1 ENABLES IRQO-IRQ5
(Do=IRQO)
1 ENABLES INTERRUPTS
I D71 Dsl Dsl D.I D3\ D21 DII Do I
[STACK POINTER LOWER
BYTE (SPO-SP7)
- - - - - - - - ' - - - - - - - S H A R P ----~.-.-.-..-.-.--
179
Z8-02 Development Device 'LH0802
PO, PI,
PQ. Pit
PO,
lACK 21 In
SYNC Do
In
·Ao
Al
Ao
A,
An A.
AlO A,
A,
Top View
- . . . . - . - - - - - . - . - - S H A R P ~...-...-.~-- .......... - - - - - - - - -
'180
Z8-02 Development Device LH0802
• Block Diagram
., ."
., .,Q
!~
. . iii
.~
....
System .... ~ rJl .,
In
Serial and Parallel
1/0 and Control Clock ~ .. ~
. In
A
Vee( +5V) GND(OV) ~~~A « """"
17 2 3 6 7 8 9
Port 3
Instruction Control
....
ALU
..."""
UART Flags
0
.,.'"
In
:g
«
....
[!
Register Pointer .,"E
::e
Counter/Timer
Register Fil e
(I24X8)
Program 'Counter
....."
E
Po.
...
Interrupt
Acknowledge 21 Interrupt Control
!
Output -:;;"
A
..".."
E
Po.
Port 0 Port 1
• Pin Description
The Z8-20 has 64 pins, 40 of which are the
same as those on the Z8-01. The remaining 24
pins are as follows.
Pin Meaning 110 Function
Ao-A l l Address Bus 0 Address signal for internal ROM.
Do-D 7 Data Bus I Data signal for internal ROM.
MDS Data Strobe 0 Active "Low". Internal ROM addresses are valid.
lACK Interrupt Acknowledge 0 Active "High". Detects an interrupt.
-- Active "Low". For synchronizing the command
SYNC Command Synchronization 0
fetch cycle.
SCLK System Clock 0 Internlll system clock. 1/2 of the external clock.
181
?8-03 Protopack Emulator LH0803
Top View
.-..-.------SHARP---.-------
182
Z8-03 Protopack Emulator LH0803
• Block Diagram
Port 3
ALU
Instruction Control
...e-"
~
0 "
UART Flags ....
Ul
Ul
""
«""
...>.
Registe~ Pointer .'"
E
::?l
Counter ITimer
Register File
(124XS)
E
......
...'"
Program Counter 0..
;;
Interrupt .=i""
Acknowledge
Output
Interrupt Control
Q
!.
....
.....'"
E
0..
• Pin Description
The pins of the 28-03 are compatible with those
of the 28-01. For the pin description, refer back'
to the 28-01 explanation.
183
Z8::J 1 MicrOComputer Unit LH0811·
~-""""'-------SHARP---'----'-'
184
Z8-11 Microcomputer Unit LH08011
• Block Diagram
"0 ~
"0 cil....
!
0;::
~
!::
i:: ''""
System ~ -,
(fJ
Serial and Parallel
"'oS" ! "'"...."
, ~-~ " Q" ..:
I 0 and Control ."
Vee( +5V) GND(OV) ~
11
ALU
Flags
UART
Program Memory
(4,096X 8)
Register Pointer
Counter Ti mer
Interrupt Control
T T
I/O or As-A15 I/O or ADo- AD7
• Pin Description
The pins of the 28-11 are compatible with those
of the 28-01. For the pin description, refer back
to the 28-01 explanation.
----~-.--~......---SHARP.-.----.-.---
185
Z8...,1,2 Development Device LH0812
Top View
~~'--~'---SHARP---'-~-'-~"""'"
186
Z8-12 Development Device LH0812
• Block Diagram
"0
~
...
!: "0 Ul
~
"'; ...
System
~ Ul ''""
Serial and Parallel
Clock
~ "--
"'" -0os !os "...
-0
I/O an1 Control -0
Vcc(+5V) GND(OV) ~ 0::: " 0:::" 0 ...::
Port 3
Instruction Control
~
ALU "
2-
~
0"
'"
UART Flags
"...'"
-0
-0
«:
»
...
0
S
Register Pointer
"
;;;:
S
Counter Timer
Register File
'"...
bJl
1124X81 ...0
p..
Program Counter
0;
Q.
Interrupt ..:;
Acknowledge 11 Interrupt Control !
O~tput
0'"
S
...'"
OJ)
...0
p..
I/O or ADo-AD,
* 1 Program Memory Data Strobe Output
* 2 System Clock Output
* 3 Instruction Sync Output
--------SHARP--------
187
..........-..
,
Z8~12 Development Device
-----..,.~ ....
. - . - . -........-~--:.--.: ...... -....
LH08t2
• Pin Description
The 28-12 has 64 pins, 40 of which are the
same as those on the 28-11. The remaining 24
pins are as follows.
Pin Meaning 110 Function
Ao-A l l Address Bus· 0 Address signal for internal ROM
Do -D 7 Data,Bus I Data signal for inter.nal ROM.
MDS Data Strobe 0 Active "Low". Internal ROM addresses are valid.
lACK Interrupt Acknowledge 0 Active "High". Detects an interrupt.
-- Active "Low". For synchronizing the command
SYNC Command Synchronization 0
fetch cycle.
SCLK System Clock 0 Internal system clock. 112 of the external clock.
188
Z8-13 Protopack Emulator LH0813
Top View
"
189
ZS",'13 Protopack Emulator LH0813
• Block Diagram
Port 3
Instruction Control
1
:;
o
<Il
<Il
UART Flags ...
:g'"
..:
Register Pointer
Counter Timer
Register File
(124X8 )
Program Counter
Interrupt
1
..:;
Acknowledge
O~tput
Interrupt Contro}
Q
..
!
......e
o
...
Il-.
• Pin Description
The pins ofthe Z8-13 are compatible with those
of the Z8-11 and Z8-01 as well. For the p~n de-
scription, refer back to the Z8-01 explanation.
--....--.-~....----SHARP -----------....-,
190
Z8-81 Microcomputer Unit LH0881
~
ory space. Using the external memory instead of P2,
the internal memory, it is possible to design more DS P2 2
powerful microcomputer system incorporating a
AS P2l
minimum number of support devices.
P35 P2 0
GND P3,
P32 P34
• Features POo Ph
POI 1'16
1. Complete microcomputer, 24 lIO lines, and up
to 64K bytes addressable external space each PO, PIs
for program and data memory. PO, 1'14
2. 143 bytes register file, including 124 general· P04 1'13
purpose registers, three lIO port registers, and POs 1'12
16 status and control registers.
P06 Ph
3. Register pointer so that short, fast instructions
P07 1'10
can access anyone of the nine working-register
groups. Top View
4. Full-duplex UART and two programmable
8-bit counter/timers, each with a 6-bit pro·
grammable prescaler.
5. Vectored priority interrupts for lIO, counter/
timers, and UART.
191
Z8-81 Microcomputer Unit LH0881
• Block Diagram
"''""
.i.:
! '"
-.: "'t" en
0
ALU
Flags
UART
Register Pointer
Counter/Timer
Interrupt Control
y
I/O or As - A15 ADo'::'AD7
• Pin Description
The pins of the 28-81 have the same functions
as those of the Z8-01 and 28-11, except pins P1 0
to P1 7 •
Pin Meaning 110 Function
Address/Data bus 110 Multiplexed address/data bus.
---':-'-~-------SHARP,------~-'--""
192
Z8-81 Microcomputer Unit LH0881
193
\28-81 Mic!ocomputer Unit 'LH0881
L------RESERVED (MUST BE 0)
194
CMOS 8-Bit 1-Chip -Microcomputer -SM-803
RESET 6
R/W 7
• Features
1. CMOS silicon-gate process technology
2. Complete microcomputer, 4K bytes of ROM,
128 bytes of RAM, 32 110 lines, and up to
6DK bytes addressable external space each for
program and data memory
3. 144-byte register file, including 124 general-
purpose registers, four 110 port registers, and
16 status and control registers
4. Full-duplex UART and two programmable
8-bit counter/timers, each with a 6-bit pro-
grammable prescaler
5. Vectored priority interrupts for 110, counter /
timers, and UART
6. Average instruction execution time of 2.2 ps Top View
7. On-chip oscillator which accepts crystal or ex-
ternal clock drive
8. Power saving function (HALT/STOP instruc-
tion mode)
9. Low power consumption 12mA (TYP.)
ID~ Single +5V power supply
11. 4D-pin dual-in-line package (or 44-pin quad-
flat package)
....--------SHARP---------
195
CMOS8-Bit 1-Chip Microcomputer SM-803
• Block Diagram
Machjne Timing
&
Instruction Control
ALU
Flags
UART
Program Memory
( 2,048X8)
Register Pointer
Counter ITimer
Register File
Program Counter
(l24X8)
• Interrupt Control
Port 0 Port 1
~-------v~--------
• Pin Description !
196
CMOS 8-Bit 1-Ch~p Microcomputer SM-803
Vee Vee
Vee
2.1k!l
Output pin 1.5k!l
under test
: > O - -.....-L;;>O-~---Crystal 2
74LS04 ;;;CI.=15 p FMAX.
'----~-- Crystal 1
ICI.=15 PF MAX.
197
.~.-...., .........
CMo.S 8-Bit 1-Chip Microcomputer
~...,.-....,~, ........-:...,...,...,...,-.-
SM-812
SM-812 ,
CMOS 8-Bit I-Chip Microcomputer
.
• Description • Pin Connections
The SM-812 is an 8-bit single chip CMOS micro·
€omputer with 2,048·byte of ROM, 128·byte of
RAM, timer/counter ,and multiplex interrupt capa·
bility.
It is best suited to high-function controllers due WAIT I
to its single power supply and high-speed proces· Ml 2
P36/RD •
P37/WR IO
• Features NC 11
NC 12
1. CMOS process PO./AD. 13
2. ROM capacity 2,048 X 8 bits POJ/ADI U
198
CMOS 8-Bit 1-Chip Microcomputer SM-812
• Block Diagram
WAIT
Signal Input
Sync.
Clock Output
S ync... Reset
PC
j
9
IIlO Ports
'
Clock Output SP
RAM ROM
A F 192XB
B C 4096xB
D E
H L
11
49
IIO Ports
t--;;~~-+e--j Prescaler
P5
9
IOutput
Ports
199
OMOS8-Bit 1-0hip Microcomputer SM-812
• Pin Description
Pin 110 Circtit Function
P4o~P47 110 Pull-up Programmable for 110 in bits
P2 o/DB o External memory data bus
Bidirectional Pull-up at input lIO in bytes
~P27/DB7 signal
POol ADo BXternal memory address
0 Output in bytes
~P17/AD15 signal
P3 0/S1 Oil Pull-up at input Serial data input
P3 1/SCK O/Bidirectional Pull-up at input Serial clock input/output
P3 2 /S0 0 Serial data output
P3 3 /MRQ 0 Memory request output
Output in bytes
P3 4 /CN Oil Pull -up at input Timer counter input
P3 5/T 0 Counter signal output
P3 6 /RD 0 Read signal output
P3 7 /WR 0 Write signal output
P50~P57 0 Pull-up Settablel resettable in bits
-- Used to prolong an access time for external memory
WAIT I Pull-up
or to clear the standby mode.
INT I Pull·-l!P Maskable interrupt request
NMI I Pull-up. Non·maskable interrupt request
RESET I Pull-up Auto clear
TEST I For testing (usually connected to GND)
'" OUT. Ml 0 Synchronization clock output
CK lo CK 2 For clock oscillator
VDD • GND Logic circ·uit power supply
----------SHARP...--.----------
200
. CMOS 8-Bit 1-Chip Microcomputer SM-813
6.
Subroutine nesting using RAM area
7.
Output ports 16 bits
9.
Timer/counters
8-bit counters 2
8-bit prescaler 1 Top View
10. Interrupt function
External interrupt 1
Serial I/O interrupt 1
Timer interrupt 2
Non-maskable interrupt 1
11. Serial interface 8 bits
12. Standby mode (HALT mode, STOP mode)
13. Single power supply (2.7-5.5V)
14. Instruction cycle l!'-s (MIN.)
15. 64-pin quad-flat package
201
.CMOS8-Bit1-Chip Microcomputer SM ..813
___ ~_ .......... . . , . - :_ _ ~_~. _______r.-_.._ _ ~'-' •
• BlOck Diagram
WAIT
Signal Input
Sync.
Clock Output
S ync. Reset 6
Clock Output
RAM ROM
192XB 4096xB
l
P5 ~ Output
I Ports
9 J
202
CMOS 8-Bit 1-Chip Microcomputer SM-813
• Pin Description
Pin I/O Circtit Function
P4 o-P4 7 I/O Pull-up Programmable for I/O in bits
P2o/DBo- External memory data bus
I/O Pull-up at input I/O in bytes
P27/DB7 signal
POo/ADo External memory address
0 Output in bytes
-P1 7/AD 15 signal
P3 0 /SI 0/1 Pull-up at input Serial data input
P3 1 /SCK O/Bidirectional Pull-up at input Serial clock input/output
P3 2 /SO 0 Serial data output
P3 3 /MRQ 0 Memory output
Output in bytes
P3 4 /CN 0/1 Pull-up at input Timer counter input
P3 5 /T 0 Counter signal output
P3 s 0
P3 7 0
P5 0 -P5 7 0 Pull-up Settablelresettable in bits
.~
RD 0 Read signal for external memory
WR 0 Write signal for external memory
-- Used to prolong an access time for external memory
WAIT I Pull-up
or to clear the standby mode.
INT I Pull-up Maskable interrupt request
NMI I Pull-up Non-maskable interrupt request
RESET I Pull-up Auto clear
TEST I For testing (usually connected to GND)
"'OUT. Ml 0 Synchronization clock output
CK h CK 2 For clock oscillation
VDD• GND Logic circuit power supply
-..-..-.----------SHARP.....-..---------
203
OMOS 8-Bit 1-Chip Microcomputer .. LU8l0Vl
• Features
1. CMOS process
2. ROM capacity 128X 8 bits
3. 64K-byte (MAX.) of address space
4. Instructions 81
5. Subroutine nesting using ~AM area
6. Output ports 16 bits
7. Input/Output ports 8 bits " OBI
8. Timer 1counter 3:, DB.
8-bit counters 2
8- bit prescaler 1
9. Interrupt function
Top View
External interrupt 1
Serial 1/0 interrupt 1
Timer interrupts 2
Non-maskable interrupt l '
10. Serial interface 8 bits
11. Standby mode (HALT mode, STOP mode)
12. Single power supply (2.7-5.5V)
13. Instruction cycle 1 ps(MIN.)
14. 64-pin quad-flat package
204.
CMOS 8-Bit 1-Chip Microcomputer LU810V1
• Block Diagram
WAIT
!
Signal Input
Sync.
Clock Output
Reset
P3 fIIO p,,,,
, Sync.
~
Clock Output U
~ RAM
l
Q
" 192x8
u'
2S
fIIO p""
49
GND
Test
Prescaler
P5
9
IO"'~'
Ports
--.-..-..-..-r'-'-~SHARP ----------------
,205
---.-.-.-:---.....---
cMos 8-Bit 1-Chip Mjcrocomputer
.........
• Pin Description
..............,............ .---.. ~---~---
LU810V1
- .
.....-.~~------SHARP~-~-------------
206
28 Series Ordering Information
.-..-..-...-,.-..-...-,.-...-,..-,..-,.-...-,---..-,.-.
Client SHARP
t----+---~fiB3.u~s~in~e;ss;dde~PrttJ.-----------,
Business dept.
L-...;..:.-----+---~Business dept..I------------jE---.J
Business dept.
Business dept.
....--------SHARP-------.-.
207
a-Bit Microprocessor
and Peripheral LSls
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
LH0080/LH0080A/LH0080B
ZSOIZSOAlZSOB Central Processing Unit
• Description • Pin Connections
The Z80 product line is a complete set of micro-
computer components, development system~ and
support software. The Z80 microcomputer com-
ponent set includes all of the circuits necessary tp o
bUild high-performance microcomputer systems
with virtually no other logic and a minimum num·
ber of low cost standard memory elements.
The LH0080 Z80 CPU (Z80 CPU for short be-
low) i~ the third generation microprocessor im-
plemented using an N-channel silicon-gate process.
The Z80 CPU is designed for using the standard
memory components, higher system throughput and
more efficient memory utilization. In addition, the
output signals of the Z80 CPU is decoded to con-
trol peripherals. The Z80 CPU requires only
single + 5V DC power supply and single phase
clock, theref~re it is easy for the Z80 CPU to Im-
plement into a system.
The LH0080A Z80A and LH0080B Z80B CPU
are the high speed version which can operate at the
4MHz and 6MHz system clock, respectively.
Top View
• , Features
1. 8-bit parallel processing single-chip micro-
processor
2. N-'channel silicon-gate process
3. 158 instructions (The instruction of the 8080A
are included as a subset; 8080A software com-
patibility is maintained)
4. 22 registers
5. The capability of 3 modes maskable interrupt
and non-maskable interrupt
6. On-chip dynamic memory refresh counter
7. Instruction fetch cycle: 1.6ps(Z80), 1.0lPS
(Z80A), 0.67 ps(Z80B)
8. Single + 5V power supply and single phase
clock
9. All inputs and outputs fully TTL compatible
10. 40-pin dlial-in-line package
'--~~-----------SHARP -~---!.........-.---
210 "
Z80/Z80AlZ80B Central Processing Unit LH0080/LH0080A/LH0080B
• Block Diagram
System Data
,
Bus
Halt State
Memory Request
Input/Output Request Data Bus Interface
Read
Write
Bus Acknowledge
Machine Cyclel Instructionrr-_ _ _---'
Instruction
Refresh ALU
Decoder Register 1-,...------,
Interrupt Request
Non- Maskable Interrupt
Wait
Bus Request
Reset
211
Z80/Z80A/Z80B Central Processing Unit LH0080/LHOO80A/LH0080B
• Pin Description
Pin Meaning liD Function
Ao-A 15 Address bus 3-state 0 System address bus
{3idirectional
. Do-D 7 Data bus System data bus
3-state
- ! Active "Low". Indicates that the current machine cycle
Ml Machin(t cycle one 0
is the OP .code fetch cycle of an instruction execution.
Active "Low''',- Indicates that the address bus holds a
MREQ Memory request 3-state 0 valid address for a memory read or memory wri~e op-
eration.
Active "Low". Indicates that the lower 8 bits of the
addres& bus holds a valid liD address' for an liD read
--
10RQ liD request 3-state 0 or write operation. Also generated concurrently with
-
Ml during an interrupt acknowledge cycle to indicate an
interrupt response.
- Active "Low". Indicates that the CPU wants to read data
RD Memory read 3-state 0
from memory or an liD device.
Active "L(')w". Indicates that the CPU data bus holds
-
WR Memory write 3-state 0- valid data to be stored at the addressed memory or liD
location.
Active "Low". Indicates that the lower 7 bits of the_sys-
-- tern address bus can be used as a refresh address to the
RFSH Refresh 0
system's dynamic memories. Tog~ther with MREQ at
"Low".
Active "Low". Indicates that a Halt instruction is being
-- executed. While halted, the CPU exe~utes NOPs to main-
HALT Halt state 0
tain memory refresh. The Halt state is cleared with RE-
- - -- --
SET, NMI, or INT (when allowed).
Active "Low". Indicates to the CPU that the addressed
-- memory or liD devices are not ready for a data transfer.
WAIT Wait I
The CPU continues to enter a wait state as long as this
signal is acti ve.
Active "Low". Generated by liD devices. The CPU hon-
-- Maskable interrupt
INT I ors a request at the end of the current instruction if the
request
interrupt enable flip-flop is enabled.
Active "Low". Has a higher priority than INT. Always
recognized at the end of the current instruction, inde-
-- Non-maskable
NMI I pendent of the status of the interrupt enable flip-flop.
interrupt request
Automatically forces the Z80 CPU to restart at location
0066H.
Active "Low". Resets the int~rrupt enable flip-flop, the
--- program counter interrupt vector register and the mem-
RESET Reset I
ory refresh register, and sets the interrupt status to
Mode 0, in order to initialize the CPU.
Active "Low". Has a higher priority than NMI. Always
--- recognized at the end of the current machine cycle. Acti-
BUSRQ Bus request I
vated to allow a bus 11)aster other than the CPU to con-
tro the system bus.
--- Active "Low". Indicates to the requesting device that the
BUSAK Bus acknowledge O.
external circuitry can control the system bus.
CLOCK System clock I Inputs+5V single-phase clock.
--.----~--SHARP'---.--..--~.-..-.--
\. I ' " •
212 -
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
--~--'----SHARP'-''---'----
213
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
.....-.----------SHARP - - - - - - - - - - - - - - - -
214
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
• Footnotes to AC Characteristics
No. Symbol Z80 Z80A Z80B
1 TeC TwCh+TwCl+TrC+TfC TwCh + TwCI + TrC + TfC TwCh + TwCl + TrC + TfC
2 TwCh MAX.200ps MAX.200ps MAX.200ps
7 TdA (MREQf) TwCh+TfC-75 TwCh+TfC-65 TwCh+TfC-50
10 TwMREQh TwCh+TfC-30 TwCh+TfC-20 TwCh+TfC-20
11 TwMREQl TcC-40 TeC-30 TeC 30
26 TdA (IORQf) TcC-80 TcC-70 TeC-55
29 TdO (WRf) TeC-210 TcC-170 TeC 140
31 TwWR TeC-40 TcC-30 TcC 30
33 TdO (WRf) TwCI+TrC-180 TwCl +TrC-140 TwCl+TrC:-140
35 TdWRr (0) TwCI + TrC - 80 TwCl+TrC-70 TwCl+TrC 55
45 TdCTr (A) TwCl+TrC-40 TwCI+TrC-50 TwCl+TrC-50
50 TdMIf (IORQf) 2TcC+TwCh+TfC-80 2TeC+TwCh+TfC-65 2TeC+TwCh+TfC 50
AC Test Conditions:
VlH=2.0V VIHC=Vcc-O.6V VOH=2.0V FLOAT= ±O.5
VIL=O.8V VILC=0.45V VOL=O.8V
- - - - - - - - - - - - - - - - - - - - - S H A R P ........ _ - - - . - . . - . _ -
215
.4.~O/Z80AlZ80B Central Processing Unit ,L~OO80/LH0080A/LH.0080B
CLOCK
Note: Tw-~ait cycle added when necessary for slow ancilliary devices.
Fig. 1 Instruction opcode fetch
(2) Memory Read or Write Cycles ,(3) Input or Output Cycles "
Fig. 2 shows the timing of memo!:L,fead or write Fig. 3 shows the timing for an 110 read or 110
cycles other than~ opcode fetch (M 1) cycle. write operation.
The MREQ and RD signals functibn exactly as in During 110 operations, the CPU automatically in-
the fetch cycle. 1n a memory write cycle, MREQ serts a single wait state (T w). This extra wait state
also becomes active when the address bus is stable. allows sufficient time for an 110 port to decode the
The WR line is aj::tive when the data bus is stable, address from the port address lines.
so 'that it can be used directly as an R/W pulse to
most semiconductor memories.
• J
--~~----SI-tARP---------~-
2H5
l LH0080/LH0080AlLH0080B
Z80/Z80AlZ80B Central Processing Unit
CLOCK
Ao-A15
MREQ
WAIT
RO
{
Read operation
~-r--cr--!--J ,/--'---~)"f--"" 1,-+--"\1 r----
00-07
1
Write operation
WR
00-07
'-"---'--~'---SHARP-'-'----------
217
ZSO/Z80AlZ80BCentral Processing Unit . LH0080/LH0080A/LH0080B ( .
" . '", ¥' , '"
T2 Tw· Tw T3
CLOCK
. {RD
I/O read operation
Do-D7
Do-D7 --------~============:;~D[a~t~a~o~utL:======}
Note: Tw =One wait cycle automatically inserted by CPU.
Fig. 3 Input or output
CLOCK
218
Z80/Z80AlZ80B Central Processing Unit LH0080/LH0080A/LH0080B
(5) Non-maskable interrupt request cycle mal instruction fetch except that data put on the
bus by the memory is ignored. The CPU instead ex-
NMI is sampled at the same time as the maskable ecutes a restart (RST) operation and jumps to the
interrupt INT but has higher priority and cannot be NMI service routine located at address 0066H
disabled under software control. (Fig. 5).
The subsequent timing is similar to that of a nor-
CLOCK
NMI
Ml
MREQ
RD
RFSH
The CPU samples BUSREQ with the rising edge RESET must be active for at least three clock cy-
of the last clock period of any machine cycle (Fig. cles for the CPU to properly accept it. As long as
6). If BUSREQ is active, t~CPU sets its address, RESET remains active, the address and data buses
data, and MREQ, IORQ; RD, and WR lines to a float, and the co~trol outputs are inactive. Once
high-impedance state with the rising edge of the RESET goes inactive, three internal T cycles are
next clock pulse. At that time, any external device consumed before the CPU resumes normal proces-
can take control of these Iines,usually to transfer sing operation. RESET clears the PC register, so
data between memory and I/O devices. the first opcode fetch will be location 0000 (Fig. 8).
219
,~ ..........,..................,....
Z80/Z80A/Z80B C,entral Processing Unit
, '
......,......,......,- ............
LHQ080ltH0080AlLH0080B
.....,
CLOCK
BUSRQ
Ml
Unchanged
Ml ",/E MI "'1:'- MI
CLOCK
HALT
HAL T instruction received r-t®
NMI ~------------------------
220
Z80/Z80AlZ80B Central Processing Unit LH0080/LH0080A/LH0080B
CLOCK
RESET
Ml
============~~~~~~~7r-~f~--------------~
Il/IllI
MREQ, ------______~~~~r-----~£rc--------------------~--------
RD, WR, \___
IORQ,RFSH,
BUSAK,
HALT
Fig. 8 Reset cycle
+5V
+5V
B
74123
A Q 1-------,1
MI----I )---- RESET
7408
151588 151588
Reset switch
RESET
~~------------------
Fig. 9 Reset circuit and timing diagram when M1 cycle has no wait state
221
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080AlLH0080B
IS1588
CLOCK
MI ~'-_ _ _ _ _ _ _ _ --J/
MREQ
\.....______-.J/
\1...-.,-_--1,
RESET
\~-----
Fig. 10 Reset circuit and timing diagram when
M1 cycle has a wait state
--.--.----...-.--SHARP ----~.-.-.-
222
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
• CPU Registers
, 8 bits .
I Interrupt Vector I R Memory Refresh
IX Index Register
IY Index Register
SP Stack pointer
PC Program Counter
, 16 bits .
• Architecture
(1) CPU Registers
(i) Program Counter (PC) The program
(.) Ref'esh Registe, IR) Tb, built-in ce-
fresh register provides user-transparent dynamic
14 ~
counter holds the 16 bits memory address of a cur~ memory refresh. Its lower 7 bits are automatically
rent instruction. The CPU fetches the contents incremented during each instruction fetch cycle.
from memory address specified by the PC. While the CPU records a fetched instruction and
The PC feeds the data to the address line, auto- executes the instruction, the refresh register data
matically setting the PC value to + 1. When a prog- are placed on the address bus by a REFRESH con-
ram jump takes place, a new value is directly set to trol signal.
the PC. (vi) Accumulator and Flag Register (A & F)
(ii) Stack Pointer (SP) The stack pointer The CPU has also two independent 8-bit accu-
holds the top 16-bit address of the stack with an mulators in combination with two 8-bit flag regis-
external RAM. An external file is based on LIFO ters.
(Last- In, First-Out). The accumulators store an operand or the re-
The data are transferred between a CPU-speci- sults of an 8-bit operation. The flag registers, on
fied register and the stack by a PUSH or POP in- the other hand, deal with the results of an 8-bit or
struction. The last-pushed data are first popped 16-bit operation; for example, seeing if the result
from the stack. is equal to 0 or not.
(iii) Index Register (IX & IV) For index (Vii) General-Purpose Registers There are
mode addressing, there are independent index reg- several pairs of general-purpose registers. In each
isters IX and IY, each of which holds 16-bit refer- pair, they can be used separately or as a 16-bit
ence address. paired register. The paired registers are BC, DE,
In the index mode, the index registers are used to HL, as well as Be' DE' HL'. Either of these sets can
designate the memory area for data input/output. work by an "Exchange" instruction at any time on
With an INDEX ADDRESSING instruction, an a program.
effective address comes by adding a one-byte dis- (2) Arithmetic/Logical Unit (ALU)
placement to the register content. This displace-
An 8-bit arithmetic/logical operation instruction
ment is an integral signed two's complement num-
is executed by the ALU inside the CPU. The ALU
ber
connects to each register through the internal bus
(iv) Interrupt Register (I) The 280 CPU has
for data transfer between them.
indirect subroutine call mode for any memory area
according to an interrupt. For this purpose, this
(3) Instruction Register, CPU Control
register stores the upper 8 bits of memory address
for vectored interrupt processing and the lower 8 Each instruction is read out of the memory, held
bits for the interrupting device. in the instruction register, and decoded. The con-
'-~'---'---SHARP'-''-------
223
\
Z80/Z80A/Z80BCentral 'Processing Unit LH0080/LH0080A/LH0080B
.......~.....,_ _................,............ . -...............-..r......._ _...............
/
trol unit controls this action and gives control sig- vice places an instruction on the data bus. This isa
nals necessary to read and write data from and to Restart instruction or a Call instruction.
the registers. (ii) Mode 1 Interrupt Operation. Mode 1
The,control unit also makes ALU control signal operation is very similar to that for the NML The
and other external control signals. prir-cipal difference is that the Mode 1 interrupt
(Interrupts: General Operation> The Z~W,CPU has a restart location of 0038H only.
accepts two interrupt input signals: NMI and INT_ ,(iii) Mode 2 Interrupt Operation. This in-
The NMI is a non-maskable interrupt and has the terrupt 'mode has been designed to utilize most
highest priority. INT is a lower priority interrupt effectively the capabilities of the Z80 microp-
and it requires th,at interrupts be enabled in soft- rocessor and its associated peripheral family. The
ware in order to operate. interrupting peripheral device selects the starting
address (16 bits) of the interrupt service routine. It
(1) Non-Maskable Interrupt (NMi) does this by placing an 8-bit vector on the data
The non-maskable interrupt will be accepted at bus during the interrupt acknowledge cycle. The
all times by the CPU. CPU forms a pointer using this byte as the lower
After recognition of the NMI signal, the CPU 8-bits and the contents of the I register as the up-
jumps to restart location 0066H. per 8-bits. This points to an entry in a table of
addresses for interrupt service routines. The CPU
(2) Maskable Interrupt (INT) then jumps to the routine at that address.
The maskable interrupt, INT, has three prog-- All the Z80 peripheral devices have the inter-
ram mabie response modes available. rupt priority circuit with a daisy-chain configura-
(i) Mode 0, Interrupt Operation. This tion. puring an interrupt acknowledge cycle, vec-
mode'is similar to the 8080Amicroprocessor in- tors are automatically fed. For more details, refer
terrupt service procedures. The interrupting de- to the Z80 PIO description. _
Table
~op::: :~::
t
_1;---ypOinte: b,'_S____,7_bi_ts 101
_ t'-___ From application device
I register contents
To the beg inning of service rotine
- . . . . - . - - - - - - - S H A R p . - . . . . - . . - - - - - - .......... - -
224
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
• Instruction Set
Table 1 8-bit load group
+- d -+
LD (IY+d), r (IY+d)+-r 11 111 101
01 110 r
FD
70+
• ••• • • 3 5 19
+- d -+
LD (HL), n (HL)+-n 00 110 110
+- 0 -+
36 • •• • • • 2 3 10
+- d -+
+- 0 -+
+- d -+
+- 0 -+
+- 0 -+
+- 0 -+
LD A,I A +- I 11
01
101
010
101
111
ED
57
• t IFF t 0 0 2 2 9
LDA,R A+-R 11
01
101
011
101
111
ED
5F
• t IFF t 0 0 2 2 9
LDI,A I +- A 11
01
101
000
101
III
ED
47
• • • •• • • 2 2 9
LDR,A R+-A 11
01
101
001
101
111
ED
4F
• • • • • • 2 2 9
Notes: r, r' means any of the registers A, B, C, D, E, H, L, IFF the content of the interrupt enable flip-flop, (IFF) is copied into the P/V flag_
Flags: C (carry), Z (zero), S (sign), P/V (parity/overflow), H (half carry), N (add/substract)_
: • =unchanged, O=reset, 1 =set, X=undefined.
: t set or reset according to the result of the operation.
-----~---SHARP-.----.-..---
225
\ .
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
Mnemonic
LD dd, nn
Symbolic
operation
dd ~nn
OP code
-- -
00 ddO 001
0 -+
0
HEX code
76 543 210 (Basic) C
01+ • •
Z
.,.
Flags
pd S
••
N H
No. of
3 3
No. of
10
No. of
Bytes M CyCles T States
Comments
dd Reg.
LD IX, nn IX - 00 11 011 101 DO
• • • • •• 4 4 14 00 BC
-- --
00 100 001 21 01 DE
0
0 10 HL
LD IY, 00 IY -00 11 111 101 FD
• • • • • • 4 4 14 11 SP
-- --
00 100 001 21
0
n
10 HL, (00)
10 dd, (00)
H +- (00+1)
L-(no)
ddH +- (00+1)
-- --
00 101 016
n
n
11 101 101
2A
ED
• • • • ••
• • • • ••
3
4
5
6
16
20
no : 2·byte oumber.
Lower byte just
after opcode.
Upper byte comes
ddL - (no) 01 dd1 011
+-
- n
0 --
4B+ next.
-- --.
IXL - (nn) 00 101 010 2A
n
n
LD IY, (nn) IYH +- (on+1) 11 111 101 FD
• • • • • • 4 6 20
IYL - (rin)
-
00 101 010
.fl
2A
-
-- --
10 (nn), HL (nn+1) 4 - H 00 100
(nn) - L n
010 22
• • • • • • 3 5 16
n
10 (nn), dd (on+1) +- ddH 11 101 101 ED • • • • •• 4 6 20
-- --
(nn) - ddL 01 ddO 011 43+
n
n
10 (nn), IX (on+ l)+-IX~ 11 011 101 DD • • • • •• 4 6 20
-- --
(nn) +- IXL 00 100 010 22
n
n
10 (nn), IY (nn+ l)+-IYH 11 111 101 FD
• • • • • • 4 6 20
(nn) - IYL
--
00 100
n
n --
010 22
10 SP, IY SP - IY 11 111
11 111
101
001
FD
F9 • • • • •• 2 2 10
PUSH IX
(SP-1)+-qqH
(SP-2)+-IXL 11 011
(SP-1)+-IXH 11 100
101
101
DD
E5 • • .. • • • 2 4 15
qq
00
01
Reg.
BC
DE
PUSH IY (SP-2)+-IYL 11 111
(SP-l)+-IYH 11 100
101
101
FD
E5 • • •• •• 2 4 15 10
11
HL
226
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
HL - HL+1
BC - BC-1
If BC=O end 2 4 16 If BC=O
LDD (DE) - (HL)
DE - DE-1
11 101 101
10 101 000
ED
A8
• • t
<D
• 0 0 2 4 16
HL - HL-1
BC - BC-1
LDDR (DE) - (HL)
DE -DE-1
11 101 101
10 111 000
ED
B8
• • 0 • 0 0 2 5 21 If BC+O
HL - HL-l
BC - BC-1
If BC=O end 2 4 16 If BC=O
CPI A- (HL)
HL ~ HL+1
11 101 101
10 100 001
ED
Al
• t t t
® <D
1 t 2 4 16
BC - BC-1
CPIR A- (HL)
HL - HL+1
11 101 101
10 110 001
ED
B1
• t t t
® <D
1 t 2 5 21 If BC+O and
A+(HL)
BC - BC-1
If A= (HL) or 2 4 16 If BC=O or
BC=O end A= (HL)
CPD A- (HL)
HL - HL-1
11 101 101
10 101 001
ED
A9
• t t t
® <D
1 t 2 4 16
BC - BC-1
CPDR A- (HL)
HL - HL-1
11 101 101
10 III 001
ED
B9
• t t t
® <D
1 t 2 5 21 If BC+ 0 and
A+(HL)
BC - BC-1
If A= (HL) or 2 4 16 If BC=O or
BC=O end A= lHL)
Note: <DP IV flag is 0 if the result of Be =0, otherwise PIV = 1
®Z flag is 1 if A= (HL), otherwise Z=O
Flags: • = unchanged
o = set, 1 = reset
J = set or reset according to the result of the operation
227
Z~O/Z80AlZ8QB Centr.al Processing Unit LH0080/LH0080A/LH0080B
. ~ .
t t
V
V
t
t
0
0
t
t 1
2 2
2
7
7
000
001
010
B
C
0
ADD A, (IX +d) A +- At Vxtd) 11011 101 DO t t V t 0 t 3 5 19
011 E
ADD A, (Iytd)
-
10 k 110 86+
-
10 k 110 86+
d -+ Mnemonic k
ADC A, s A+- A+s+C
4 types
t t V t 0 t ADD 000
SUB s A-A-s
available
t t V t 1 t ADC 001
SBC A, s A .... A-s-C
based on
t t V t 1 t UIB 1:10 4>10 SUB 010
AND s A - Al\s 0 t P t 0 1 2 2 7 SBC 011
the above ADD
OR s A-AVs
instruction
0 t P t 0 0 1 2 7 AND 100
XOR s A - AEBs
(see Comments)
0 t P t 0 0 3 5 19 OR 110
CP s 'A-s t t V t 1 t XOR 101
INC r r - r+1 00 r t 00+ • tt V t 0 t 1 1 4 CP 111
INC (HL) (HL) +- (HL) + 1 00 110 e 30+ • V t 0 t 1 3 11 S=r, n, (HL),
INC (IX+d) (IX+d) - 11 011 101 DO • t V t 0 t 3 6 23
,
(IX + d), (IY +d)
FD • t V t 0 t 3 6 23 Mnemonic t
DEC m m-m-1
-
(IY+d)+l 60 110 e 30+
4 types
d -+
available
• t V t 1 t 1*2 1*2 4*2
INC
DEC
m=r, (HL),
100
101
1 3 11
based 'on (IX+d), (lY+d)
3 6 23
J the above INC
3 6 23
instruction
Note: V and P mean overflow and parity, respectively. ,.1: depends on s.
Flags: • = unchanged ,.2: depends on m.
O=reset
l=set
X=undefined
J = set or reset according to the 'result of the operation
. r
- - - . - -........... ----SHARP---~~--------~
228
Z80/Z80A/Z80B Central Processing Unit LH0080/LH0080A/LH0080B
1M 1 Set interrupt
mode 1
11
01
101 101
010 110
ED
56
• • • • •• 2 2 8
1M 2 Set interrupt
mode 2
11
01
101 101
011 110
ED
5E
• • • • • • 2 2 8
Note : IFF indicates the interrupt enable flip· flop, CY indicates the carry f1ip·f1op.
Flags: • = unchanged, O=reset, 1 =set, X=undefined, , =set or reset according to the result of the operation
INC IY IY - IY+1 11
00
111
100
101
011
FD
23
• • • • • • 2 2 10
rr Reg.
DEC ss ss - ss-l 00 ssl 011 OB+
• • • • • • 1 1 6 00 BC
DEC IX IX - IX-l 11
00
011
101
101
011
DD
2B
• • •••• 2 2 10 01
10
DE
IY
DECIY IY - IY-l 11
00
III
101
101
011
FD
2B
• • • • • • 2 2 10 11 SP
229
zao/zaOA/zaOB Central Processing Unit LHooao/LHooaOA/LHooaoB
RLA ~A
00 010 111 17 + • •• 0 0 1 1 4 Rotate left
accumulator.
RRCA ~
A
00 001 111 OF + • •• p 0 1 1 4 Rotate right circulart
accumulator.
00 k 110 06+
RLm ~m t + p + 0 0
Mnemonic k
RLC 000
RRC m ~
m
t + p
+ 0 0 RRC 001
RL 010
RR
RRm LiBi=@J + + P + 0 0
'2* 2* 8,* !
SLA
011
100
m 2 4 15
4 6 23 SRA 101
SLAm ~m t + p t 0 0 4 6 23 SRL 111
SRL m ~
m t t p t 0 0 * depends on m.
A~
11 101 101 ED right between the
RLD
(HL) 01 101 111 6F • t p + 0 0 2 5 18 accumulator and
location (HL).
-
The content of the
RRD A~ 11 101 101
01 100 111
ED
67 • t p t 0 0 2 5 18
upper half of the
accumulator is un·
(HL)
affected.
Flags: • =unchanged
O=reset
l=set
X = undefined
t = set or reset according to the result of the operation
230
Z80/Z80AlZ80B Central Processing Unit LH0080/LH0080AlLH0080B
011
SET b, (HL) (HL)b +- 1 11 001 011
a b 110
CB
06+
• • • • •• 2 4 15
100
3
4
101 5
SET b, (IX+d) (IX+d)b +- 1 11 011 101
11 001 011
DD
CB
• • •• • • 4 6 23
110 6
+- d ..... 111 7
a b 110 06+
SET b, (IY+d) (IY+d)b +- 1 11 111 101
11 001 011
FD
CB
• • •• • • 4 6 23 Mnemonic
SET
a
11
+- d ..... RES 10
a b 110 06+
2* 2* 8*
2 4 15 m=r, (HL),
RES b, m fib +- 0
4 6 23 (IX+d), (IY+d)
4 6 23 * depends on m
Note: The notation mb indicates bit b (0 to 7) or location ffi.
Flags: • = unchanged
o= reset
l=set
X=undefined
; = set or reset according to the result of the operation
-.....-.-------SHARP-------------
231
Z80/Z80Al~80B C~ntral processing Unit' LH0080/LH0080AlLH0080B
--
If condition cc
is true PC ... nn,
otherwise con-
11 cc 010
n -+
n -+
C2+ 3
3
3
3
10
10
010
011
100
NC
C
PO
tinue
JR e PC - PC+e 00 011 000
.... e-2 -+
18
••• •• • 2 3 12
101
110
PE
P
III
JR C, e If C=1
PC - PC+e ....
00 111 000
...
e-2
38
•••••• 2 3 12
NZ : non-zero
M
If C=O 2 2 7 Z : zero
continue C: carry
JR NC, e If C=O
PC - PC+e ....
00 110 000
e-2 -+
30
• • • • • • 2 3 12 PO : parity odd
PE : parity even
If C=1 2 2 7 P: sign positive
continue M : sign negative
JR Z, e If Z=1
PC - PC+e ....
00 101 000
e-2 \ -+
28 • •• • • • 2 3 12
IfZ=O 2 2 7
continue
JR NZ, e If Z=O
PC - PC+e ....
00 100 000
e-2 -+
20
•••••• 2 3 12
IfZ=1 2 2 7
continue
JP (HL) PC-HL 11 101 001 E9
• • • • • • 1 1 4
JP (IX) PC -IX 11 011 101
11 101 001
DD
E9
• • • • • • 2 2 8
PC - PC+l
! If B=O 2 2 8
) continue
-Note: e represents the extension in the relative addressing mode.
<
e is a signed two's,complement number in the range -126.129>
e -2 in the opcode provides an effective address of pc+e as PC i,s incremented by 2 prior to the addition of e.
e itself is obtained from opcode position_
Flags: • = unchanged
O=reset
1=set
X=undefined
t =set or reset according to the result of the operation
~-------~--SHARP-"---'------
232
Z80/Z80AlZ80B Central Processing Unit LH0080/LH0080A/LH0080B
3
5
3
17
10
010
011
100
NC
C
PO
101 PE
RET PCL - (SP)
PCH .... (SP+ 1)
11 001 001 C9 •••••• 1 3 10 110
111
P
M
RET cc If condition cc is
false continue,
11 cc 000 CO+ •••••• 1 '3 11
otherwise same 1 1 5 r p
as RET 000 OOH
RET! Return from
interrupt
11
01
101
001
101
101
ED
4D
• • • • •• 2 4 14 001
010
08H
10H
RETN Return from
non· mask able
11
01
101
000
101
101
ED
45
• • • • •• 2 4 14 011
100
18H
20H
interrupt 101 28H
RST p (SP-l) +- PCH
(SP - 2) +- PCL
11 t 111 C7+ • • • • •• 1 3 11 110
111
30H
38.
PCH - 0
PCL - P
Flags: • = unchanged
O=reset
l=set
X = undefined
• = set or reset according to the result of the operation
'--''-~-----SHARP'-''---~----
233
zao/zaOA/zaOB Central Processing Unit lHooaO/lHOOaOAllHOOaOB
------~-.-.--SHARP -.-....,-----~.-.--
234
Z80/Z80A/Z80B Parallel -Input/Output Controller LH0081.1LH0081A1LH0081 B
LH0081/LH0081A/LH0081B
Z801Z80AlZ80B Parallel Input/Output Controller
• Description • Pin Connections
The 280 product line is a complete set of micro-
computer components, development systems and
support software. The 280 microcomputer com-
ponent set includes all of the circuits necessary to
build high-performance microcomputer systems D6
with virtually no other logic and a minimum num-
ber of low cost standard memory elements.
The LH0081 280 PIO (280 PIO for short below) BfA SEL 6
is a programmable two port device which provides
TTL compatible interfacing between peripheral de-
vices and the 280 CPU. The 280 CPU configures
280 PIO to interface with standard peripheral de-
vices such as tape punchers, print~rs, keyboards,
etc.
The LH0081A 280A and LH0081B 280B PIO
are the high speed version which can opeate at the
4MHz and 6MHz system clock, respectively.
• Features
1. Two independent 8-bit bidirectional peripheral
interface ports with "handshake" data transfer
control Top View
2. N-channel silicon -gate process
3. Anyone of the following four modes of opera-
tion may be selected.
• Byte output mode
• Byte input mode
• Byte bidirectional bus (available on Port A
only)
• Bit mode
4. Programmable interrupt
5. Vectored daisy chain priority interrupt logic
included
6. The port B outputs can drive Darlington tran-
sistors
7. All inputs and outputs fully TTL compatible
8. Single +5V power supply and single phase
clock
9. 40-pin dual-in-line package
235
Z80/Z80A/Z80B ParallellnputlOutput Controller LH0081 ILH0081 AlLH0081B
• Block Diagram
Internal
Control Logic ;:;
fr Port A
0 " Data Bus
::.
..:;"
c.
u ...:
System Data Bus
's.
0
....:I
.
~
0
Il.
-=fr
0"
::.
..:;"
c.
o:l
Interrupt
~
..0
Il.
Control Logic
BReady
B Strobe
-'" ~
..:;
> > ''""or" '" 0-=
u
0
'"+ 2Q U
u z e '" :c :c'"
0:: oj
oj
u
" ~"
> " '"
~
'»"
~
.. ..
:::s ~
c.
~
..:;
'-'-~-----SHARP-------'-
236
Z80/Z80AlZ80B Parallel Input/Output Controller LH0081/LH0081A/LH0081B
• Pin Description
Pin Meaning I/O Function
Bidirectional
Do-D 7 Data bus System data bus.
3-state
- Defines which port is accessed. A high selects port B,
B/A SEL Port B or A select I
and a low port A.
- Defines the type of data transfer on the data bus. A high
C/D SEL Control or data select I
selects control, and a low data.
- Active "Low". A low enables the CPU to transmit and
CE Chip enable I
receive control words and data.
Standard Z80 system clock used for internal synchro·
CLOCK System clock I
nization signals.
- Machine cycle one Active "Low". Indicates that the CPU is acknowledging
M1 I - --
an interrupt, when both M1 and IORQ are active.
Active "Low". Read operation when RD is active, and
-- Input/ output write operation when it is not active. Indicates that the
IORQ I
request CPU is acknowledging an interrupt, when both IORQ
-
and M1 are active.
RD Read cycle status I Active "Low". Read operation when active.
lEI Interrupt enable in I Active "High". Forms a priority-interrupt daisy-chain.
lEO Interrupt enable out 0 Active "High". Forms a priority-interrupt daisy-chain.
INT Interrupt request Open drain, 0 Active- "Low". Active when requesting an interrupt.
Bidirectional Transfers information between port A and a peripheral
Ao-A 7 Port A bus
3-state device.
Active "Low". Used as a handshake line for data trans-
---
A STB Port A strobe I fer synchronization on port A. Not used in the bit con-
trol mode.
Active "High". Used as a handshake line for data trans-
A RDY Port A ready 0 fer synchronization on port A. Not used in the bit con-
trol mode.
Bidirectional Transfers information between port B and a peripheral
Bo-B 7 Port B bus
3-state device.
Active "Low". Used as a handshake line for data trans-
--
B STB Port B strobe I fer synchronization on port B. Not used in the bit con-
trol mode.
Active "High". Used as a handshake line for data trans-
B RDY Port Bready 0 fer synchronization on port B. Not used in the bit con-
trol mode. -
237
Z80/ZS0A/Z80B Parallel Input/Output Controller LH008t1LH0081AILH0081 B
238
Z80/Z80AlZ80B Parallel Input/Output Controller LH0081/LH0081A/LH0081B
-------------SHARP-----.-........;...--
239
.............. -.. -.,.-.-....
Z801Z80A/Z80B ParallellnputlOutput Controller'
.• AC Timing Chart
- .- .--
..........,...... ...-.~....,~ ....
LH0081/LH0081A/LH0081 B
CLOCK
CE
B/A,C/O
RD,IORQ
OUT
{
Do-D, .
IN
IORQ
Ml
lEI
lEO
READY
(ARDY or BRDY)
STROBE
(ASTB or B8TB)
Mode 0
Ao-A, Mode 1
Mode 2
Mode 3
---"---~----SHARP---'-""""'~""""'------
240
Z80/Z80AlZ80B. Parallel Input/Output Controller LH0081/LH0081A/LH0081B
'-y------' '-----v------"
Mode Words Indicates
Mode Words
X means they are not used
• Timing
(1) Output mode (Mode 0) Ready stays active until the positive edge of the
An output cycle is always started by the execu- strobe line is received, indication that data was
tion of an output instruction by the CPU_ The WR * taken by the peripheral. T~positive edge of the
strobe pulse generates an INT if the interrupt en-
pulse from the CPU latches the data from the CPU
data bus into the selected port's output register. able flipflop has been set and if this device has the
The WR * pulse sets the Ready flag after a Low- highest priority.
going edge of CLK, indicating data is available.
241
. Z80/Z80A/Z80B Parallel Input/Output Controller . LHOb81/LH0081 AlLH0081 B
CLOCK
WR*
Port output
RDY
8TB
(2) Input mode (Mode 1) and cannot accept any mote data until the CPU
When STROBE goes Low, data is loaded into the completes a rea~When a read is complete, the
selected port iriput register. The next rising edge of positive edge of RD sets Ready at the next Low-
strobe activates INT, if Interrupt Enable is set and going transition of CLK. At this time new data can
this is the highest-priority requesting device. The be loaded into the PIO.
following falling edge of CLK resets Ready to an in·
active state, indicating that the input register is full
CLOCK
Port input
RDY
RD"
242
Z80/Z80AlZ80B Parallel Input/Output Controller LH0081/LH0081A/LH0081B
CLOCK
WR"
A RDY __________________-J
INT
B RDY
CLOCK
RD
243
.-.-.--.........---..
Z80/Z80A/Z80B Parallel .Input/Output Controller
....,-----------~- ......,-....-
LH0081/LH0081 A/LH0081B
MI
lEO
lEI
(6) Return from interrupt cycle goes Low again. If the second byte of the opcode
was a "40", then the opcode was an RET! instruc-
If a Z-:80 peripheral has no interrupt Pending tion.
·and is not under service, then its IEO=1E1. If it has After an "ED" opcode is decoded, only the
an interrupt under service (i.e., it has already inter- peripheral device which has interrupted and is cur-
rupted and received an interrupt acknowledge) rently under service has its lEI High and its lEO
then its lEO is always Low, inhibiting lower prior- Low. This device is the highest-priority device in the
ity devices from interrupting. If it has an interrupt daisy chain that has received an interrupt acknow-
pending which has not yet been acknowledged, lEO ledge. All other· peripherals have lEI = lEO. If the
is Low unless an "ED" is decoded as the first byte next opcode byte decoded is "40". this peripheral de-
of a 2-byte opcode. In this case, lEO goes High un- vice resets its "interrupt under service" condition.
til the next opcode byte is decoded, whereupon it
CLOCK
lEI
lEO
244
Z80/Z80A/Z,80B Counter Timer Circuit LH0082/LH0082A1LH0082B
LH0082/LH0082A/LH0082B
Z801Z80AlZ80B Counter Timer Circuit "
• Description • Pin Connections
The Z80 product line is a complete set of micro-
computer components, development systems and
support software. The 280 microcomputer com- o
ponent set includes all of the circuits necessary to
build high- performance microcomputer systems
with virtually no other logic and a minimum num-
ber of low cost standard memory elements.
The LH0082 280 eTe (Z80 eTe for short be-
low) is a programmable, four channel device that ZC/TOo 7
provides counting and timing functions for the Z80
epu. The Z80 epu configures the 280 eTC's four
independent channels to operate under various
modes and conditions as required.
The LH0082A 280A and LH0082B Z80B eTe
are the high speed version which can operate at the
4MHz and 6MHz system clock, respectively.
Top View
• Features
1. Four independent programmable 8-bit coun-
terl16-bit timer channels
2. N-channel silicon gate process
3. Each channel may be selected to operate in
either a counter mode or timer mode
4. Programmable interrupts on counter or timer
states
5. When the down-counter reaches the zero count
the eTe reloads its time constant automatically
and continues it's channel operation
6. Readable down counter
7. Selectable 16 or 256 clock prescaler for each
timer channels
'8. Selectable positive or negative trigger may in-
itiate timer or counter operation
9. Three channels have Ze/TO outputs capable of
driving Darlington transistors
10. Vectored daisy chain priority interrupt logic
included
11. Single +5V power supply and single phase
clock
12. All inputs and outputs fully TTL compatible
1,3. 28-pin dual-in-line package
·----.-..--~---SHARP .......... - - - . - - - - -
245
.._..._._----------_.....-....
Z80/Z80AlZ80B Counter Timer Circuit
• Bl.ock ,Diagra~
_-_.........
LH0082/LH0082A1LH0082B
Zero Count/
Timeout Output
Clock/Trigger
Input
Internal
System Control Logic
Zero Count/
Data Ti meout Output
Bus Clock/Trigger
Input
Zero Count/
Timeout Output
Clock/Trigger
Input
Clock/Trigger
Input
tIII
., > ><:>
...
C,)
0
-.,.,"
III .=i
., 0
<;;
. .,.
U)
.,......"
~
~
~
C
~
.,"...... ..."...
<fl
]
] !
.=i
• Pin Description
Pin Meaning lIO Function
Bidirectional
Do-D 7 Data bus System data bus.
3-state
CS o, CS 1 Channel select I $elects one of the four independent channels.
- Active "Low". A Low enables the CPU to transmit and
CE Chip enable I
receiv~ control words and dat'a.
Standard Z80 system clock used. for internal synchro-
CLOCK System clock I
nization signals.
,
- Active "Low". Indicates that the CPU is acknowledging
Ml Machine cycle one I - --
an interrupt, when both Ml and IORQ are active.
Active "Low". Read operation when RD is active, and
write operation when it is not active. Indicates the CPU
IORQ I/O request I
is acknowledging an interrupt, when both IORQ and Ml
are active.
RD Read cycle status I Active "Low". Read operation when active.
246
Z80/Z80AlZ80B Counter Timer Circuit LH0082/LH0082A/LH0082B
,
(f=lMHz, Ta=25t)
• CapaCitance
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Clock capacitance CCLOCK 20 pF
Unmeasured pins returned
Input capacitance CIN 5 pF
to ground
Output capacitance COUT 10 pF
---~----SHARP-'----------
247
Z8Q/Z80AlZ80BCounter Timer Circuit LH0082/LH0082A/LH0082B
--~--'-'--SHARP''''''---------
248
Z80/Z80A/Z80B Counter Timer Circuit LH0082/LH0082A/LH0082B
• AC Timing Chart
r
I'---CD---..
~ "~n~_r~
® ~ ®
CLOCK
... ;:q)
r
CSo, CSI )l ](
-CE 1--(1)- ~ -®
'\. J
IE-@~
- - ~ r-®
Read
IORQ \. L
®~ ®-~
-RO
'\. ¥
®--iE--- ®- ~
00-07
fE--@~ i-@ f-J
CSo, CS, X X
-CE k-ev-- ~ -®
"\L. ¥
write - - ~- .....-4 ®
IORQ 'll /
®--k--oo .....-..f- ®
Do-Oj )l }(
I-@--"'~
MI
-{
Inter
acknowl edge
--
IORQ
00-07
~@ h
I
I f..:--@
,
@f
~
-@+/
-
lEI
I-©
lEO
INT --®l~
~@ :i
/ \L
,..".1. @ ®l =:-I
CLK/TRGo-3 = I
(Counter mode) --1 re-@~ @~@---I
lb.$"
i-----@ ---J
CLK/TRGo-3 ----'
(Timer mode) k-~
ZCITOo-2
~@-r ~
@\.
. ~49
t:801Z80AIZ80B Counter Timer Circuit 'LH0082/LH0082A/LHOO82B
250
Z80/Z80AlZ80B Counter Timer Circuit LH0082/LH0082A1LH0082B
Tl
ru ~ ~rurL
T2 T3
CLOCK
~
X Channel address
X
IORQ
\ I
RD
Ml
Input
I I I
Fig. 1 Write cycle timing
---~"'-'-----SHARP--'-----'-
251
Z801Z80A/Z80B Counter Timer Cifc:uit LHOO82/LH0082A/LH0082B,
was a "4D," then the opcode was an RETI instruc~ in the daisy chain that has received an interrupt
tion. acknowledge. All other perjpherals have IEI' '" lEO. '
After an' "ED" opcode is decoded, only the If the next opcode byte decoded is "4D", this
peripheral device which 'has interrupted and is peripheral device resets its "interrupt under ser-
currently under service has its IEI High and its vice" condition.
, lEO Low. This device is the highest-priority device
CLOCK
Channel address
Ml
0 0 -0 7 Output
Last T
state Tl T2 Tw· Tw· Tg T.
n-l\....J ~ rL ~ ~ ~ ru
,....-
CLOCK ---01
Ml It II
IORQ \ 11
lEI
--- --- J
L ---- --
- ---- ----
--~
lEO
- ""\ -,
. - - . - - - - - - - - - - - $ H A R P . - - - - - . - . . - . .......... ~---
\
25,2
Z80/Z80AlZ80B Counter Timer Circuit LH0082/LH0082A/LH0082B
Tl T2 T3 T. Tl T2 T3 T. Tl
CLOCK
Ml
RD
Do-D7
lEI
lEO
During service
During service
253
Z80/Z80A/Z80B Counter Timer Circuit LH0082/LH0082A/LH0082B
CLOCK
CLK
~ \ / L
Counter mode
TRG
I \ Timer mode
254
Z80/Z80A Direct Memory Access LH0083/LH0083A
ZSOIZSOA
LH0083/LH0083A Direct Memory Access l
.-.-----,---SHARP----------
255
..........,.....................................................................-
Z-80/Z80A Direct Memory Access
,
LH0083/LH0083A
,
• Block Diagram
•...:0:.::;
;; ;; u"
l/')
0
0
+
u
u
:>
-'"
>.
Ul
E
'"
7
Bus Acknowlege In
Bus Acknowlege Out Interrupt
Interrupt 'Request 'and Bus -Plllse Byte
Port A
Interrupt Enable In Priority , Logic COllnter
Logic Address
Interrupt Enable Out
System
Syste'm Data Bus Address
Bus
256
Z80/Z80A Direct Memory Access LH0083/LH0083A
• Pin Description
Pin Meaning 110 Function
Ao-A'5 Address bus 3-state 0 System address bus.
Bidirectional
Do -D 7 Data bus System data bus.
3-state
-- Active "low". Used to form a bus priority- interrupt
BAI Bus acknowledge in I
daisy-chain.
-- Active "low". U sed to form a bus priority- interrupt
BAO Bus acknowledge out 0
daisy-chain.
BUSRQ Bus request Open drain, 0 Active "low". Active when controlling the bus.
--- Active "low". Acts as CE when the CPU accesses the
CE/WAIT Chip enable I
DAM, and as WAIT when the DAM is the bus master.
Standard 280 system clock used for internal synchro·
CLOCK System clock I
nization signals.
- Active "low". Indicates that CPU is acknowledging an in·
Ml Machine cycle one I - --
terrupt, when both Ml and IORQ are active.
Active "low". Transmits and receives data from the CPU
-- Bidirectional as an input line. Acts as 10RQ for another device as an
IORQ Input/output request
3-state output line. Indicates that the CPU is acknowledging an
-- -
----------SHARP-.--..-.-----
257
Z80/Z80A ,Direct Memory Access LH 0083/LH0083A
-~------SHARP-------'-
258
Z80/Z80A Direct Memory Access LH0083/LH0083A
• AC Characteristics
--~'--""-'--SHARP'--------
259
---.--. .......- ....... ............,..............-.. ........
Z80/Z80A~ Direct Memory Access
..-.-.. ~ ~ ......
,... LH0083/LH0083A"
CLK
RD
MI
lEI
lEO
INT I
Interrupt state
_________F@).JI
-----+I----~ .
:: ~1~---(-@~)----;d~----
RDY ~-@
~ _
Inactive
260 .
Z80/Z80A Direct Memory Access. LH0083/LH0083A
15
.(read cycle when rising edge ·ends read)
Data in to clock ~ setup
TsDO(WfM)
50
60
35
50
ns
ns
4 ==
;;
*16
(read cycle when falling edge ends read)
Data out to WR ! setup (memory clcle) TsDO(WPI) (1)-210 (1)-170 ns
=
17 Data out to WR ~ setup (110 cycle) TsDO(WPI) 100 100 us
*18 WR t to data out hold time TdWr(DO) (31+(4)-80 (3)+(4)-70 us
19 Hold time for any specified setup time Th 0 0 fis
20 Clock! to MREQ ! delay TdCf(Mf) 100 85 ns
21 Clock t to MREQ t delay TdCf(Mr) 100 85 us
22 Clock ~ to MREQ t delay TdCf(Mr) 100 85 ns
23 MREQ low pulse width TwMI (1)-40 (1)-30 ns
*24 MREQ high pulse width TwMh (2)+(51-30 (21+(3)-20 ns
25 Clock t to IORQ ! delay TdCr(If) 90 75 us
26 Clock t to IORQ t delay TdCr(lr) 100 85 ns
*27 Clock! to IORQ t delay TdCr(Ir) 110 85 us
28 Clock t to RD ~ delay TdCr(Rf) 100 85 ns
29 Clock! to RD ~ delay TdCr(Rf) 130 95 ns
30 Clock t to RD t delay TdCr(Rr) 100 '85 ns
31 Clock ~ to RD t delay TdCr(Rr) 110 85 us
32 Clock t to WR ~ delay TdCr(Wf) 80 65 ns
33 Clock ~ to WR ~ delay TdCf(Wf) 90 80 ns
34 Clock t to WR t delay TdCr(Wr) 100 80 us
35 Clock ~ to WR t delay TdCf(Wr) 100 80 us
36 WR Low pulse width TwWl (1)-40 (1)-30 ns
37 WAIT to clock ~ setup TsWA(Cf) 70 70 us
38 Clock t to BUSREQ delay TdCr(B) 150 100 us
39 Clock t to IORQ, MREQ, RD, WR float delay TdCr(lz) 100 80 ns
Note : t Rising edge. ~ Falling edge
Note 1: Numbers in parentheses are other parameter numbers in this table; their values should be substituted in equations.
, Note 2: All equations imply DMA default (standard) timing.
Note 3: Data must be enabled onto data bus when RD is active.
Note 4: Asterisk (*) before parameter number means the parameter is not illustrated in the AC Timing Diagrams.
26f
Z8Q/Z80A Direct Memory Access Lti0083/ LH0083A
..~---;.,.~""",,,--,,,,,,,,,,,,,,-,-,-,,,,,, ..-,,-,,-,,,,,,,,,,,
'CLK;
DO-D7{ Input
Output
--~~--#-~---4+-----+---~
RD
WR
BUSR
O~I
t L: =D.MAS;;~:: ::~RED
I XI I
L O = READY ACTIVE
O=INTERRUPT PENDING
- O=MATCH FOUND .
of data between ports, and O=END OF BLOCK
• a disabled state, in which it can initiate neither ~--------------INTERRUPT PENDING
.-,------------.--..-SHARP-----.-.,.-.-.-.-.--
262
Z80/Z80A Direct Memory Access LH0083/LH0083A
1 0= SEARCH
1 1= SEARCH/TRANSFER
O=PORT B --->PORT A [ I I I I I I I I MASK BYTE
l=PORT A--->PORT B (0= COMPARE)
I I I I I I I I
(HIGH BYTE)
J BLOCK LENGTH
• Write Register 4
D, D6 Ds D. D3 D2 D, Do
(LOW BYTE)
ll1 J 1 1 0 1 I BASE
I I I [ BLOCK LENGTH REGISTER
(HIGH BYTE) BY TE= b b BYTE
CONTINU OUS= 0 1
• Write Register 1
BU RST= 1 0
D, D6 Ds D. D3 D2 D, Do DO NOT PROG RAM= 1 1
I0 I I I I 1 I 0 I 0 I BASE REGISTER BYTE L [ [ I I I I I I PORT B STARTING
ADDRESS (LOW BYTE)'
~
I b=PORT
l=PORT
A IS MEMORY
A IS I/O I PORT B STARTING
ADDRESS (fiG" BYTE)
o =PORT A ADDRESS DECREMENTS
1 =PORT A ADDRESS INCREMENTS INTERRUPT CONTROL BYTE
o = PORT A ADDRESS VARIABLE 0
1 =PORT A ADDRESS FIXED
INTERRU PT j 1=INTERRUPT ON
MATCH
j
I I I I [ J ~?~1t i'f-lJABLE ON R DY=l
STATUS AF FECTS
l=INT ERRUPT AT
EN D OF BLOCK
VE CTOR=l l=PULSE GENERATED
b J=CYCLE LENGTH=4
[ I I I I I I r [ PULSE CONTROL
o l=CLCLE LENGTH =3
BYTE
1
1
O=CYCLE LENGTH =2
l=DO NOT USE
!
INTERRUPT
[ I I [
VECTOR'
O=IORQ ENDS 112 CYCLE EARLY I I
O=MREQ ENDS 112 CYCI;E EARLY VECTOR IS AUTOMATICALLY { 0 o = INTERRUPT ON RDY
O=RD ENDS 112 CYCLE EARLY
MODIFIED AS SHOWN 9 1o == INTERRUPT ON MATCH
INTERRUPT ON END
ONLY IF" STATUS 1 OF BLOCK
O=WR ENDS 112 CYCLE EARLY
AFFECTS VECTOR" BIT IS SET i 1 = INTERRUPT ON MATCH
AND END OF BLOCK
263
.---....--AIIIIIIiII'-............
. Z80/Z80A Direc.t. Memory Ac.cess
• Write -Register 5
-~-~- . . ....-
LH0083/L:H0083A
~
....:...&..---I.-r-....,..~...,L...;.......~~
BASE REGIS TER
BYTE
O=REApy ACTIVE LOW /
'. 1 == READY ACTIVE HIGH
O'=CE ONLY
l=CE!WAIT MULTIPLEXED
STOP RESTART ON END
O=STOP ON END OF BLOCK
l=AUTO REPEAT ON END ,QF BLOCK
• Write Register 6
D7 D6 Ds D. D3 D2 DJ Do
I1I I I I I I1I1 I BASE REGISTER BYTE
I I I I I
C3 1 0 0 0 0 INTERRUPT LINE RESET, INTERRUPT REQUEST AND BUS REQUEST DISABLE,
INTERNAL READY STATE CLEAR, CE MULTIPLEX DISABLE, AUTOMATIC REPEAT
STOP
C7 1 0 0 0 1 PORT A TIMING TOZ80 STANDARD TIMING
CB 10010 PORT B TIMING TO ZIlO STANDARD TIMING
CF 1 0 0 1 1 BOTH PORTS START ADDRESS LOAD, BYTE CaNTER CLEAR
D3 1 0 1 0 0 ADDRESS CONTINU):': FROM CURRENT VALUE, BYTE COUNTER CLEAR
AB o 1 0 1 0 INTERRUPT ENABLE
AF o 1 011 INTERRUPT DISABLE
A3 o 1 0 0 0 INTERRUPT CIRCUIT RESET AND DISABLE (SAME AS RETI) , INTERNAL READY
STATE CLEAR
87 o 0 0 0 1 DMA ENABLE} EFFECTIVE FOR ALL SECTIONS BUT INTERRUPT.
83 o 0 0 0 0 DMA DISABLE NOT ALL FUNCTIONS RESETTABLE, HOWEVER
A7 o 1 0 0 1 READ SEQUENCE START FOR 1ST REGISTER DESIGNATED BY READ MASTER
REGISTER .
BF o 1·1 1 1 STATUS REGISTER READ SETUP. FROM STATUS REGISTER FOR NEXT READ
B3 o 1 1 0 0 INTERNAL READY STATE TO BE FORCEDLY CLEAR OF "RDY" PIN (USED. FOR
DMA BETWEEN MEMORIES NEEDING NO RDY SIGNAL. NOT OPERATIVE IN "BYTE
.MODE")
88 o 0 0 1 0 REINITIALIZE. END-OF-BLOCK BIT CLEAR
B7 o 1 101 ENABLE AFTER RETI. BUS REQUEST ONLY AFTER RETI EXECUTION
BB o 1 1 1 0 READ MASK FOLLOWS
I 0 I I I I II I
! I READ MASK (I=ENABLE)
1 1'-------BYTE
STATUS BYTE
fL'_ _ _
- BYTE COUNTER (LOW 'BYTE)
COUNTER (HIGH BYTE)
L _L_-_-_-_-_-=--=--=--=--=--=PORT A ADDRESS 1LOW BYTE)
L_ _ _ _ _ _ _ _ PORT A ADDRESS HIGH BYTE)
PORT B ADDRESS LOW BYTE)
'-----------PORT B ADDRESS HIGH BYTE)
264
Z80/Z80A Direct Memory Access . LH0083/LH0083A
.---'---.---SHARP....--.--.--.-.~--
265
Z60!Z80A Dire.ct Memory Access LH00J33!LH0083A
.....................,.....__....,_ _ _....,.-r.__... -.:~....,.- __ ~_.
n-~
TJ
. . . ~ ~r-Lr-~ L
T2 T3 Tl Tz ' Tw T3
,....
.' CLOCK
--
'--
X X L
MREQ \ I
Read {
RD
\ J
: Write
{
IORQ
_
1\ r~
WR \ rr--
Do-D7 \ l)-
-- ---- ·7 r- ---- ---- --- 7 ..,- ---- r--
-- ---- ... ----
oJ
\
1---- -' ""1---- ---
\
Tl T2 Tw T3 Tl Tz T3
- X X I'X
-
_ {IORQ \ I
,Read .-
RD ' \ I
l}-
MREQ
\
\ I
Write { _
WR
I\..W
-- ---- ---- ---- ---- ---- ---
CE/WAIT
-- --- ---_. J \ T \: ---
Fig. 4 Transfer from 1/0 device to memory
Z80/Z80A Direct Memory Access LH0083/LH0083A
(ii) Variable cycle and edge timing The from action on the RDY line. The DMA always
Z-80 DMA's default operation-cycle length for the completes its current byte operation in an orderly
source (read) port and destination (write) port can fashion before releasing the bus.
be independently programmed. This variable-cycle By contrast, BUSREQ is not released in Con-
feature allows read or write cycles consisting of tinuous mode when RDY goes inactive.
two, three or four T-cycles (more if Wait cycles Instead, the DMA idles after completing the current
are inserted), thereby increasing or decreasing the byte operation, awaiting an active RDY ~ain.
speed of all signals generated by the DMA. ~ddi (vii) Bus release on match If the DMA is
tion, the trailing edges of the IORQ, MREQ, RD and programmed to stop on match in Burst or Con-
WR signals can be independently terminated tinuous modes, a match causes BUSREQ to go inac-
one-half cycle early. Fig. 5 illustrates this. tive on the next DMA operation, i.e., at the end of
In the variable-cycle mode. unlike default timing, the next read in a search or at the end of the fol-
IORQ comes active one-half cycle before MREQ, lowing write in a transfer (Fig. 10). Due to the
RD and WR. CE/W AIT can be used to extend only pipelining scheme, matches are determined while
the 3 or 4 T-cycle variable memory cycles and the next DMA read or write is being performed.
only the 4-cycle variable 110 cycle. The CE/W AIT The RDY line can go inactive after the matching
line is sampled at the falling edge of T2 for 3-or. operation begins without affecting this bus-release
4-cycle memory cycles, and at the falling edge of timing.
T3 for 4-cycle 110 cycles. (Viii) Interrupts Timings for interrupt ack-
During transfers, data is latched~ the clock nowledge and return from interrupt are the same
edge causing the rising edge of RD and held as timings for these in other Z-80 peripherals. (Re-
through the end of the write cycle. fer to the Z80 PIO.)
(iii) Bus requests Fig. 6 illustrates the bus Interrupt on RDY (interrupt before requesting
request and acceptance timing. The RDY line, bus) does not directly affect the BUSREQ line. In-
which may be programmed active High or Low, is stead, the interrupt service routine must handle
sampled on every rising edge of CLK. this by issuing the following commands.
If it is found to be active, and if the bus is not in a. Enable after return from interrupt (RETI)
use by any other device, the following rising edge (Command code 87H)
of CLK drives BUSREQ low. After receiving BUS- b. Enable DMA (Command code 87H)
REQ the CPU acknowledges on the BAI input c. An RETI instruction
either directly or through a multiple-DMA daisy
chain. When a Low is detected on BAI for two con-
secutive rising edges of CLK, the DMA will begin
transferring data on the next rising edge of CLK.
(iv) Bus release byte-at-a-time In Byte at
a Time mode. BUSREQ is brought High on the ris-
ing edge of CLK prior to the end of each read cycle
(search-only) or write cycle (transfer and transferl
search) as illustrated in Fig. 7. This is done regard-
less of the state of RDY.
The next bus request fo!:.l!!e next byte will come
after both BUSREQ and BAI have returned High.
(v) Bus release at end of block In Burst
and Continuous modes, an end of block causes
BUSREQ to go High usually on the same rising
edge of CLK in which the DMA completes the
transfer of the data block (Fig. 8). The last byte in
the block is transferred even if RDY goes inactive
before completion of the last byte transfer.
(vi) Bus release on not ready In Burst
mode, when RDY goes inactive it causes BUSREQ
to go High on the next rising edge of CLK after the
completion of its current byte operation (Fig. 9).
The action on BUSREQ is thus somewhat delayed
-.-.-----.-.--SHARP..-......-------
267
Z80/Z80A Direct Memory Access LH0083lLH0083A
-...r.-_......_ ..- I r - . - . - . - . - . -_ _..._-.:,..-.-.-
CLOCK
"""\r---
Ao-AIS .J1'- __ _
-...J,----I-'
MREQ ~r T-,--r-T ,, - - -
- - I , ,
I I
RD, WR .L_..I_ L._.L_ I '
CLOCK
-INACTIVE
-B-U-SR-Q- ==~::_j-rt-----1'"'". --t I---+_+-_-+__+-__
I
BAl __ J I
DMA DMA
INACTIVE ACTIVE
Fig. 6 Bus request and acknowledgement
CLOCK ~~. _ _ _ _ _ _ _ _ _ _ __
BUSRQ-HI
I
I
BAI I I
i I"'D'M.A
DMA
ACTIVE --+- INACTIVE
268
Z80lZ80A Direct Memory Access LH0083lLH0083A
CLOCK ---ILnY
ACTIVE
RDY INACTIVE
LAST BYTE
L OPERATION--i.......-DMA INACTIVE
r - IN BLOCK
ACTIVE
RDY INACTIVE ~.~_ _ _-I-_ _ _ _ _ __
BUSRQ
'- CURRENT BYTE
iOPERATION DMA INACTIVE
RDY INACTIVE
BUSRQ --~I-.----i~'~-~I~B~Y~T~E~n~+~l~R~E~A~D~~
BYTE n - + I N MATCH FOUN DMA INACTIVE
READ IN ON BYTE n
------~-----SHARP .. . . . - . - . - . - - - - - -
269
................ -........... -........-..... - . - . . -.........................
l80/l80A/l80B Serial Input/Output Controller LH0084/84A!84B/85/85A/85B/86/86A/86B
LH0084/LH0084A/LH0084B .
LH0085/ LH0085A/LH0085B Z80/Z80A<Z80B Serial
LH0086/LH0086A/LH0086BInputiOutput Controller
• Description • Pin Connections
The 280 product line is a complete set of micro- LH0084/LH0084A/LH0084B
computer components, development systems and
support software_ The 280 microcomputer com- o
ponent set includes all of the circuits necessary to
build high-performance microcomputer systems
with virtually no other logic and a minimum num-
ber of low cost standard memory elements.
The LH0084/85/86, 280 SIO (280 SIOfor
short below) is a dual-channel multi-function
peripheral component designed to satisfy a wide
lEO 7
·i.
LH0085/LH0085A/
LH0085B
RxDB
:: RxCB
SYNCB
...•. TxCB
variety of serial data communications requirements
,. TxDB
in microcomputer systems. Its basic function is a W/RDYA 10 31 GND
serial-to-parallel, parallel-to-serial converter / SYNCA 11 30 W/RDYB
controller, but-within that role-it is configurable
~.. SYNCBLH0086/LH0086A
by systems software so its "personality" can be
::~=c~Hio08~XDB
RxCA
optimized for a given serial data communications
TxCA
application.
TxDA TxDB .. RxCB
The 280 SIO is capable of handling asynchro·
~:~:
nous and synchronous byte-oriented protocols DTRA
RTSA RTSB •••..:.
such as IBM Bisync, and synchronous bit-oriented
protocols such as HOLe and IBM SOLe. This ver- CTSA CTSB ~ .. DTRB
satile device· can also be used to support virtually DCDA 19
any other serial protocol for applications other CLOCK
than data communications (cassette or floppy disk Top View
interfaces, for example).
The 280 SIO can generate and check eRe codes 2. Single + 5V power supply and single phase
in any synchronous mode and can be programmed clock
to check data integrity in various modes. The de- 3. Two independent full duplex channels
vice also has facilities for modem controls in both 4. Data rates: 0 to 500K bits/second (at 2.5 MHz
channels. In applications where these controls are system clock)
not needed, the modem controls can be used for : 0 to 800K bits/second (at 4MHz system clock)
general-purpose I/O_ : 0 to l200K bits/second (at 6MHz system clock)
The 280. SIO has six types as below according 5. Asynchronous operation
irs system clock and bonding option_ The 280A • 5, 6, 7 or 8 bits/character
SIO and the 280B SIO are a high speed version • 1, lY2 or 2 stop bits/character
which can operate at the 4MHz and 6MHz system • Even, odd or no parity
clock, respectively. • Xl, X16, X32 and X64 clock modes
• LH0084 280 SIO/O • LH0084B Z80B SIO/O • Break generation and detection
• LH0085 280 SIOIl • LH0085B Z80B SIO/l • Parity, Overrun and Framing error detec-
• LH0086 Z80 SIOI2 • LH0086B Z80B SIO/2 tion
• LH0084A Z80A SIOIO 6. Binary synchronous operation
• LH0085A Z80A SIOIl • Internal or external character synchroniza-
• LH0086A Z80A SIO/2 tion
• One or two Sync characters in separate reg-
isters
• Automatic Sync character insertion
• Features • eRe generation and checking
1. N-channel silicon-gate process 7. HOLe or IBM SOLe operation
.-..-------SHARP.---..-.i--.----~
270
Z80/Z80A/Z80B Serial Input/Output Contorller LH0084/84A184B/85/85A185B/86/86A186B
• Block Diagram
12 Receive Data A
13 Receive Clock A
15 Transmit Data A
A 14 Transmit Clock A
~
-10 Wait/Ready A
Channel A
Internal 11 !Extarnal Charactor
Control and
Control Synchronization A
Status
Logic Request To
Registers 1 Send A
System Data Bus 18 Clear To Send A
~
16 Data Terminal
e" Ready A
0" 19 Data Carrier
Detect A
----=
Q.
~ '24 Request To
<Il
Send B
Chip Enable '23'Clear To Send B
"
.0
Data Terminal
~ Ready B ~
Machine Cycle 1 8 0..
U Channel B 22 Data Carrier
Interrupt Detect B
I/O Request Control Control and
Read Logic Status Receive Data B
Command/Data Registers Receive Clock B
Select
Channel Select Transmit Data B
B Transmit Clock B
30 Wait/Ready B
External Charactor
Synchronization B
271
Z80YZ80AlZ80B Serial Input/Output Controller LHOO84/84A184B/85/85A185B/86/86A186B
.. Pin Description
Pin Meaning I/O Function
Bidirectional
Do-D 7 · Data bus System data bus
3-state
- Defines which channel is accessed. Channel B at "High",
B/A Channel A or B select I
channel A at "Low".
-
"' Defines the ty·pe of information transfer on the data bus.
C/D Control or data select I
Control word at "High", data at "Low".
- , Active "Low". A Low enables the CPU to transmit and
CE Chip enable I
receive control words and data.
Standard 280 system clock used for internal synchro-
CLOCK System clock , I
nization signals.
- I
Active "Low". Indicates that the CPU is acknowledging
Ml Machine cycle one I - --
an interrupt, when both Ml and IORQ are active.
Active "Low". Read operation when RD is active, and
-- write operation when it is not active. Indicates that the
IORQ Input/output request I
CPU is acknowledging an interrupt, when bbth IORQ
-
and Ml are active.
RD Read cycle status I Active "Low". Read operation when active,
RESET Reset I Active "Low". Resets the interrupt bits.
Active "High". Used to form a priority-interrupt daisy
lEI Interrupt enable in I
chain.
Active "High:' Used to form a. priority-interrupt daisy
lEO Interrupt enable out 0
chain.
INT Interrupt request Open drain, 0 Active "Low". Active when requesting an interrupt.
W/RDYA Active "Low". READY when ~he DMA is a bus master,
--- Wait/ready Open drain, 0 --
W/RDYB WAIT when the CPU is a bus master.
---- Active "Low". Enables the respective transmitters. Also
CTSA,CTSB Clear to send I
applicable as general-purpose input pins.
---- Active "Low". Enables the respective receivers. Also ap-
DCDA, DCDB Data carrier detect I
plicable as general-purpose input pins.
RxDA, RxDB Receive data I Active "Low". Data line for receiving
TxDA, TxDB Transmit data 0 Active "Low". Data line for transmitting.
RxCA, RxCB Receiver clock I Active "Low". Receiving synchronization clock.
TxCA, TxCB Transmitter clock I Active "Low". Transmitting synchronization clock.
Active '.'Low". Indicates that the transmitter is empty
----
RTSA,RTSB Req uest to send 0 during transfer. Also applicable as general-purpose out-
put pins.
---- Active "Low". Also applicable as general-purpose out-
DTRA,DTRB Data terminal ready 0
put pins.
--- Active "Low". Acts the same way as CTS and DCD in
SYNCA, External character
I the asynchronous mode. Driven "Low" in the synchro-
SYNCB synchronization
nous. mode when a synchronizing pattern is achieved.
---:--.---~---,.~--SHARP - - - - - - - - - - - -
272· ,
.........-..-......-..............-......................-.
Z80lZ80AlZ80B SeriallnputlOutput Controller
.-..-.
LH0084184A184BI85/85A185B/86/86A186B
• AC Characteristics
(1 ) AC characteristics ( I )
Z80 SIO Z80A SIO Z808 SIO
No. Parameter Symbol Unit
MIN. MAX. MIN. MAX. MIN. MAX.
1 Clock cycle time TcC 400 4000 250 4000 165 4000 ns
2 Clock width (high) TwCh 170 2000 105 2000 70 2000 ns
3 Clock fall time TfC 30 30 15 ns
4 Clock rise time TrC 30 30 15 ns
5 Clock width (low) TwCl 170 2000 105 2000 70 2000 ns
6 CEo C/D. 8/ A to clock t setup time TsAD(C) 160 145 60 ns
7 IORQ. RD to clock t setup time TsCS(C) 240 115 60 ns
8 Clock t to data out delay TdC(DO) 240 220 150 ns
Data in to clock t setup
9 TsDI(C) 50 50 30 ns
(Write or M1 cycle)
10 RD t to data out float delay TdRD(DOz) 230 110 90 ns
IORQ ! to data out delay
11 TdIO(DOI) 340 160 100 nS'1
(I NT ACK cycle)
~~-------SHARP.-.----.----
273
Z80/Z80AlZ80B Serial InpuVOutput Controller LH0084/84A184BI85/85A185B/86/86A1868
Ml ~ to lEO ~ delay
14 - TdM 1 (lEO) 300 190 16"0 ns
(interrupt before MlJ
15 IEl t to lEO t delay (after ED decode) TdlEl(IEOr) 150 100 70 ns
16 lEI ~ to INT ~ delay TdlEl(IEOf) 150 100 70 ns
17 Clock t to INT ~ delay TdC(INT) 200 200 150 ns
IORQ ~ or CE ~ toW IRDY ! delay
18 TdIO(W IRWf) 300 210 175 ns
(wait mode)
Clock t to W IRDY ! delay
19 TdC(W/PR) 120 120 100 ns
(ready mode)
Clock ~ to W IRDY float delay
20 TdC(W/RWz) 150 130 110 ns
(wait mode)
Any unspecified hold
21 Th 0 0 0 ns
when setup is specified
t Rising edge, ! Falling edge.
(2) AC timing chart ( I )
CLK
CE,C/D,B/A
IORQ,RD
RD
IORQ
Ml
lEI
lEO
~NT
-~.~~----......-r--SHARP ...-.-------~~~..--.
274
Z80/Z80A/Z80B Serial Input/Output Controller LH0084/84A184B/85/85A185B/86/86A186B
TxD
iE-----(7'J----i
W/RDY
--------~I-~~---~~~-~®~-------~\l~:/
RxD
W/RDY
.--..-------SHARP---------
275
.....~--- ...........
Z80/Z80AlZ8Q8 Serial·lnputiOutput Controller
Data
• Programming
The system program first issues a series of com-
mands that initialize the basic mode of operation
• Read Register 1 (RR 1)
The RRI contains the status bits for specific
receiving coditions as well as the one-field fraction
codes for the SDLC receive mode.
and then other commands that qualify conditions
within the selected mode.
Both channels contain registers that must be
programmed via the system program prior to op-
eration_
(1) Read Registers
The SIO contains three read registers for Chan- • Read Register 2 (RR 2)
nel B and three read registers for Channel A
(RRO-RR2) that can be read to obtain the status in- D7 Da Ds D. D3 Dz DI Do
formation. The status information includes error V7 I Va Vs V, V3 V2 VI Vo
conditions, interrupt vector and standard communi- y
Valiable if .. status affects
cations-interface signals vecto.r" is pro.grammed
• Read Register 0 (RR 0)
Da Ds Dz Do
Break Tx. CTS Sync DCD Tx INT Rx char· (2) Write Registers
/abort under· Ihunt buffer pending acter The SIO contains eight write registers fo·r Chan- .
run empty (ch.A) avail·
IEOM o.nly able nel B and eight write registers for Channel A
(WRO-W,R7) that are programmed separately to
configure the functional personality of the chan-.
nels.
---~-----~SHARP-------""-~-~-
276
Z80/Z80AlZ80B Serial Input/Output Controller LH0084/84A184B/85/85A185B/86/86A186B
D6 Ds Do
Wait/ Wait/ Wait/ Receive Receive Status Tx Ext
ready ready ready inter: inter· affects INT INT
enable function onR/T rupt rupt vector enable enable • Write Register 5 (WR 5)
mode I mode 0
The WR5 contains the bits (except for D,) to
control the transmitters.
277
... _---.-.....- -................_------
Z80/Z80AlZ80B Serial Input/Output Controller
• Timing
. LHOOa4l84A184B/85/85A185B/86/86A186B
Tw T3
CLOCK
Channel address
RD
Ml
T\ T2 Tw T3 T\
CLOCK
CE Channel address
IORQ
RD
Ml
DAtA
X Input
X
Fig. 3 Write cycle timing
278
Floppy Disk Controller LH011 O/LH011 OA
--'--'~--'--"-SHARP . - . - - - - - - - - - - -
279
,
N
00
.0
1 • I'l
to
I .1 ~
0"
()
7'
I I9
C"l"l C"lUl C
0"0
~C"l
-""~
o CIl
""'-'" S"
I;
9
co
....
I
I\)
3
I Write
::;;: :0
:0 :0
0 0
::0
'"rn
1!9.
.....,
I '"
I
::;;: :0
:0 :0 Ul Machine Cycle I-
Unit Select ..... ..... ..... ~
I Head Load 00
H~ad Select <D
"l
0
0
::;;: :0
..,::0 ..,:0
Read
Chip Enable
I/O Request
I
VFO Control .... C"l
Low Current/Direction .... 0 ::;;: :0
~ :0 :0
"i
I
en Write Gate ~ w w
I
/1 Wmdow'"
Read Raw Data l:l
::;;:
:0
:0 :0
0'> en
L :os::
::;;:
...,:0
I
I
0-' Interrupt Enable In
s::;;0 Data Request
I ..
'I::l
"i
0
"i
9
I~terrupt Enable Out
Interrupt Request
..,....
I
h
....
<>
<:
"" "0z
I +
C11
<:
<:>
<:
I I~
I' I~
Floppy Disk Controller LH011 O/LH011 OA
• Pin Description
Pin Meaning 110 Function
Bidirectional
Do-D 7 Data bus System data bus
3-state
Used to select FDC internal register (RRO-RR6, WRO-
RSo-RS2 Register select I
WR7).
- Active low. Produced by ANDing Ml and RESET' of
Ml Machine cycle 1 I
CPU. Active Ml with IORQ causes interrupt.
RD Read cycle I Active low. Read operations proceed when active.
- Active low. Command or data transactions with CPU
CE Chip enable I
possible when active. ,
------------------SHARP - - - - - - - - - - - -
281
Floppy Disk Controller LH011 O/LH011 OA
'-~~--------"""SHARP -.-..-.----.-.-~
I
282
Floppy Disk Controller LH011 O/LH011 OA
• AC Characteristics
LH0110 LH0110A
No. Parameter Symbol Unit
MIN. MAX. MIN. MAX.
1 Clock period TcC 400 111 250 111 ns
2 Clock pulse width, high TwCh 170 2000 105 2000 ns
3 Clock pulse width, low TwCl 170 2000 105 2000 ns
4 Clock rise time TfC 0 30 0 30 ns
5 Clock fall time TrC 0 30 0 30 ns
6 Hold time Th 0 0 ns
7 Setup time to clock t under read/write cycle. TsCE(C) 240 145 ns
Delay time from RD J, to data output under
8 TdRI(DO) 500 380 ns
read cycle.
Data setup time to clock t under write/M1
9 TsDI(C) 50 50 ns
cycle.
Delay time from 10RQ J, to data output
10 TdIO(DIO) 340 160 ns
(interrupt cycle).
11 Delay time to bus floating. TdRI(DOs) 160 110 ns
12 lEI setup time to IORQ J, (interrupt cycle). TslEl(IO) 200 140 ns
13 Delay time from lEI t to lEO t. TdIEI(JEOr) 210 160 ns
14 Delay time from lEI J, to lEO J, TdlEl(IEOf) 190 130 ns
Delay time from M1 J, to lEO J,
15 TdMl(IEO) 300 190 ns
(at interrupt before M1 J,)
M1 J, setup time to clock t under INTA/M1
16 TsMl(Cr) 210 90 ns
cycle.
RD J, setup time to clock t under read/M1
17 TsRI(C) 240 115 ns
cycle.
18 Delay time from FCLK J, to INT output TdC(INT) 300 300 ns
10RQ J, setup time to clock t under 110
19 Ts(IO) 240 115 ns
cycle.
(1) TcC=TwCh+TwCI +TfC+TrC.
t indicates rising edge, l l~dicates failing edge.
. . - . - . . - ., -.. - - . - . - - S H A R P. ----------
283
Floppy Disk Coi:Jtroller LH011 OlLH011 OA
~--.-......-----SHARP -----.--:--------~.-
284
Floppy Disk Controller LH011 O/LH011 OA
• AC Timing Diagram
"High" "Low"
Timing test level : CLOCK Vcc-O.6V 0.45V
OUTPUT 2.0V O.8V
, INPUT 2.0V O.8V
FLOAT ..:IV O.5V
CLOCK
CE
RSo-RS2
IORQ
RD
--+--1t I
----------------'h
®~
i
J F !
~---
~--@-
lEI
iEO----+@'---
lEO
-.---------SHARP----------
285
t, Floppy Disk Controller LH011 O/LH011 OA
'_ _ _. . . .a._a._ _ ....................-....,._ _....._
~
:
.
-
FCLK
PSL,PSE
WDA
VFO
DRQ
CLOCK
~--®'--.;..j
WDW
RRD
286
Floppy Disk Controller LH011 O/LH011 OA
I~I~I~I~I~I~I~I~I
I D7 I Ds I Ds I D. I Ds I Dz I Dl I Do I
~ Head selection }
Unit selection Correspond to D7-Ds of WR3
Status selection
Deleted data address mark (DDAM) detection
(cleared at beginning of each command)
Seek (remains "l"during command execution)
Error B (ORed bits of RR4)
Error A (ORed bits of RR3)
Command end (set by reading RRl)
I D7 I Ds I Ds I D. I Ds I D2 I Dl I Do I
~ DRQ
HDL
MUXS
FLT/TS
(indicate the status of FDD coutrol signals)
WP/TRo
IDX
RDY
FDC ready (remains "0" during command execution)
-~-------SHARP--'-'-""-'-------
287
Floppy Disk. Controller . LH011 O/LH011 OA
I D7 I D6 I D5 I D4 I D3 I Dz I D1 I Do I
L Mis~ing data transfer (no data transfer between DRQs)
Mis~ing DAM receptio~ (no DAM reception after ID and sync field dete~tion)
Missing sync field reception (no sync field reception
within stated bytes after ID detection)
Seek error/i1iconsistency error (TRo=O.after stated number of step pulses sent
by SEEK ZERO command; inconsistency of data dete~ted by VERIFY command)
Write error (FLT=l after writing i\lto FDD)
I D7 I D6 I Ds I D4 I D3 I Dz I D1 I Do I
I~I~I~I~I~I~I~I~I
IL-____ Sector address following access
' - - - - - - - - - - - - U n u s e d CO)
Register Function
(2) FDC writing registers WRO Data buffer
WRI Command designation
Among the eight registers WRO-WR7 written in
WR2 Time setting
by CPU, WRl, WR3, WR5 and WR6 do not accept ·WR3 Number·of·sectors designation and pin control
writing when FDC is busy. Tte registers have the
WR4 Logical track address
functions listed in Table 2.
WR5 Physical track address
WR6 Sector address
WR7 Interrupt vector
288
Floppy Disk Controller LH011 O/LH011 OA
I D7 I D6 1 Ds 1 D.I I~I~I~I~I~I~I~I~I
L
D3 1 D2 1 D, 1 Do 1
LSector address to be
[ Buffer register for data sent to FFD
accessed (same as RR6)
Urjused
Write Register 1 (WR1)
Write Register 7 (WR7)
I~I~I~I~I~I~I~I~I
L FDC command
Window inversion (inversion prevented by "0")
[ Interrupt vector (read out at INT A)
Index count (index pulse'count after command
completion until head unloading : 0 for 2 pulses
; 1 for 5 pulses)
MFM/FM
-EIIDI interrupt enable flag • Commands
Write Register 2 (WR2) (1) Brief description
CD SEEK ZERO (0000/1)
L
I D7 1 D6 1 Ds 1 D4 1 D31 D2 1 D, 1 Do 1
Draw the head up to track 00. With command
[Step rate time having LSB=O, task is excuted while retaining the
(N ms for value N; 20 ms head unload status; with LSB= 1, it is excuted
for value N=O) while retaining the head load status.
Head load time (4M ms for value M; 64 ms for ® SEEK (0010/1)
value M=O) Move the head to specified track. With LSB=O,
(time length is doubled for mini -floppy disk) task is execused while retaining the head unload
status; with LSB= 1, it is executed while retaining
Write Register 3 (WR3) head load status.
® READ (0100)
Read data from specified sector and transfer
[Number of sectors for each byte in data section to main system. When
continuous access
data address mark is DDAM, operation is termin-
HDS } ,
L-------US (FDD signal control) ated as DDAM error.
~----------MUXS e!) READ DDAM (0101)
Same as READ command, except that address
DAM causes DDAM error, while DDAM does not
Write Register 4 (WR4) cause error.
(§) READ BOTH (0110)
Same as READ command, except that address
mark DDAM does not cause error.
[Track address (seek track address ® READ CRC (0111)
under SEEK command; track address Same as READ BOTH, except that data is not
in ID field in other commands)
transferred to main system.
(J) VERIFY (1000)
Unused
Compare each byte in data section read out from
a specified sector with the corresponding byte of
Write Register S (WRS) data received from main system.
® READ ID (1001)
Read out data in ID section of specified track and
transfer each byte to main system.
(same as RR5)
® WRITE (1010)
Unused
Write each byte of data received from main sys-
tem into specified sector.
-----......-------SHARP--.-.....I.----------
289
Floppy Disk Controller' LH011 O/LH011 OA
@ WRITE WITH DDAM (1011). WRITE 1D1 26 sectors/track (FM: 12.8 bytes/
Same as WRITE command, except that DDAM sector; MFM: 256 bytes/se(!tor)
and not DAM is written as address mark. WRITE 1D2 15 sectors/track (FM: 256 bytes/
@ WRITE 1D1 (1100) \ sector; MFM: 512 bytes/sector)
@ WRITE 1D2 (1101) WRITE 1D3 8 sectors/track (FM: 512 bytes/sec-
@ WRITE 1D3 (1110) tor; MFM: 1024 bytes/sector)
Write initialization (ID section) and gaps of spe- ~ RESET STATUS (1111)
cified track. In this command, data section is filled Initialize floppy disk drives.
with gaps.
::s::
Error status
DB7
Not-rea-
dy-error
SEEK
ZERO
X
SEEK
0
READ
0
READ READ
DDAM BOTH
0' 0
READ
eRe
0
VERIFY
0
READ
ID
0 0
WRITE WRITE
WRITE WITH ID
DDAM 1,2,3
0
RESET
STATUS
0 X
Write pro-
DB6
tect error
X X X X X X X X 0 0 0 X
DB3
Seek error 0 X X X X X X X X X X X
Inconsisten- X X X X X X 0 X X X X X
cyerror
Missing
DB2 sync field X X 0 0 0 0 0 X X X X X
reception
Missing
DBI DAM X X 0 0 .. 0 0 0 X X X X X
reception
Missing
DBD data X X 0 0 0 X 0 0 0 0 0 X
transfer
~
WRITE WRITE
SEEK READ READ READ READ RESET
SEEK READ VERIFY WRITE WITH ID
ZERO DDAM BOTH eRe ID STATUS
Error status DDAM 1,2,3
Missing ID
DB7
detection .
X X 0 0 0 0 0 0 0 0 X X
eRe error
DBI X X 0 0 0 0 0 Or 0 0 X X
(ID field)
eRe error
DBD
(data field)
X X 0 0 0 0 0 X X X X X
--------SHARP--------
290
Floppy Dis~ Controller LH011 O/LH011 OA
MI -,L_ _ _ _ _ _r----
RSo
RS2 I I
CE
MI,RD--------------~----------- lEI ====-===_1
Do-D7 ______~I~_______________ r::
Do-D7--------------~c::J~------
Vector
CLOCK
CLOCK
MI ~~~ __ r--~ __ ~----
~ ____________c= RD
----~CJ~------~~~-----
==:::':.::.-_-:.J"r--------------
MI ED 4D
lEI
,'-_____-Jr--- lEO
----------------------~,---
Do -D 7 - - - - - - - - - - - - - - - -__<::::)----
Data
---------~------SHARP ---~-.--------
291
! Flbppy Disk Controller
.-.-.-~-.-~-~
. (1) READ, READ DDAM, READ BOTH, READ CYC, VERIFY, READ 10 command timing
-------1H)~J__-
,~ .j)J--'-
=::::~------~~ Command termination-:----r--
..lo......-------!H -!~---
~---------~Jj l~j---
--'---..A.---------it}
(' 11
:) 1 - - - - !
--L1,:::;SL:yn:,:;;c.J.,.1~ID;U...I_--r.;ls;;,:YD;;;;;c.J.,.1---\rl~:_--l._-..JI.;;s~YD:::..cIL.o:1;:;:D. J,I_ _
Gap Data section . Gap
FCLK
WDA -1l n n ~
D C D C D C D C D
PSL
PSE
MFM mode
FCLK
WDA
J CI n
D
n C D
11.:..-
C
PSL
PSE High FM mode
- - - - - - . . . . . - - . - - . . . - . - - S H A R P -.-.--~-,-.--
292
Floppy Disk Controller LH011 O/LH01.1 OA
~--------~n~------~i~~(---
'------.....-.l!l {~'r--~-
Jl Com~~i~
T---------------~\~\------------~5~rj- - - - -
----J''----------ll! (
\~j
(I-----(~~ •
Falls if next command
• d ·th·
- - - -__r......c::;NLo head load wait time needed if preceeding command was . 'C IS not I.SSU~ WI ID
a read/write command. r a certam hme span.
f 5~~f-I
_ _ _ _ _--11 Jl i~fj...___
X Valid ~~ ~t::::to---=
X Valid
U 1t::::tD==
ID
Gap Sync
II gap
lJ ISync I I
ID
Gal! )1
US =:::x r{ II
HDS ::::::x'--------l(\}-.---------\11(-----
MUXS _____ 1.J If-f--C-o-m-m-a-nd-te-r-m-in-a-ti-on-:::C~--------
RDY ::J~~--------{ljf---------j~!-----
VFO
------I. . ~l-l- - - - -
WG
--------------~~~~------il(~-----
------------~~========~r\~~·====
WDA
PSE
PSL -----~~~----~I~~--
---....L..--L...-~.I-~.I-..LI--tH I Gap
Sync ID , \ Data section Sync ID
. Gap Sync
.--.-.-----SHARP-.--------
293
Floppy Disk Controlle,r LH0110lLH0110A
FLT
DIR'
HDL
MUXS:-1~ ____________~~______~r::
STP
TY .
12ps
15}ls for 20ms seek rate time
HDL __-LI____________________~~~------------
TRO
------------------------~l~
MUXS~~_ _ _ _ _ _ _ _~!~---Lr-:
HDL __-LI____________________~:----~------
DIR J ~)
RDY .;,.j
294
Floppy Disk Controller LH011 O/LH011 OA
• System Configuration
Low current
LCT/DIR
Dire ction
MUXS
!
- Fault reset
FR/STP
----- - Step
- Write protect
WP/TR o
Multi-
plexer -- Track zero
Fault
FLT/TS
....- 2-side disk
WDW
VFO circuit
~
VFO MFM
PSL
6
PSE
~
Delay
WDA circuit Write data
FCLK CJ2MHz
(lMHz fo r mini -floppy disk)
Oscillator
.-.----~~-SHARP~-.----------.-,
295
--............
Z80 CMOS Central Processing Unit
~ ..... .- -~- -
... .. ......- . -...-,..-.............. -
LH5080/LH5080LlLH5080LM
LH5080/LH5080L/LH5080LM
zao CMOS Central Processing Unit
• Description • Pin Connections
The LH50BO is 2BO CPU fabricated with CMOS LH5080/LH5080L
silicon-gate process technology and is fully com-
patible with the conventional NMOS 2BO CPU
(LHOOBO). o
The LH50BO is designed with CMOS fully static
circuits and so provides low power consumption
and wide range power supply voltage operation. '
The LH5080LlLH5080LM provides power save
mode controlled by software. '
• Features
1. 2BO CMOS CPU
2. Fully compatible with the NMOS 2BO CPU
(LHOOBO)
3. 15B instructions
4. 22 registers
5. 3 modes of maskable interrupt and a nonmask-
able interrupt
6. Instruction fetch cycle 1.6 flS
7. Single + 5V power supply and single phase
clock
B. All inputs and outputs except clock input fully
TTL compatible
9. Fully static operation (DC-2.5MHz)
10. Low power consumption
11. Power save mode (LH50BOLlLH50BOLM)
12. 40-pin dual-in-line package
(LH50BO/LH5080L)
13. 44-pin quad-flat package (LH50BOLM)
29p
Z80 CMOS Central Processing Unit LH5080/LH5080L/LH5080LM
• Block Diagram
Halt State
Memory Request
Data Bus Interface
Input /Output Request
Read
Write
Bus Acknowledge Instruction Inst.
CPU Decoder ALU
Machine Cycle 1 Timing Reg.
Refresh Control
297
Z80 CMOS Central Processing Unit LH5080/LM50BOLlLH5080LM
, ,.-..-.-.-.:__,._.. ~ ....__,._.......-....................i.r.....r.--
• Absolute Maximum Ratings
Parameter Symbol Ratings Unit
Input voltage VIN -0.3-+7 V
Output voltage VOUT, -0.3-+7 V
Operating'temperature Topr 0-+70 t
Storage temperature T s ," -65-+150 t
(f=1MHz, Ta=25t)
• Capacitance
Symbol Parameter MAX. Unit
CeLocK Clock capacitance 5 pF
Unmeasured pins returned
CIN Input capacitance 6 pF
to ground
COUT Output capacitance 10 pF
298
Z80 CMOS Central Processing Unit LH5080/LH5080LlLH5080LM
.....--.-.-.--.---SH~RP-------.-.
299
Z80'CMOS Central Processing Unit LH5080/LH5080L/LH5080LM
Footnotes to AC Characteristics
No. Symbol Formula
1 TcC TwCh+TwCl+TrC+TfC
2 TwCh MAX. 2001's
7 TdA (MREQf) TwCh+TfC-75
10 TwMREQh TwCh+TfC-30
11 TwMREQl TcC-40
26 TdA (IORQf) TcC-SO
29 TdD (WRf) TcC-210
31 TwWR TcC-40
33 TdD (WRf) TwCI+TrC-1S0
35 TdWRr (D) TwCl+TrC-SO
45 TdCTr (A) TwCI+TrC-40
50 TdMlf (IO~Qf) 2TcC+TwCh+TfC-SO
AC Test Conditions
e Input voltage amplitude: 004 V to 2.8V e Input judge level: 0.8V and 2.0V
e Input signal rise and fall time : IOns eOutput judge level: 0.8V and 2.0V
eClock input voltage amplitude: OAV to eOutput load: ITTL+ 100 pF
Vcc-0.6V
---.------,~--SH~RP.--,.-----~-- .........
300
Z80 CMOS Central Processing Unit LH5080/LH5080L/LH5080LM
• Power Save Function is then cleared and the reset just as before is
carried out.
The LH5080L/LH5080LM features the power
(ii) Clearing with NMI: Input the NMI signal
save (PS) function. After a HALT instruction has
(edge trigger) to clear the PS mode and to car-
been executed, the internal clock signal is automati-
ry out the instruction next to the HALT. Now
cally cut off to bring the CPU into the halt mode.
the non-maskable interrupt processing routine
(1) PS mode setting will be introduced.
With a HALT instruction executed, the PS mode (iii) Clearing with INT: Input the INT signal
will be automatically established. In this mode, the (level trigger) regardless of which state the in-
internal clock signal is cut off to save the power terrupt enable flag is in. The PS mode is now
consumed for the clock signal operation. Cutting an cleared and the HALT instruction executed. If
external clock signal does not give any problem in- the interrupt enable flag is set up and the INT
side, therefore, in this mode. To cut off the external signal is "Low' at the clock pulse rise timing
clock, it is possible to utilize the rise timing of a in the last clock cycle of the HALT instruction,
HALT signal output. It should be noted, however, the mask able interrupt processing routine will
that this timing cannot be used to restart the exter- be introduced as the next machine cycle.
nal clock.
In the PS mode, the bus request (BUSRQ) is not
accepted and the memory refresh is not done, CLOCK
either.
HALT~
PS·,
~~--Ml---------------------
RESET . ...:===~~~~~~~~-r---
CLOCK
Ml
* PS is internal signal, and not output externally.
PS· _+--+~+--+...J
Halt clear by NMI INT
* PSis internal signal, and not output externally.
PS mode setting CLOCK
HALT
(2) PS mode clear
PS·
The PS mode is cleared by any of the following;
reset (RESET), non-maskable interrupt (NMI) and NMI
INT
maskable interrupt (INT).
When the external clock is shut down in the PS * PS is internal signal, and not output externally.
mode, a stable clock signal must be input before
PS mode clear by MI signal
clearing the PS mode.
(i) Clearing with RESET: Input the RESET sig-
nal for more than 3 clock cycles. The PS mode
------------SHARP .-.-..----------
301
zao. CMOS Parallel 1/0 Controller LH5081 fLH5081 L/LH5081 LM
,;.tI!IIIIIII'.-..-..... ......-..-..-..-,..-..- ..- -...... - . - . -
.....,~
LH5081/LH5081L/LH5081LM
zao CMOS Parallel 110 Controller
• Description • Pin Connections
The LH5081 is Z80 PIOfabricated with.CMOS LH5081/LH5081L
silicon gate prQ(;ess techrlOlogy and is fully com-
patible with the conventional NMOS Z80 PIO
(LH0081).
The LH5081 is designed with CMOS fully static
circuits and so provides low power consumption CE 4
and wide range power supply voltage operation. C/D SEL 5
The LH5081L1LH5081LM provides power save
BIA SEL 6
mode controlled by softwave. -
• Features
1. Z80 CMOS PIO
2. Fully compatible with NMOS Z80 PIO
(LH0081)
3. Tow independent 8-bit bidirectional peripheral
interface ports with handshake data transfer
control
4. 4 programmable operating modes
• Byte input mode
• Byte output mode
• Byte bidirectional bus mode (Port A only) Top View
• Byte control mode
5. Programmable interrupt on peripheral status
conditions
LH5081LM
6. Vectored daisy chain priority interrupt
7. Darlington transistor drive capability (port B
output)
8. All inputs and outputs except clock input fully
TTL compatible
9. Single +5V power supply and single phase
clock
10. Fully static operation (DC-Z.5MHz)
11. Low power consumption
12. Power save mode (LH5081L1LH5081LM)
13. Status read mode (LH5081L1LH5081LM)
14. 40-pin dual-in-line package
(LH5081/LH5081L)
15. 44-pin quad-flat package (LH5081LM)
1 2 3
Note: The Z80 CMOS CPU (LH5081/LH5081L) is compatible
I~I~ ~
• with the Z80 NMOS PIO (LH0081). So there is no descrip·
tion here about the pins, programming, and basic timings Top View
waveforms. Refer back to the Z8.0 NMOS PIO described
earlier.
302
Z80 CMOS Parallel 1/0 Controller LH5081/LH5081 L/LH5081 LM
• Block Diagram
Internal
Control Logic
Port A
Port A Data Bus
Input!
Output
System
Data
Bus
CPU
Bus
Input!
Output
Port A!B Select Logic
Command/Data
Select
Chip Enable Port B
~
Macbine Cycle 1 Port B Data Bus
I!O Request Input!
Read Output
Interrupt
Control Logic
+ = u
Q .'" ::c... ::c..
<:I'
0
u
.,;;
z
(.!) .e p::
Q. ..
r.z:I
...
'Vi
..'" . Q.
r.z:I
.s !. ...'"
CIl Q.
! '"
.... !
.s
----~-.-----SHARP ----.----------~
303
Z80 CMOS Pataltel 1/0 Unit' LH5081 ILH5081 LlLH5081 LM
304
Z80 CMOS Parallel I/O Controller LH5081 ILH5081 L/LH5081 LM
AC Test Conditions:
• Input voltage amplitude: OAV to 2.8V
• Clock input voltage amplitude: OAV to Vcc-O.6V
• Input signal rise and fall time : IOns
• Input judge level: O.8V and 2.0V
• Output judge level: O.8V and 2.0V
• Output load: ITTL+ lOOpF (unless otherwise specified)
------~.--.----SHARP . - . - - . - . - . . - - ......... -
305
Z80 CMOS Parallel I/O Controller LH5081 ILH5081 LlLH5081 LM
• Power Save and Status Information (ii) PS mode clear The. PS mode is cleared
Read Function by detecting the fall of the Ml signal. When the ex-
ternal clock is off in the PS mode, however, a stable
Un1ike the LH00811LH5081, the LH5081Ll clock signal must be input before clearing the PS
LH5081LM has the power save (l:'S) and status in- mode.
formation read functions. When the CPU (LH50~OLlLH5080LM) is
(1 ) Power save function cleared from the PS mode and comes into the next
(i) PS mode setting When the CPU fetch cycle, therefore, the LH5081LlLH5081LM is
(LH5080LlLH5080LM) has executed an HALT in- also cleared from itsPS mode at ~he fall of the first
struction in the PS mode, the LH5081LlLH5081LM Ml signal in this cycle.
reads this HALT instruction to automatically go The PS mode clearing can be done by issuing an
into the-PS mode. Now the internal clock signal is interrupt request.
cut off. Therefore, cutting an external clock input Set up the interrupt generate conditions in Mode
gives no problem inside in this mode. 3 of the LH5081LlLH50S1LM. By this, an inter-
rupt request (INT) is issued even in the PS mode,
the CPU (LH5080LlLH5080LM) is cleared from
the PS mode, and thus LH5081LlLH5081LM is
also cleared.
(2) Status information read
Under the following conditions, the mode setup
Data--------~r---~~---+--------- bits and handshake signals of Port A and Port B
are read from the data bus during the read cycle.
PS'
----------------~ See the chart below.
PS mode set timing Conditions: CE = "Low"~RD = "Low", IORQ
"Low", C/D = "High", BI A = X (undefined)
Bits 7 6 5 4 3 2 1 0
Ml
IAMIIAMOjARD\jASTIlI BMII BMO~RDYjilSTBI .
Return to original state
ps'
306
Z80 CMOS Counter Timer Circuit LH5082/LH5082L1LH5082LM
LH5082/LH5082L/LH5082LM
zao CMOS Counter Timer Circuit
• Description • Pin Connections
The LH5082 is 280 CTC fabricated with CMOS LH5082/LH5082L
silicon-gate process technology and is fully com-
patible with the conventional NMOS 280 CTC o
(LH0082).
The LH5082 is designed with CMOS fully static
circuits and so provides low power consumption
and wide range power supply voltage operation.
The LH5082L1LH5082LM provides power save
mode controlled by software.
• Features
1. 280 CMOS CTC
2. Fully compatible with the NMOS 280 CTC
(LH0082) Top View
3. 4 independent programmable 8-bit counter/
16-bit timer channels
4. Selectable counter/timer mode for each channel
5. Programmable interrupt triggered by counter/
timer
6. Downcounters !;eloaded automatically at zero
count
7. Readable downcounters
8. Selectablp. 16 or 256 prescaler (timer mode)
9. Selectable positive or negative triggers for timer
and selectable positive or negative clock edge
for counter
10. 2C/TO outputs of three channels capable of
driving Darlington transistors
11. Vectored and daisy chain piority interrupt
12. Single + 5V power supply and. single phase
clock
13. All inputs and outputs except clock input fully o U
TTL compatible " Z
14. Fully static operation (DC-2.5MHz)
15. Low power consumption Top View
16. Power save mode (LH5082L1LH5082LM)
17. 28-pin dual-in-line package
(LH50821LH5082L) .
18. 44-pin quad-flat package (LH5082LM)
-~--------SHARP--'-''--'-'------
307
Z80 CMOS Counter Timer Circuit· LH5082~LH5082L/LH5082LM
• Block Diagram
Zero Count/
Timeout 0
Clock/Trigger 0
System' Internal
Data Control
Bus Logic Zero Count/
Timeout 1
Clock/Trigger
CPU Bus
Input/
Output
Logic Zero Count/
Channel { Timeout 2
Select
Machine Cycle 1 Clock/Trigger 2
Interrupt
I/O Request Logic
Clock/Trigger 3
_ _ c= -
~
'"
III > >
LI)
S
c:> "' ....
~ t; §": ~O _::1
'"
... Q) ....
~ + ~~.l t & t~ t:i
u zu)u !~]~!~
~ t!l ,.!;~
.-.-.----.....,.-.--SHARP-.-.-------
308
Z80 CMOS Counter Timer Circuit LH5082/LH5082L/LH5082LM
309
280 GMOS Counter Timer Circuit LH5082/LH5082L1LH5082LM
-~~-'--'---SHARP'-''-----'-~-
310
Z80 CMOS Counter Timer Circuit LH5082/LH5082L/LH5082LM
CLOCK CLOCK
Ml RESET~ . I
PS' Reset state same as LH5082
RD
~
Ml
-----------SHARP-...-...-~-.---.-
311
16-Bit Microprocessor
and Peripheral LSls
ZS001 IZS001 AlZS002/ZS002A Central Processing Unit LHS001 IS001 A/S002/S002A
LH8001/LH8001A/LH8002/LH8002A
zaoo IIZSOO IAlZSOO2lZS002A. Central Processing Unit
• . Description • Pin Connections
LH800i, Z8001 CPU and LH8002, Z8002 CPU r------:----;::=====::----:L--:H=-SO--:Ol::-:;-=-LH=S=OO=-lA:i
are advanced 16-bit microprocessor that spans a
wide variety of applications ranging from simple
stand..,alone computers to complexparallel-proces-
.sing unit. Essentially Z8000 CPU is a monolithic
minicomputer central processing unit.
The LH8001A Z8001A and LH8002A Z8002A
CPU are the high speed version which can operate
at 6MHz system clock.
• Features
1. Regular, easy-to-use architecture
2. Instruction set more powerful than many mini-
computers
3. Directly addresses 8M bytes
4. Eight user-selectable addressing modes
5. Seven data types that ra~ge from bits to 32-bit
l<;mg words and word strings
6. System and Normal operating modes
7. Separate code, data and stack spaces Top View
8. Sophisticated interrupt structure
9. Resource-sharing capabilities 'for multiprocessing LH8002lS002A
systems
10. Multi-programming support
11. Compiler support
12. Memory management and protection provided
by Z8010 Memory Management Unit
13. 32-bit operations, including signed mUltiply
and divide
14. Z-BUS compatible
Top View
.-......-.--------SHARP .-..-....----------
314
I •
I
m
0"
0
'"0 II
I
I
ii"
CQ
;
3
Ii
I
I
I
Flags
Address
IData III i
,
I
»
Address St robe
Date Strobe
Memory Request
Bus Request Ii
I~
N Bus Acknowledge
'0
I Multi- Micro In
Multi- Micro Out I~
I Non- Maskable Interrupt
Segment Trap Segment I
h
Number
I System Clock
Control
Register
I
I 11 36
Vee GND II
w
....
01,
I
I ----.
U1
II
11111111
ZSQ(H IZ8001 A/Z8002/Za002A Central, Processing Unit LH8001 lLH8001 A/LH8002/LH8002A
• Pin Description
Pin Meaning lIO Function
/
"~ .
316
Z8001 IZ8001 A/Z8002/Z8002A Central Processing Unit LH8001 ILH8001 AlLH8002/LH8002A
.-.-.-~.-.-~.-~~~.-~~~.-~.-
• AC Characteristics
LH800JlLH8002(4MHz) LH800IA/LH8002A(6MHz)
Number Symbol Parameter Unit
MIN. MAX. MIN. MAX.
1 TcC Clock cycle time 250 2000 165 2000 ns
2 TwCh Clock width (high) 105 2000 70 2000 ns
3 TwCI Clock width (low) 105 2000 70 2000 ns'
4 TfC Clock fall time 20 10 ns
5 TrC Clock rise time 20 15 ns
Clock t to segment number valid
6 TdC (SNv) 130 110 ns
(50 pF load)
7 TdC (SNn) Clock t to segment number not valid 20 10 ns
8 TdC (Bz) Clock t to bus float 65 55 ns
9 TdC (A) Clock t to address valid 100 75 ns
10 TdC (Az) Clock t to address float 65 55 ns
11 TdA (DR) Address valid to read data required valid 475* 305 ns
12 TsDI (C) Read data to clock ! setup time 30 20 ns
13 TdDS (A) DS t to address active 80* 45* ns
14 TdC(DW) Clock t to write data valid 100 75 ns
15 ThDR (DS) Read data to DS t hold time 0 0 ns
16 TdDW (DS) Write data valid to DS t delay 295* 195* ns
17 TdA (MR) Address valid to MREQ ! delay 55* 35* ns
18 TdC (MR) Clock ! to MREQ ! delay 80 70 ns
19 TwMRh MREQ width (high) 210* 135* ns
20 TdMR (A) MREQ ! to address not active 70* 35* ns
21 TdDW (DSW) Write data valid to DS ! (write) delay 55* 35* ns
22 TdMR (DR) MREQ ! to read data required valid 375* 230* ns
23 TdC (MR) Clock ! MREQ t delay 80 60 ns
24 TdC (ASf) Clock t to AS ! delay 80 60 ns
25 TdA (AS) Address valid to AS t delay 55* 35* ns
26 TdC (ASr) Clock ! to AS t delay 90 80 ns
27 TdAS (DR) AS t to read data required valid 360* 220* ns
28 TdDS (AS) DS t to AS ! delay 70* 35* ns
29 TwAS AS width (low) 85* 55* ns
,30 TdAS (A) AS t to address not active delay 70* , 45'* ns
31 TdAz (DSR) Address float to DS (read) ! delay 0 0 ns
32 TdAS (DSR) AS t to DS (read) ! delay 80* 55* ns
33 TdDSR (DR) DS (read) ! to read data required valid 205* 130* ns
34 TdC (DSr) Clock ! to DS t delay 70 65 ns
35 TdDS (DW) DS t to write data not valid 75* 45 ns
'-'--~----SHARP ----.----..----
317
------------------
Z8001 IZ8001 A/Z8002/Z80Q2A Central Processing, Unit LH8001lLH8001 A/LH8002/LH8002A
LH800IlLH8002(4MHz) LH800IA/LH8002A(6MHz)
Number Symb01 Parameter Unit
MIN: MAX. MIN. MAX.
36 TdA (DSR) Address valid to DS (read) l delay 180* 110* ns
37 TdC (DSR) Clock t to DS (read) l delay 12,0 85 ns
38 TwDSR DS (read) width (low) 275* ' 185* ns
39 TdC (DSW) Clock l to DS (write) l delay 95 80 ns
40 TwDSW DS (write) width (low) 185* 110* ns
41 TdDSI (OI) DS (liD) r to read data required valid 330* 210* ns
42 TdC(DSf) Clock l to DS (II 0) l delay 120 90 ns
43 TwDS DS (II 0) width (low) 410* 255* ns
44 TdAS (DSA) AS t to DS (acknowledge) l delay 1065* 690* ns
45 TdC (DSA) Clock t to DS (acknowledge) l delay 120 85 ns
DS (acknowledge) l to read data
46 TdDSA (DR) 455* 295* ns
required delay
47 TdC (S) Clock t to status valid delay 110 85 ns
48 TdS (AS) Status valid to AS t delay 50* 30* ns
49 TsR (C) RESET to clock t setup time 180 70 ns
50 ThR (C) RESET to clock t hold time 0 0 ns
51 TwNMI NMI width (low) 100 70 ns
52 TsNMI (C) NMI to clock t setup time 140 70 ns
53 TsVI (C) VI, NVI to clock t setup time 110 50 ns
54 ThVI (C) VI, NVI to clock t hold time 20 20 ns
55 TsSGT (C) SEGT to clock t setup time 70 55 ns
56 ThSGT (C) SEGT to clock t hold time 0 0' ns
57 TsMI (C) MI to clock t setup time 180 140 ns
58 ThMI (C) MI to clock t hold time 0 0 ns
59 TdC (MO) Clock t to MO delay 120 85 ns
60 TsSTP (C) STOP to clock l setup time 140 100 ns
61 ThSTP (C) STOP to clock l. hold time 0 0 ns
62 TsW (C) WAIT to clock l setup time 50 30 ns
63 ThW (C) WAIT to clock l hold time 10 10 ns
64 TsBRQ (C) BUSREQ to clock t setup time 90 80 ns
65 ThBRQ (C) BUSREQ to clock t hold time 10 10 ns
66 TdC (BAKr) Clock t to BUSACK t delay 100 75 'ns
67 TdC (BAKi) Clock t to BUSACK l delay 100 75 ns
68 TwA Address valid width 150* 95* ns
69 TdDS (S) DS t to STATUS not valid 80* 55* ns
Note: t Rising, ! Falling, ( I) 2TcC + TwCh - 130ns
* Clock-cycle-time-dependent characteristics.
------~~----SHARP -.--...-.---------
318
Z8001 IZ8001 AlZ8002/Z8002A Central Processing Unit LH8001 ILH8001 A/LH8002/LH8002A
.-..-.----.-..-.~.-.------.-.~--.-..-.--.-.
RESET --~X~~~~~')50~
______________,. ~4~ r-'~
NMI
VI,NVI
SEGT
~
-
:>i
K53)a 1i54 = This composite timing diagram
does not show actual timing sequences.
Refer to this diagram only for the detailed
timing relationships of individual edges.
Use the preceding illustrations as an
explanation of the various timing sequences.
BUSRQ ~. ~
~.
BUSAK __________~JI--~
CLOCK )
WkiJr---\"'------'. r----. I I' L II.rg\.
.J~. ~ ,- V7\ ~ f'-----J I'V-
SNo-SN6 ~~~~ :i~--
____~rGr,9~~--~~~~ ~~
ADDRESS ----+-.r;><1:=t====1=~~ ~ ~f~
J '='
A",-AD"
{
DATA IN . "'f--®- 'l :> I@ f ~~_)
DATA OUT IE-I :""~f--~ ~ .J--t------t---+--+,j--+"'""'K...lr"--
MREQ
I_~ ,- ~ lfijO)\ -=. 'C/ ~@1'r-tk--+-+.(J
~ I",,......,H-+-tl'==t---+----t-........ lt"l T ---
~ t@;r-;-.o--t+-t--t{I~.zm-_ _-i j
MEMORY ~
WRITE -' ~ ',v
DS ;g ~f@-l
INPUT /
OUTPUT -'
"""J<-+_--~+_+_--+-_, ~
~ .~m
~/"I .... - - -...
~
.J--_
f-~I ~ -@- .JI' .. ~
INTERRUP~ f-@-'4 -.IM'!I...." ~Y' . J . r-_ r.---
ACKNOWLEDGE -"!!:J.'- -1(!:;lI-1 .. ...---}
STo-STg
)<
READ/WRIfE---....
NORMAL/SYSTEM ~------------------------------~I
BYTE/WORD
-~'-'--'-'--SHARP---'-'--~-"--"'"
319
Z8001 IZ8001 AlZ80021Z8002A Central' Processing Unit LH8001 ILH8001 AlLH8002/LH8002A
• Register Organization
The 28000 CPU is a register-oriented machine
that offers sixteen 16-bit general-purpose regis- Rol7 RHO 01 7 RLO
01 }
ters and a set of special system registers.
(1) General-purpose register
RROf
RR2,
=~I
RHl
RH2 II
RLl
RL2
I RQO
}R~
memory pointers.
../
RR4{
R41 RH4 i RIA
}R~
{ RsI15 0
(RLO, RHO, ..., RL7, RH7). The sixteen 16-bit reg~
RR8 R91
isters are grouped in pairs (RRO ... RR14) to form
32-bit long-word registers. Similarly, the register { RIOI
set is grouped in quadruples (RQO ... RQ12) to RRIO Rlli
form 64-bit registers.
(2) Specific -purpose register RR12{ RI21
The 28000 CUP has the following specific-pur- . Rl3
pose registers. RQl2
• Refresh counter { R141
RR14 Rl5 SYSTEM STACK POINTER
• Program status register
• Program status area pointer R15 NORMAL STACK POINTER
The refresh counter can be used to automatically
Fig. 2 Z8002 general-purpose register
refresh dynamic memory. The refresh counter reg-
ister consists of a 9-bit row counter, a 6-bit rate
RRO{
Ro~17====R=H=0===0*!=7==R=L=0==~0 RATE 9 S ROW o
I RHI i RLl
I I I I I I
R2~1==~R=H=2==~!===R=L=2==~
I I
R3~L====R=H=3==~i==~R~L~3==~
RR2{
Fig. 3 Refresh counter
R4~1====R=H=4===*i===§RL~4~==9
RR4{
R5~1==~R=H=5==ii==RL=5==~ counter and an enable bit (Fig. 3).
R6~1====R=H~6===\~I==~R§L~6==~
This group of status registers contains the prog-
RR6{ ram counter, flags and control words. When an in-
R7~1====R=H=7==~===R=L=7==~ terrupt or trap occurs, the entire" group is saved
RRS{ =:~I==================~ "and a new program status group is loaded.
Fig. 4 illustrates how the program status groups
.of the 28001 and 28002 differ.
RRIO{RIO :=1= = = = = = = = = = = 9
Rll~l.=======~
RR12{ ::: ==============:
:=1
.-.-----..~-SHARP-~-------
321
------.-,....... ...........,---
Z8001 IZ8001 A/Z8002/Z8002Al Central Pr6cessingUnit LH8001 ILH80001 AlLH8002/LH~OO2A
.-,.-,.-,-.-,
• Addressing Modes
Immediate
IOPERANDI In the instruction
(1M)
I I '~OPERANDI
Relative PC VALUE content of the program
Address
(RA) I DISPLACEMENT
counter. offset by the
displacem ent in the
instruction
LO dst, R
BA
BX
IR
14
14
8
17
17
11 Load into Memory (Store)
&
LOB DA 11 12 14 14 15 17 dst +- R
LOL X 12 12 15 15 15 18
BA 14 17
BX 14 17
LO dst, 1M IR 11 Load Immediate into Memory
LOB DA 14 15 17
X 15 15 18 dst +- 1M
LOA R, src DA 12 13 15 Load Address
X 13 13 16 R +- source address
BA 15
BX 15
LOAR R, src RA 15 Load Address Relative
R <- source address
LOK R, src 1M 5 Load Constant
R <- n (n=0"'15)
LOM R, src, n IR 11 Load Multiple
DA 14 15 17 +3n R <- src (n consecutive words)
X 15 15 18 (n=1...16)
LOM dst, R, n IR 11 Load Multiple (Store Multiple)
DA 14 15 17 +3n dst +- R (n consecutive words)
X 15 15 18 (n=1...16)
LOR R, src RA 14 17 Load Relative
LORB R +- src
LORL (Ran~e -32,768"'+32,7671
Note
dst: destination cc: flag PS: program status
8rc: source b,n nemerical value ®: indirect register
flag: flag SP stack pointer
PC program counter
*1: NS= Non Segmented SS = Segmented Short Offset SL=Segmented Long Offset
~'-'----'-~-SHARP'---'--'------
323
- .............__....._--..........- ..........................
Z8001/Z800tAlZ8002/Z8002A Central Processing Unit LH8001 ILH8001 AI LH8002/LH8002A
Clock Cycles 1*
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Load and LDR dst, R RA 14 17 Load ·Relative (Store Relative)
Exchange LQRB dst - R
(Continued) LDRL (Range - 32, 768'" + 32, 767)
POP dst,IR R 8 12 Pop
POPL IR 12 19 dst - IR
DA 16 16 18 23 23 25 Autoincrement contents of R
X 16 16 19 23 23 26
PUSH IR, src R 9 12 Push
PUSHL 1M 12 Autodecrement contents of R
IR 13 20 IR - sr.c
DA 14 14 16 21 21 23
X 14 14 17 21 21 24
Arithmetic ADC R, src R 5 Add with Carry
ADCB R - R+src+carry
ADD R, src R 4 8 Add
ADDB 1M 7 14 R - R+src
ADDL IR 7 14
DA 9 10 12 15 16 18
X 10 10 13 16 16 19
CP R, src R 4 8· Compare with Register
CPB 1M 7 14 R·src
CPL IR 7 14
DA 9 10 12 15 16 18
X 10 10 13 16 16 19
CP dst, 1M IR 11 Compare with Immediate
CPB DA 14 15 17 dst·IM
X 15 15 18
DAB dst R 5 Decimal Adjust
DEC dst, n R 4 Decrement by n
DECB IR 11 dst-dst·n
DA 13 14 16 (n=1"'16)
X 14 14 17
DIV R, src R 107 744 Divide (signed)
DIVL 1M 107 744 Word: Rn+ 1 - Rnm -;- src
IR 107 744 Rn - remainder
DA 108 109 111 745 746 748 Long Word: Rn+2m +3 - Rn... n7src
X 109 109 112 74'6 746 749 Rn,n+l - remainder
EXTS dst R 11 11 Extend Sign
EXTSB Extend sign of low order half of dst
EXTSL through high order half of dst
INC dst, n R 4 Increment by n
INCB IR 11 dst - dst+n
DA 13 14 16 (n=1"'16)
X 14 14 17
MULT R, src R 70 282*2 Multiply (Signed)
MULTL 1M 70 282*2 Word: Rmn + 1 - Rn+1"src
IR 70 282*2 Long Word: Rn"'n+3 - Rn~2m+3"SrC
DA 71 72 74 283 *2 284 *2 ·286 *2 * 2: Plus seven cycles for each 1
X 72 72 75 284 *2284 *2 287 *2 in the multiplicand
324
--........__...._............- ............_....-
Z8001 IZ8001 A/Z8002/Z8002A Central Processing
, , '
Unit LH8001/LH8001A/LH8002/LH8002A
Clock Cycles*l
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Arithmetic NEG dst R 7 Negate
(Continued) NEGB 1R 12 dst +- O-dst
DA 15 16 18
X 16 16 19
SBC R, src R 5 Subtract with Carry
SBCB R +- R-src-carry
SUB R, src R 4 8 Subtract
SUBB 1M 7 14 R +- R-src
SUBL 1R 7 14
DA 9 10 12 15 16 18
X 10 10 13 16 16 19
Logic AND R, src R 4 AND
ANDB 1M 7 R +- RAND src
1R 7
DA 9 10 12
X 10 10 13
COM dst R 7 Complement
COMB 1R 12 dst +- NOT dst
DA 15 16 18
~
X 16 16 19
OR R, src R 4 OR
ORB 1M 7 R +- R OR src
1R 7
DA 9 10 12
X 10 10 13
TEST dst R 7 13 Test
TESTB 1R 8 13 dst OR 0
TESTL DA 11 12 14 16 17 19
X 12 12 15 17 17 20
TCC cc, dst R 5 Test Condition Code
TCCB Set LSB if cc is true
XOR R, src R 4 Exclusive OR
XORB 1M 7 R +- R XOR src
1R 7
DA 9 10 12
X 10 10 13
Program CALL dst 1R 10 15 Call Subroutine
Control DA 12 18 20 Autodecrement SP
X 13 18 21 @SP +- PC
PC +- dst
CALR dst RA 10 15 Call Relative
Autodecrement SP
@SP +- PC
PC +- PC+dst (Range
-4,094- +4,096)
DJNZ R, dst RA 11 Decrement and Jump if Non-Zero
DBJNZ R +- R-l
If R=/ 0 : PC +- PC+dst
(Range-254-0)
325
_........ .-: ...
Z8001/Z8001 AlZ8002/Z8002A Central Processing Unit, LH8001/LH8001AlLH8002/LH8002A
.-.-,............................................
Clock Cycles *1
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Program IRET*3 13 16 Interrupt Return
Control SP +- SP+2
(Continued) PS +- @SP
Autoincrement SP
JP cc, dst IR 10 15 (taken) Jump Conditional
IR 7 7 (not taken) If cc is true : PC +- dst
DA 7 8 10
X 8 8 11
JR cc, dst RA 6 Jump Conditional Relative
If cc is true : PC +- PC + dst
(Range -256-+254)
RET cc 10 13 (taken) Return Conditional
7 7 (n,ot taken) If cc is true : PC +- @ SP
Autoincrement SP
SC src 1M 33 39 System Call
Autodecrement SP
@ SP +- old PS
Push instruction
PS +- System Call PS
Bit BIT dst, b R 4 Bit Test Static
Manipulation BITB IR 8 Z flag +- NOT dst bit specified
DA 10 11 13 by b
X 11 11 14
BIT dst, R R 10 Bit Test Dynamic
BITB Z flag +- NOT dst bit specified
by contents of R
RES dst, b R 4 Reset Bit Static
RESB IR 11 Reset dst bit specified by b
DA 13 14 16
X 14 14 17
RES dst, R R 10 Reset Bit Dynamic
RESB Reset dst bit specified by con·
tents of R
SET dst, b R 4 Set Bit Static
SETS IR 11 Set dst bit specified by b
DA 13 14 16
X 14 14 17
SET dst, R R 10 Set Bit Dynamic
SETS Set dst bit specified by contents
of R
TSET dst R 7 Test and Set
TSETB IR 11 S flag +- MSB of dst
DA 14 15 17 dst +- allis
X 15 15 18
*3: Privileged instruction. Executed system mode only.
---------~------~---~~~---~----'---~....,
Clock Cycles *1
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Rotate RLOB R, src R 9 Rotate Digit Left
and RROB R, src R 9 Rotate Digit Right
Shift RL dst, n R 6 for n= 1 Rotate Left
RLB R 7 for n=2 by n bits (n=l, 2)
RLC dst, n R 6 for n=1 Rotate Left through Carry
RLCB R 7 for n=2 by n bits (n=l, 2)
RR dst, n R 6 for n=1 Rotate Right
RRB R 7 for n=2 by n bits (n=l, 2)
RRC dst, n R 6 for n= 1 Rotate Right through Carry
RRCB R 7 for n=2 by n bits (n= 1,2)
SOA dst, R R (15+3n) (Hj+3n) Shift Dynamic Arithmetic
SOAB Shift dst left or right
SOAL by contents of R
SOL dst, R R (15+3n) (15+3n) Shift Dynamic Logical
SOLB Shift dst left or right
SOLL by contents of R
SLA dst, n R (13+3n) (13+3n) Shift Left Arithmetic
SLAB by n bits
SLAL
~
SLL dst, n R (13+3n) (13+3n) Shift Left Logical
SLLB by n bits
SLLL
SRA dst, n R (13+3n) (13+3n) Shift Right Arithmetic
SRAB by n bits
SRAL
SRL dst, n R (13+3n) (13+3n) Shift Right Logical
SRLB by n bits
SRLL
Block CPO R" src, Ry, cc IR 20 Compare and Decrement
Transfer CPOB Rx-src
and String Autodecrement src address
Manipulation Ry+-Ry-l
CPOR Rx, src, Ry, cc IR (11+9n) Compare, Decrement and Repeat
CPORB Rx-src
Autodecrement src address
Ry+-Ry-l
Repeat until cc is true or Ry=O
CPI Rx, src, Ry, cc IR 20 Compare and Increment
CPIB Rx-src
Autoincrement src address
Ry +-Ry- l
CPIR Rx, src, Ry, cc IR (11+9n) Compare, Increment and Repeat
CPIRB Rx-src
Autoincrement src address
Ry +- Ry- l
Repeat until cc is true or Ry = 0
CPSO dst, src, R, cc IR 25 Compare String and Decrement
CPSOB dst-src
Autodecrement dst and src
addresses
R+-R-l
~""-''------SHARP-----'---''-'
327
............... -................. -............-..-........-..-.........................
Z8001/Z8001A1Z8002/Z8002A Central "Processing Unit LH8001/LH8001 A/LH8002/LH8002A
Clock Cycles*l
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Block CPSDR dst, src, R, cc IR (11 + 14n) Compare String, Decr. and Repeat·
Transfer CPSDRB dst-src
and String Autodecrement dst and src
Manipulation addresses
(Continued) R +- R-l
Repeat until cc is true or R= 0
CPSI dst, src, R, cc IR 25 Compare String and Increment
CPSIB dst-src
Autoincrement dst and src
addresses
R +- R-l
CPSIR dst, src, R, cc IR (11+14n) Compare'String, Iner. and Repeat
CPSIRB dst·src
Autoincrement dst and src
addresses
R +- R-l
Repeat until cc is true or R= 0
LDD dst, src, R IR 20 Load and Decrement
LDDB dst +- src
Autodecrement dst and src
addresses
R +- R-l
LDDR dst, src, R IR (11+9n) Load, Decrement and Repeat
LDDRB dst +- src
Autodecrement dst and src
addresses
R- R-l
Repeat until R= 0
LDI dst, src, R IR 20 Load and Increment
LDIB dst +- src
Autoincrement dst and src
addresses
R -R-l
LDIR dst, sre, R IR (11+9n) Load, Increment and Repeat
LDIR~ dst +- src
Autoincrement dst and src
addresses
R - R-l
Repeat until R=O
.fROB dst, sre, R IR 25 Translate and Decrement
dst - src (dst)
Autodecrement dst address R +-
R-l
-----.-~----SHARP -.-..-.--------"--
328
Z8001 IZ8001 AlZ8002/Z8002A Central Processing Unit LH8001 ILH8001 AlLH8002/LH8002A
Clock Cycles *1
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Block TRDRB dst, stc, R IR (11 + 14n) Translate, Decrement and Repeat
Transfer dst .... stc (dst)
and String Autodecrement dst address R ....
Manipulation R-1
(Continued) Repeat until R = 0
TRIB dst, src, R IR 25 Translate and Increment
dst .... src (dst)
Autoincrement dst address R ....
R-l
TRIRB dst, src, R IR (11 + 14n) Translate, Increment and Repeat
dst .... src (dst)
Autoincrement dst address R ....
R-l
Repeat until R = 0
TRTDB srcl, src 2, R IR 25 Translate and Test, Decrement
PHI .... src2 (src 1)
Autodecrement src 1 address R
.... R-1
TRTDRB src1, src2, R IR (11 + 14n) Translate and Test, Decr. and
Repeat
RH1 .... src 2 (src 1)
Autodecrement src 1 address
R .... R-1
Repeat until R = 0 or RH 1 = 0
TRTIB src1, src2, R IR 25 Translate and Test, Increment
RH1 .... src2 (src n
Autoincrement src 1 address R
.... R-1
TRTIRB src1, src2, R IR (11 + 14n) Translate and Test, Incr. and
Repeat
RH1 .... src 2 (src 1)
Autoincrement src 1 address
R .... R-1
Repeat until R = 0 or RH 1 = 0
Input! IN*3 R, src IR 10 ,Input
Output INB*3 DA 12 R .... src
IND*3 dst, src, R IR 21 Input and Decrement
INDB*3 dst .... src
Autodecrement dst address
R+-R-l
INDR*3 dst, src, R IR (11 + IOn) Input, Decrement and Repeat
INDRB*3 dst .... src
Autodecrement dst address
R .... R-1
Repeat until R = 0
INI*3 dst, src, R IR 21 Input and Increment
INIB*3 dst .... src
Autoincrement dst address
R .... R-1
* 3: Privileged instructions. Executed in system mode only.
.-.--------SHARP-----------
329
Z8001/Z8001A/Z8002JZ8002A Central Processing Unit LH8001/LH8001 A/LH8002/LH8002A
,.....,.....,.....,..-......,.....,.-.....,..-...-...-......, .....................-......,
Clock Cycles *1
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Input! ' INIR*3 dst, src, R IR (11 + IOn) Input, Increment and Repeat
Output INIRB,!3 dst - src "
Clock Cycles *1
Mnemonics Operands Addr. Word Byte Long Word Operation
Modes NS SS SL NS SS SL
Input! SOUTD*3 dst, sre, R IR 21 Special Output and Decrement
Output SOUTDB dst - sre
(Continued) *3 Autoincrement dst address
R-R-1
SOTDR*3 dst, sre, R IR (11 + IOn) Special Output, Deer. and Repeat
SOTDRB*3 dst - sre
Autoinerement dst address
R -R-1
Repeat until R = 0
SOUTI*3 dst, src, R IR 21 Special Output and Increment
SOUTIB*3 dst - src
Autoincrement dst address
R -R-1
SOTIR*3 dst, src, R R (11 +10n) Special Output, Incr. and Repeat
SOTIRB*3 dst - src
Autoin~rement dst address
R -R-1
Repeat until R = 0
CPU COMFLG flags 7 Complement Flag
~
Control (Any combination of C, Z, S, P/V)
-DI*3 int 7 Disable Interrupt
(Any combination of NVI, VI)
EI*3 int 7 Enable Interrupt
(Any combination of NVI, VI)
HALT*3 (8+3n) HALT
LDCTL *3 CTLR, src R 7 Load into Control Register
(TLR - src
LDCTL *3 dst, CTLR R 7 Load from Control Register
dst -- CTLR
LDCTLB FLGR, src R 7 Load into Flag Byte
Register
FLGR -- src
LDCTLB dst, FLGR R 7 Load from Flag Byte
Register
dst -- FLGR
LDPS*3 src IR 12 16 Load program Status
DA 16 20 22 PS - src
X 17 20 23
MBIT*3 7 Test Multi·Micro Bit
Reset S if M] is Low; set S if M]
is High.
MREQ*3 dst R (12+7n) Multi-Micro Request
MRES*3 5 Multi-Micro Reset
MSET*3 5 Multi-Micro Set
NOP 7 No Operation
RESFLG flag 7 Reset Flag
(Any combination of C, Z, s, P/V)
SETFLG flag 7 Set Flag
(Any combination of C, Z, s, PI V)
* 3: Privileged instructions_ Executed in system mode only_
----~-~-.-.--SHARP.-.-.--~---~
331
Z80101Za010A Memory Management Unit UW01 O/lH801 OA·
RESERVED 23
• Features
1. Dynamic segment relocation makes software Top View
addresses indepe~dent of physical memory
addresses.
2. Sophisticated memory management features in-
clude access validation that protects memory
areas from unauthorized or unintentional ac-
cess, and a write-warning indicator that pre-
dicts stack overflow.
3. 64. variable-sized segments from 256 to
65,536 bytes can be mapped into a total
. physical address space of 16M bytes; all 64
segments are random~y accessible.
4. Multiple MMUs can support several translation
tables for each Z8001 address space. <
332
Z8010/Z8010A Memory Management Unit LH801 O/LH801 OA
• Block Diagram
Physical
16 Address
Segment
Number
Violation
Checker
Segment Tr ap Request
Normal/System Mode
Vee
Reset
• Pin Description
Pin Meaning I/O Function
16 most-significant bits of the physical memory loca-
As -A 23 Address bus 3-state 0
tion.
Bidirectional 8 most-significant bits of the multiplexed system
AD s -AD 15 Address/ data bus 3·state address/ data bus.
AS Address strobe I Active "Low". Addresses are valid.
DS Data strobe I Active "Low". Data are valid.
R/W Read/write I Read at "High", Write at "Low".
N/S Normal/system I Normal mode at "High", System mode at "Low".
ST o-ST 3 Status I Specifies 28001 CPU status.
SN o-SN 6 Segment number I Designates segments to be accessed.
--- Active "Low". Indicates any access violation except
SUP Suppress Open drain
write warning.
---- Active "Low". Detects an access violation or write
SEGT Segment trap reguest 0
warning.
CS Chip select I Active "Low". Selects an MMU for a control command.
DMA/segment number
DMASYNC I Active "High". Segment numbers are valid.
Synchronization strobe
RESET Reset I Active "Low". Resets the MMU.
Standard 28000 system clock used as internal sync
CLK System clock I
signal.
333
Z801 O/Z801 OA Memory Management Unit . LH801 O/LH801 OA
. - . . - ............ - . . - . . - - . -.........._ _M_.:. . . . . . . . .: -. . . .. - .
+5V
• Absolute Maximum Ratings
Parameter Symbol Ratings Unit 2;2kO
Input voltage VIN -0.3-+7.0 V From
Output voltage VOUT -0.3-+7.0 V output under test
Operating temperature Topr 0-+70 "C
Storage temperature Tst~ -65-+150 "C
• AC Characteristics
LHS010 LHS010A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TcC Clock cycle time 250 165 ns
2 TwCh Clock width (high) 105 70 ns
3 TwCI Clock width (low) 105 70 ns
4 TfC Clock fall time 20 10 ns
5 TrC Clock rise time 20 15 ns
OS ~ (acknowledge) to read data
6 TdOSA (ROv) 100 SO ns 1
valid delay
OS t (acknowledge) to read data
7 TdOSA(ROf) 75 60 ns
float delay
S TdOSR (ROv) OS ~ (read) to AO output driven delay 100 SO ns 1
9 TdOSR(ROf) OS t (read) to read data float delay 75 60 ns 1
10 TdC (WOv) eLK t to write data valid delay 125 SO ns
CLK ~ to write data not valid
11 TdC (WOn) 30 ~O ns
hold time
12 TwAS Address strobe width 60 50 ns
13 TsOFF (AS) Offset valid to AS t setup time 45 35 ns
14 ThAS (OFFn) AS t to offset not valid hold time 60 40 ns.
15 TdAS (C) AS ~ to CLK t delay 110 I 90 ns
16 TdOS (AS) OS t to AS ~ delay 50 30 ns
334
Z801 0/Z801 OA Memory Management Unit LH801 0/LH801 OA
LH8010 LH8010A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
17 TdAS (OS) AS t to OS ~ delay 50 40 ns
18 TsSN (C) SN data valid to CLK t setup time 100 40 ns
19 ThC (SNn) CLK f to SN data not valid hold time 0 0 ns
20 TdOMAS (C) OMASYNC valid to CLK t delay 120 80 ns
Status (ST o·ST 3, NIS, R/W) valid to
21 TdSTNR (RS) 50 30 ns
AS t delay
22 Tdc (OMA) CLK f to OMASYNC ~ delay 20 15 ns
23 TdST (C) Status (ST o·ST 3) valid to CLK t delay 100 60 ns
24 TdOS (STn) OS f to status not valid delay 0 0 ns
Offset valid to address output -
25 TdOFF (Av) 175 90 ns 1
valid delay
Status valid to address output
26 TdST (Ad) 155 75 ns 1
driven delay
27 TdOS (Af) OS ·t to address output float delay 160 130 ns 1
28 TdAS (Ad) AS ~ to add res output driven delay 145 70 ns 1
29 TdC (A v) CLK t to address output valid delay 255 155 ns 1
30 TdAS (SEGT) CLK t to SEGT t delay 160 100 ns I, 2
31 TdC (SEGT) AS f to SUP ~ delay 300 200 ns 1,2
32 TdAS (SUP) OS t to SUP ~ delay 150 90 ns 1,2
Chip select input valid to AS t
33 TdDS (SUP) 155 100 ns 1,2
setup time
AS t to chip select input not valid
34 TsCS (AS) 10 10 ns
hold time
35 ThAS (CSn) AS t to CLK t delay 60 40 ns
36 TdAS (C) AS t to SEGT t delay 0 0 ns
Chip select input valid to RESET t
37 TsCS (RST) 150 100 ns
setup time
RESET t to chip select input not valid
38 ThRST (CSn) 0 0 ns
hold time
39 TwRST RESET width (low) 2TcC 2TcC ns
40 TdC (RDv) CLK t to read data valid delay 460 300 ns 1
41 TdDS (C) OS t to CLK t delay 30 20 ns
42 TdC (OS) CLK ~ to OS f delay 0 0 ns
t Rising edge, ! Falling edge.
Note 1: 50pF Load
Note 2: 2.2k n Pull·up
.-...-.-------SHARP----------
335
Za()1\O/Z8010A Memory Management Unit LH80tO/LH8010A
CLOCK
TRAP
ACKNOWLEDGE
READ MMU
WRITE MMU
AS
SIOI
!'c!NO!.L,!D~E ,
---
DS
{ MEMORY 16
ACCESS ~.++~---H~~~
-......t...-----'I
SNo-SNs
DMASYNC
ST o -ST 3
N/S, R/W
SUP
CS
~~-------SHARP------~~"'--'----~~
336
Z801 0/Z801 OA Memory Management Unit LH801 0/LH801 OA
• MMU Register Organization structure of the segment, and two encode the tYpes
of access that have been made to the segment. A
The MMU contains three types of registers: Seg-
flag is set when its value is 1. The following brief
ment Descriptor, Control and Status. A set of 64
descriptions indicate how these flags are used.
Segment Descriptor Registers supplies the informa-
( i ) Read-Only (RD) When this flag is set,
tion needed to map logical memory addresses to
the segment is read only and is protected against
physical memory locations. The segment number of
any write access.
a logical address determines which Segment De-
(ii) System-Only (SYS) When this flag is
scriptor Register is used in address translation.
set, the segment can be accessed only in System
Each Descriptor Register also contains the neces-
mode, and is protected against any access in Nor-
sary information for checking that the segment
mal mode.
location referenced is within the bounds of the seg-
(iii) CPU-Inhibit (CPU!) When this flag is
ment and that the type of reference is permitted. It
set, the segment is not accessible to the currently
also indicates whether the segment has been read
executing process, and is protected against any'
or written.
memory access by the CPU. The segment is, howev-
In addition to the Segment Descriptor Registers,
er, accessible under DMA.
the Z8010 MMU contains three 8-bit control reg-
(iv) Execute-Only (EXC) When this flag is
isters for programming the device and six 8-bit
set, the segment can be accessed only during an in-
status registers that record information in the'
struction fetch or access by the relative addressing
event of an access violation.
mode cycle, and thus is protected against any ac-
(1) Segment Descriptor Registers cess during other cycles.
Each of the 64 Descriptor Registers contains a (v) DMA-Inhibit (DMAI) When this flag is
16-bit base address field and an 8-bit attribute set, the segment can be accessed only by the CPU,
field (Fig. 1). The base address field is subdivided and thus is protected against any access under
into high- and low-order bytes that are loaded one DMA.
byte at a time when the descriptor is initialized. (Vi) Direction and Warning (DIRW) When
The limit field contains a value N that indicates N this flag is set, the segment memory locations are
+ 1 blocks of 256 bytes have been allocated to the considered to be organized in descending order and
segment. each write to the segment is checked for access to
The attribute field contains eight flags (Fig. 2). the last 256-byte block. Such an access generates a
Five are related to protecting the segment against trapto warn of potential segment overflow, but no
certain types of access, one indicates the special Suppress signal is generated.
(vii) Changed (CHG) When this flag is set,
BASE ADDRESS LIMIT ATTRIBUTE the segment has been changed (written). This bit is
FIELD FIELD FIELD set automatically during any write access to this
,----".---~,
15 87 07 07 o segment if the write access does not cause any
violation.
SDRO BAHO BALO LO AO
(vii~ Referenced (REF) When this flag is
SDRI BAH I BAll Ll Al
set, the segment has been referenced (either read or
SDR2 BAH2 BAL2 L2 A2 written). This bit is set automatically during any
access to.the segment if the access does not cause a
violation.
(2) Control Registers
,, The three user-accessible 8-bit control registers
,
i in the MMU direct the functioning of the MMU
SDR63 BAH63 ,I BAL63 L63 A63 (Fig. 3 ).The Mode Register provides a sophisti-
cated method for selectively enabling MMUs in
Fig_ 1 Segment description registers multiple-MMU configurations. The Segment
7 0 Address Register (SAR) selects a particular Seg-
I
I REF I CHG DIRWI DMAII EXC I CPUI I SYS I RD
ment Descriptior Register to be accessed during a
control operation. The Descriptor Selection Coun-
ter Register points to a byte within the Segment De-
Fig. 2 Attribute field in segment description scriptor Register to be accessed during a control
registers operation.
337
28010/28010A Memory Management Unit LH8010/LH8010A
The Mcide Register contains a 3~bit identifica- abies or disables the MMU from performing its
tion field (ID) that distinguishes among eight en- address translation and memory prote.ction func-
abled MMUs in a multiple-MMU configuration. tions. When this flag is set, the MMU performs
This field is used during the segment trap acknow- these tasks ; when the -flag is clear the Address
ledge sequence (refer to the section on Segment lines of the MMU remain 3-stated.
Trap and Acknowledge). In addition, the Mode Reg- The Segment Address Register (SAR) points to
ister contains five flags. . one of the 64 segment descriRtors. Control com-
mands to the MMU that access segment descriptors
7 3 2 o impliCitly use this pointer to select one of the de-
scriptors. This register has an auto-incrementing
ID
capability so that multiple descriptors can be
MODE REGISTER (MR) accessed in a block read/write fashion.
7 6 5 0 The Descriptor Selection Counter Register holds
I~EGMENT
- I
DESCRIPTOR' NUMBER
I I I I
I
_
a 2-bit counter that indicates which byte in the de-
scriptor is being accessed during the reading or
writing operation. A value of zero in this counter
,SEGMENT ADDRESS
'i 2 o indicates the high-order byte of the base address
field is to be accessed, one indicates the low-order
DSC
I I I I I I
byte of the base address, two indicates the limit
DESCRIPTOR SELECTION COUNT REGISTER (DSCR) field and three indicates the attribute field.
(3) Status Registers
Fig. 3 Countrol registers Six 8-bit registers contain information useful in
recovering from memory access violations (Fig. 4).
(i) Multiple Segment Table (MST) This
The Violation Type Register describes the condi-
flag indicates whether multiple segment tables are
tions that generated the trap. The Violation Seg-
present in the hardware configuration. When this
ment Number and Violation Offset Registers record
fla[ is set, more than one table is present and the
the most-significant 15 bits of the logical address
N/S line must be used to determine whether the
that causes a trap. The Instruction Segment Num-
MMU contains the appropriate table.
ber and Offset Registers record the most-signific-
(ii) Normal Mode Select (NMS) This flag
ant 15 bits of the logical address of the last in-
indicates whether the MMU is to translate addres-
struction fetched before the first accessing viola-
ses when the NlS line is High or Low. If. the MST
tion. These two registers can be used in conjunc-
flag is set, the N/S iine must match the NMS flag
tion with external circuitry that records the low-
for the MMU to translate segment addresses, other-
order offset byte. At the time of the addressing
wise the NMU Address lines remain 3-stated.
violation, the Bus Cycle Status Register records the
(iii) Upper Range Select (URS) This flag
bus cycle status (status code, read/write mode and
is used to indicate whether the MMU contains the
normal/system mode).
lower-numbered segment descriptors or the high-
The MMU generates a Trap Request for two
er-numbered segment descriptors. The most signi-
general reasons: either it detects an access viola-
ficant bit of the segment number must match the
tion, such' as an attempt to write into a read-only
URS flag for the MMU to translate segmentaddres-
segment, or it detects a warning condition, which is
ses, otherwise the MMU Address lines remain
a write into the lowest 256 bytes of a segment with
3-stated.
the DIRW flag set. When a violation or warning
(IV) Translate (TRNS) This flag indicates
condition is detected, the MMU generates a Trap
whether the MMU is to translate logical program
Request and automatically sets the appropriate'
addresses to physical memory locations or is to
flags. The eight flags in the Violation Type Regis-
pass the logical addresses unchanged to the mem-
ter describe the cause of a trap.
ory and without protection checking; In the non-
translation mode, the most significant byte of the Read-Only Violation (RDV) Set when the
output is the 7-bit segment number and the most CPU attempts to access a read-only segment and
significant bit is O. the 'R/W line is Low.
When this flag is set, the MMU performs address System Violation (SYSV) Set when the CPU
translation and attribute checking. accesses a system-only segment and the N/S line
(v) Master Enable (MSEN)' This flag en- is High.
338
Z801 0/Z801 OA Memory Management Unit LH801 0/LH801 OA
CPU-Inhibit Violation (CPUIV) Set when the routine. Once set, no Trap Request signals are
CPU attempts to access a segment with the CPU- generated on subsequent violations. However, Sup-
inhibit flag set. press signals are generated on this and subsequent
Execute-Only Violation (EXCV) Set when CPU violations until the FA TL flag has been reset.
the CPU attempts to access an excute-only segment
in other than an instruction fetch or load relative • Memory Protection
instructions cycle_ Each memory segment is assigned several attri-
Segment Length Violation (SLV) Set when butes that are used to provide memory access pro-
an offset falls outside of the legal range of a seg- tection. A memory request from the Z8001CPU is
ment. accompanied by status information that indicates
Primary Write Warning (PWW) . Set when an the attributes of the memory request. The MMU
access is made to the lowest 256 bytes of a seg- compares the memory request attributes with seg-
ment with the DIRW flag set. ment attributes and generates a Trap Request
Secondary Write Warning (SWW) Set whenever it detects an attribute violation. Trap Re-
when the CPU pushes data into the last 256 bytes quest informs the Z8001 CPU and the system con-
of the system stack and EXCV, CPUIV, SL V, trol program of the violation so that appropriate
SYSV, RDV or PWW is set. Once this flag is set, action can be taken to recover. The MMU also
subsequent write warnings for accessing the sys- generates the Suppress signal SUP in the event of
tem stack do not generate a Segment Trap request. an access violation. Suppress can be used by a
Fatal Condition (FATL) Set when any other memory system to inhibit stores into the memory
flag in the Violation Type Register is set and either and thus protect the contents of the memory from
a violation is detected or a write warning condition erroneous changes.
6I:::::'=':=: :
occurs in Normal mode. This flag is not set during Five attributes can be associated with each seg-
a stack push in System mode that results in a ment. When an attempted access violates anyone of
warning condition. This flag indicates a memory the attributes associated with a segment, a Trap
access error has occurred in the trap processing Request and a Suppress signal are generated by the
MMU. These attributes are read only, execute only,
7 0 system access only, inhibit CPU accesses and in-
IFATLlswwlpwwlEXCVfPUlVI SLY ISYSVI RDV I hibit DMA accesses.
Segments are specified by a base address and a
VIOLATION TYPE range of legal offsets to this base address. On each
7 6 o access to a segment, the offset is checked against
SEGMENT NUMBER this range to insure that the access falls within the
o
allowed range. If an access that lies outside the seg-
ment is attempted, Trap Request and Suppress are
VIOLATION SEGMENT NUMBER generated.
7 o
Normally the legal range of offsets within a seg-
ment is form 0 to 256N + 255 bytes, where 0 ;:;;;
, ,
UPPER OFFSET
I
, N ~ 255. However, a segment may be specified so
VIOLATION OFFSET
5 4 3 0 that legal offsets range from 256N to 65,535
7 6
bytes, where 0 ~ N ~ 255. The later type of seg-
0 0 I N/S I R/W I CPU STATUS
I
ment is useful for stiJcks since the Z8000 stack
manipulation instructions cause stacks to grow
BUS CYCLE STATUS towerd lower memory locations. Thus when a stack
7- 6 0
grows to the limit of its allocated segment, addition-
0 SEGMENT NUMBER al memory can be allocated on the correct end of
I I I the segment. As an aid in maintaining stacks, the
INSTRUCTIONS, SEGMENT NUMBER MMU detects when a write is perfQrmed to the .
7 0
lowest allocated 256 bytes of these segments and
UPPER OFFSET generates a Trap Request. No Suppress signal is
generated so the write is allowed to proceed. This
INSTRUCTION OFFSET write warning can then be used to indicate that
more memory should be allocated to the segment.
Fig. 4 Status registers
339
Z8010/Z80tOA Memory Management Unit LH801 0/LH801 OA
340
Z8010/Z8010A Memory Management Unit LH801 O/LH801 OA
the end of the Program Status swap. The SWW flag • MMU Commands
is also set. Servicing this second Segment Trap Re-
quest also creates a write warning condition, but Table 1 Segment descriptor register
because the SWW flag is set, no Segment Trap Re- commands
quest is generated. If a violation rather than a Code
Instruction
write warning occurs during the Program Status (Hex)
swap, the FA TL flag is set rather than the SWW 08 Read/write base field
flag. Subsequent violations cause Suppress to be 09 Read/write limit field
asserted but not Segment Trap Request. Without OA Read/write attribute field
the SWW and FA TL flags, trap processing 08 Read/write descr\ptor (all fields)
routines that generate memory violations would re- Read/write base field;
OC
peatedly be interrupted and called to process the Increment SAR
trap they created. Read/write limit field;
OD
The CPU routine to process a trap request Increment SAR
should first check the FA TL flag to determine if Read/write attribute field;
OE
a fatal system error has occurred. If not, the SWW Increment SAR
flag should be checked to determine if more mem- Read/write descriptor;
OF
ory is required for the system stack. Finally, the Increment SAR
trap itself should be processed and the Violation 15 Set All CPU-inhibit attribute flags
Type Register reset. 16 Set All DMAI-inhibit attribute flags
Three commands are used to read and write the
control registers.
341
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
LH8030/LH8030A
.
Z80301Z8030ASerial
Communications Controller
• Description • Pin Connections
'The Z8030 Z-SCC Serial Communications Con-
troller is a dual-channel, multi-protocol data com-
munications peripheral designed for use with the o
Zilog Z-Bus. The Z-SCC Junctions as a serial-
to-parallel, parallel-to-serial converterl
controller. The Z-SCC can be software-con-
figured to satisfy a wide variety of serial com-
munications applications. The device contains a
variety of new, sophisticated internal functions in-
cluding on-chip baud rate generators, Digital INTACK 8
Phase-Locked Loops, and crystal oscillators that +5V 9
dramatically reduce the need for external logic. W/REQA
The Z-SCC handles asynchronous formats, syn-
chronous byte-oriented protocols such as IBM RTxCA
Bisync, and Synchronous bit-oriented protocols
RxDA
such as HDLC and IBM SDLC. This versatile de-
TRxCA
vice supports virtually any serial data transfer ap-
plication (cassette, diskette, tape drives, etc.). TxDA
The device can generate and check CRC codes in DTR/REQA
any Synchronous mode and can be programmed to RTSA
check data integrity in various modes. The CTSA
Z-SCC also has facilities for modem controls in DCDA
both channels. In applications where these con- PCLK
trols in both channels. In applications where Top View
these controls are not needed, the modem controls
can be used for general-purpose I/O.
The Z-Bus daisy-chain interrupt hierarchy is
also supported as is standard for Zilog peripheral
components.
The LH8030A Z8030A SCC is the high speed
version which can operate at 6MHz system clock.
---------.--SHARP.-----.-.-~--.-.
342
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
• Block Diagram
Baud Rate
Generator
A
.-~------SHARP-'-------'---"""""
343
Z8Q30/Z8030A Serial Communications Controller LH8030/LH8030A
• Pin Description
Pin Meaning I/O Function
AD o-AD 7 Address/ data bus Bidirectional Multiplexed systerri address/data bus.
3-state
AS Address strobe I Active "Low". Addresses are valid,
DS Data strobe I Active "Low". Data are valid.
R/W Read/write I Read at "High", Write at "Low",
CS o Chip select 0 I Active "Low", Selects an MMU for a control command,
CS 1 Chip select 1 I Active "High". Selects an MMU for a control command,
INT Interrupt request 0 Active "Low", Requests an interrupt.
--- Active "Low". Indicates an active interrupt acknowledge
INTACK Interrupt acknowledge I
cycle.
Active "High", Forms an interrupt daisy chain to give an
lEI Interrupt enable input I
interrupt priority.
Active "High". Forms an interruptdaisy chain to give an
lEO Interrupt enable output 0
interrupt priority.
W/REQA Active "Low". Programmed as Request lines for a DlyIA
--- Wait/request Open drain
W/REQB controller or as Wait lines to synchronize the CPU.
CTSA Active "Low". Enables the respective transmitters to
-- Clear to send I
STSB send signals. Can be used as general·purpose input pins.
RTSA Active "Low". Goes High after the transmitter is empty.
-- Request to sen'd 0
RTSB Can be used as general·purpose output pins,
TxDA,TxDB Transmit data I Transmits data,
DCDA Active "Low", Enables the receiver to receive signals.
-- Data carrier detect I
DCDB Can be used as general·purpose input pins,
RxDA, RxDB Receive data I Receives data.
RTxCA, RTxCB Recive/transmit clocks I Transmission·purpose, clocks.
TRxCA, TRxCB Transmit/ receive clocks 110 Transmission·purpose clocks.
DTR/REQA Data terminal Active "Low". Request lines for a DMA controller. Can
----- 0
DTR/REQB Ready /request be used as general·purpose output pins,
--- Active "Low", Indicates a synchronization mode. Switch·
SYNCA
--- Synchronization 110 es synchronization mode. Switches to input or output de·
SYNCB
pending on modes,
Single· phase clock, Not required tobe the same as for the
PCLK Clock J
CPU.
Note: When AS and DS are at "Low" at the same time, the Z·SCC resets.
+5V
• Absolute Maximum Ratings
Parameter Symbol Ratings Unit 2.2kO
Input voltage V IN -0,3-+7.0 V Output pin O-~-'''1'IIH
+5V
I2.2kO
Output Pin~
J; 50pF
Open drain test load
............. . . . . . - - - - - - - - . - . - . - S H A R P - - . - - - - - . - . . . . , - -
344
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
• AC Characteristics
LHS030 LHS030A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TwAS AS low width 70 50 ns
2 TdOS (AS) OS t to as ! delay time 50 25 ns
3 TsCSo(AS) CS o to AS t setup time 0 0 ns 1
4 ThCS o (AS) CS o to AS t hold time 60 40 ns 1
5 TsCS 1 (OS) CS 1 to OS ~ setup time 100 SO ns 1
6 ThCS 1 (OS) CS 1 to OS t hold time 55 40 ns 1
7 TsIA (AS) INT ACK to AS t setup time 0 0 ns
S ThIA (AS) INT ACK to AS t hold time 250 250 ns
9 TsRWR (OS) R/W (read) to OS ! setup time 100 SO ns
10 ThRW (OS) R/W to OS t hold time 55 40 ns
11 TsRWW (OS) R/W (write) to DS ! setup time 0 0 ns
12 TdAS (OS) AS t to OS ~ delay time 60 40 ns
13 TWOS1 OS low width 390 250 ns
14 TrC Valid access recovery time 6TcPC+200 6TcPC+l30 ns 2
15 TsA (AS) Address to AS t setup time 30 , 10 ns 1
16 ThA (AS) Address to AS t hold time 50 30 ns 1
17 TsOW (OS) Write data to OS ~ setup time 30 20 ns
IS ThOW (DS) Write data to OS t hold time 30 20 ns
19 TdOS (DA) OS ~ to data active delay time 0 0 ns
20 TdDSr (OR) DS t to read data not valid delay 0 0 ns
21 TdDSf (DR) DS ! to read data valid delay time 250 ISO ns
22 TdAS (OR) AS t to read data valid delay time 520 335 ns
23 TdOS (ORz) OS t to read data float delay time 70 45 ns 3
Address required valid to read
24 TdA (OR) 570 420 ns
data valid delay
25 TdOS (W) OS ~ to wait valid delay 240 200 ns 4
26 TdOSf (REQ) OS ! to W IREQ not valid delay 240 200 ns
27 TdOSr (REQ) OS t to OTR/REQ not valid delay 5TcPC+300 5TcPC+250 ns
345
-
.-..-..-.~ ................. .....
za030/Z8030A Serial Communications Controller
.
~ ~.-..-. ..............
LH8030/LH8030A
~.-.
-
LH8030 LH8030A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
28 TdAS (I NT) AS t to INT valid delay 500 500 ns 4
29 . TdAS (DSA) AS t to OS ! (acknowledge) delay ns 5
30 TwDSA DS (acknowledge) low width 390 250 ns
DS ! (acknowledge) to read data
31 TdDSA (DR) 250 180 ns
valid delay
32 TslEI (DSA) lEI to OS l (acknowledge) setup time 120 100 ns
33 ThIEl (DSA) lEI to DS t (acknowledge) hold time 0 0 ns
34 TdIEI (lEO) lEI to lEO delay 120 100 ns
35 TdAS (lEO) AS t to lEO delay 250 250 ns 6
DS l (acknowledge) to INT inactive
36 TdDSA (INT) 500 500 ns 4
delay
37 TdDS (ASQ) DS t to AS l delay for no reset 30 15 ns
38 TdASQ (DS) AS t to OS l delay for no reset 30 30 ns
39 TwRES AS and DS coincident low for reset 250 250 ns
40 TwPCI PCLK low width 105 2000 70 1000 ns
41 TwPCh PCLK high width 105 2000 70 1000 ns
42 TcPC PCLK cycle time 250 4000 165 2000 ns
43 TrPC PCLK rise time 20 15 ns
44 TfPC PCLK f:ill time 20 10 ns
Note : f Rising edge,
~ falling edge.
Note 1:
Parameter does not apply to interrupt acknowledge transactions.
Note 2:
Parameter applies only between transactions involving the Z-SCC.
Note Float delay is defined as the time required for a ± 0.5 V change in the output with a maximum dc load and minimum ac load.
3:
, Note 4:
Open-drain output, measured with open-drain test load.
Note 5:
Parameter is system dependent. For any Z-SCC in the daisy chain, TdAS (DSA) must be greater than the sum of TdAS (lEO) for the
highest priority device in the daisy chain, TslEI (DSA) for the Z-SCC, and TdlElf (lEO) for each device separating them in the daisy
chain.
Note 6: Parameter applies only to a Z-SCC pulling INT Low at the beginning of the Interrupt Acknowledge transaction.
'-'-~~----SHARP-~--~---'-"-
346
Z8030/Z8030A Serial Communications Controller' LH8030/LH8030A
AS
CSo
CS 1
INTACK
R/W
READ
R/W
WRITE
DS
ADo-AD7
WRITE
ADo-AD7
READ
W/REQ
WAIT
W/REQ
REQUEST
~
DTR/REQ
REQUEST
INT
Reset timing
PCLK
Cycle timing
---~------SHARP""-'-'-'----~
347
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
• General Timing
LH8030 LH8030A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TdPC (REQ) PCLK ! to W IREQ valid delay 250 250 ns
2 TdPC (W) PCLK ! to wait inactive delay 350 350 ns
3 TsRXC (PC) RXC t toPCLK .t setup time 50 50 ns 1, 4
4 TsRXD (RXCr) RXD to RXC t setup time (X 1 mode) 0 0 ns 1
5 ThRXD (RXCr) RXD to RXC t hold time (X 1 mode) 150 150 ns 1
6 TsRXD (RXCf) RXD to RXC ! setup time (X 1 mode) 0 0 ns 1,5
7 ThRXD (RXCf) RXD to RXC ! hold time (X 1 mode) 150 150 ns 1,5
8 TsSY (RXC) SYNC to RXC t setup time -200 -200 ns 1
9 ThSY (RXC) SYNC to RXC t hold time 3TcPCt200 3TcPCt200 ns 1
10 . TsTXC .(pC) TXC ! to PCLK t setup time 0 0 ns 2,4
11 TdTXCf (TXD) TXC ! to TXD delay (X 1 mode) 300 300 ns 2
TdTXCr
12
(TXD)
TXC t to TXD delay (X 1 mode) 300 300 ns 2,5
PCLK
W/REQ ------------+----------+~~
REQUEST "-;----------
WWAIT
IREQ ----------t-,--+,..",..-----------J
SYNC ----~~~~~~~~~---------------
EXTERNAL ----J~-~4---~f~--------------
-TR-x-C.-RT-x-C ----------.,.
TRANSMIT
TxD ____~~~~~_~~''--------~~-----
TRxC ---~==~~~~r--------------------
OUTPUT
RTxC
====~--~~~~~~~~~~====~-----~
CTS,DCD ________-oJ
SYNC
INPUT - - -_ _ _ _'1
348
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
• System Timing
LH8030 LH8030A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TdRXC (REQ) RxC t to W IREQ valid delay 8 12 8 12 TcPC 2
2 TdRXC (W) RxC t to wait inactive delay 8 12 8 12 TcPC 1,2
3 TdRXC (SY) RxC t to SYNC valid delay 4 7 4 7 TcPC 2
RTxC,TRxC
RECEIVE
W/REQ --------------~----~
REQUEST
W/REQ _____________~~_,~-J
WAIT
SYNC
OUTPUT ______________~~~~~
INT
RTxC,TRxC
TRANSMIT
Vi IREQ --------------~----~
REQUEST
W/REQ
WAIT ----------------f----~--'I
DTR/REQ ---------------+--"""'.../ __________________
REQUEST ~~
INT ----------------f~~~~
CTS,DCD K
------------~~-------------------------
SYNC ------------~--~~~r----------------------
INPUT ------------+---~~-r.9~~--~-------------
INT ------------+---~~.~~~
--@}-----!
.-.~-~----SHARP-.---.----..-,
349
., Z8030/Z8030A Serial Communications Controller LH80301LH8030A
! . l1
START
PARITY .---.
CONTROLLER
TOP
MA""""'RKI=N""G~1..I£&ill j ~~A~T""'A
'"TT1j l.lli&&]"
UNE ASYN~HRONOUS
1SYNC 1DATA 1 ::)-~ID""A"""T""ATIC-R-C-,'-1C-R-C"'"
MONOSYNC
1'"S:-:-:Y~Nc~Ir-SY-N~C""TID""A"""T~ATI
:1 ;..;;..;;.,;; 1DATA 1CRC, 1 CRc,1
SIGNAL~NC '
~,;.;:~ID""A"""T""ATI~CR~c"",r.1C==R~c2"'1
EXTERNAL SYNC
Ir.::F:;-LA7':G:::1IAD=DR::::E:::!s.i-'~: > 1 CRC" CRC,jFLAGI Fig. 2 An SDLC loop
SDLC/HDLC/X.25 "INFORMATION
•. Data Encoding
Fig. 1 Some Z-SCC protocols
The Z-SCC may be programmed to encode and
decode the serial data in four different ways (Fig.
• SOLe Loop Mode 3). In NRZ encoding, a 1 is represented by a High
The Z-SCC supports SDLC Loop mode in addi- level and a 0 is represented by a Low level. In
tion to normal SDLC. In an SDLC Loop, there is a NRZI encoding, a 1 is represented by no change in
primary controller station that manages the mes- level and a 0 is represented by a change in level. In
sage traffic flow on the loop and any number of FM1 (more properly, bi-phase mark) a transition
secondary stations. In SDLC Loop mode, the Z-SCC occurs at the beginning of every bit cell. A 1 is rep-
performs the functions of a secondary station while resented by an additional translation at the center
a Z-SCC operating in regular SDLC mode can act of the bit cell and a 0 is represented by no addi-
as a controller (Fig. 2). tional transition at the center of the bit cell. FMO
A secondary station in an SDLC Loop is always (bi-phase space), a transition occurs at the begin-
listening to the messages being sent around the ning of every bit cell. A 0 is represented by an
loop, and in fact must pass these messages to the additional transition at the center of the bit cell,
rest of the loop by retransmitting them with a and a 1 is represented by no additional transition
one-bit-time delay. The secondary station can at the center of the bit cell. In addition to these four
place its own message on the loop only at specific methods, the Z-SCC can be used to decode Man-
times. The con,troller signals that .secondary stati- chester (bi-phase level). data by using the DPLL in
ons may transmit messages by sending a special ch- the FM mode and programming the receiver for
aracter, called an EOP (End Of Poll), around the loop. NRZ d~ta. Manchester encoding always produces a
The EOP character is the bit pattern 1111111 0. transition at the center of the bit cell. If the transi-
Because of zero insertion during messages, this bit tion is 0 to 1, the bit is a O. If the transition is 1 to '
pattern is unique and easily recognized. 0, the bit is a 1.
When a secondary station has a message to
transmit and recognizes an EOP on the line, it DATA --''--_-''-,
NRZ
chages the last binary 1 of the EOP to a 0 before
transmission. This has the effect of turning the NRZI
EOP into a flag sequence. The secondary station FMl
now places its message on the loop and terminates
the message with an EOP. Any secondary stations FM
further down the loop with messages to transmit MANCHESTER
can then append thier messages to the message of
Fig. 3 Data encoding methods
'the first secondary station by the same process.
350
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
• Auto Echo and Local Loopback used as either the transmit clock, the recieve clock,
The Z-SCC is capable of automatically echoing or both. It can also drive the Digital Phase-Locked
everything it receives. This feature is useful main- Loop (see next section).
ly in Asynchronous modes, but works in Synchro- If the receive clock or transmit clock is not prog-
nous and SDLC modes as well. In Auto Echo mode, rammed to come from the TRxC pin, the output of
TxD is RxD. Auto Echo mode can be used with the baud rate generator may be echoed out via the
NRZI or FM encoding with no additional delay, be- TRxC pin.
cause the data stream is not decoded before re- The following formula relates the time constant
transmission. In Auto Echo mode, the CTS input is to the baud rate (the baud rate is in bits/second
ignored as a transmitter. enable (although transi- and the BR clock period is in seconds) :
tions on this input can still cause interrupts if 1
programmed to do so). In this mode, the transmitter baud rate = 2 (time constant + 2) X (BR clock period)
is actually bypassed and the programmer is re-
sponsible for disabling transmitter interrupts and • Digital Phase-Locked Loop
WAIT /REQUEST on transmit.
The Z-SCC contains a Digital Phase-Locked
The Z-SCC is also capable of Local Loopback . In
Loop (DPLL) to recover clock information from a
this mode TxD is RxD, just as in Auto Echo mode.
data stream with NRZI or FM encodling. The DPLL
However, in Local Loopback mode, the internal
is driven by a clock that is nominally 32 (NRZI) or
data is tied to the internal receive data and RxD is
16 (FM) times the data rate. The DPLL uses this
ignored (except to be echoed out via TxD). The CTS
clock, along with the data stream, to construct a
and DCD inputs are also ignored as transmit and
clock for the data. This clock may then be used as
receive enables. However, transitions on these in-
the Z-SCC receive clock, the transmit clock, or
puts can still cause interrupts. Local Loopback
both.
works in Asynchronous, Synchronous and SDLC
For NRZI encoding, the DPLL counts the 32x
modes with NRZ, NRZI or FM coding of the data
clock to create nominal bit times. As the 32x clock
stream. is counted, the DPLL is searching the incoming
data stream for edges (either 1 to 0 or 0 to 1).
• Baud Rate Generator Whenever an edge is detected, the DPLL makes a
Each channel in the Z-SCC contains a programm- count adjustment (during the next counting cycle),
able band rate generator. Each generator consists producing a terminal count closer to the center of
of two 8-bit time constant registers that form a the bit cell.
16-bit time constant, a 16-bit down counter, and a For FM encoding, the DPLL still counts from 0
flip-flop on the output producing a square wave. to 31, but with a cycle corresponding to two bit
On startup, the flip-flop on the output is set in a times. When the DPLL is locked, the clock edges in
High state, the value in the time constant register is . the data stream should occur between counts 15
loaded into the counter, and the counter starts and 16 and between counts 31 and O. The DPLL
counting down. The output of the baud rate gener- looks for edges only during a time centered on the
ator toggles upon reaching 0, the value in the time 15 to 16 counting transition.
constant register is loaded into the counter, and the The 32x clock for the DPLL can be programmed
process is repeated. The time constant may be to come from either the RTxC input or the output of.
changed at any time, but the new value does not the baud rate generator. The DPLL output may be
take effect until the next load of the counter. programmed to be echoed out of the Z-SCC via the
The output of the baud rate generator may be TRxC pin (if this pin is not being used as an input).
------------SHARP---.------
351
Z803QJZ8030A Serial Communications Controller LH8030/LH8030A
• Read Registers
Read Register 0 . Read Register 10 .
~~~-r~~-r~~'-~~RxCHARACTER
AVAILABLE
ZERO COUNT
Tx BUFFER EMPTY
DCD o
SYNC/HUNT LOOP SENDING
CTS o
Tx UNDERRUN /EOM· TWO CLOCKS MISSING
BREAK/ABORT ONE CLOCK MISSING
I D7 I D6 I Ds I D. I D3 I D, I DJ I Do I
ALL SENT
RESIDUE CODE 2 [ LOWER BYTE OF
RESIDUE CODE 1 TIME CONSTANT
RESIDUE CODE 0
PARITY ERROR
Rx OVERRUN ERROR
CRC/FRAMING ERROR
END OF FRAME (SDLC)
I~I~I~I~I~I~I~I~I 1~lllilllil~I~I~I~I~1
[INTERRUPT VECTOR' [UPPER BYTE OF
• MODIFIED IN B CHANNEL TIME CONSTANT
CHANNEL B
EXT/STAT IP'
o
CHANNEL B Tx IP'
CHANNEL B Rx II" o
CHANNEL A EXT/STAT IP' DCDIE
SYNC/HUNT IE
CHANNEL A Tx IP'
CTS IE
CHANNEL A Rx IP'
Tx UNDER RUN / EOM IE
o BREAK/ABORT IE
o
• ALWAYS 0 IN B CHANNEL
'-'---~---SHARP-'------'---
352
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
1I
NULL CODE
NULL CODE
SELECT SHIrr LEFT MODE'
SELECT SHIFT RIGHT MODE'
I ~~~
~--------------Vs
~------------------V6
INTERRUPT
VECTOR
o ~--------------------V7
0 0 0 NULL CODE
0 0 1 NULL CODE
0 1 0 RESET EX T/STATUS INTERRUPTS
0 1 1 SEND ABO RT
1 0 0 ENABLE IN T ON NEXT Rx CHARACTER
1 0 1 RESET Tx I NT PENDING
1 1 0 ERROR RES ET
1 1 1 RESET HIG HEST IUS Write Register 3
0 0 NULL CODE
0
1
1
0
RESET Rx CRC CHECKE R
RESET Tx CRC GENERA TOR
/ 071 061 051 04/ 031 02 / 01 Do I I
II~
1 1 RESET Tx UNDERRUN / EOM LATCH Rx ENABLE
SYNC CHARACTER LOAD INHIBIT
'B CHANNEL ONLY
Rx CRC HUNT
ENTER ENABLE
AUTO ENABLE
MODE 5
ADDRESS SEARCH MODE (SDLC) ~
===_"
0 0 Rx 5 BITS /CHARACTER
0 1 Rx 7 BITS /CHARACTER
1 0 Rx 6 BITS /CHARACTER
1 1 Rx 8 BITS /CHARACTER
I 07 I061 051 0.1 031 021 01 I Do I I 071 061 051 04/ 03/ 021 01 I Do I
~ 1I ~PARITY
EXT INT ENABLE ENABLE
Tx INT ENABLE PARITY EVEN/ODD
PARITY IS SPECIAL 0 0 SYNC MODES ENABLE
CONDITION 0 1 STOP BIT/CHARACTER
1
0 0 Rx INT DISA BLE 1 0 1112 STO P BITS/CHARACTER
Rx INT ON FI RST CHARACTER 1 1 2 STOP BITS/CHARACTER
0 1 OR SPECIAL CONDITION
INT ON ALL Rx CHARACTERS
1 0 OR SPECIAL CONDITION
1 1 Rx INT ON SPE CIAL CONDITION ONLY
0 0 8 BIT SYNC CH ARACTER
0 1 16 BIT SYNC C HARACTER
WAIT /0 MA REQUEST ON 1 0 SDLC MODE (01 111110 FLAG)
RECEI VE/TRANSMIT
1 1 EXTERNAL SY NC MODE
WAIT /0 MA REQUEST
FUNCT ION 0 0 xl CLOCK MODE
WAIT /0 MA REQUEST 0 1 x16 CLOCK MODE
ENABLE 1 0 x32 CLOCK MODE
1 1 x64 CLOCK MODE
. . . . - . - - - - - - - - - - - - S H A R P ...--~--.-------
353
. .......... ~...., .......................... ..........................
Z8030/Z8030A Serial Communications Controller
~~ ~
- LH8030lLH8030A
. ~
Write Register 5
I~
Tx CRC ENABLE
RTS
SDLC/CRC 16
Ti ENABLE
SEND BREAK
DTR
Wrl!e Register 6
SYNC7
SYNCl
FFJ~~~
SYNCs
SYNCs
SYNCs
SYNCs
SYNC.
SYNC.
SYNC3
SYNC3
SYNC2
SYNC2
SYNCl
SYNCl
SYNCo
S'yNCo
MONOSYNC, 8 BITS
MONOSYNC, 6 BITS
SYNC7 SNNCs SYNCs SYNC. SYNC3 SYNC2 SYNCl SYNCo BISYNC, 16 BITS
SYNC3 SYNC2 SYNCl SYNCo 1 1 1 1 BISYNC, 12 BITS
ADR7 ADRs ADRs ADR. ADR3 ADR2 ADRl ADRo SDLC ADDRESS, 8 BITS
ADR7 ADRs ADRs ADR. x x x x SDLC ADDRESS, 4 BITS
Write Register 7
SYNC7
SYNCs
F,J~~~
SYNCs
SYNC.
SYNCs
SYNC3
SYNC. SYNC3 SYNC2 SYNCl
I
SYNCo MONOSYNC, 8 BITS
SYNC2 SYNCl SYNCo X X MONOSYNC, 6 BITS
SYNCls SYNC14 SYNCls SYNCl2 SYNCll SYNClo SYNCg SYNCs BISYNC, 16 BITS
SYNCll SYNClO SYNCg SYNCs SYNC7 SYNCs SYNCs SYNC. BISYNC, 12 BITS
0 1 1 1 1 1 1 o SDLC,FLAG
354
Z8030/Z8030A Serial Communications Controller LH8030/LH8030A
I~ I I LL=~TgCC:3'
VIS
NV
DLC
MIE
I LOWER
BYTE OF
STATUS HIGH/STATUS LOW TC4 TIME
o L---------------TC5 CONSTANT
L-_________________ TC6
0 0 NO RESET L---------------------TC7
0 1 CHANNEL RESET B
1 0 CHANNEL RESET A Write Register 13
1 1 FORCE HARDWARE RE SET
I D71 D61 D51 D41 D31 D21 D, I Dol
Lm ~~~~"oF
Write Register 10
I~
1 1 FMO (TRANSITION =0)
BR GENERATOR ENABLE
CRC PRESET I/O BR GENERATOR SOURCE
DTR/REQUEST FUNCTION
AUTO ECHO-
LOCAL LOOPBACK
Write Register 11
0 0 0 NULL COMMAND
ID71 D6 ID51 D41 D3 ID21 D, IDo I 0 0 1 ENTER SEARCH MODE
0 1 0 RESET MISSING C LOCK
.--..-------SHARP---------
355
Z8036/Z8036ACounter/Timer and Parallel 1/0 Unit LH8036/LH8036A
LH8036/lH8036A
-Z8036/Z8036A Counter/Timer and Parallel I/O Unit
• Description • Pin Connections
The Z8036 Z-CIO Counter/Timer ~nd Parallel
. 110 elemeniis ,a general-purpose peripheral cir-
cuit, satisfying most counter/timer and parallel 110 o
needs encountered in system designs. This versa-
tile device contains three 110 ports and three coun-
ter/timers. Many progra\llmable options tailor its
configuration to specific applications. The use of
the device is simplified by making all internal reg-
isters (command, status, and data) readable and'
(except for status bits) writable. In addition, each
'register is given its own unique address so that it
can be accessed directly-no special sequential op-
erations are required. The Z-CIO is directly
Z-Bus compatible.
• ' Features
1. Two independent 8-bit, double-buffered,
bidirectional 110 ports plus a 4-bit speci,d-
purpose 110, port. 110 ports feature pro-
Top View
grammable polarity, programmable direction
(Bit mode), "pulse catchers," and programm-
able opendrain outputs
2. Four handshake modes, including 3-Wire (like
the IEEE-488) .
3. REQUEST /W AIT signal for high-speed data
transfer
4. Flexible pattern-recognition logic, programm-
able as a 16-vector interrupt controller
5. Three independent 16-bit counter/timers with
up to four external access lines per counter/
timer (count input, output, gate, and trigger),
and three output duty cycles (pulsed, one-shot,
and s'quarewave), programmable as retrigger-
able or nonretriggerable.
6. Easy to use since all registers are read/write
and directly addressable.
356
Z8036/Z8036A Counter/Timer and Parallel I/O Uni.t LH8036/LH8036A
• Block Diagram
Interrupt Enable In
Int erupt Enabl e Out
Interrupt Request C24l--f
Interrupt Acknowledge
Address/Data
Bus
Data Strobe
Read/Write
Address Strobe 3
Chip Select {
• Pin Description
Pin Meaning I/O Function
Bidirectional
AD o-AD 7 Address/ data bus MUltiplexed system address/data bus.
3-state
AS Address strobe I Active low. AS determines address while low.
- Active low. DS providies timing for data transfer
DS Data strobe I
while low.
- R/W indicates that the CPU is reading froln (high) or
R/W Read/write I
writing to (low) the Z-CIO.
CSo Chip select 0 I Active low. Chip select signal
CS 1 Chip select 1 I Active high. Chip select signal
-- Active low. INT is pulled low when the Z·CIO
INT Interrupt request Open-drain
requests on interrupt.
Active low. INT ACK indicates that an Interrupt
INTACK Interrupt acknowledge I
acknowledge cycle is in progress.
Acvtive high. lEI is used to form an interrupt daisy
lEI Interrupt enable in I
chain that determines the priority order of interrupts.
Active high. lEO is used to form an interrupt daisy
lEO Interrupt enable out 0
chain that determines the priority order of interrupts.
Bidirectional These eight I/O lines transfer information between the
PAo-PA 7 Port A I/O lines
3-state Z·CIO's port A and external devices.
Bidirectional These eight I/O lines transfer information between the
PBo-PB 7 Port B I/O lines
3-state Z-CIO's port B and external devices.
Bidirectional These four I/O lines transfer information between the Z-
PC O-PC 3 Port C I/O lines
3-state CIO's port C and external devices.
PCLK Clock I Single-phase clock, need not be same as CPU clock.
Note: When AS and DS are detected "Low" at the same time, the Z-CIO is reset.
-.-------SHARP--------~--
357
---___....._. . . ,. . . . . . . . .
za036/Z8036A CQunter/Timer and Parallel. 1/0 Unit
+5V +5V
1R
~'2kO
From output under test . . ,
i T.2kO
I
From output under test
50pF I 25
~A lSOPF
.!
Supply current Icc 250 mA
....-..-..-.-~-.-.--SHARP -..-.-..--------
358
Z8036/Z8036A Counter/Timer and Parallel I/O Unit Ui8036/LH8036A
• AC Characteristics
(1) Interface timing
LH8036 LH8036A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TwAS AS low width 70 2000 50 2000 ns
2 TsA (AS) Address to AS f setup time 30 10 ns 1
3 ThA (AS) Address to AS f hold time 50 30 ns 1
4 TsA (OS) Address to OS ! setup time 130 100 ns 1
5 TsCSO (AS) CS o to AS f setup time 0 0 ns 1
6 ThCSO (AS) CS o to AS f hold time 60 40 ns 1
7 TdAS (OS) AS f to OS ! delay 60 40 ns 1
8 TsCSI (OS) CS 1 to OS ! setup time 100 80 ns
9 TsRWR (OS) R/W (read) to OS ! setup time 100 80 ns
10 TsRWW (OS) R/W (write) to OS ! setup time 0 0
11 TwOS OS low width 390 250 ns
12 TsOW (OSf) Write data to OS ! setup time 30 20 ns
13 TdOS (ORV) OS (read) ! to address data bus driven 0 0
14 TdOSf (OR) OS ! to read data valid delay 250 180 ns
15 ThOW (OS) Write data to DS f hold time 30 20 ns
16 TdOSr (OR) OS f to read data not valid delay 0 0
17 TdOS (ORz) OS f to read data float delay 70 45 ns 2
18 ThRW (OS) R/W to OS f hold time 55 40 ns
19 ThCSI (OS) CS 1 to OS f hold time 55 40 ns
20 TdOS (AS) OS f to AS ! delay 50 25 ns
21 Trc Valid access recovery time 1000 650 ns 3
- lAs cycle
22 TdPM (INT) Pattern match to INT delay (bit port) 1 1
+ns
ACKIN to INT delay lAS cycle
23 TdACK (INT) 4 4 4
(Port with handshake) +ns
Counter input to INT delay lAs cycle
24 TdCI (INT) 1 1
(Counter mode) +ns
- lAs cycle
25 TdPC (INT) PCLK to INT delay (Timer mode) 1 1
+ns
26 TdAS (I NT) AS to INT delay ns
27 TsIA (AS) INT ACK to AS f setup time 0 0 ns
28 ThIA (AS) INT ACK to AS f hold time 250 250 ns
29 TsAS (OSA) AS f to OS (acknowledge) ! setup time 350 250 ns 5
OS (acknowledge) ! to read data
30 TdOSA (OR) 250 180 ns
valid delay
31 TwOSA OS (acknowledge) low width 390 250 ns
32 TdAS (lEO) AS f to lEO ! delay (INT ACK cycle) 350 250 ns 5
33 TdlEI (lEO) lEI to lEO delay 150 100 ns 5
34 TslEI (OSA) lEO to OS (acknowledge) ! setup time 100 70 ns 5
35 ThlEI (OSA) lEI to OS (acknowledge) t hold time 100 70 ns
36 TdOSA (INT) OS (acknowledge) ! to INT t delay 600 600 ns
Note: • t " indicates a rising edge -and •. ! .. a falling edge.
Note 1: Parameter does not apply to Interrupt Acknowledge transactions.
Nate 2: Float delay is measured to the time when the output has changed 0.5 V from steady state with minimum ac load and maximum de
load.
Note 3: This is the delay from DS t of one CIa access to DS ! of another CIa access.
Note 4: The delay is from DAV ! for 3-Wire Input Handshake. The delay is from DAC t for 3-Wire Output Handshake. One additional
AS cycle is required for ports in the Single Buffered mode.
Note 5: The parameters for the devices in any particular daisy chain must meet the following constraint: the delay from AS t to DS !
must be greater than the sum of TdAS (lEO) for the highest priority peripheral, TsIEI (DSA) for the lowest priority peripheral, and
TdlEI (lEO) for each peripheral separating them in the chain.
359
Z8036/Z8036A Counter I Timer and Parallel 1/0 'Unit LH8036lLH8036A
AS
R/W
Read
R/W
Write -----++----4l'..,.-t------t-'-------
DS
Address
\. Z-CIO Read
P~ttern
Blt~rt
match input ~_ _ _ _match
~~ ___ input
_ _ _ _ _ _ _ _ _ _ _ _ _ _ __
r:==-@--
----'----.
Counter input
PCLK
INT
Interrupt timing
360
Z8036/Z8036A Counter/Timer and Parallel 110 Unit LH8036/LH8036A
lEI
lEO
361
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036/LH8036A
LH8036 LH8036A
No. SymboL Parameter Unit Note
MIN. MAX. MIN. MAX.
DAV! toDAC t
20 TdDA VOf (DAC) 0 0 ns
delay-output 3-wire handshake
Data output to DAC t hold
21 ThDO (DAC) 1 1 AS cycl€
time-3-wire handshake
"
DAC t to DAV t
22 TdDAClr (DA V)
delay-output 3-wire handshake
1 1 \As CyclE
DAV t to DAC !
23 TdDA VOr(DAC) 0 0 ns
delay-output 3-wire handshake
Note 1: This time can be extended through the use of the deskew timers.
I--'--®
Data
ACKIN
Input (Input)
RFD--------------~
(Output)
Output ACKIN ; \
(Input) ® ~~ '-----
DAV - - - -
(Output)
Strobe handshake
Data
Input ACKIN
(In"ut)
RFD
(Output)
Data
Output ACKIN
(Input)
DAV
(Output)
Interlock handshake
'-'--~-~--SHARP-'-'-'--'-""'-""",
362
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036/LH8036A
Data
DAV
(Input)
Input
RFD
(Output)
DAC
(Output)
Data
DAC
(Input)
Output
RFD
(Input)
DAV
(Output)
3-Wire handshake
(3) Counter/timer timing
LH8036 LH8036A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TcPC PCLK cycle time 250 4000 165 4000 ns 1
2 TwPCh PCLK high width 105 2000 70 2000 ns
3 TwPCl PCLK low width 105 2000 70 2000 ns
4 TfPC PCLK fall time 20 10 ns
5 TrPC PCLK rise time 20 15 ns
6 TcCI Counter input cycle time 500 330 ns
7 TClh Counter input high width 230 150 ns
8 TwCIl Counter input low width 230 150 ns
9 TfCI Counter input fall time 20 15 ns
10 TrCI Counter input rise time 20 15 ns
Trigger input to PCLKt
11 TsTI (PC) ns 2
setup time (Timer mode)
Trigger input to counter input ~
12 TsTI (CI) ns 2
setup time (Counter mode)
13 TwTI Trigger input pulse"width (High or Low) ns
Gate input to PCLK ~
14 TsGI (PC) ns 2
setup time (Timer mode)
Gate input to counter input !
15 TsGI (CI) ns 2
setup time (Counter mode)
Gate input to PCLK !
16 ThGI (PC) ns 2
hold time (Timer mode)
Gate input to counter input !
17 ThGI (CI) ns 2
hold time (Counter mode)
PCLK to counter output delay
18 TdPC (CO) ns
(Timer mode)
Counter input to counter output delay
19 TdCI (CO) ns
(Counter mode)
Note 1: PCLK is only used with the counter/timers (in Timer mode), the "deskew timers, and the REQUEST/WAIT logic. If these functions
are not used, the PCLK input can be held low.
Note 2: These parameters must be met to guarantee that trigger or gate are valid for the next counter/timer cycle.
363
Z8036/Z8036A .counter/Timer and Parallel 110 Unit LH8036/LH8036A
PCLK
PCLK/2 internal
Counter input
Trigger input
-------1'
Gate input _ _ _ _ _- . J
Counter output
---------------~
Counter/timer timing
REQUEST/WAIT tim~ng
364
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036/LH8036A
Reset timing
(6) Miscellaneous port timing
LH8036 LH8036A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 Trl Any input rise time 100 100 ns
2 Tfl Any input fall time 100 100 ns
3 Twl's 1 's catcher high width 250 170 ns 1
4 TwPM Pattern match input valid (Bit port) 750 500 ns
Data latched on pattern match
5 TsPMD 0 0 ns
setup time (Bit port)
Data latched on patter,n match
6 ThPMD 1000 650 ns
hold time (Bit port)
Note 1: If the input is programmed inverting, a low-going pulse of the same width will be detected.
Any input
~....-.-...-----SHARP---'--------
365
- Z8036/Z8036ACounter/Timer and Parallel 1/0 Unit LH8036/LH8036A
Z-CIO transfers can be synchronized with DMAs logic. Port C provides the handshake lines as
or CPUs. Any Port C bits not used for handshake shown in Table 1. Any Port C lines not used for
or REQUEST/WAIT can be used as input or out- handshake can be used as simple I/O lines or as
put bits (individually data direction programmable) access lines for Counter/Timer 3.
or external access lines for Counter/Timer3. Port When Ports A and B are configured as ports
C does not contain any pattern-recognition logic. It with handshake, they are double-buffered. This
is, however, capable orbit-addressable writes. allows for more relaxed interrupt service routine
With this feature, any combination of bit can be set response time. A second byte can be input to or
and/or cleared while the other bits remain undis- output from the port before the interrupt for the
turbed without first reading the register. first -byte is serviced. Normally, the Interrupt
(2) Bit port operations Pending (IP) bit is set and an interrupt is generated
In bit port operations, the port's Data Direction when data is shifted into the Input register (input
register specifies the direction of data flow for port) or out of the Output register (output port).
each bit. A 1 specifies an input bit, and a 0 speci- For input and output ports, the IP is automatically
fies an output bit. If bits are used as I/O bits for a cleared when the data is read or written. In
counter/timer, they should be set as input or out- bidirectional ports, IP is cleared only by command.
put, as required. When the Interrupt on Two Bytes (ITB) control bit
The Data Path Polarity register provides the is set to 1, interrupts are generated only when two
capability of inverting the data path. A 1 specifies bytes of data are available to be read or written.
inverting, and a 0 specifies noninverting. All dis- This allows a minimum of 16 bits of information to
cussions of the port operations assume that the be transferred on each interrupt. With ITB set, the
path is noninverting. IP is not automatically cleared until the second
The value returned when readin~ an input bit re- byte of data is read or written.
flects the state of the input just prior to the read. A When the Single Buffer (SB) bit is set to 1, the
1 's catcher can be inserted into the input data path port acts as if it is only single-bufferd. This is use-
by programming a 1 to the corresponding bit posi- ful if the handshake line must be stopped on a
tion of the port's Special 110 Control register. byte-by-byte basis.
When a 1 is detected at the 1 's catcher input, its Ports A and B can be linked to form a 16-bit
output is set to a 1 until it is cleared. The 1 's port by programming a 1 in the Port Link Control
catcher is cleared by writing a 0 to the bit. In all (PLC) bit. In this mode, only Port A's Handshake
other cases, attempted writes to input bits are Specification and Command and Status registers
ignored. are used. Port B must be specified as a bit port.
When Ports A and B include output bits, reading When linked, only Port A has pattern-match capa-
the Data register returns the value being output. bility. Port B's pattern-match capability must be
Reads of Port C return the state of the pin. Outputs disabled. Also, when the ports are linked, Port B's
can be specified as open-drain by writing a 1 to Data register must be read or written before Port
the corresponding bit of the port's Special I/O Con- A's.
trol register. Port C has' the additional feature of When a port is specified as a port with hand-
bit-addressable writes. When writing to Port C, the shake, the type of port it is (input, output, or bid-
four most significant bits are used as a write pro- rectional) determines the direction of data flow.
tect mask for the least significant bits (0-4, 1-5, The data direction for the bidirectional port is de-
2-6, and 3-7). If the write protect bit is written termined by a bit in Port C (Table 1). In all cases,
with a 1, the state of the corresponding output bit the contents of the Data Direction register are
is not changed. r ignored. The contents of the Special I/O Control
(3) Ports with handshake operation register apply only to output bits (3-state Of
Ports A and B can be specified as 8-bit input, open -drain). Inputs may not have 1 's catchers ;
output, or bidirectional ports with handshake. The therefore. those bits in the Special I/O Control reg-
Z-CIO provides four different handshakes for its ister are ignored. Port C lines used for handshake
ports : Interlocked, Strobed, Pulsed, and 3-Wire. should be programmed as inputs. The handshak~
When specified as a port with handshake, th~ specification overrides Port C's Data Direction reg-
transfer of data into and out of the port' and inter- ister for bits that must be outputs. The contents of
rupt generation is under control of the handshake Port C's Data Path Polarity register still apply.
366
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036(LH8036A
BUFFER REGISTER
.,-----
\
STROBED HANDSHAKE
DA Vgoes Low. Deskew timers are available for "EMPTIED"
NEXT BYTE SHIFTED FROM OUTPUT
output ports independent of the type of handshake REGISTER TO BUFFER REGISTER
employed.
(5) Strobed handshake Fig. 1 Interlocked and strobed handshakes
In the Strobed Handshake mode, data is "strobed"
into or out of the port by the external logic. The falling
edge of the Acknowledge Input (ACKIN) strobes data (6) 3-wire handshake
into or out of the port Fig. 1 shows timing for the The 3-Wire Handshake is designed for the situa-
Strobed Handshake. In contrast to the Interlocked tion in which one output port is communicating
Handshake, the signal indicating the port is ready for with many input ports simultaneously. It is essen·
another data transfer operates independently of the tially the same as the Interlocked Handshake, ex-
ACKIN input It is up to the external logic to ensure cept that two signals are used to indicate if an in-
------------SHARP-----..-......----
367.
,
_.-: -~
.
Z8036/Z8936A Counter/Timer and ParalleVIIQUnit
. - - . - - - - - - - - - - S H A R P ---~----..-.-.--
368
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036/LH8036A
----.--.---SHARP---~---~.-.-r--
369
Z8036/Z8036A Countertfimer and Parallel 110 Unit LH8036/LH8036A
(12) Counter/timer operation 'counter reaches O. When the square -wave output
the three independent 16-bit counter/timers duty cycle is spec-ified, the counter/timer goes
consist of a presettable 16-bit down counter, a through two full sequences for each -cycle. The ini-
16-bit Time Constant register, a I6-bit Current tial trigger causes the down-counter to be loaded
Counter register,art 8-bit Mode Specification reg- and the normal countdown sequence to begin. If a 1
ister, an 8-bit Command and Status register, and count is detected on the down-counter's clocking
the associated control logic that links these regis- edge, the output goes High and the time constant
ters. value is reloaded. On the clocking edge, when both
The flexibility of the counter/timers is enhanced the down-counter and the output are 1 's, the output
by the provision of up,to four lines per counter / is pulled back Low.
timer (counter input, gate input, trigger input, and The Countinuous/Single Cycle (elSe) bit in the
counter/timer output) for direct external control Mode Specification register controls operation of
and status. Counter/Timer l's external I/O lines the down-counter when it reaches terminal count.
are provided by the four most significant bits of If C/SC is 0 when a terminal count is reached, the
Port B. Counter/Timer 2's are provided by the 'countdown sequence stops. If the C/SC bit is 1
four least significant bits of Port B. Counter/Timer each time the countdown counter reaches 1, the
3's external I/O lines are provided by the four bits next cycle causes the time constant value to be re-
of Port C. The utilization of these lines (Table 2) is loaded. The time constant value may be changed by
programmable on a bit-by-bit basis via the Coun- the CPU, and on reload, the new time constant
ter /Timer Mode Specification registers. value is loaded.
When external counter/timer I/O lines are to be Counter/timer operations require loading the
used, the associated port lines must be vacant and time constant value in the Time Constant register
programmed in the proper data direction. Lines and initiating the countdown sequence by loading
used for counter/timer I/O have the same charac- the down-counter with the time constant value.
teristics as simple input lines. They can be speci- The Time Constant register is accessed as two
fied as inverting or noninverting ; they can be read 8-bit registers. The registers are readable as well
and used with the pattern-recognition logic. They as writable, and the access order is irrelevant. A 0
can also include the 1 's catcher input. in the Time Constant register' specifies a time con-
Counter/Timers 1 and 2 can be be linked internal- stant of 65,536. The down-counter is loaded in
ly in three different ways. Counter/Timer 1 's out- one of three ways :
put (inverted) can be uS'ed as Counter/Timer 2's (1) By writing a 1 to the Trigger Command Bit
trigger, gate, or counter input. When linked, the (TCB : write-only),
(2) On the rising edge of the external trigger in-
Table 2 Counter/timer external access put, or,
Function 'C/T! C/T 2 C/T 3 (3) For Counter/Timer 2 only" on the rising
Counter/timer output PB4 PBO peo edge of Counter/Timer l's internal output if
Counter input PB5 PBl PCl
the counters are linked via the trigger input.
Trigger input PB6 PB2 PC2
Once the down-counter is loaded, the countdown
Gate input PB7 PB3 PC3
sequence continues toward terminal count as long
as all the counter/timers' hardware and software
gate inputs are High. If any of the gate inputs goes
counter/timers have the same capabilities as when Low (0), the countdown halts. It resumes when all
used separately. The only restriction is that when gate inputs ate 1 again.
Counter/Timer 1 drives Counter/Timer 2's count The reaction to triggers occurring during a
input, Counter/Timer 2 must be programmed with countdown sequence is determined by the state of
its external count input disabled. the Retrigger Enable Bit (REB) in the Mode Speci-
There are three duty cycles available for the tim' fication register. If REB is 0, retriggers are ignored
er/counter output: pulse, one-short, and square and the countdown continues normally. If REB is 1,
-wave. Fig. 4 shows the counter/timer waveforms. each'trigger causes the down-counter to be re-
When tte Pulse mode is specified, the output goes loaded and the count-down sequence starts over
High for one clock cycle, beginning when the down- again. If the output is programmed in the Square
-counter leaves the count of 1. In the One-Shot -Wave mode, retrigger causes the sequence to start
mode, the output goes High when the counter/timer over from the initial load of the time constant.
is triggered and and goes Low when the ddwn-
------~-----SHARP-.-.--~.---.-.
370
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036/LH8036A
The rate at which the down-countor counts is (1) By reading the contents of the down-counter
determined by the mode of the counter/timer. In via the Current Count register, or
the Timer mode (the External Count Enable IECE] (2) By testing the Count In Progress (CIP) sta-
bit is 0), the down-counter is clocked internally by tus bit in the Command Status register.
a signal that is half the frequency of the PCLK in- The CIP status bit is set when the down-counter
put to the chip. In the Counter mode (ECE is 1), the is loaded; it is reset when the down-counter reaches
down-counter is decremented on the rising edge of O. The Current Count register is a 16-bit register,
the counter/timer's counter input. accessible as two 8-bit registers, which mirrors
Each time the counter reaches terminal count, its the contents of the down-counter. This register can
Interrupt Pending (IP) bit is set to 1, and if inter- be read anytime. However, reading the register is
rupts are enabled (IE= 1), an interrupt is gener- asynchronous to the counter's counting, and the
ated. If a terminal count occurs while IP is already value returned is valid only if the counter is stop-
set, an internal error flag is set. As soon as IP is ped. The down-counter can be reliably read "on
cleared, it is forced to a 1 along with the Interrupt the fly" by the first writing of a 1 to the Read
Error (ERR) flag. Errors that occur after the inter- Counter Control (RCC) bit in the counter/timer's
nal flag is set are ignored. Command and Status register. This freezes the
The state of the down-counter can determined in value in the Current Count register until a read of
two ways: the least significant byte is performed.
PCLK/20R ~~
COUNTER INPUT
TRIGGER~
GATE U fI
TC
1 TC ITC-1ITC-1I TC- 21 .. ·1.1 I OaR I
PULSE OUTPUT ------------1r~
ONE SHOT [J
OUTPUT - - - - '
SQUARE WAVE OUTPUT
FIRST HALF _ _ _ _ _ _ _ _ _ _ --j;c~1 _ _--l
SQUARE WAVE OUTPUT-----------------jfff------,
SECOND HALF '----
..--.~------SHARP----------
371
Z8036/Z8036A Gounter/Timer and Parallel I/O. Unit LH8036/LH8036A
• Internal Registers
The followings' illustrate the contents of the Reg-
isters and, in addition, give to register address
summary
• Maste~ Interrupt C.ontrol Register (MICR)
Address : 000000
(Read/Write)
II l:
107 1 06 1 Os 1041 03 1 Dd 011 Do I
MASTERINTERRUPT~
ENABLE (MIE)
1 LRESET
L'RIGHT JUSTIFIED ADDRESSES
O=SHIFT LEFT (Ao from ADl)
DISABLE LOWER CHAIN (DLC) I=RIGHT JUSTIFY (Ao from ADo)
NO VECTOR (NV) COUNTER/TIMERS VECTOR
PORT A VECTOR INCLUDES------" INCLUDES STATUS (CT VIS)
STATUS (PA VIS) '-------PORT B VECTOR INCLUDES
STATUS (PB VIS)
PORT
ENABLE (PBE)
oj I I ---CCOUNTERITIMER LINK
CONTROLS (LC)
LCI LCO
COUNTER/TIMER 1 0 0 COUNTER/TIMERS INDEPENDENT
ENABLE (CTIE) 0 1 CIT 1's OUTPUT GATES CIT 2
1 0 CIT 1'8 OUTPUT TRIGGERS CIT 1
COUNTER/TIMER 2 l I C I T l's OUTPUT IS CIT 2's
ENABLE (CT2E) COUNT INPUT
PORT C AND COUNTER/------" '------PORTA ENABLE (PAE)
TIMER 3 ENABLE
(PCE AND CT3E) '-------PORT LINK CONTROL (PLC)
O=PORTS A AND B OPERATE INDEPENDENT
I=PORTS A AND B ARE LINKED
I
L
1071 D61 Os 1D41 D31 D21 01 Do 1
--.-.-----------SHARP ---....-.--------
372
Z8036/Z8036A Counter/Timer and Parallel I/O Unit LH8036/LH8036A
jJ
~
INTERRUPT UNDER INTERRUPT ON ERROR (IOE)
SERVICE (IUS)
PATTERN MATCH FLAG (PMF)
INTERRUPT ENABLE {IE} I I (READ ONLY)
I I
INTERRUPT PENDING {IP} I I INPUT REGISTER FULL (IRF)
I I
I I (READ ONLY)
IUS, IE, AND IP ARE WRITTEN USING
THE F:0LLOWING CODE:
NULL CODE 0
II 0 0
OUTPUT REGISTER EMPTY (ORE)
(READ ONLY)
-----------........,.-----.--SHARP~---------
373
.............................. .....
Z8036/Z8036A Counter/TImer and Parallel I/O Unit
, ~ ~~ .......... ~~~ ..... .....
LH8036/LH8036A
~
• Data Path Polarity Registers (DPPR) • Special 1/0 Control Registers (SIOCR)
I~I~I~I~I~I~I~I~I
DATA DIRECTION (DD) • Port C Data Register (PCDR)
0= OUTPUT BIT
1 = INPUT BIT Address: 001111
(Read/Write)
4 MSBs
0= WRITING OF CORRESPONDING LSS ENABLED
1 = WRITING OF CORRESPONDING LSS INHIBITED
(READ RETURNS 1)
• Pattern Polarity Registers (PPR)
Addresses: 100101 Port A
101101 Port B
(Read/Write)
ID71 D61 D51 D41 D31 Dzi D, IDo I
I
I~I~I~I~I~I~I~I~I
Addresses: 100111 Port A
101111 Port B
(Read/Write)
I
I~I~I~I~I~I~I~I~I
Interrupt under service (IUS)-.J~
(Read/Write)
II LCooo ' • "'","" (CIP)
(Read only)
Interrupt enable (IE) - - Trigger command bit (TCB)
(Read/Write) (Write only. Read returns 0)
Interrupt pending (IP) Gate command bit (GCB)
(Read/Write) (Read/Write)
IUS, IE, IP are written using the following code Read counter control (RCC)
OOO=Null code (Read/Set only cleared by reading CCR Ls)
001 = Clear IP & IU S
010=Set IUS
011=ClearlUS ' - - - - - - - - Interrupt error (ERR)
100 = Set IP (Read only)
101 = Clear IP
110 = Set IE
111 = Clear IE
I I
D71 Dol Dsl D41 D31 D,I Dl Do I D71 Dol Dsl D41 D31 Dzi Dl I Do I
Most significante byte---_--'f ,--I ----Least significant byte
375
Z.8036/Z8036A Gounter/Timer and Parallel. I/O Unit L.,H8036/LH8036A
I~I~I~I~I~I~I~I~I~I~I~I~I~I~I~I~I
MOST SIGNIFICANT------.JI L-I--~--LEAST
BYTE SIGNIFICANT
BYTE
D2 D1
Addresses: 000010 Port A 0 0 C/T3
000011 Port B .0 1 C/T2
000100 Counter /Timers 1 0 C/Tl
(Read/Write)
1 Error
I~I~I~I~I~I~I~I~I
I
INTERRUPT VECTOR
I~I~I~I~I~I~I~I~I
X(X X Number of highest priority
bit with a watch
I
INTERRUPT V~CTOR BASED
ON HIGHEST PRIORITY
(2) All other modes UNMASKED IP.
IF NO INTERRUPT PENDING
ALL 1'8 OUTPUT.
ORE IRF PMF Normal
o 0 0 Error
~----------SHARP-~------
3.76
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
~
any of the following events: a write to a message 03
register, change in data direction, pattern match, O.
status match, over/underflow error, buffer full and 05
buffer empty status. Each interrupt source can be 0&
enabled or disabled, and can also place an inter- 07
rupt vector on the port address/data lines.
GNO Mo
The LH8038A Z8038A 1"10 is the high speed
Top View
version which can operate at 6MHz system clock.
377
Z8038/z8038A FlO Input/Output Interface Unit LH8038/LH8038A
• Block Diagram
Status Logic
Pattern and Registers Pattern
Match Match
Logic Logic
:-~------SHARP ....------...-.-----------
378
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
• Pin Description
(1) Pins common to both ports 1 and 2
Pin Pin signal Meaning I/O Function
Mo Mo Multimicro output 0 Ml and Mo program Port 1 side
Ml Ml Multimicro input I CPU interface
379
l8038/Z8038A FlO Input/Output Inter:tace Unit LH8038/LH8038A
---.-.------SHARP-------------
380
Z8038/Z8038A FlO Input/OLitput Interface Unit LH8038/LH8038A
+5V +5V
2.2kn
From test output 0--..-+-1......
From test output i 12.2k!l
(f=lMHz, Ta=O-+70"C)
• Inputs
Parameter Symbol Conditions MIN. MAX. Unit
Any input rise ti!lle t, 100 ns
Any input fall time t, 100 ns
--~'-------SHARP-'-------------
, 3.81
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
• AC Characteristics
AS
CS
R/W
READ
R/W
WRITE
DS
FlO
ADo-ADI5 WRITE
FlO
READ
-----.-~...--.-~-SHARP --------.-~-,-
382
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
ADo-AD7 -V
J\.
~ndefined »------------~-
@J Vector
/
'-----
~
INTACK
i-----@--'---+f 1 - - - -
lEI
lEO
383
za03S/Z803SA FlO Input/Output Interface' Unit LHS03S/LHS03SA.
c/o
Do-D7
FlO READ
Do-D7
FlO WRITE
CE ~
RD,QR WR
J \
Non-Z-bus interface timing
------.-.......---SHARP--.-~.---
/
384
ZS03S/ZS03SA FlO Input/Output Interface Unit LHS03S/LHS03SA
INTACK
lEI
lEO
CLEAR INPUT
~r:=CD4J
\ . . . - --J-
\-
I:=®,r-.____'---:;®--"j~
{
DATA OUT -t Valid data )------
385
Z8038/Z8038AFIO Input/Output Interface Unit LH8038/LH8038A
DATA
ACKIN
INPUT
RFD
OUTPUT
----~==~--@------~
EMPTY
FULL
~7r-----'----
2-wire handshake (Port 2 side only) output
DATA
ACKIN
INPUT
DAV
OUTPUT
EMPTY
FULL
.------~.-----,.--SHARP ....-.-------.-----
386
ZS038/ZS03SA FlO Input/Output Interface Unit LH803S/LHS03SA·
DATA
( PIN) DAV
38 INPUT
( PIN) RFD
39 OUTPUT
( PIN\
37) DAC
OUTPUT
( PIN) DAC
38 INPUT _ _+ ___ ~I
( PIN) RFD
37 INPUT
(PIN) DAV
\ 39 OUTPUT
387
Z80.38fZ8038A FlO Input/Output Interface Unit LH8038/LH8038A
• Operating Modes The pins on the LH8038's Port 1 side are iden- _
KH 8038 operates in any of twelve combinations tical to those on the Port 2 side, except for two pins
of operating modes, listed in Table 1. Port 1 func- (Mo and MI ), which select that port's operating
tions in either the Z- bus or non-Z- bus micro- mode. Port 2's operating mode is programmed by
processor· modes, while Port 2 functions in Z-BUS; two bits (BO and B1) in Port l:s Control register O.
non-Z-bus, Interlocked 2-Wire Handshake, and
3-Wire Handshake modes_ Table 2 describes the
signals and their corresponding pins in each of
these modes.
---'-~'---""-"-SHARP --.---------.-.
388
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
CHANNEL A
CHANNEL B
PORT 2
<8>
PORT 3
<8>
Z80 bus
I/O
Z80
} HANDSHAKE
SIGNALS
MEMORY
• CPU Interface
The LH8038 is designed to work with both The non-Z-bus configuration is used for CPUs
Z-bus and non-Z-bus-type CPUs on both Port 1 where the address and data buses are separate. An
and Port 2. The Z-bus configuration interfaces Example of this type of CPU is the Z80. The RD
CPUs with time·multiplexed address and data in· (Read) and WR (Write) pins are used to time reads
formation on the same pins. The Z8001, Z8002, and writes from the CPU to the FlO (Fig. 5 and 6).
and Z8 are examples of this type of CPU. The AS The C/O (Cantrall Data) ~n is used to directly ac·
(Address Strobe) pin is used to latch the address cess the FIFO buffer JC/D = Low) and to access
and chip select information sent out by the CPU. the other register (C/D = High).
The RIW (Read/Write) pin and the DS (Data
Strobe) pin are used for timing reads and writes
from the CPU to the LH8038 (Fig. 3 and 4).
ADo-AD, --<'-_....1)>-----«'-_....1)>----
AS
CS~
R/W :J ,
DS ,'-_ _ _....J/
389
2-8038/Z8038A' FlO Input/Output Interface Unit· LH8038/LH8038A
Addre.ss valid
ADo-AD7 --cJ-< Data from CPU }--
AS~
CS
R/W \ c
DS ''-__--II
Fig. 4 Z-bus write cycle timing
c/n
Do- D7
X
From CPU )
x==
<
CE
WR
\
, I
I
390
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
---.--.------~-SHARP---------
391
Z80S.8/Z8038A FlO Input/Output Interface Unit LH8038/Lhl8038A
• Control Register 0
Address:, 0000
(Read/Write)
·READ-ONLY FROM
· PORT 2 SIDE
• Control Register 1
Address: 0001
(Read/Write)
I D71 D61 D51 D41D31 D21 DI IDol
(MUST BE PROGRAMMED 0)
NOT USED
1 = FREEZE STATUS REGISTER COUNT
J
1 = MESSAGE MAILBOX REGISTER FULL·
I JU ~L= 01 == WAIT
REQUEST/WAIT ENABLED
1 = REQUEST
1 = MESSAGE MAILBOX REGISTER UNDER 1 = START DMA ON BYTE COUNT
SERVICE· 1 = STOP DMA ON PATTERN MATCH
• READ-ONL Y BITS
• Control Register 2*
Address: 1001
(Read/Write) I D71 D61 Dsl D41 D31 D21 DI I Do I
BITS 2-7 NOT USED
MUST BE PROGRAMMED 0
I L L1 = PORT 2 SIDE ENABLED
1 = PORT 2 SIDE ENABLE HANDSHAKE
·THIS REGISTER READS ALL
O'S FROM PORT 2 SIDE
• Control Register 3
Address: 1010
(Read/Write)
I D7 I D6 I D5 I D4 I D3 I D2 I DI I Do I
o~ PORT 1510E CONTROL S
1 = PORT 2 SIDE CONTROLS '
CLEARJ·I I I 1 I Lpo RT 2SlOE-INPUT LINE· (PIN 33)"
PORT 2 SIDE-OUTPUT LINE (PIN 32)··
0= CLEAR FIFO BUFFER NOT USED (MUST BE PROGRAMMED 0)
0= PORT 1 SIDE CONTROLS PORT 2 SIDE-OUTPUT LINE (PIN 30)··
1 = PORT 2 SIDE CONTROLS DATA DIRECTION BIT
1 = INPUT TO CPU
0= OUTPUT FROM CPU
• READ-ONL Y BITS
··ONLY WHEN PORT 2 IS AN I/O PORT
392
ZS03S/ZS03SA FlO Input/Output Interface Unit LHS03S/LHS03SA
I D7 ID6 I D5 I D4 I D3 I D2 I DJ I Do I
MESSAGE INTERRUPT UNDER SERVICE (IUS}j
MESSAGE INTERRUPT ENABLE (IE) :
II
•
[ NOT USED
(MUST BE PROGRAMMED 0)
MESSAGE INTERRUPT PENDING (IP): :
IUS, IE, AND IP ARE WRITTEN USIN
THE FOLLOWING COMMAND: GI I I
NULL CODE 0 0 0
CLEAR IP & IUS 0 0 1
SET IUS 0 1 0
CLEAR IUS 0 1 1
SET IP 1 0 0
CLEARIP 1 0 1
SET IE 1 1 0
CLEAR IE 1 1 1
I~
(MUST BE PROGRAMMED 0 ) UNDER SERVICE (IUS)
IUS, IE, AND IP ARE WRITTEN USING
THE FOLLOWING COMMAND:
NULL CODE
I
0
I I
0 0 0
II 0 0
US, IE, AND IP ARE WRITTEN USING
HE FOLLOWING ,COMMAND:
NULL CODE
CLEAR IP & IUS 0 0 1 0 0 1 CLEAR IP & IUS
SET IUS 0 1 0 0 1 0 SET IUS
CLEAR IUS 0 1 1 0 1 1 CLEAR IUS
SET IP 1 0 0 1 0 0 SET IP
CLEARIP 1 0 1 1 0 1 CLEAR IP
SET IE 1 1 0 1 1 0 SET IE
CLEAR IE 1 1 1 1 1 1 CLEAR IE
*READ-ONL Y BITS
393
Z8038/Z8038A FIO.lnput/Output Interface Unit .. LH8038/LH8038A
~tdJ lliER~
BYTE COUNT COMPARE INTERRUPT UNDER
SERVICE (IUS ) , . UNDERFLOW ERROR·
BYTE COUNT COMPARE INTERRUPT ENABLE (IE); : OR INTERRUPT PENDING (ID)
.
BYTE COUNT COMPARE INTERRUPT PENDING (IP): : , ' : ERR OR INTERRUPT ENABLED (IE)
I t t~~~
OVERFLOW ERROR ,I : : R INTERRUPT UNDER SERVICE (IUS)
IUS,IE,AND IP ARE WRITTEN USIN E,AND IP ARE WRITTEN USING
THE FOLLOWING COMMAND: GI FOLLOWING COMMAND:
I I
NULL CODE 0 0 0 0 0 0 NU LL CODE
CLEAR IP & IUS 0 0 1 0 0 1 CL EAR IP & IUS
SET IUS 0 1 0 0 1 0 SE T IUS
CLEAR IUS 0 1 1 0 1 1 CL EAR IUS
SET IP 1 0 0 1 0 0 SE TIP
CLEARIP 1 0 1 1 0 1 CL EARIP
SET IE 1 1 0 1 1 0 SE TIE
CLEAR IE 1 1 1 1 1 1 CL EARlE
·READ-ONLY BITS
I D7 I Ds I D5 I D. r D3 I D2 I Dl I Do I
FUll mTERRDPr ~ER
SERVICE
FULL INTERRUPT ENABLE (IE);
IIUSl~ IIIIIL
: :
LBUFFER EMPTY·
EMPTY INTERRUPT PENDING (IP)
FULL INTERRUPT PENDING (IP): :, . , : EMPTY INTERRUPT ENABLE (IE)
. BUFFER FULL": :: :: EMPTY INTERRUPT UNDER SERVICE (IUS)
IUS, IE, AND IP ARE WRITTEN USI
THE FOLLOWING COMMAND ~GI I I I I I
IUS,IE,AND IP ARE WRITTEN USING
THE FOLLOWING COMMAND:
NULL CODE 0 0 0 0 0 0 NULL CODE
CLEAR IP & IUS 0 0 1 0 0 1. CLEAR IP & IUS
SET IUS 0 1 0 0 1 0 SET IUS
CLEAR IUS 0 1 1 0 1 1 CLEAR IUS
SET IP 1 0 0 1 0 0 SET IP
CLARIP 1 0 1 1 0 1 CLEARIP
SET IE 1 1 0 1 1 0 SETIE
CLEAR IE 1 1 1 1 1 1 CLEAR IE
·READ-ONLY BITS
394
Z8038/Z8038A FlO Input/Output Interface Unit LH8038/LH8038A
I D7 I D6 I Ds I D. I D3 I D2 I Dl I Do I
I I I I ~
NOINTERRU PTS PENDING 0 0 0
BU FFER EMPTY 0 0 1
B UFFER FULL 0 1 0
OVER/UNDER FLOW ERROR 0 1 1
VECTOR STATUS
BYTE C OUNT MATCH 1 0 0
PAT TERN MATCH 1 0 1
DATA DIREC TION CHANGE 1 1 0
MAILB OX MESSAGE 1 1 1
I I I I I I I I
STORES MESSAGE SENT TO MESSAGE
I D7 I D6 I Dsl D. I D3 I D2 I Dl I Do I
IN REGISTER ON OPPOSITE PORT OF FlO
I I II I I I I
CONTAINS THE BYTE TRANSFERRED
• Message Input Register TO OR FROM FIFO BUFFER RAM
Address: 1100 (Read Only)
I D7 I D6 I Ds I D. I D3 I D2 I Dl I Do I
I I I I I I I I
STORES MESSAGE RECEIVED FROM MESSAGE
OUT REGISTER ON OPPOSITE PORT OF CPU
-~------SHARP---------
395
za060FIFO Buffer Unit and Expander LH8060
DIH
D2B
• Features
1. Bidirectional, asynchronous data transfer capa-
bility
2. Large 128-bit-by-8-bit buffer memory
3. Two-'wire, interlocked handshake protocol GND
4. 3-state data outputs Top Vie.w
5. Wire-ORing of empty and full output for sens-
ing of multiple-unit buffers
6. Connects any number of LH8060 in series to
form buffer of any desired length
7. Connects any number of LH8060 in parallel to
form buffer of any desired width
• Block Diagram
128X8
RAM
Buffer
Data Memory I---.J\J Data
Data Bus A Buffer Buffer Data Bus B
A B
Ready-for· Datal
DataAvaiiable
Control
Logic
396
Z8060 FIFO Buffer Unit and Expander LH8060
• Pin Description
Pin Meaning 110 Function
Bidirectional
Do -D 7 Data bus Bidirectional data bus.
3-state
Active low.
--- Input handshake indicates that input data is valid; out·
ACKIN Acknowledge input I
put handshake indicates that output data has been reo
ceive by peripherals
Input handshake indicates RFD (active High) : Z-FIFO is
--
RFD/DAV Ready·for·data/data valid 0 ready to receive data. Output handshake indicates DA V
(active low) : Output data is valid.
Active low.
---
CLEAR Clear I When set to low, this line causes all to be cleared from
the FIFO buffer.
This line allows control of the input data direction.
-
DIR AlB Data direction I When high, data is to be inputted through port B, when
low, data is to be intputted through port A.
Active high, open -drain. Indicates that the FIFO buffer
EMPTY Empty 0
is empty
Active high, open -drain. Indicates that the FIFO buffer
FULL Full 0
is full.
Active low.
OE A, when high, causes the bus drive~or port A to
----
OEA,OE B Output enable I float to a high impedance level input. OE B controls the
bus drivers for port B in the same manner as OE A con·
troIs those for port A
+SV
+SV
~
2S0pA
From output o----1>--,.,~...
under test
F_ "0'"" 2.2kn
under test o--f
Standerd test load Open-drain test load
r SOPF
'-~-------'--SHARP--'-----~~
397
Z8060 FIFO Buffer Unit and Expander LH8060
• AC Characteristics
(1) Input pin , (f=IMHz, Ta=0-+70"C)
Parameter Symbol Conditions MIN. MAX. Unit
Input rise time tr 100 ns
/ Input fall time 100 ns
tf
398
Z8060 FIFO Buffer Unit and Expander LH8060
• AC Timing Diagram
DATA
RFD
EMPTY
FULL
Input timing
DATA
EMPTY
FULL
Output timing
DAV
CLEAR
INPUT \11"-------_®_....JI}/
OE
DATA OUT
.-.-.-.--.-.-..--SHARP -..-...----------
399
Z8060:FIFO Buffer Unit and Expander LH8060
• Interlocked 2-Wire Handshake This contorol feature allows the LH8060, with
no external logic, to directly interface with port of:
The LH8060 uses interlocked handshake opera- eZ8 '
tions for data trasfer. In interlocked handshake op-
eZ-CIO
eration, the action must be acknowledged by the
ez-uPC
other half of the handshake before the nextactton
eZ-FIO
can occur. The following describs the handshake
e Another FIFO
timing in input and output modes.
(1) Input mode ,.
In an Input Handshake mode, RFD (output) and •. Resetting and Clearing the FI FO
ACKIN (input) are used as the handshake control
The CLEAR input signal is used to reset and clear
lines. Unless the FIFO buffer is full, RFD is set
the LH8060 FIFO. A Low level on this input clears
High and signals to the peripherals involved that
all data from the FIFO buffer and disallows any
the FIFO buffer is ready to receive data. When the
data transfer.
acknowledge signal ACKIN from the external de-
vice is set Low, the LH8060 takes the input data
into the buffer and sets RFD Low to signal to the • Bidirectional Transfer Control
peripherals that the input signal has been received.
The LH8060 has bidirectional data transfer
This process is repeated until the FIFO is full,
capability ~nder control of the DIR AlB input.
RFD is kept low.
When DIR AlB is set Low, data transfers are made
from Port A to Port B.
DATA IN =x Valid data X:::==::XValid dataL
Setting DIR AlB High reverses the handshake
assignments and the direction of transfer.
ACKIN-
Table 1 Bidirectional control function table
RFD
- Port A Port B
DIR AlB transfer
Fig. 1 2-wire interlocked handshake timing handshake handshake
(input) 0 Input Output A to B
1 Output Input Bto A
DATA OUTJ Valid data C=X:Valid data><=:: • Empty and Full Operation
ACKIN The EMPTY and FULL. output lines can be
wire-ORed with the EMPTY and FULL lines of
DAV--"""""' - -_ _oJ other LH8060s and LH8038s. This capability en-
ables the user to determine the emptylfull status of
Fig. 2 2-wire interlocked handshake timing a buffer consisting of multiple FIFOs, FIOs, or a
(output) combination of both.
• Interconnection EXl;I.mple
(2) Output mode
Fig. 3 illustrates a simplified block diagram
~,output handshake mode, DA V (output) and
showing the manner iIi which LH8060s can be in-
ACKIN are used as the control lines. If the LH8060 terconnected to extend an LH8038 buffer.
has data in the FIFO buffer and if ACKIN is high
(indicating that the external device is ready to re- Table 2 Signals EMPTY and FULL operation
ceive data), it sets DA V Low to signal to the exter- table
nal device that the output data is available.
.When the external device sets ACKIN low to indi- Number of
EMPTY FULL
cate that it has received the data, LH8060 sets bytes in. FIFO
DA V back to a high level. In response, the external 0 High Low
device sets ACKIN high to request the LH8060 for 1-127 Low Low
the next data. This process repeats till the FIFO 128 Low High
buffer becomes empty. when it becomes empty,
DAVis kept high.
----....-~.-.---.---SHARP,-.-.-.- ......... - - - - - - - -
400.
Z8060 FIFO Buffer Unit and Expander LH8060
LH8060 LH8060
FIFO FIFO
--- -- ---
R FD/DAV ACKINA RFD/DAVB ACKINA RFD/DAVs
-
HANDSHAKE
} SIGNALS
OE
Dr OEA
CLEAR
1
DIR AlB
OEB
nr OEA
CLEAR
1
DIR AlB
OEB OUTPUT CONTROL
401
Serial Parallel Combination Controller LH8071
• Features
1. Asynchronous data transfer serial port 5. 128-byte data transfer buffer
• RS232C interface can easily' be realized • Useful for the serial port and parallel port
• Programmable data: format and Baud rate 6. Z-bus interface
2. Printer control parallel port , 7. 40-pin dual-in-line package
• Centronics interface can easily be realized 8. Single + 5V power supply
3. Data transfer and conversion functions by com-
mand
• 24 commands
4. Data conversion function
• Serial-parallel conversion
• Binary-ASCII conversion
• Intel hex, format acceptable for data input!
output
402
Serial Parallel Combination Controller LH8071
• Block Diagram
"'"
·2
o
!;
Address Strobe 9 Internal
Control Logic u"
'"
-~----"'-'---SHARP'-'---'---'----
403
Seriat Parallel 'Combination Controller LH8071
• Pin Description
Pin Meaning lIO Function
+5V
2.2kO
- - - - - - - - - - - - - - - - - - - - - S H A R P - . . . . - , - ........ . - . - - - - -
404
·Serial Parallel Combination Controller LH8071
• AC Characteristics
(1) CPU interface timing (Vcc=5V±5%. Ta=0-+70"C)
No. Symbol Parameter MIN. MAX. Unit Note
1 TrC Clock rise time 20 ns
2 TwCh DSClock pulse high width 105 ns
3 TfC Clock fall time 20 ns
4 TwCl Clock pulse low width 105 ns
5 TpC Clock period 250 ns
6 TsCS(AS) CS setup time to AS t 0 ns 1
7 ThCS(AS) CS hold time from AS t 60 ns 1
8 TsA(AS) Address setup time to AS t 30 ns 1 51~
I~
9
10
ThA(AS)
TwAS
Address hold time from AS t
AS low pulse width
50
70
ns
ns
1
-
Delay time from OS t to invalid
11 TdDS(DR) 0 ns
readout data
Delay time from DS t to readout
12 TdDS(DRz) 70 ns 2
data floating
13 TdAS(DS) Delay time from AS t to OS ~ 60 2095 ns
14 TdDS(AS) Delay time from OS t to AS ~ 50 ns
15 ThDW(DS) Written data hold time from OS t 30 ns 1
Delay time from OS ~ to readout
16 TdDS(DR) ns 3
data settlement
17 TdAz(DS) Delay time from address floating to DS ! 0 ns
18 TwOS OS low pulse width 390 ns
19 TsRWR(DS) R/W high (read) setup time to OS ~ 100 ns
20 TsRWW(OS) R/W low (write) setup time to OS ! 0 ns
21 TsDW(OSf) Written data setup time to OS l 30 ns
22 TdAS(W) Delay time from AS t to WAIT ! 1.95 ns
23 ThWR(OS) R/W hold time from OS t 60 ns
24 TsDR(W) Time from valid readout data to WAIT t 0 ns
t indicates rising edge. ~ indicates falling edge. The reference voltage levels for timing measurement are 2.0 volts for
'high'; O.S volts for 'low'.
Note 1: This does not apply to the interrupt acknowledge operation.
Note 2: The Max. value of TdAS (DS) does not apply to the interrupt acknowledge operation,
Note 3: The delay time depends on the status of LHS071 at the time of access by CPU.
405
I I
PCLK
ADo-AD7
CPU (read)
AS
R/W
(write)
R/W
(read)
ADo-AD7
CPU (write) ----.....f"l-t~..;...",,-~).---~=_+_----...:f,-
---'-~~------SHARP----'-----'---
406
Serial Parallel Combination Controller LH8071
Reset timing
TxC /
TxD
ACKNLG
DATAl
\
. DATAs
DATA STROBK
----------SHARP--.--------~
407
Sericil Parallel Combination Controller LH8071
TTT _
T ~Command execution start
Lower chaining prohibited
' - - - - - - - - - - - Interrupt holding
' - - - - - - - - - - - - - Interrupt under service
Interrupt enabled
408
Serial Parallel Combination Controller LH8071
• Programming
Use the registers, DSCO, DSCl, DSC2, DSC3,
°
mand. Command is used in specifying serial data
format using DSC2 (Fig. 3).
DSC4, DSC5, and DSC8, to specify operation mode. The result of command execution is indicated on
The 24 types of commands are made valid by first DSCO and DSC3. DSC3 indicates error status as
writing a value corresponding to the desired com· show in Fig. 1. DSC8 is used as a buffer register
mand number into DSCO, then setting the CST bit after command 22 or 23 is executed.
on MIC. The registers DSCl, DSC2, DSC4, and Tables 3 and 4 show command functions versus
DSC5 are used to specify parameters for each com- registers.
OSC2
-,---,
1
I 07 I 061 051 041 031 021 OJ I 00 I
LPu'"m'"
o : even parity
1 : odd parity
Number of data bits
o : 7 bits
1 : 8 bits
' - - - - - - - B a u d rate (see Note)
o 0 0 : nOB
o 0 1 : 150 B
010:300B
011:600B
1 0 0 : 1200B
lOl:2400B
110:4800B
111:9600B
Number of stop bits of transmission
L -_ _ _ _ _ _ _ _ _
o : 1 stop bit
1 : 2 stop bit
L -_ _ _ _ _ _ _ _ _ _ _ Interrupt mode
o : Interrupt enabled
1 : Interrupt disabled
L -_ _ _ _ _ _ _ _ _ _ _ _ Echo back
Note: Baud rate at PCLK = 4.0MHz o : Echo back mode
1 : Echo back disable
.-----.---~--SHARP.-..-..-~.----
409
Serial Parallel Combination Controller LH8071
~
Code Parameter
. Function Remarks
Cornman DSCO DSCI DSC2 DSC4 DSC5
Transfer Sepcify transfer format .
0 OOH format and and operating mode.
operating mode
Output serial-input data Stop character is
Stop
1 01 H to Centronics printer until specified by DSC2.
character
the stop character arrives
Output seriaI-input data Operation stops
Number of
2 02 H to Centronics printer. upon detection of
putput byte
Control C (hex 03).
Output buffer area Address information
Number of Load address Load address
3 03 H contents to serial port of data is appended.
putput byte high order byte (low order byte)
in Intel format.
Read Intel format data on \
4 04 H serial port and store in
buffer area.
Number of Initialize block transfer
5 05 H bytes of between master CPU and
block transfer buffer
Output Output data in buffer area Operation stops
Number of
6 06 H starting via serial port. upon detection of
putput byte!
address Control C (hex 03).
Output Output data in buffer area Operation stops
Number of
7 07 H starting to printer. upon detection
putput byte! -,
address of Control C (hex
.".
03).
Output Convert binary data in
Number of
8 08 H starting buffer area into ASCII and
output byte!
address area.
Output Display Display Convert binary data in Address information
Number of
9 09 H starting address address buffer area into ASCII and of data is appended.
output byte!
address (High order) (Low order) output via serial port.
Output Convert binary data in
Number of
10 OA H starting buffer area into ASCII,
output byte!
address and output to printer.
Number of Output Display Display Convert binary data in Address information
11 OB H output byte starting address address buffer area into ASCII, of data is appended.
address (High order) (Low order) and output to printer.
Read ASCII data on serial
Number of Output
12 OCH port, and store in buffer
input bytes character
area.
Read Intel format data on Used when reader is
13 OD H serial port and store in connected to serial
buffer area. port.
Read ASCII data on serial After CR reception,
Output port until arrival of CR CR and LF codes are
14 OE H
character eode. sent out via
serial port.
Convert data in buffer Used when a pun-
Number of Load Load
15 OFH area into Intel format and cher is connected to
putput byte! address address
output via serial port. serial port.
- - - - . - . . . - - - - - - ! ? H A R P .-~-------------
410
Serial Parallel Combination Controller LH8071
~
Code Parameter
Function Remarks
Comman DSCO DSCI DSC2 DSC4 DSC5
Read binary data on serial Used when a reader
Number of Output
16 10 H port into buffer area for is connected to serial
input bytes character
storage. port.
Output data in buffer Used when a puncher
Output area via serial ports. is connected to serial
Number of
17 llH starting port. Operation stops
putput bytes
address upon detection of
hex 03.
Output null codes via 256 null codes
18 12H
serial port. outputted.
Output EOF in Intel
19 13 H format ( :OOOOOOOlFF)
via serial port.
Output null codes via Used when a puncher
20 14H serial port. is connected to serial
port.
Output EOF in Intel Used when a puncher
21 15 H format ( :OOOOOOOlFF) is connected to serial
via serial port. port.
Read I-byte data on serial Data is stored in
22 16 H
port. DSC8.
.,
Output data written in Data needs to be set
DSC8 by CPU via serial in DSC8 prior to ex-
23 17H
port. ecution (high order
byte)
--------------SHARP .---------------..
411
Serial Parallel Combination Controller LH8071
'S
Command
0
1*
OOH
DSCO
2*
80 H
3*
C;OH
DSCI DSC2
Error
DSC3
status flag
DSC4 DSC5
412
Serial Parallel Combination Controller LH8072
• Block Diagram
ERR
MSR
CTL-
Address Strobe 9
Data Strobe 7 TxS
Print RxS
Chip Select 10 FIFO
Read!Write 8 PRS
128 Bytes
Wait 12 TxB
RxB
PRB
Interrupt Request
Interrupt Acknowledge 6
Interrupt Enable In
Interrupt Enable Out
---------SHARP -.....---....-.~----.-
414
Serial Parallel Combination Controller LH8072
• Pin Description
Pin Signal 110 Function
Bidirectional
ADo-AD? Address/ data blls 3-state Multiplexed system address/data bus
- Active low. Fetch information on address/data bus as
AS Address strobe I
address.
- Active low. Transact information on address/data bus
DS Data strobe I -
as data.
High at reading. Output contents of internal register
-
R/W Read /write I onto address/data bus; Low at writing. Fetch data on
address/data bus.
CS Chip select I Active low. Chip selection signal
WAIT wait 0 Active low, open·drain. Used to synchronize with CPU.
- Active low, open-drain. Indicate interrupt request to
INT Interrupt request 0
. CPU.
INTACK Interrupt acknowledge I Active low. Indicate interrupt acknowledge cycle.
Active high. Used to form interupt priority arbitration
lEI Interrupt enable input I
loop circuit (daisy chain).
lEO Interrupt enable output 0 Active high. Used to form daisy chain.
DATAI-DATA s Output data 0 Output data
DATA STROBE Data strobe 0 Active low. Indicate settlement of data.
BUSY Busy I Active high. Indicate printer in operation.
ACKNLG Acknowledge I Active high. Acknowledge signal from printer.
FAULT Fault I Active low. Indicate printer inoperable.
INPUT PRIME Prime input 0 Active low. Printer initializing signal.
RxD Receivived data I Receiving data line.
TxD Transmitted data 0 Transmitting data line.
RTS Transmission request 0 Active low. Indicate readiness for data transmission.
CTS Transmission enable I Active low. Indicate data transmission is possible.
DTR Data terminal ready 0 Active low. Data transmission request signal.
DCD Reception enable I Active low. Indicate data reception is possible.
PCLK Clock I Signal·phase clock; need not be same as CPU clock.
415
/
• AC Characteristics
(1) 'CPU interface timing
No. Symbol Parameter MIN. MAX. Unit Note
1 TrC Clock rise time 20 ns
2 TwCh Clock pulse width, high 105 ns
3 TfC Clock fall time 20 ns
4 TwCI Clock pulse width, low 105 ns
5 TpC Clock period , 250 ns
6 TsCS (AS) / CS setup time to AS t 0 ns, 1
7 ThCS (AS) CS hold time from AS t 60 ns 1
8 TsA (AS) Address setup time to AS t 30 ns 1
9 ThA (AS) Address hold time from AS t 50 ns 1
10 TwAS AS low pulse width 70 fiS
Delay time from DS t to invalid
11 TdDS (DR) 0 ns
readout data
Delay time from DS t to readout
12 TdDS (DRz) 70 ns 2
data fioating
i3 TdAS (DS) Delay time from AS t to DS ! 60 2095 ns
14 TdDS (AS) Delay time from DS t to AS !, 50 fiS
15 ThDW (DS) Written data hold time from DS t 30 ns 1
I
Delay time from DS ! to readout
16 TdDS (DR) 3
data settlement
17 TdAz (DS) Delay time from address floating to DS 0 ns
18 TwDS DS low pulse width 390 ns
19 TsRWR (DS) R/W high (read) setup time to DS ! 100 ns
20 TsRWW (DS) R/W low (write) setup time to DS ! , 0 ns
21 TsDW (DSf) Written data setup time to DS ! 30 ns
22 TdAS (W) Delay time from AS t to WAIT ! 195 ns
23 ThRW (DS) R/W hold time from DS t 60 ns
24 TsDR (W) Time from vaild readout data to WAIT 0 ns
f indicates rising edge, ! indicates falling edge. The reference voltage levels for timing measurement are 2.0 volts
'high' ; 0:8 volt for 'low'.
Note1: This does not apply to the interupt acknowledge operation.
Note 2: The Max. value of TdAS (DS) does not apply to the interrUpt acknowledge operation.
Note 3: The 'delay time depends on the status of LH8072 at the time of access by CPU.
. . . - - - - - - - - - - - - - - - - S H A R P - - - - - - - - - - - - - ..........- -
416
Serial Parallel Combination Controller LH8072
PCLK
ADo-AD7
CPU (read)
DS
R/W
(write)
R/W
(read) _ _ _---::,---++-_--'
ADo-AD7
CPU (write)
-'-~~-~--SHARP'--'-"-'-------
417
Serial Parallel Combination Controller LH8072
TxC /
TxD
AKCNLG \
DATAl
I
DATAs
DATA STROBE
....-.-----------SHARP---------.-.
418
Serial Parallel Combination Controller LH8072
I D7 I D61 D5 I D. I D3 I D2 I D, I Do I
II I L~:;:,~= Frammg error
Overrun error
L -_ _ _ _ _ _ _ _ Printer fault
' - - - - - - - - - - - Paper out
' - - - - - - - - - - - - - Unused
' - - - - - - - - - - - - - - - Master reset
Fig. 1 Error status register (ERR)
I D7 I D6 I D5 I D.I D3 I D2 I D, I Do I
0
0
0
0
0
1
0
1
0
mo
1
1
75B
nOB
150B
1
0
1
5
6
7
8
bits / character
bits / character
bits / character
bits / character
0 1 1 300B
1 0 0 600B
1 0 1 1200B
1 1 0 2400B
1 1 1 4800B
Stop-bit-2/Stop-bit -1
Odd -parity/Even -parity
With - parity/Without -parity
Fig. 2 Mode setting register (MSR)
'-~--'------SHARP--'----------~
419
Serial Parallel Combination Controller LH8072
~ I"L=~~~, IL-.---,----Reception
. data
I Dr I DG I Ds I D4 I D3 I Dz I D I I Do I
I I Dr I DGI Ds I D4 I D3 I Dzi DI I Do I
~. --------0
LTransmission buffer empty
I .
L-.---Transmission interrupt vector
Fig. 4 Transmission status register (TxS)
Fig. 10 Transmission Interrupt vector register
I Dr I DGI Dsl D41 D31 Dzi Dd Dol (TxV)
I Dr I D61 Dsl D41 D31 Dzi Dl I Dol I Dr I D61 Dsl D41 D3 I Dz I DI I Do "
L-I------·Transmission data I
'-----~-Error interrupt vector
Fig. 7 Transmission buffer (TxB) Fig. 13 Error interrupt vector register (ERV)
420
General Purpose Interface Bus Controller LH8073
Top View
• Features
1. Built-in talker, listener and controller. Talker
function, listener function and controller func-
tion are integrated in one chip.
2. Built-in buffer memory. Talker or listener can
use 160-byte on-chip buffer.
3. EOI automatic transmission. Upon detection of
the last byte of or EOS in talker mode, EOI sig-
nal is transmitted automatically.
4. EOS automatic detection. Upon reception of
EOS in listener mode, the CPU is informed.
5. Built-in timer. The bus time-out period for
handshaking can be set by the on-chip timer in
the range of 200 p.s -12 ms at 50 p.s interval.
6. Interrupt function. Daisy-chain type interrupt
arbitration facility is provided, allowing vec-
tored interrupt to CPU.
7. Z-bus interface.
421
General Purpose Interface Bus Controller LH8073
• Block Diagram
GPm
Da~Bus
Address/ ir
Data Bus I
l IFC IN
IFC OT
Data Strobe SRQ/RENIN
Read/Write' 9 REN/SRQOT
Address Strobe CONTI
Chip Select TE
Wait ATN
DAV
NDAC
NRFD
Interrupt Enable Out 3 EOI
Interrupt Enable In 4 CONT2
Interrupt Request 5
Interrupt Acknowledge 6
+5V 1
PCLK 2
GND
, ,
--~------SHARP'-''''''-'-'''''''-'---
422
Multi Task Support Processor LH8075
--------..-.---SHARP ------.--..-.----
423
Multi, Task Support Processor , LH8075
• Block Diagram
Port 1
Data Bus
Address! Data Bus
TeBl
I nterrupt Request 0
Interrupt Acknowledge 6
Interrupt Enable Out 3
Interrupt Enable In 4
SPB2
• Pin Description
Pin Meaning I/O Function
Bidirectional
AD o-AD 7 Address/ data bus Multiplexed system address/data bus.
3-state
- Active low. Fetch information on address!data ,bus as
AS Address strobe I
address.
- Active low. Transact information on address/data bus
DS Data strobe I
as data.
High at reading. Output contents of internal register on
-
R/W Read/write I address/ data bus ; Low at writing.
Fetch data on address/data bus.
CS Chip select I Active low. Chip selection signal
WAIT Wait 0 Active low, open-drain. Used to synchronize CPU.
-- Active low, open·drain. Indicate interrupt request to
INt Interrupt request 0
CPU.
IN TACK Interrupt acknowledge I Active low. Indicate interrupt acknowledge cycle
Active high. Used to form interrupt priority arbitration
lEI Interrupt enable input I
loop circuit (daisy chain).
lEO Interrupt enable output 0 Active high. Used to form daisy chain.
Pl o-P1 7 I/O port lines 110 Parallel input/output
P2 o-P2 7 I/O port lines I/O Parallel input/output
P3 0 -P3 3 I/O port lines 110 Parallel input/output
PCLK Clock I Single· phase clock, need not be same as CPU clock.
424
Multi Task Support Processor LH8075
+SV
• Absolute Maximum Ratings
Parameter Symbol Ratings Unit 2.2kO
Input voltage VIN -0.3-+7 V Output pin
Output voltage VOUT -0.3-+7 V under test o--~-'--I~'"
:r
I
Operating temperature opr 0-+70 "C SOpF
Storage temperature T"2 . -65-+150 "C Standard test load 1
• AC Characteristics'
(1) Master CPU interface timing
No. Symbol Parameter MIN. MAX. Unit Note
1 TrC Clock rise time 20 ns
2 TwCh Clock pulse width, high 105 ns
3 TfC Clock fall time 20 ns
4 TwCl Clock pulse width, low 105 ns
5 TpC Clock period 250 ns
6 TsCS (AS) CS setup time to AS t 0 ns 1
7 ThCS (AS) CS hold time from AS t 60 ns 1
8 TsA (AS) Address setup time to AS t 30 ns 1
9 ThA (AS) Address hold time from AS t 50 ns 1
10 TwAS AS low pulse width 70 ns
Delay time from DS t to invalid
11 TdDS (DR) 0 ns
readout data
Delay time from DS t to readout
12 TdDS (DRz) 70 ns 2
data floating
13 TdAS (DS) Delay time from AS t to DS l 60 2095 ns
14 TdDS (AS) Delay time from DS t to AS l 50 ns
15 ThDW (DS) Written data hold time from DS f 30 ns 1
Delay time from DS l to readout data
16 TdDS (DR) ns 3
settlement
17 TdAz (DS) Delay time from address floating to DS l 0 ns
18 TwDS DS low pulse width 390 ns
19 TsRWR (DS) R/W high (read) setup time to DS l 100 ns
20 TsRWW (DS) R/W low (write) setup time to DS l 0 ns
21 TsDW (DSf) Written data setup time to DS l 30 ns
22 TdAS(W) Delay time from AS t to WAIT l 195 ns
23 ThRW (DS) R/W hold time from DS t 60 ns
24 TsDR (W) Time from valid readout data to WAIT t 0 ns
The reference voltage levels for timing measurement are 2.0 volts for 'high' ; O.S volt for ·Iow'. All output paramaters are
measured under the stated load conditions.
Note 1: This does not apply to the interrupt acknowledge operation.
Note 2: The Max. value of TdAS (DS) does not to the interrupt acknowledge operation.
Note 3: The delay time depends on the status of LHS075 at the time of access by master CPU.
425
Multi Task Support Processor LH8075
PCLK
ADo-AD7
Master CPU
(read)
AS
R/W
(writ!!)
R/W
(read)
ADo-AD7
Master CPU
(write)
WAIT
'-'~~----~-SHARP .-..-.-.-.-.------
426
................... -............. -....... - . - . -....... - . - . -......
Multi Task Support Processor
I
LH8075
.-~
Reset timing
~--------------SHA.RP ------------.-....
427
Ml..\lti :Task Support Processor LH8075
Data input
DAV input
RDYoutput
'---''--_ _ _ _ _..;;r Port read
__~>t
Data output
-®--I Port
Valid output data
om. :--r 1
1I--@~~
! \ >or?I®J. . .~. . .-
,DAVoutput
RDY input
..... __ ...
Serial port timing
• Basic Specifications
Table 1 LH8075 basic spec,ifications
Parameter Performance
Task control function
Number of tasks registered Max. 255; task number: hex 01-FF
Number of tasks controlled
Max. 8
simultaneously
Priority level Max. 255; priority level: hex 01-FF
Mail box Max. 5; mail box number: hex 01-05
Unit clock 10 ms
Scheduling Priority order or time division; Task is switched by interrupt from LH8075.
User's RAM is segmented in units of hex 100 bytes; Arbitrary area ranging
Memory allo,cation
hex OOOO-FFFF' can be controlled.
Clock function Time (hour, minute, second) setting and readout
Parallel data input/output function Two '8-bit I/O ports and 'one 4-bit I/O port
428
Multi Task Support Processor LH8075
....-...-----.-...---SHARP~---..-.-..--
429
Multi Task Support Processor LH8075
• Programming
Task starting address and initial values for all reg-
The following describes the task control proce-
isters are written at the top of each stack area.
dure using LH8075.
(3) LH8075 is initialized. Table 3 lists the in-
(1) Initialization
itialization information to be written in LH8075.
(1) The LH8075eauses interrupt for task swi-
(4) When necessary, the clock is set and the
tching
port mode is specified.
'However, in order to process, a separate inter-
(5) Initialization completed. To transfer control
rupt processing routine must be prepared.
from the initialization routine to a task, the task ex-
(2) Each task is provided with a stack area.
ecution command (TSTR) must be executed.
Task table
430
Multi Task Support Processor LH8075
.------..-.--SHARP.-..-.-.-..-.---
431
MultiTask Support Prcx:iessor· . LH8075
432
.-.-.- ..... - . -..... -..... -...
Multi Task Support Processor
_-_.. LH8075
:.-...-...-...-...-...-
(3) 1. Control code
0: Hour
1 : Minute
2 : Second
3 : 1/100 second
4 or above : Cancellation
' - - - - - - - - Unused
' - - - - - - - - - - - - W a i t switch
0: Wait
1 : Time out period setting only
2. Count
I 0, I 06 I Os I o. I 03 I 02 I01 I 00 I
LI------Count (Count multiplied by time base
becomes setup time)
...
I - - - - - - P o r t - l bit I/O definition
(1 for input; 0 for output)
2. Port-2 mode
Ir o-,""T,-0-6T"10-s-'l-o-."T,-03-,ro-,""T,-o-IT"lo-o-',
LI------Port-2 bit I/O definition
(1 for input; 0 for output)
3. Port-3 mode
IrO-i""T,-O-6T"I-os-'I-0-."TI-O-alr 0-,""T1-0-1T"10-o"",
~~~~TTTLP~'" p.,h-,.n/"oo-'_
Port 1 : Push -pull/open -drain
P31 : External event 1 input
P 30 : External event 2 input
' - - - - - - - - Port -1 handshaking
( P31=OAVI/ROYl)
P32=ROYI/OAVI
' - - - - - - - - - - - Port -2 handshaking
( P30=OAV2/ROY2)
P33 = ROY2/0AV2
'------------Unused
--,-------SHARP-.....-,---------
433
........... -.............................. -.......... ................. .
Z8090/Z8090A Universal Peripheral Controller
.-.- ,
LH8090/LH8090A
~,
• Features AD1
ADo Plo
1. Complete slave microcomputer, for distributed
processing 2- bus use Top View
2. Unmatched power of 28 architecture and in-
struction set
3. Three prpgrammable I/O ports, two with option-
al 2-Wire Handshake'
4. Six levels of priority interrupts from eight
sources: six from external sources and two
from internal sources
5. Two programmable 8-bit counter/timers each
with a 6-bit prescaler. Counter/Timer TO is
driven by an internal source, and Counter/
Timer Tl can be driven by internal or external
sources. Both counter/timers are indepen-
dent of program execution
6. 256-byte register file, accessible. by both the
master CPU and LH8090, as allocated in the
LH8090 program
7. 2K bytes of on-chip ROM for efficiency and
versatility
434
Z8090/Z8090A Universal Peripheral Controller LH8090/{'H8090A
• Block Diagram
Program
Memory
Address/ 2KX8
Data Bus Port 1
Read.' Write 8
Address Strobe 9
Chip Select IRP
Wait l'ort2
Register
File
256X8
15=
• Pin Description
Pin Meaning I/O Function
ADo-AD 7 . Address data bus Bidirectional Multiplexed system address/data bus .
- Active low. Causes information on the address/data bus
AS Address strobe I
to be fatched as address
- Active low. Causes information on the address/data bus
DS Data strobe I
to be sent/received as data
A high level indicates a read cycle : Data is output from
- the internal register to the address/data bus. A low
R/W Read/write I
level indicates a write cycle : Data is fetched from the
address/ data bus.
CS Chip select I Active low, Chip select signal.
-- Active low, open-drain. For synchronizaion with the
WAIT Wait 0
CPU.
Pl o-P1 7 I/O port lines I/O Parallel I/O
P2 o-P2 7 I/O port lines I/O Parallel I/O
P3 0 -P3 7 I/O port lines I/O Parallel I/O (4-bit input, 4-bit output)
Signal-phase clock, not need to be related to the CPU
PCKL Clock I
clock.
-~'-'---""'--SHARP'-'-'--~----
435
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
__Nl_._'-'-''-'-:''_''__ '-'-:''-~ ___ ~''''''~
* The maximum applicable voltage on any pin except for VBB, with respect to GNO.
+5V +5V
2.2kO 18kO
Note 1: For Ao-Al1. DO-07, MOS, SYNC, MA:;>, and MR/W/IACK of the device for 64-pin development, IOH=100 Il A and 10L 1mA
---------SHARP-----.--------'.-
436
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
• AC Characteristics
'-~--------SHARP----~------
437
Z8090/Z8090A Universal Peripheral Controller . LH8090/LH8090A
PCLK
ADo-AD7
MASTER CUP
READ
AS
R/W
(WRITE)
R/W
(READ)
ADo-AD7
MASTER CPU
WRITE
WAIT
438
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
lEI
lEO
439
Z8090/Z80gpA ~niver5al Peripheral Controller LH8090/LH8090A
DATA IN
DAV INPUT
RDY OUTPUT
Port read
DATA OUT
-~t=®
r Data out valid
DAV OUTPUT
\
RDY INPUT \
~--@---->.:\,~
"
Output handshake timing
----~.-.----.---SHARP .--.-.---.----
440
Z8090/Z8090AUniversai Pe~ipheral Controller LH8090/LH8090A
-----------SHARP----.----------
441
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
442
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
The counters can be started, stopped, restarted the interrupt request needs service.
to continue, or restarted from the initial value., (5) Master CPU register file access
They can be programmed to stop upon reaching There are two ways in which the master CPU
end-of-count (Single-Pass mode) or to automatical· can access the LH8590 register file: direct access
ly reload the initial value and continue counting and block access.
(Modulo-n Continuous mode). Direst Access: Three LH8090 registers - the
(4) Interrupts Data transfer Control, the Master Interrupt Vector,
The LH8090 allows six interrupts from eight and the Master Interrupt Control - are mapped
different sources as follows: directly into the master CPU address space.
• Port 3 lines P3o, P31, and P33. The registers can directly be accessed in 16
• The master CPU (3). bytes.
• The two counter/timers. Block Access: The masteJ;" CPU may be trans-
These interrupts can be masked and globally en- mit or receive blocks of data via address X X X
abled or disabled. The order of their priority can 10101 (X X 10101 X for shift address). When the
be specified. All interrupts are vectored. master CPU accesses this address, the LH8090
Table 2 lists the LH8090's interrupt sources, register pointed to by the Data Indirection register
their types, and their vector locations in program (DIND) is read or written.
ROM. The number of bytes is set in the Limit Count
The LH8090 also supports polled systems. register (LC). The LH8090 controls everything in
To acommodate a polled structure, any or all of the block transfer and is therefore allowed to pro-
the interrupt inputs can be masked and the inter- tect itself from master CPU errors.
rupt request register polled to determine which of
443
Z8090lZ8090A Universal Peripheral Controller LH8090lLH8090A
-~--------.-.....-SHARP---.------
444
?:8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
6.5 6.5 6.5 6.5 10.5 10.5 10.5 10.5 6.5 6.5 12110.5 12110.0 6.5 12110.0 6.5
o DEC DEC ADD ADD ADD ADD ADD ADD LD LD DJNZ JR LD JP INC
R. IR. TI, T2 fl,ITZ Rz. R\ IRz, RI RI.IM IR,.IM Rz RA ce, RA r"IM ce, DA
6.5 6.5 6.5 6.5 10.5 10.5 10.5 10.5
flo f2. RI TI.
" I---
RLC
R.
RLC
IR.
ADC ADC ADC ADC ADC
fl, T2 n, IT! Rz. RI IRz. RI R •• IM
ADC
IRI.IM
I
I---
6.5 6.5 6.5 6.5 10.5 10.5 10.5 10.5
2 INC INC SUB SUB SUB SUB SUB SUB
R. IR. T],TZ T\,IT2 Rz. RI IR 2• R, RI.IM IR •• IM
I---
H.n 6.1 6.5 6.5 10.5 10.5 10.5 10.5
3 JP SRP SBC SBC SBC SBC SBC SBC
IRRI 1M n, T2 Tt, IT! Rz. RI IRz, RI RI.IM IR •• IM
I---
8.5 8.5 6.5 6.5 10.5 10.5 10.5 10.5
4 DA DA OR OR OR OR OR OR
xIII R. IR. TI,T2 TIoIT2 Rz, RI IRz. R, R •• IM lRI.IM
10.5
I---
.= 5 10.5
POP
R.
10.5
POP
IR.
6.5 6.5
AND AND AND AND AND AND
10.5 10.5
Rz. RI . IR2• Rl
10.5
RI.IM IR •• IM
III r"r2 TI.IT2
:c
.Q 6.5 6.5 6.5 6.5 10.5 10.5 10.5 10.5
I---
Z 6 COM COM TCM TCM TCM TCM TCM TCM
Gi R. JR. TI,T2 fI, IT! R2. RI IR2. R\ R1. IM IR1.IM
Q. I---
Q. 10112.1 12114.1 6.5 6.5 10.5 10.5 10.5 10.5
::::l 7 PUSH PUSH TM TM TM TM TM TM
R, IR, TI,T2 TIoIT! Rz• R, IR 2• RI RI.1M IR\.IM
I---
lO,:} 10.3 12.0 18.0 6.1
8 DECW DECW LDE lOEI 01
RR. IR. T\, IrT2 In. lIT!
I---
6,5 6.5 12.0 18.0 6.1
9 RL RL lOE LDEI EI
R. IR • T2,lrrl Irz.lrrl
I---
w.;) 10.;) 6.5 6.5 10.5 10.5 10.5 10.5 14,0
A INCW INCW CP CP CP CP CP CP RET
RR. IR. n.T2 n.lr! R2. R, IR z• RI Rt.IM IR1. 1M
6.5 6.5 6,5 6.5 10.5 10.5 10.5 10.5 ~
B CLR CLR XOR XOR XOR XOR XOR XOR IRET
R. IR. TI,T2 n.lr! R2. RI IR2. RI R],IM IR!, 1M
I---
6,5 6.5 12.0 IS.O 10.5 6.5
C RRC RRC LDC LOCI LD RCF
R. JR. TI,lrn ITI,lrr! Tl, x, R2
I---
6.5 6.5 12.0 18.0 20.0 20.0 10.5 6.5
0 SRA SRA LDC lOCI CALL" CALL LD SCF
R. JR. f2.Irf! In.ITT\ IRR, DA f2, X, RI
-
6.5 6.5 6.5 10.5 10.5 10.5 10.5 6.5
E RR RR LD LD LD LD LD CCF
R. IR. T\,In R2• RI lRz. RI RJ,IM IR!, 1M
-
8,5 8.5 6.5 10.5 6.0
F SWAP SWAP LD LD NOP
R. IR. lrl,TZ Rz,IR,
~--------~------~~------~--------~~----------~----------~~~
2 3 2 3
Bytes per
Instruction
----.-------.---SHARP - - - - - - - - - - - . - . . .
445
Z8090/Z8090A 'Universal Peripheral Controller LH8090/LH8090A
Instruction Summary
Instruction Opcode Flags Affected Instruction Opcode Flags Affected
and I Addr. mode and I Addr. mode
Operation I dst src (Hex) CZSVDH Oparatlon I dst src (Hex) CZSVDH
ADC dst, src (Note 1) 10 ****·0* LDEI dst, src Ir Irr· 83
dst....dst + src + C dst....src Irr Ir 93
ADD dst, src (Note 1) 00 ****0* r .... r+ 1; rr ....rr+ 1
dst ....dst + src NOP FF
AND dst, src (Note 1) 50 -**0-- OR dst, src (Note 1) 40 -**0--
dst ....dst AND src dst.... dst OR src
CALL dst DA D6 ------ POP dst R 50 ------
SP....SP-2 IRR D4 dst....@SP IR 51
@SP.... PC· PC ....dst SP....SP+l
CCF EF *--- - PUSH src R 70
C.... NOT C Sp....SP-l· @SP ....src IR 71
CLR dst R BO ------ RCF CF 0 ----
dst....O IR Bl C.... O
COM dst R 60 -**0-- PET AF - --
dst....NOT dst IR 61 PC ....@Sp· Sp....SP+2
CP dst, src (Note 1) AD ****-- 4RL dst R
dst....src
R 40
~7 O~ IR
90
91
****--
DA dst ***X--
dst ....DA dst IR 41 RLC dst R 10 ****--
DEC dst R 00 -***-- ~7 O~ IR 11
dst.... dst-l IR 01
DECWdst RR 80 -***-- RR dst R EO
dst....dst-l
01
IR 81
8F
4947 O~ IR El
****
R CO
~7 O~
IMR(7) .... 0 RRC dst ****
DJNZ r,dst RA rA - ---- IR Cl
r .... r-l r=O-F
if r+O PC .... PC+dst
sec dst, src (Note 1) 3D ****1*
dst....dst - src - C
Range; + 127--128 DF 1
------ SCF
EI 9F C.... l
IMR(7) .... 1 ~
* * * 0
L,g ell t P
INC dst r rE -***-- SRA dst DO
dst....dst+ 1 r=O-F Dl
R
IR
20
21
SRP src 1M 31 ------
RP ....src
INCW dst RR AO -***-- SUB dst, src (Note 1) 2D ****1*
dst....dst+ 1 IR Al dst.... dst - src
IRET BF ******
~
FLAGS ....@SP;SP....SP+ 1 SWAP dst R FO X* *X--
PC ....@Sp·SP ....SP+2;IMR(7).... 1 IR Fl
JP cc, dst DA cD ------ TCM dst,src (Note 1) 60 * * 0
if cc is true c=O-F I(NOT ds!) AND src
PC ....dst IRR 30 TM dst,src (Note 1) 70
------ * * 0
JR cc, dst RA cB dst AND src
if cc is true, c=O-F XOR dst,src (Note 1) BO -**0--
PC .... PC+dst dst.... dst XOR src
Range: +127--128
LD dst, src r 1M rC ------ Note 1: These instructions have an identical set of' addressing
dst ....src r R r8 modes, which are encoded for brevity. The first opcode nibble is
R r r9 found in the instruction set table above. The second nibble is ex·
r=O-F pressed symbolically by a 0 in this table, and its value is found
r X C7 in the following table to the left of the applicable addressing
X r D7 mode paie.
r Ir E3 For example, to determine the opcode of an ADC instruction
Ir r F3 using the addressing modes r (destination) and Ir (source) is 13.
R R E4
R IR E5 Addr Mode Lower
R 1M E6 dst src Opcode Nibble
IR 1M E7
IR R F5 r r !2J
LDC dst, src r Irr C2 ------ r Ir 11I
dst....src Irr r D2 Ii]
LOCI dst, src Ir Irr C3 ------ R R
dst-src Irr r D3 R IR lID
r-r+ l' rr-rr+ 1 R 1M [ill
LDE dst, src r Irr 82 ------
dst-src Irr r 92 IR 1M [Z]
446
Z8090/Z8090A Universal Periph~Hal Controller LH8090/LH8090A
• Register
RO (DTC)
upe Register Address (Hex): 00
I D7 I D61 D51 D,I D31 D21 DI I Dol
R4 (LC) R5 (DIND)
upe Register Address (Hex): 04 upe Register Address (Hex): 05
I D7 I D6 I Dsl D,I D31 D21 DJ I Do I I D71 Ds! D51 D,I D31 D21 Dd Dol
R240 (MIV)
upe Register Address (Hex): f1
I D7 I D61 D5 I D4 I D31 D2 I DI I Do I
I VECTOR DATA (Do = LSB)
R241 (TMR)
upe register address (Hex): Fl
I D71 D61
TOUT MODES=::::J
RESERVED = 00
To OUT = 01
I L
D5 I D41 D31 D2 I DI I Do I
O = NOFU~CTION
1 = LOAD To
C O = DISABLE To COUNT
TJ OUT = 10 1 = ENABLE To COUNT
INTERNAL CLOCK OUT = 11 0 = NO FUNCTION
TIN MODES - - - - - - ' 1 = LOAD TI
EXTERNAL CLOCK INPUT = 00
GATE INPUT =01 ' - - -_ _ _ 0 = DISABLE TI COUNT
TRIGG ER INPUT = 10 1 = ENABLE TI COUNT
(NON -RETRIGGERABLE)
TRIGGER INPUT = 11
(RETRIGGERABLE)
R242 (T1) R243 (PRE1)
upe Register Address (Hex): F3
l
Counter/Timer 1 Register
upe Register Address (Hex): F2 I D71 D61 D5 1 D41 D31 D21 DIlDo 1
.-----.----------SHARP - - - - - . - . - - - - - -
447
Z8090/Z8090A Uhh,ersal Peripheral Controller LH8090/LH8090A
I L'
I 061 Os I 041 031 02 I 0 1 I Do I
COUNT MODE
O=To SINGLE-PASS
1 = To MODULO· N
RESERVED
R246 (P2M) '-------PRESCALER MODULO
Port 2 Mode Register (RANGE: 1-64 DECIMAL
01-00 HEX)
UPC Register Address (Hex): F6
I 07 I 06 I Os I 04 I 031 02 I 01 I Do I
L P20- P27 I/O DEFINITION
o DEFINES BIT AS OUTPUT
1 DEFINES BIT AS INPUT
R247 (P3M)
Port 3 Mode Register
UPC Register Address (Hex): F7
I 07 I 061 Os I 041 03 I 02 I 01 I Do I
R248 (P1 M)
Port 1 Mode Register
UPC Register Address (Hex): F5
.-.---.---------$HARP-----------
448
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
R249 (lPR)
Interrupt Priority Register
upe Register Address (Hex): F9 (write only)
1 D71 D61 D51 D.I D31 D21 Dl I Do I
RESERVED~ IRQl,IRQ4 PRIORITY (GROUP C)
INTERRUPT GROUP PRIORITY--+---'----t------' o =IRQl>IRQ4
RESERVED=OOO I =IRQ4>IRQI
C>A>B=OOI ~---IRQO,IRQ2 PRIORITY (GROUP B)
A>B>C=OIO o =IRQ2>IRQO
A>C>B=OII 1 =IRQO>IRQ2
B>C>A=IOO ~-------IRQ3,IRQ5 PRIORITY (GROUP A)
C>B>A=lOI
B>A>C=IIO
o =IRQ5>IRQ3
1 =IRQ3>IRQ5
RESERVED =111
Uk~
IRQO=MASTER CPU
COMMUNICATIONS
I I I~L I1 ENAIlLES !ROO
B
ENABLES IRQI
QI=P3, INPUT 1 ENABLES IRQ2
Q2=P31 INPUT 1 ENABLES IRQ3
Q3=P3, INPUT ~-----1 ENABLES IRQ4
IR Q4=To ' - - - - - - - - 1 ENABLES IRQ5
IR Q5=Tt ' - - - - - - - - - RESERVED
RESERVED ' - - - - - - - - - - - - - 1 ENABLES INTERRUPTS
I D71 D61 D5 I D.I D31 D21 Dt! Do I I D71 D61 D51 D.I D31 D21 DJ I Do I
LS I
LUSER FLAG Fl
~USER
FLAG F2
HALF CARRY FLAG
DECIMAL ADJUST FLAG
I
~.-------REGISTER
LDON'T CARE
(r.-n)
'-------OVERFLOW FLAG
~-------SIGN FLAG
~--------ZEROFLAG .
'------------CARRYFRAG
-----~--.---SHARP--.-.---~----
449
Z8090/Z8090A Universal Peripheral Controller LH8090/LH8090A
R~54 (MIC)
Master CPU Interrupt Control Register
UPC Register Address (Hex): FE
---------.-.-..--SHARP -....--....-..-----
450
Z8091/Z8091 A Development Device LH8091/LH8091 A
LH8091/LH8091A ~~:;:~;!DeViCe
• Description • Pin Connections
The 64-pin LH8091 is the development version
of LH8090 (Z8090) UPC with internal mask- +5V 1
programmed ROM. This device allows the user to PCLK 2
the prototype systems in hardware without an
actual device and to develop the code that is even-
tually mask-programmed into the on-chip ROM of
the LH8090.
The LH8091 is identical to the LH8090 with the
following exceptions.
• The internal ROM has been removed .
• The ROM address lines and data lines are buff-
ered and brought out to external pins.
• Control lines for the memory have been added.
The LH8091A is the high speed version which
can operate at 6MHz system clock.
Top View
451
Z8091fZ8091 A Development Device LH8091/LH8091A
• Block Diagram
Address/Data
Bus I/O
Address Strobe 9
Data Strobe 7
Read/W rite 8 I/O
Chip Select 10
Interrupt Request 5
Interrupt Acknowledge 6
Interrupt Enable In
Interrupt Enable
Out
• Pin Description
LH8091 has the same functions as those of a 40-pin device LH8090, and the functions of the additional 24
pins are as follows.
Symbol Meaning I/O Function
Ao'- All Program memory address 0 Used for the access to the external memory of 4K bytes.
Do -D 7 Program data I Reads the data through these lines from the external memory.
Interrupt acknowledge Active high. This signal becomes high during interrupt or in·
IACK/MR 0
Imemory read. struction fetch cycle of LH8591.
-~
Active low. This signal is output every memory fetch cycle
MAS Memory address strobe 0
for the interface with the external ROM.
Active low. This signal becomes low during instruction fetch
MDS Memory data strobe 0
cycle or write cycle.
-- Active low. This signaJ becomes low at the clock cycle just
SYNC Synchronization 0
before Op-code fetching.
-------------SHARP,....-.-..--------
452
Z8092/Z8092A Development Device LH8092/LH8092A
Z80921Z8092A
LH8092/LH8092A Development Device
Top View
.-----~--.-.--SHARP --.-------------
453
Z8092/Z8092A Development Device LH8092/LH8092A
• Block Diagran
.
Program Memory Address Output
Address/Data
Bus I/O
Address Strobe 9
Data Strobe 7
Read/Write 8 I/O
Chip Select 0
Wait 11
Interrupt Request 5 o
Interrupt Acknowledge 6
Interrupt Enable In
Interrupt Enable
Out
• Pin Description
LH8092 has the same functions as those of a 40-pin device LH8090, and the functions of additional 24
pins are' as follows.
Symbol Meaning I/O Function
Ao-Au Program memory address 0 Used for the access to the external memory of 4K bytes.
Reads for data through these lines from the external memory.
00-07 Program data I And it is possible to write into an external RAM through
these lines.
Active high. This signal is always active during interrupt cy-
LACK Interrupt acknowledge 0
cle of LH8092.
Active low. This signal is output every memory feich cyclefor
MAS Memory address strobe 0
interfacing with the external RAM.
-- Active low. This signal is outptt eyery memory fetch cycle for
MOS Memory data strobe 0
cycle or write cycle.
- This signal is high during instruction fetching by LH8092,
MR/W Memory read/write 0
or low while writing into the external memory.
Active low. This signal becomes low during clock cycle just
SYNC Synchronization 0
before OP code fetching.
- - - - - - - - - - - - - - S H A R P - - - . - - - - - , - - - - - - - ........
454
Z8093/Z8093A Protopack Emulator LH8093/LH8093A
P33
P3.
Ph
PIs
PIs
Pl.
Pb
Ph
Ph
ADo
Top View
455
Z8093/ZS093A Protopack Emulator LH8093/LH8093A
• Block Diagram
Address/Data
Bus I/O
Address Strobe 9
Data Strobe 7
Read/Write 8 I/O
Chip. Select 10
Interrupt Request
Interrupt Acknowledge
Interrupt Enable In
Interrupt Enable
Out
• Pin Description
LH8093 pins are compatible with those of LH8090. For pin descriptions of LH8093, refer to those of
LH8090.
456
Z8094/Z8094A Protopack Emulator LH8094/LH8094A
LH8094/LH8094A ~~=094AProtopaCk
• . Description • Pin Connections
The LH8094 (28094) is a RAM version (16K
bits RAM) of the standard LH8090, housed in a pin P31
compatible 40-pin package.
The LH8094 carries a 24-pin soket for a direct
o P36
P33
P3.
PI6
PIs
Pl.
PIa
PI,
Ph
ADo
Top View
457
/
• Block Diagram
Address/Data
Bus
Address Strobe 9
Data Strobe 7
Read/Write 8
Chip Select 10
Interrupt Request
Interrupt Acknowledge
Interrupt Enable In
Interrupt Enable
Out
• Pin Description
LH8094 pins are compatible with those of LH8090. For pin descriptions of LH8094, refer to those of
LH8090.
458
Peripheral LSls for Microcomputers
Z8530/Z8530A Serial Communications Controller !-H 85301 LH 8530A
LH8530/LH8530A
Z8S301Z8S30A Serial Communications Controller
• Description • Pin Connections
The LH8530 Z8530 SCC Serial Communications
Controller is a dual-channel, multi-protocol data
communications peripheral designed for use with On
conventional non-multiplexed buses. The LH8530
0 02
functions as a serial-to-parallel, parallel-to-serial O.
converter controller. The LH8530 can be software- 06
configured to satisfy a wide variety of serial com- RO
munications applications. The device contains a WR
variety of new, sophisticated internal functions in-
cluding on-chip baud rate generators, Digital
AlB
INTACK 8 CE
Phase- Locked Loops, and crystal oscillators that
dramatically reduce the need for external logic. +5V 9 o/e
The LH8530 handles asynchronous formats, W/REQA GNO
Synchronous byte-oriented protocols such as IBM SYNCA W/REQB
Bisync, and Synchronous bit-oriented protocols RTxCA SYNCB
such as HDLC and IBM SDLC. This versatile de- RxOA RTxCB
vice supports virtually any serial date transfer ap- TRxCA RxllB
plication (cassette, disk tape drives, etc).
TxOA TRxCB
The device can generate and check CRC codes in
OTR/REQA TxllB
any Synchronous mode and can be programmed to
check data integrity in various modes. The RTSA IlTR/R};qB
LH8530 also has facilities for modem controls in CTSA RTSB
both channels. In applications where these controls DCDA CTSB
are not needed, the modem controls can be used for PCLK
general-purpose I/O.
Top View
The daisy-chain interrupt hierarchy is also sup-
ported by the LH8530.
The LH8530 is packaged in a 40-pin ceramic
DIP and uses a single+ 5V power supply.
The LH8530A Z8530A SCC is the high speed
character; programmable clock factor, break
version which can operate at 6MHz system clock.
detection and generation; parity, overrun, and
framing error detection.
4. Synchronous mode with internal or external
character synchronization on one or two syn-
chronous characters and CRC generation and
checking with CRC-16 or CRC-CCITT preset
• Features to either Is or Os.
1. Two independent, 0 to 1.5M bit/second, full- 5. SDLC/HDLC mode with comprehensive frame-
duplex channels, each with a separate crystal level control, automatic zero insertion and de-
oscillator, baud rate generator, and Digital letion. I-field residue handling, abort genera-
Phase-Locked Loop for clock recovery. tion and detection, CRC generation and check-
2. Multi-protocol operation under program con- ing, and SDLC Loop mode operation.
trol; programmable for NRZ, NRZI, or FM data 6. Local Loopback and Auto Echo modes.
encoding.
3. Asychronous mode with five to eight bits and
one, one and one-half, or two stop bits per
----------$HARP-----~-.-.--
460
Z8530/Z8530A Serial Communications Controller LH8530/LH8530A
• Block Diagram
Serial Data
Baud Rate
Generator
A
11 Synchronization
10 Wait/Request
Data Bus 16 Data Terminal
Ready /Request
17 Request To Send
18 Clear to Send
23 Request To Send
24 Data Terminal
Ready / Request
30 Wait/Request
Serial Data
...
"o
U
461
.............................,..... ..........,.....
Z8530/Z8530A Serial Communications Controller
• Pin Description
~ .-..---.. --~ ..........,
LH8530/LH853t>A
+5V
• Absolute Maximum Ratings
From output
Parameter Symbol Ratings Unit +5V
under test 0--.-.-114-..
Input voltage
Output voltage
Operating temperature
VIN
VOUT
Topr
-0.3~+7
-0.3-+7
0-+70
V
V
·C
From output
under test
o--{2.2kO
J;5OpF
Storage temperature T st• -65-+150 t
Open-drain test load
462
Z8530/Z8530A Serial Communications Controller LH8530/LH8530A
• AC Characteristics
(1) CPU interface timing, interrupt timing, and interrupt acknowledge timing
LH8530 LH8530A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TwPCl PCLK low width 105 2000 70 1000 ns
2 TwPCh PCLK high width 105 2000 70 1000 ns
3 TfPC PCLK fall time 20 10 ns
4 TrPC PCLK rise time 20 15 ns
5 TcPC PCLK cycle time 250 4000 165 2000 ns
6 TsA(WR) Address to WR l setup time 80 80 ns
7 ThA(WR) Address to WR t hold time 0 0 ns
8 TsA(RD) Address to RD l setup time 80 80 ns
9 ThA(RD) Address to RD t hold time 0 0 ns
10 TsIA(pC) INT ACK to PCLK t setup time 0 0 ns
11 TsIAi(WR) INT ACK to WR l setup time 200 .200 ns 1
12 ThIA(WR) INT ACK to WR t hold time 0 0 ns
13 TsIAi(RD) INT ACK to RD l setup time 200 200 ns 1
14 ThIA(RD) INT ACK to RD t hold time 0 0 ns
15 ThIA(PC) INT ACK to PCLK t hold time 100 100 ns
16 TsCEl(WR) CE low to WR l setup time 0 0 ns
17 ThCE(WR) CE to WR t hold time 0 0 ns
18 TsCEh(WR) , CE high to WR l setup time 100 70 ns
19 TsCEl(RD) CE low to RD l setup time 0 0 ns i
20 ThCE(RD) CE to RD t hold time 0 0 ns 1
21 TsCEh(RD) CE high to RD l setup time 100 70 ns 1
22 TwRDl RD low width 390 250 ns 1
23 TdRD(DRA) RD l to read data active delay 0 0 ns
24 TdRDr(DR) RD t to read data not valid delay 0 0 ns
25 TdRDf(DR) RD ! to read data valid delay 250 180 ns
26 TdRD(DRz) RD t to read data float delay 70 45 ns 2
27 TdA(DR) Address required valid to read data valid delay 590 420 ns
28 TwWRI WR low width 390 250 ns
29 TsDW(WR) Write data to WR ! setup time 0 0 ns
.-.--.-----SHARP--..-r---~.-.~-..
463
.Z85~O/Z8530A Serial Communications Controller LH8530/LH8530A
LH8530 LH8530A
No. Symbol Parameter Unit· Note
MIN. MAX. MIN. MAX.
30 ThDW(WR) W rite data to WR t hold time 0 0 ns
31 TdWR(W) WR ! to wait valid delay 240 200 ns 4
32 TdRD(W) RD! to wait valid delay 240 200 ns 4
33 TdWRf(REQ) WR ! to W IREQ not valid delay 240 200 ns
34 TdRDf(REQ) RD ~ to W IREQ not valid delay 240 200 ns
35 TdWRr(REQ) WR t to DTR/REQ not valid delay 5Tcl'Ct300 5TcPCt250 ns
36 TdRDr(REQ) RD t to DTR/REQ not valid delay 5TcPCt300 5TcPCt250 ns
37 TdPC(INT) PCLK ! to INT valid delay 500 500 ns 4
38 TdIAi(RD) INT ACK to RD ! (acknowledge) delay ns 5
39 TwRDA RD (acknowledge) width 285 250 ns
40 TdRDA(DR) RD ! (acknowledge) to read data valid delay 190 180 ns
41 TsIEI(RDA) IEI to RD ! (acknowledge) setup time 120 100 ns
42 ThIEI(RDA) IEI to RD t (acknowledge) hold time 0 0 ns
43 TdIEI(IEO) IEI to IEO delay time 120 100 ns
44 TdPC(IEO) PCLK t to lEO delay 250 250 ns
45 TdRDA(INT) RD ~ to INT inactive delay 500 500 ns 4
46 TdRD(WRQ) RD t to WR ~delay for no reset 30 15 ns
47 TdWRQ(RD)' WR t to RD ! delay for no reset 30 30 ns
48 TwRES WR and RD coincident low for reset 250 250 ns·
49 Trc Valid access recovery time 6TcPCt200 6TcPCt 130 ns 3
Note 1: Parameter does not apply to Interrupt Acknowledge transactions.
Note 2: Float delay is defined as the time required for a ±O.5V change in the output with a maximum DC load and minimum AC load.
Note 3: Parameter applies only between transactions involving the SCC.
Note 4: Open·drain output, measured with open·drain test load.
Note 5: Parameter is system dependent. For any SCC in the daisy chain, TdlAi (RD) must be greater than the sum of TdPC (lEO) for the
highest priority device in the daisy chain, TslEI (RDA) for the SCC, and TdlEIf (lEO) for each device separating them in the daisy
chain.
PCLK
A/B,D/C-J'~~+-____~__-4__________~~~~~~______
INTACK
W/REQ (WAIT)
. . . . . - . - - - - - - - - - - - - S H A R P -----~---~----
464
Z8530lZ8530A Serial Communications Controller LH8530/LH8530A
PCLK
IN TACK ________~=t~:3~~~------~~~::==~:::
RD
IEI __~~~__~~~.~~________~.~______-
lEO -------"'F-
INT __________________________- J
Reset timing
Cycle timing
----.-----~---SHARP--.-.-------
465
Z8530/Z8530A Serial Communication Controller LH8530/lH8530A
W/REQ (REQUEST)
W/REQ (WAIT)
W/REQ (REQUEST)
W/REQ (WAIT)
DTR/REQ(REQUEST)
CTS'DCD@'
SYNC (INPUT) :
INT
--+-----I:.C£~________________ ~~~'
System timing
~'---~'-'---SHARP .-~-.....-.-----.-.--
466
Z8530/Z8530A Serial Communications Controller LH8530/LH8530A
PCLK
W /REQ (REQUEST)
Vi /REQ(WAIT) _ _ _ _-=:-~-------'.
RTxC, TRxC(RECEIVE) _ _ _..."...,.....J['1
. RxD ____~~~~~~-~~~--~--------
SYNC (EXTERNAL)
----J~--~r---~'~-----------------
TRxC, RTxC (TRANSMIT)
. -----j
TxD ~@==-:ii 1<""---"';'-~-.I '-_ ____
General timing
~~....-.--------SHARP-.---.-.-.---
467
, ................._-_............................................._,._.......................
ZS,5301Z8530A Serial Communications Contr.oIler LH8530/LH8530A
• Data Communications Capabilities first secondary station by the same process. Any
The LH85'30 provides two independ~nt fullduplex secondary stations without messages to send merely
channels programmable for use in any common echo the incoming messages and are prohibited from
Asyncl1ronous or Synchron~)Us data communication placing messages on the loop (except upon recogniz-
protocol. Fig. 1 illustrates th~se protocols. ing an EOP).
SDLC Loop mode is a programmable option in the
LH8530. NRZ, NRZI, and FM coding may all be used
START in SDLC Loop mode.
1
PARITY
l~TOP
lli&ilJ
::":M'"="A":::R':':KI::"N:-::G:-IW@[]jl@illjr-DA
....r-Ar"T"I"Ij II
LINE
I SYNC IDATA I
ASYNCHRONOUS
::
MONOSYNC
IDATAI CRe, I CRC, I -----
. CONTROLLER
468
~~~ .....
Z8530/Z8530A Serial Communications Controller
~~.....,~ ............... ...............- .....
~
LH8530/LH8530A
~
time constant may be changed at any time , but the
DA T A -...:.'-----'''----. o new value does not take effect until the next load
NRZ ~______~
of the counter.
NRZI The output of the baud rate generator may be
FMl used as either the transmit clock, the receive clock,
or both. It can also drive the Digital Phase-
FMO Locked Loop (see next section).
MAN-
If the receive clock or transmit clock is not
CHESTER
programmed to come from the TRxC pin, the out·
Fig. 3 Data encoding methods
put of the baud rate generator may be echoed out
via the TRxC pin.
The following formula relates the time constant
• Auto Echo and Local Loopback
to the baud rate (the baud rate is in bitsl second
The LH8530 is capable of automatically echoing
and the BR clock period is in seconds).
everything it receives. This feature is useful
mainly in Asynchronous modes, but works in Syn- 1
baud rate
chronous and SDLC modes as well. In Auto Echo 2(time constant +2) X(BR clock period)
mode, TxD is RxD. Auto Echo mode can be used
• Digital phase-Locked Loop
with NRZI or FM encoding with no additional de-
The LH8530 contains a Digital Phase-Locked
lay, because the data stream is not decoded before
Loop (DPLL) to recover clock information from a
retransmission. In Auto Echo mode, the CTS in-
data stream with NRZI or FM encoding. The
put is ignored as a transmitter enable (although
DPLL is driven by a clock that is nominally 32
transitions on this input can still cause interrupts
(NRZI) or 16 (FM) times the data rate. The DPLL
if programmed to do so). In this mode, the trans-
uses this clock, along with the data stream, to con-
mitter is actually bypassed and the programmer is
struct a clock for the data. This clock may then
responsible for disabling transmitter interrupts
be used as the SCC receive clock, the transmit
and WAIT IREQUEST on transmit.
clock, or both.
The LH8530 is also capable of local loopback.
For NRZI encoding, the DPLL counts the 32X
In this mode TxD is RxD, just as in Auto Echo
clock 60 create nominal bit times. As the 32X
mode. However, in Local Loopback mode; the in-
clock is counted, the DPLL is searching the incom·
ternal transmit data is tied to the internal receive
ing data stream for edges (either 1 to 0 or 0 to 1).
data and RxD is ignored (except to be echoed out
Whenever an edge is detected, the DPLL makes a
via TxD). The CTS and DCD inputs are also
count adjustment (during the next counting cycle),
ignored as transmit and receive enables. However,
producing a terminal count closer to the center of
transitions on these inputs can still cause inter·
the bit cell.
rupts. Local Loopback works in Asynchronous,
For FM encoding, the DPLL still counts from 0
Synchronous and SDLC modes with NRZ, NRZI or
to 31, but with a cycle corresponding to two bit
FM coding of the data stream.
times. When the DPLL is locked, the clock edges
in the data stream should occur between counts 15
• Baud Rate Generator and 16 and between counts 31 and O. The DPLL
Each channel in the LH8530 contains a prog-
looks for edges only during a time centered on the
rammable baud rate generator. Each generator
15 to 16 counting transition.
consists of two 8·bit time constant registers that
The 32X clock for the DPLL can be programmed
form a 16·bit time constant, a 16·bit down coun-
to come from either the RTxC input or the output
ter, and a flip· flop on the output producing a
of the baud rate generator. The DPLL output may
square wave. On startup, the flip-flop on the out-
be programmed to be enchoed out of the LH8530
put is set in a High state, the value in the time con-
via the TRxC pin (if this pin is not being used as
stant register is loaded into the counter, and the
an input).
counter starts counting down. The output of the
baud rate generator toggles upon reaching 0, the
value in the time constant register is loaded into
the counter, and the process is repeated. The
...--....-.------SHARP--------
469
Z8530/Z8530ASeriai Communicatipns· Controller LH8530/LH8530A
• Read Regi/sters
Rx CHARACTER
AVAILABLE
ZERO COUNT
Tx BUFFER EMPTY
DCD o
SYNC/HUNT LOOP SENDING
CTS o
Tx UNDERRUN /EOM TWO CLOCKS MISSING
BREAK/ABORT ONE CLOCK MISSING
I~I~I~I~I~I~I~I~I
CHANNEL B
EXT/STAT Ip·
o
ZERO COUNT IE
CHANNEL B Tx IP"
CHANNEL B Rx Ip·
o
DCD IE
CHANNEL A EXT/STAT IP" SYNC/HUNT IE
CHANNEL A Tx Ip·
CTS IE
CHANNEL A Rx Ip·
TxUNDERRUN/EOMIE
o BREAK/ABORT IE
·ALWAYS 0 IN CHANNEL B
--------SHARP--------
470
.28530/Z8530A Serial Communications Controller LH8530/LH8530A
• Write Registers
D7 D6 D5 D. D3 D2 Dl Do
I~I~I~I~I~I~I~I~I
0 0 0 REGISTER 0
0 0 1 REGISTER 1 [INTERRUPT
0 1 0 REGISTER 2 VECTOR
0 1 1 REGISTER 3
1 0 0 REGISTER 4
1 0 1 REGISTER 5
1 1 0 REGISTER 6 • Write Register 3
1 1 1 REGISTER 7
0 0 0 REGISTER 8
0 0 1 REGISTER 9
0 1 0 REGISTER 10
0 1 1 REGISTER 11 * Rx ENABLE
1 0 0 SEGISTER 12
1 0 1 REGISTER 13 SYNC CHARACTER LOAD INHIBIT
1 1 0 REGISTER 14 ADDRESS SEARCH MODE (SDLC)
1 1 1 REGISTER 15 Rx CRC ENABLE
ENTER HUNT MODE
0 0 0 NULL CODE AUTO ENABLES
0 0 1 POINT HIGH
0 1 0 RESET EXT /STAT INTERRUPTS o 0 Rx 5 BITS/CHARACTER
0 1 1 SEND ABOR T (SDLc) o 1 Rx 7 BITS/CHARACTER
1 0 0 ENABLE INT ON NEXT Rx CHARACTER 1 0 Rx 6 BITS/CHARACTER
1 0 1 RESET TxIN T PENDING 1 1 Rx 8 BITS/CHARACTER
1 1 0 ERROR RES ET
1 1 1 RESET HIG HEST IUS
0 0 NULL CODE
0 1 RESET Rx CRC CHECKE R
1 0 RESET Tx CRC GENERA TOR • Write Register 4
1 0 RESET Tx UNDERRUN/E OM LATCH
·WITH POINT HIGH COMMAND (D 5D.D3=00I)
D7 D6 D5 D. D3 D2 Dl I Do I
• Write Register 1
L Lp ARITY ENABLE
PARIT Y EVEN/ODD
1 1
0 0 SYNC MO DES ENABLE
0 1 1 STOP BIT /CHARACTER
1 0 11/2 STOP BITS/CHARACTER
EXT INT ENABLE 1 1 2 STOP BITS/CHARACTER
Tx INT ENABLE 0
0 8 BIT SYNC CHA RACTER
PARITY IS SPECIAL CONDITION
0 1 16 BIT SYNC CH ARACTER
o 0 Rx INT DISABLE 1 0 SDLC MODE (011 11110 FLAG)
o ~R I§lJ'A~'i'AtI~~~8fi.1~~CTER 1 1 EXTERNAL SYN C MODE
I-"--t-"-O"WRT SO::E~h.LL RCOCNHD1~tocNTERS
1 1 Rx!NT ON SPECIAL CONDITION 0 0 Xl CLOCK MODE
L.....:O....L.....::.....JONLY
WAIT/DMA REQUEST ON RECEIVE/TRANSMIT 0 1 x16 CLOCK MODE
1 0 X32 CLOCK MODE
WAIT/DMA REQUEST FUNCTION
WAIT/DMA REQUEST ENABLE 1 1 X64 CLOCK MODE
-~-~----SHARP'-'---------'
471
Z85.30/Z8530A Serial Communications Controller ,LH8530/LH8530A
• Write Register 5
Tx CRC ENASLE
RTS
SDLC/CRC·16
Tx ENABLE
SEND BREAK
Tx 5 BITS (OR LEssl/CHARACTER
~-+-7-I
1---:'--+-7-1 Tx 7 BITS/CHARACTER
1, 0 Tx 6 BITS/CHARACTER
1 1 Tx 8 BITS/CHARACTER
DTR
Write Register 6
. SYNC 7 SYNC,
I
SYNCs SYNC. SYNC3 SYNC2
I SYNC!
1
SYNCo MONOSYNC, 8 BITS
SYNC! SYNCo SYNCs SYNC. SYNC3 SYNC2 SYNC! SYNCo MONOSYNC, 6 BITS
SYNC7 SYNCs SYNCs SYNC. SYNC3 SYNC2 SYNC! SYNCo BISYNC, 16 BITS
SYNC3 SYNC2 SYNC! S.YNCo 1 1 1 1 BISYNC, 12 BITS
ADR7 ADRs ADRs ADR. ADR3 ADR2 ADRI ADRo SDLC,8 BITS
ADR7 ADRs ADRs ADR. x x x x SDLC,4 BITS
(ADDRESS RUN)
• Write Register 7
472
Z8530/Z8530A Serial Communic~ions Controller LH8530/LH8530A
I D7 ID6 I Ds I D. IDa I D2 I DJ I Do I
NV
VIS
I
LOWER BYTE OF TIME CONSTANT
DLC (IEO="Low")
MIE
STATUS HIGH/STATUS LOW
o • Write Register 13
o 0 NO RESET
o 1 CHANNEL B RESET
o CHANNEL A RESET I~I~I~I~I~I~I~I~I
1-='-+--=-1-1 FORCE HARDWARE RESET
I
UPPER BYTE OF TIME CONSTANT
\
• Write Register 10
Write Register 14
I D7 D6 Ds D. I D3 I D2 I DJ IDo I D7 I D6 I Ds I D. I 0 3 I D2 I DJ I Do I
LL~
6 BIT /8 BIT SYNC
P MODE
,-ABORT/ FLAG ON UNDERRUN
L BRG'-BR GENERATOR ENABLE
ENERATOR SOURCE
=PC LK/RTxC PIN INPUT
_DTR/RE QUEST
'--MARK/FLAG IDLE FUNCTI ON
......AUTO ECHO
-GO ACTIVE ON P OLL
'-LOCAL LOOPBAC K
0 0 NRZ
0 0 0 NULL COMMAND
0 1 NRZI
0 0 1 ENTER SEARCH MO DE
1 0 FMl (TRANSITION = 1) 0 1 0 RESET MISSING CL OCK
1 1 FMO (TRANSITION = 0) 0 1 1 DISABLE DPLL
"-,CRC PRESET I/O 1 0 0 SET SOURCE = BR GENERATOR
1 0 1 SET SOURCE = --C
RTx
1 1 0 SET FM MODE
1 1 1 SET NRZI MODE
• Write Register 11
Write Register 15
I D7 D6 Ds D. D3 D2 DJ Do'
I I
0 0 TRxC OUT=XTAL OUTPUT
0 1 TRxC OUT = TRANSMIT CLOCK o
1 0 11IxC 00f= BR GENERATOR 00I'IUl'
1 1 TRxC OUT = DPLL OUTPUT o
'-- TRxC 0 /1 DCD IE
SYNC/HUNT IE
0 0 TRANSMIT C LOCK = RTxC PIN CTSIE
0 1 TRANSMIT C LOCK = TRxC PIN Tx UNDERRUN /EOM IE
1 0 TRANSMIT CLOCK = BR GENERATOR OUTPUT BREAK/ABORT IE
1 1 TRANSMIT CL OCK = DPLL OUTPUT
473
Z8536/Z8536A Counter/Timer and Parallel 110 Unit LH8536/LH85.36A
LH8536/LH8536A
CounterlTimer and Parallel 110 Unit
Z8536/Z8536A
• Description • Pin Connections
The LH8536 Z8536 CIO Counter/Timer and /'
Parallel I/O element is a general-purpose 03
peripheral circuit, satisfying 1I10st counter/timer 0 .02
and parallel 110 needs encountered in system
designs. This versatile device contains three I/O 01
ports and three counter/timers. Many progrllmm- Do
able options tailor its configuration to specific CE
'applications. The use of the device is simplified Ao
by making all internal registers (command, status, Al
and data) readable and (except for status bits) PAo
writable. In addition, each register is given its
PAl
own unique internal address, so that any register
can be acces\ed in two operations. All data regis-
ters can be directly accessed in a single opera- PA3
tion. The LH8536 is easily interfaced to all popular PA.
microprocessors_ PAs
The LH8536A Z8536A CIO is the high speed PAs
version which can~ operate ,at 6 MHz system clock. PA7
INTACK
INT
• Features +5V
PC3
1. Two independent 8-bit,' double-buffered,
bidirectional 110 ports plus a 4-bit special-
purpose 110 port. 110 ports feature pro- Top View
grammable polarity, programmable direction
(Bit mode),"pulse catchers," and progra1l1I1labie
open drain outputs.
2. Four handshake modes, including 3-Wire (like
the IEEE-488).
3. REQUEST /W AIT signal for high -speed data
transfer.
4. Flexible pattern-recognition logic, program-
mable as a "l6-vector interrupt controller.
5. Three independent 16-bit counter/timers with
up to four external access lines per counter /
timer (count input, output, gate, and trigger),
and three output duty cycles (pulsed, one-shot,
and squarewave), programmable as retrigger-
able or nonretriggerable.
6. Easy to use since all registers are read/write.
--~--""-'--SHARP""'-'-''---'-'-,'-'
474
Z8536/Z8536A Counter/Timer and Parallel I/O Unit LH8536/LH8536A
• Block Diagram
Interrupt Enable In
Interrupt Enable Out Interrupt
Control
Interrupt Req~est Logic
Interrupt Acknowledge
Data Bus
Read
Write
An
AI
Chip Enable
Clock
GND Port B
+5V
• Pin Description
Pin Meaning 110 Function
Ao. Al Address select I Register select lines
- Active low. A low level on this input enables the CIO to
CE Chip enable I
be read from or written to.
Bidirectional
Do-D 7 Data bus System data bus
3-state
Active high. lEI is used to form an interrupt daisy chain
IEI Interrupt enable input I
which determines the interr1)pt priority order.
Active high. lEO is used to form an interrupt daisy
lEO Interrupt enable output 0
chain which determines the interrupt priority order.
-- Active low. open-drain. Indicates an interrupt to the
INT Interrupt request 0
CPU.
--- Active low. Indicates that an interrupt acknowledge cy·
INTACK Interrupt acknowledge I
cle is in progress.
Bidirectional
PA o-PA 7 I/O ·port lines Parallel 110
3-state
Bidirectional
PB o-PB 7 liD port lines Parallel I/O
3-state
Bidirectional
PC O-PC 3 I/O port lines Parallel I/O
3-state
RD Read I Active low. Indicates that a CPU is reading.
WD Write I Active low. Indicates that a CPU is writing.
PCLK Clock I Single-phase clock. It does not have to be the CPU clock.
475
Z8536/Z8536A Couter/Timer and Parallel I/O Unit LH8536/LH8536A
~'2kfl
2.2kfl .
From output
under test O-......_.-Jo.-~
From output
under test
;+;50PF
• Capacitance (f=IMHz.,Ta=0-+70·C)
• AC Characteristics
(1) CPU interface timing, interrupt timing, and interrupt acknowledge timing
LH8536 LH8536A
No. Symbol Conditions Unit Note
MIN. MAX. MIN. MAX.
1 TcPC PCLK cycle time 250 4000 165 4000 ns
2 TwPCh PCLK width (high) 105 2000 70 2000 ns
3 TwPCI PCLK width (low) 105 2000 70 2000 ns
4 TrPC PCLK rise time 20 10 ns
5 TfPC PCLK fall time 20 15 ns
6 TsIA(PC) INT ACK to PCLK t setup time 100 100 ns
7 ThIA(PC) INT ACK to PCLK t hold time 0 0 ,', ns
8 TsIA(RD) INT ACK to RD l setup time 200 200 ns
9 ThIA(RD) INT ACK to RD t hold time 0 0 ns
10 TsIA(WR) INTACK to WR l setup time 200 200 ns
-----.--~-------SHARP ----------
476
Z8536/Z8536A Counter/Timer and Parallel I/O Uuit LH8536/LH8536A
LH8536 LH8536A
No. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
11 ThIA(WR) INTACK to WR t hold time 0 0 ns
12 TsA(AD) Address to RD ! setup time 80 80 ns
13 ThA(RD) Address to RD t hold time 0 0 ns
14 TsA(WR) Address to WR ! setup time 80 80 ns
15 ThA(WR) Address to WR t hold time 0 0 ns
16 TsCEI(RD) CE low to RD ! setup time 0 0 ns 1
17 TsCEh(RD) CE high to RD ! setup time 100 70 ns 1
18 ThCE(RD) CE to RD t hold time 0 0 ns 1
19 TsCEI(WR) CE low to WR! setup time 0 0 ns
20 TsCEh(WR) CE high to WR ! setup time 100 70 ns
21 ThCE(WR) CE to WR t hold time 0 0 ns
22 TwRDl RD low width 390 250 ns 1
23 TdRD(DAR) RD ! to read data active delay 0 0 ns
24 TdRDf(DR) RD ! to read data valid delay. 255 180 ns
25 TdRDr(DR) RD t to read data not valid delay 0 0 ns
26 TdRD(DRz) RD t to read, data float delay 70 45 ns 2
27 TwWRI WR low width 390 250 ns
28 TsDW(WR) Write data to WR ! setup time 0 0 ns
29 ThDW(WR) W rite data to WR t hold time 0 0 ns
30 Trc Valid access recovery time 1000 650 ns 3
31 TdPM(INT) Pattern match to INT delay(bit port) 2+800 2 ns 6
32 TdACK(INT) ACKIN to INT delay(port with handshake) 10+600 10 ns 4,6
33 TdCI(INT) Counter input to INT delay(counter mode) 2+700 2 ns 6
34 TdPC(INT) PCLK to INT delay(time mode) 3+700 3 ns 6
35 TsIA(RDA) INT ACK to RD ! (acknowledge)setup time 350 250 ns 5
36 TwRDA RD(acknowledge)width 350 250 ns
37 TdRDA(DR) RD ! (acknowledge)to read data valid delay 250 180 ns
,
38 TdIA(IEO) INT ACK ! to lEO ! delay 350 250 ns 5
39 TdIE(IEO) lEI to lEO delay 150 100 ns 5
,
40 TslEl(RDA) lEI to RD ! (acknowledge) setup time 100 70 ns 5
41 ThlEl(RDA) lEI to RD t (acknowledge) hold time 100 70 ns
42 TdRDA(INT) RD ! (acknowledge)to INT t delay 600 600 ns
Note 1: Paramater does not apply to, Interrupt Acknowledge
transactions.
Note 2: Float delay is measured to the time when the output has
changed 0.5 V with minimum AC load and maximum DC
load. '
Note 3: Trc is the specified number or 3 TcPC, whichever is
longer. ".
Note 4: The delay is from DAV l for 3·Wire Input Handshake.
The delay is from DAC t for 3·Wite OutP~t Hand·
shake.
Note 5: The parameters for the devices in any particular daisy
chain must meet the following constraint: The delay
from INT ACK l to RD l must be greater than the
sum of TdIA(IEO)for the highest priority peripheral.
TsIEI(RDA)for the lowest priority peripheral, and
TdIEI(lEO)for each peripheral separating them in the
chain,
Note 6: Units are equal to TcPC plus ns.
477
Z8536/Z8536A Counter/Ti~er and pa:r~lIell/OUnit"', , LH853EVLH8536A
PCLK
{fl ®
®,
eD
®
"
,',
,@®
INTACK
Do-D7 (WRITE) _ _ _ _J
CE I l~
RD or WR .JI+.::-.::---------.;-\=~~@_-_-..J-r-'
-,-~--~~,
"':"':':--
Interface timing
PATTERN MATCH~
Pattern matches
INPUT(S)
BIT PORT
._
-----®----.~I ---:----:---
ACKIN --..!:.::~~-
Note 4 ~------oj-------
, COUNTER _ _ _J
INPUT ~_~:§@~=~_ _ _ _ __
PCLK
Interrupt timing
478
....., ....
.Z8536/Z8536A Counter and Parallel 110 Unit
.....,..-.....,.....,
INTACK
.........,...... .... ..-
LH8536/LH8536A
.....,..-.---.....,..--
Do-D1
IEI ______~~~~~~-4--------~f~----__
19 TdDA Vlr(DAC)
DAV t to DAC l delay input 3-wire hand-
a a ns
shake
DAV l to DAC t delay output 3-wire hand-
2a TdDAVOf(DAC) a a ns
shake
Data output to DAC t hold time 3-wire hand-
21 ThDO(DAC) 2 2 ns 2
shake
DAC t to DAV t delay output 3-wire hand-
22 TdDAClr(DA V) 2 2 ns 2
shake
DAV t to DAC l delay output 3-wire hand-
23 TdDA VOr(DAC) a a ns
shake
Note 1: This time can be extended through the use of deskew timers.
Note 2: Units equal to lfcPC.
~..-..------SHARP-"":-------'-'
479
Z8536/Z8536A Counter/Timer and Parallel I/O Unit .LH8536/lH8536A
DATA ~.
.. Data va.lid ~_ _ _ _ _ _ _ _ _ _ _ _ __
----Jl=m @~' ~_____ @____~~I
ACKIN
-----.I
INPUT (INPUT)
RFD
(OUTPUT)
DATA
f-----@-----I
ACKIN
OUTPUT (INPUT)
DAV
(OUTPUT)
Strobed handshake
DATA
ACKIN
INPUT (INPUT)
RFD
(OUTPUT)
ACKIN
OUTPUT (INPUT)
DAV
(OUTPUT)
Interlocked handshake
--~------------SHARP----~---------
480
Z8536/Z8536A Counter/Timer and Parallel I/O Unit LH8536/LH8536A
DATA
DAV ----~I
(INPUT)
INPUT
RFD ------+--,J
(OUTPUT)
DAC
(OUTP_UT...;..) _ _ _ _ _J
DATA
DAC
(INPUT-')_ _-+_ _ _ _I
OUTPUT
RFD
(INPUT)
DAV ---...;...~
(OUTPUT)
3-wire handshake
----.-----------SHARP.-.-.-----~
481
Z8536/Z8'536A Counter/Timer and Parallel 110 Unit LH8536/LH8536A
PCLK
PCLK/2
(INTERNAL) _ _ _--'
COUNTER
INPUT
TRIGGER
INPUT
GATE INPUT
OUTPUT ----------------------------~.~--
COUNTER ____________________________ J~~--
Counter/timer timing
/
• Functional Description
482
Z8536/Z8536A Counter/Timer and Parallel I/O Unit LH8536/LH8536A
~.-----....--.-SHARP-.---------
483
Z8536/Z8535ACounter/Timer and Parallel 1/0 Unit . . LH85361LH8q36A
provided by the four most significant bits of port B. 2's trigger, gate, or counter input.
Counter/Timer 2's are provided by the four least When linked, the counter/timers have the same
significant bits of Port B. Counter/Timer 3's external capabilities as when used separately. The only res-
110 lines are provided by the four bits of Port C. The triction is that when Counter/Timer 1 drives
utilization of these lines (Table 2) is programmable Counter 2's count input, Counter/Timer 2 must be
on a bit-by·bit basis via the Counter/Timer Mode programmed with its external count input disabled.
Specification registers. There are three duty cycles available for the
timer / counter output: pulse, one-shot, and square-
Table 2 Counter/timer external access wave. Fig. 4 shows the counter/timer waveforms.
CIT! C/T2 C/T3
Counter/timer operations require loading the
Function
PB4 PBo PCo
time constant value in the Time Constant register
Counter ITimer Output
PBI PCI
and initiating the countdown sequence by loading
Counter Input PB5
PBG PB2 PC2
the down-counter with the time constant value.
Trigger Input
PB7 PB3 PC3
The Time Constant register is accessed as two 8-
Gate Input
bit registers. The registers are readable as well as
Lines used for counter/timer 110 have the same writable, and the access order is irrelevant.
characteristics as simple input lines, they can be Once the down-counter is loaded, the countdown
specified as inverting or noninverting; they can be sequence continues toward terminal count as long
read and used with the pattern· recognition logic. as all the counter/timers' hardware and software
They can also include the 1 's catcher input. gate inputs are High. If any of the gate inputs Low
Counter/Timers 1 and 2 can be linked inter· (0), the countdown halts. It resumes when all gate
nally in three different ways. Counter/Timer l's inputs are 1 again.
output (inverted) can be used as Counter/Timer.
PCLK/2aR~~
caUNTERINPUT .
TRIGGER ~
-------, fI
GATE
L-J TC
! TC / TC-l/TC-l!TC-2/ .... I I ! all
PULSE OUTPUT r-l
--------Irr------J '--
ONE SHOT OUTPUT ,I
485
, , , ," , , ". \ ,
• Internal Registers
The followings, illustrate the contents of the
registers and, In addition, given to register,
address summary.
• Master Interrupt Control Register (MICR)
AIIdress : 000000
(Read/Write)
I'~I~I~I~I~I~I~I~I
MASTERmTERRUPT~
ENABLE (MfE)
DISABLE LOWER CHAIN (DLC)
I I I LL= ,
ILRESET
LRIGHT JUSTiFIED ADDRESSES
0= Si-lIFT LEFT (Ao from AD!)
NO VECTOR (NV) 1 = RIGHT JUSTIFY(Ao from ADo)
COUNTER/TIMERS VECTOR
PORT A VECTOR INCLUDES
STATUS (PA VIS) INCLUDESSTATUS(CT VIS)
PORT B VECTOR INCLUDES _ _ _ _ _----'
STATUS (PB VIS)
Address: 000001
( Read/Write)
1
1
PORT TYPE
PTS 1 PTS 0 SELECTS {PT
o 0 BIT PORT
o 1 INPUT PORT
0 OUTPUT PORT
I~I~I~I~I~I~I~I~I
~J
1 BIDIRECTIONA L PORT
INTERRUPT ON TWO BYTES '(ITB)
1L
PMSI
LATCH ON PATTERN MATCH (LPM)
BIT MODE)
DESKEW TIMER ENABLE (DTE)
HANDSHAKE MODES)
PATT:ERN MODE SPECIFICATION BITS (PMS)
P MS'O
SINGLE BUFFERED MODE (S B) 0 --DISABLE
0 PATTERN MATCH
INTERRUPT ON MATCH ,ONL Y IMO) 0 1 "AND"MODE
1 1 "OR" MODE
1 1 " OR PRIORITY ENCODED
~~~~~,~'-~SHARP~~~--'-""""'-----
. ,
VECTOR" MODE
486
Z8536/Z8536A Counter/Timer and Parallel I/O Unit LH8536/LH8536A
HTSI
HANDSHAKE TYPE ----'-T
SPECIFICATION BITS (HTS)----.J
HTSO
--
(ReadIWrite)
I~I~I~I~I~I~I~I~I
DESKEW TIME SPECIFICATION
I
L---BlTS
SPECIFIES THE MSB's OF
DESKEW TIMER TIME CONSTANT.
o o INTERLOCKED HANDSHAKE LSB IS FORCED 1.
o 1 STROBED HANDSHAKE REQUEST/WAIT SPECIFICATION BIT(RWS)
1 o PULSED HANDSHAKE RWS 2 RWS 1 RWS 0 FUNCTION ..
1 1 THREE-WIRE HANDSHAKE --0- --0- -O-REQUESTIWAIT DISABLED
o 0 1 OUTPUT WAIT
o 1 1 INPUT WAIT
1 0 0 SPECIAL REQUEST
1 0 1 OUTPUT REQUEST
1 1 INPUT REQUEST
(Read/Partial Write)
. \ .
~'-~--'-----SHARP'----'-'---""--
487
~
•
........... -
Z8~6iz8536A6dunt~r/Timer and
---.....
Data Path Polarity Registers (DPPR)
...,............-.
Parallel' I/O Unit
•
_
..... ...............
ilH8536/lH8536A
I~I~I~I~I~I~I~I~I 1~1~1~1~1~1~1~1~1
I. , i
DATA PATH POLARITY (DPP) SPECIAL INPUT/OUTPUT (SIO)
0= NON-INVERTING 0= NORMAL INPUT OR OUT PUr
1 = INVERTING . 1 = OUTPUT WITH OPEN DRAIN -OR
INPUT WITH I's CATCHER
4 MSBs
o= WRITING OF CORRESPONDING LSB ENABLED
1 = WRITING OF CORRSPONDING LSB INHIBITED
(READ RETURNS 1)
• Pattern Polarity Registers (PPR)
Addresses :·100101 Port A
101101 Port B I D71 Dol Dsl D41 D31 D,I 011 Do I
(Read/Write) 1
I~I~I~I~I~I~I~I~I
(IUS) ~I ~ COUNT IN
~
INTERRUPT UNDER
SERVICE PROGRESS (CIP)
(READ ONLY)
INTERRUPT ENABLE (IE)-- TRIGGER COMMAND BIT (TCB)
. . (WRITE ONLY READ RETURNS 0)
INTERRUPT PENDING (IP) GATE COMMAND BIT (GCB)
IUS, IE, AND IP ARE WRITTEN
USING THE FOLLOWING CODE: ' - - - - - - READ COUNTER CONTROL (RCC)
(READ/SET ONLY -
NULL CODE 0 0 0 CLEARED BY READING CCR LSB)
CLEAR IP & IUS 0 0 1 ' - - - - - - - - - INTERRUPT ERROR (ERR)
SET IUS 0 1 0 (READ ONLY)
CLEAR IUS 0 1 1
SET IP 1 0 0
CLEARIP 1 0 1
SET IE 1 1 0
CLEAR IE 1 1 1
. I~I~I~I~I~I~I~I~I
CONTINUOUS SIN-
GLE CYCLE (C/SC)
J JI 1\ ---,-OUTPUT DUTY CYCLE
L....SELECTS (DCS)
EXTERNAL OUTPUT ENABLE (EOE) DCS 1 DCSO
EXTERNAL COUNT ENABLE (ECE) 0 0 PULSE OUTPUT
EXTERNAL TRIGGER ENABLE (ETE) 0 lONE-SHOT 0lJ TPUT
EXTERNAL GATE ENABLE (EGE) 1 0 SQUARE-WAVE OUTPUT
l I D O NOT SPECIFY
RETRIGGER ENABLE BIT (REB)
I~I~I~I~I~I~I~I~I~I~I~I~I~I~I~I~I
MOST SIGNIFICANT BYTE-------'I IL-----LEAST SIGNIFICANT BYTE
489
Z85361Z8536A
, Counter1Timer and Parallel 110 Unit LH8536/LH85.36A
I D71 D61 D51 D.I D31 D21 DII Do I D71 D61 D51 D41 D31 D21 DI I Do I
490
Serial Parallel Combination Controller LH8571
• Features
1. Asynchronous data transfer serial port
• RS232C interface can easily be realized.
2. Printer control parallel port
• Centronics interface can easily be realized.
3. Data transfer and conversion functions by com-
mand.
• 24 commands.
4. Data conversion function .
• Serial parallel conversion.
• Binary-ASCII conversion.
• Intel hex, format acceptable for data input/
output. ,
5. 128-byte data transfer bufter.
• Useful for the serial port and parallel port.
6. Non-multiplexed bus interface.
7. 40-pin dual-in-line package.
8. Single + 5V power s~pply.
491
Serial Parallel Combination Controller , LH8571
• Block Diagram
Internal
Control Logic
Chip
492
Serial Parallel Combination Controller LH8571
• Pin Description
Pin Meaning lIO Function
Bidirectional
DBo-DB7 Data bus System data bus
3-state
AID Address/ data select I Address/ data select signal
RD Read I Active low. Indicate the system in read operation.
WR write I Active low. Indicate the system in write operation
CS Chip select I Active low. Chip selection signal
WAIT Wait 0 Active low, open-drain. Used to synchronize with CPU.
-- Active low, open-drain. Indicate interrupt request to
INT , Interrupt request 0
input.
INTACK Interrupt acknowledge I Active low. Indicate interrupt acknowledge cycle.
Active high. Used to form interrupt priority arbitration
IEI Interrupt enable input I
loop circuit (daisy chain).
lEO Interrupt enable output 0 Active high. Used to form daisy chain.
DATA1-DATA g Output data 0 Output data
DATA STROBE Data strobe 0 Active low. Indicate settlement of data.
BUSY Busy I Active high. Indicate printer in operation.
ACKNLG Acknowledge I Active high. Acknowledge signal from printer.
FAULT Fault I Active low. Indicate printer inoperable.
INPUT PRIME Prime input 0 Active low. Printer initializing signal.
SLCT Select I Active low. Printer selection signal.
RxD Received data I Receiving data line.
TxD Transmitted data 0 Transmitting data line.
RTS Transmission request 0 Active low. Indicate readiness for dflta transmission.
CTS Transmission enable I Active low. Indicate data transmission is possible.
DTR Data'terminal ready 0 Active low. Data transmission request signal.
DCD Reception enable I Active low. Indicate data reception is possible.
PCLK Clock I Single-phase clock. Need not be same as CPU clock.
+5V
From output
under test
---------~--.---SHARP ---.------.-,
493
Serial Parallel Combination Controller LH8571
• AC Characteristics
(1) CPU interface timing (Vee=5V±5%, Ta=0-+70t)
494
Serial Parallel Combination Controller LH8571
PCLK
AID
DB o -DB 7
Write
DB o-DB 7 ----------+-----~~-I~
Read ~~--_+--""fI1
Vector )
\
I--@ @i- f- -
INTACK I
~@-
~
-®j @--..
f--- @-
lEI -K
rE-@~ I---@l----oo
~.
lEO 1( \ 7
Interrupt acknowledge timing
---.-.----~--SHARP --.----------------
495
Serial Parallel Combination Controller , LH8Sn
Reset timing
TxC /
k I
TxD
===========@=~------------ Serial port timing
ACKNLG
DATAl
\
DATA. K
DATA STROBE
"'"
"-"
,
~
f-@- f--@...
Parallel port timing
496
Serial Parallel Combination Controller LH8571
T ransf er error
Limit error
Parity error
I llegal command
497
Serial Parallel Combination Controller· LH8571
1TT.
MIC L::::II=E:-,-II=U=sl~I=P:-LI_J.-...-"§==L=CJ...1~IC=S-:TI
-
T ~Command execution start
Lower chaining prohibited
L - - - - - - - - - - I n t e r r u p t holding
Interrupt under service
Interrupt enabled
• Programming
Use the registers, DSCO, DSCl, DSC2, DSC3, format using DSC2 (Fig. 3).
DSC4, DSC5, and DSC8, to specify operation mode. The result of command execution is indicated on
The 24 types of commands are made valid by first DSCO and DSC3. DSC3 indicates error status as
writing a value corresponding to the desired com- shown in Fig. 1. DSC8 is used as a buffer register
mand number into DSCO, then setting the CST bit after command 22 or 23 is executed.
on MIC. The registers DSCl, DSC2, DSC4, and Tables 3 and 4 show command functions versus
DSC5 are used to specify parameters f()r each com- registers.
°
mand. Command is used inspecifying serial data
ooc21~1~1~1~1~1~1~1~1
- - -:,-r-
T T. Parity mode
o :Even parity
1 : Odd parity
498
Serial Parallel Combination Controller LH8571
~
Code Parameter
Function Remarks
Command DSCO DSCI DSC2 DSC4 DSC5
Transfer for·
Specify transfer format
0 OOH mat and oper·
and operating mode.
ating mode
Output serial·input data to
Stop character is spe·
1 01H Stop character Centronics printer until
cified by DSC2.
the stop character arrives.
Operaion stops upon de·
Number of Output serial·input data to
2 02H tection of Control C (hex
output bytes Centronics printer.
03).
Output buffer area con·
Number of Load address Load address Address information
3 03H tents to serial port in Intel
output bytes (high order byte) (low order byte) of data is appended.
format
Read Intel format data on
4 04H serial port and store in
buffer area.
Number of Initialize block transfer
5 05H bytes of block between master CPU and
transfer buffer area.
Operation stops upon de·
Number of Output starting Output data in buffer area
6 06H tection of Control C (hex
output bytes address via serial port.
03).
Operation stops upon de·
Number of Output starting Output data in buffer
7 07H tectiOD of Control C (hex
output bytes address area to printer
03).
Convert binary data
Number of Output starting in buffer area into
8 08H
output bytes address ASCII and output via
serial port.
Convert binary data
Number of Output starting Display address Display address in buffer area into Address information
9 09H
output bytes address (high order) (low order) ASCII and output via of data is appended.
serial port.
Convert binary data
Number of Output starting in buffer area into
10 OAH
output bytes address ASCII, and output to
printer.
Convert binary data
Number of Output starting Display address Display address in buffer area into Address information
11 OBH
output bytes address (high order) (low order) ASCII, and output to of data is appended.
printer.
Read ASCII data on se·
Number of Nunber of
12 OCH rial port and store in
iutput bytes output bytes
buffer area.
Read Intel format data Used when a reader
13 ODH on serial port and store is connected to serial
in buffer area. port.
.-....-------SHARP-.-~~-----
499
Serial Parallel Combination Controller LH8571
~
Code Parameter
Function Remarks
Command DSCO DSCI DSC2 DSC4 DSC5
Read ASCII data on serial After CR reception, CR
14 OEH Output character port until arrival of CR and LF codes are sent
code. out via serial port.
Convert data in buffer
Number of Load address Load address area into Intel format, Used when a puncher is
15 OFH
output bytes (low order byte) (high order byte) and output via serial connected to serial port.
port.
Read binary data on Used when a reader
Number of
16 10H Output character serial 'port into bufferis connected to serial
input bytes
area for storage. port.
, Output data in buifer area
Used when a puncher is
Number of Output starting via serial ports. connected to serial port.
17 11H
output bytes address Opertion stops upon detec·
tion of hex 03.
Output null codes via 256 null codes out·
IS 12H
serial port. putted.
Output EOF in Intel for·
19 13H mat ( : 00000001 FF) via
serial port.
Used when a puncher
Output null codes via
20 14H is connected to serial
serial port.
port.
Output EOF in Intel for· Used when a puncher
21 15H mat ( : 00000001 FF) via is connected to serial
serial port. port.
Read I-byte data on Data is stored in
22 I6H
serial port. DSCS.
Output data written Data needs to be set
23 17H in DSCS by CPU via in DSCS prior to ex-
serial port. ecution.
--.-.--------SHARP----.-.-.-.---
500
Serial Parallel Combination Controller LH8571
~
Code Parameter
DSCO
DSCI DSC2 DSC3\ DSC4 DSC5
Cornman 1* 2* 3*
0 00 80 COH Error status flag
1 01 81 Cl~ Error status flag
2 02 82 C2~ Error status flag
3 03 83 C3H Error status flag
Number of bytes Load address Load address
4 04 84 C4H Error status flag
input+20H (high order byte) (low order byte)
5 05 85 C5H Error status flag
6 06 86 C6H Error status flag
7 07 87 C7~ Error status flag
8 08 88 C8.H Error status flag
9 09 89 C9H Error status flag
10 OA 8A CA~ Error status flag
11 OB 8B CB~ Error status flag
12 OC 8C CCH Error status flag
Number of bytes Load address Load address
13 OD 8D CDH Error status flag
input+20H (high order byte) (low order byte)
Number of bytes
14 OE 8E CEH Error status flag·
input+20H
15 OF 8F CFA Error status flag
16 10 90 DOH Error status flag
17 11 91 DIH Error status flag
18 12 92 D2H Error status flag
19 13 93 D3H Error status flag
20 14 94 D4H Error status flag
21 15 95 D5H Error status flag
22 16 96 D6H Error status flag
23 17 97 D7H Error status flag
Note 1: 1 *:Value before command execution (command Note 3: If FAULT input becomes low (printer error) during
code value) command execution, LH8571 suspends operation un·
2 *: Value upon normal completion of command ex· til FAULT returns to high (error recovery). At this
ecution. time, DSCO has bit 6 set and bit 7 reset.
3 *:Value upon abnormal completion (error) of
command execution.
These are common to all commands.
Note 2: For error status flag value, see Fig.I.
501
Serial Parallel Combination Controller
.-..-..-..-..-..-..-.....,.-:...,. ... _.... __ .....,.-.
LH8572·
.-..
502
Serial Parallel Combination Controller LH8572
• Block Diagram
Internal
Data Bus Control Logic Data Bus
<Il
ERR U
MSR
CTL
'!:"
o
TxS U
"
v
Print RxS
Chip FIFO
128Bytes
PRS
TxB
RxB
PRB
Interrupt Request
Interrupt Acknowledge
Interrupt Enable In 4
Interrupt Enable Out 3
------------SHARP---~----
503
Seria Parallel Combination Controller LH8572
• Pin Description
Pin ·Meaning I/O Function
Bidirectional
DBa-DB? Data bus System data bus
3-state
AID Address/ data select I Address/ data select signal
RD Read I Active low. Indicate the system in read operation.
WR Write I Active low; Indicate the system in write operation.
CS Chip select I Active low. Chip selection signal
WAIT Wait 0 Active low, open-drain. Used to synchronize with CPU
-- Active low, open· drain. Indicate interrupt request to
INT Interrupt request 0
CPU.
INTACK Interrupt acknowledge I Active low. Indicate interrupt acknowledge cycle.
Active high. Used to form interrupt priority arbitration
lEI Interrupt enable input I
loop circuit (daisy chain).
lEO Interrupt enable output 0 Active high. Used to form daisy chain.
DATA 1 -DATA 8 Output data 0 Output data
DATA STROBE Data strobe 0 Active low. Indicate s.ettlement of data.
BUSY Busy I Active high. Indicate printer in operation.
ACKNLG Acknowledge I Active high. Acknowledge signal from printer.
FAULT Fault I Active low. Indicate printer inoperable.
INPUT PRIME Prime input 0 Active low. Printer initializing signal.
RxD Receiving data line I Receiving data line.
TxD Transmitted data 0 Transmitting data line
RTS Transmission request 0 Active low. Indicate readiness for data transmission.
CTS Transmission enable I Active low. Indicate data transmission is possible.
DTR Data terminal ready 0 Active low. Data transmission request signal.
DCD Reception enable I Active low. Indicate data reception is possible.
PCLK Clock I Single· phase clock, need not be same as CPU clock.
+5V
• Absolute Maximum Ratings
Parameter Symbol Ratings Unit
Input voltage * VIN -0.3-+7 v
Output voltage* VOUT -0.3-+7 V From output
Operating tern perature, ·C under test
Topr 0-+70
Storage temperature Tstg -65-+150 ·C
* The maximum applicable voltage on any pin with respect
to GND.
.-.-.-.-----SHARP----------~
504
Serial Parallel Combination Controller LH8572
• AC Characteristics
-------......-.----SHARP ----.-,--...------
505
Serial Parallel Combination Controller LH8572
PCLK
AID
____ ~_r~~~----------~
DBo-DB7 --------~-4.~+-~------~~J_--~------------
write
DB o-DB 7 --------4-~--~~~Fv~~~~--~-------------
read
RD ---~-"iJ..~-l
D~o-DB7 --------------------
INTACK
IEI ____~~~~--~----~----_+~~~-----------
lEO
______ ~~~------~~------J
500
Serial Parallel Combination Controller LH8572
Reset timing
TxC I 1: I
TxD
~~~~~-------------~=-=*=------------
Serial port timing
AKCNLG ~
DATAl
\
DATA8
I--®-
I--@~/
DATA STROBE
---~-~-·--~SHARP-'-'-----------
507
Serjal· Parallel Combination Controller '1, •
LH8572
• Registers
The LH8572 has 14 registers which can be for character. format, baud rate, stop bit and
accessed externally (from CPU), and their address- parity' mode. Subsequently data required. by'
es are listed in Table 1. To make access to these .controlregister·, master interrupt control reg-
registers, the. high order 7 bits of 110 address ister' and interrupt .vector registers' (trans-
(AT AI) are decoded and fed to SS and the lowest mission, reception and printer error interrupt
order bit (Ao) is connected to A/D. This connec· vector registers) is programmed.
tion permits the assignment of 2-byte port address- (2) Clear the error status register.
es (even address and odd address) to the LH8572. (3) Wait until the data transfer enable bit in the
master interrupt control register is set to "1",
making the LH8572 operable.
Table 1 Register address In case interrupt is used, the above polling op-
eration is unnecessary_ When transmission, recep-
Address Register
tion and printer output become enabled, interrupt
x X X 00000 Error status register (ERR)
request is forwarded to the master CPU, indicating
X X XOOOOI Mode setting register (MSR)
that the LH8572 has become operable.
X X XOOOIO Control register (CTL)
Note: Registers marked by'" can be set or revised even dur-
X X XOOOll Transmission status register (TxS) ing the operation of LH8572.
X X XOOIOO Reception status register (RxS) (2) Data inpuUoutput
X X XOO.lOl Printer status register (PRS) Date transfer between LH8572 and master CPU
X X XOOll0 Transmission buffer (TxB) is carried out in accordance with the following
X X XOOll1 Reception buffer (RxB) procedure.
X X XOIOOO Printer buffer (PRB) (1) Poll the status registers (transmission, recep-
X X XOIOOI Transmission interrupt vector register (TxV) tion and printer status registers) and wait un-
X X XOIOIO Reception interrupt vector register (RxV) til they become "1". In case interrupt (trans-
X X XOIOll Printer interrupt vector register (PRV) mission, receptio'n and printer interrupt) is
X X XOll00 Error interrupt vector register (ERV) used, interrupt occurs as soon as the value of
X X X 11110 Master interrupt control register (MIC) each status register becomes "1", and polling
Note: A7-A, is decoded and applied to CS. so that the location is not necessary.
in the input/output address space is determined. Bits
(2) After the status register has been set to "1"
marked by 'x' are undefined.
(or after interrupt has occurred), begin data
transfer via the buffers (transmission, recep-
• Programming
tion and printer buffers).
The LH8572 has 14 read/write registers which
(3) Clear the status register. If the above opera.
can be accessed directly by the master CPU.
tion is implemented using an interrupt routinej
(1) Initialization
the interrupt-under-service (IUS) bit must be
The device is initialized in accordance with the
reset immediately before the end of each inter-
following procedure.
(1) Following power-on reset, or master reset by
rupt routine.
software, set the mode register is programmed
I 0 I 0 I Os I o. I 0 I 02 I 0, I 00 I
7 6 3
i
I I
Unused
Parity error
'.
Framing error
Overrun error
Printer fault
Paper out
Unused
Master reset
508
Serial Parallel Combination Controller LH8572
I D7 I D6 I Ds D. D3 D2 D, Do
I I
0 0 5 bits / character
0 1 6 bits / character
1 0 7 bits / character
1 1 8 bits / character
0 0 0 75 B
0 0 1 nOB
0 1 0 150B
0 1 1 300B
1 0 0 600B
1 0 1 1200B
1 1 0 2400B
1 1 1 4800 B
S top -bit -2/Stop -bit -1
Odd -parity /Even -parity
With -parity /Without -parity
I D7J D6 I Ds I D. I D3 I D, I D, I Do I
L RTS
I
I DTR
Transmission enabled
Reception enabled
Printer output enabled
Transmission interrupt enabled
Reception interrupt enabled
Printer interrupt enabled
I D7 I D6 I Ds I D. I D31 D2 I D, I D L
I
' - - 0
Transmission buffer empty'
~~------SHARP-----'------
509
Serial Parallel Combination Controller LH8572
Fig. 7 Transmission buffer (TxB) Fig. 11 Reception interrupt vector register (RxV)
I~I~I~I~I~I~I~I~I I~I~I~I~I~I~I~I~I
I
II-------Reception data IL------printer interrupt yector
I~I~I~I~I~I~I~I~I I~I~I~I~I~I~I~I~I
Fig. 9 Printer buffer (PRB) Fig. 13 Error interrupt vector register (ERV)
I~I~I~I~I~I~I~I~I
At reading
Master interrupt. enable (MIE)
Interrupt under service (IUS) . TUndefined at reading/"O" at writing
Interrupt pending (IP) ---!.---7----! '-----Disabled lower chaining (OLe)
' - - - - - - - D a t a transfer enable (reading only)
'--------Undefined at reading/"O" at writing
At writing I
:
I
• Features
1. Built-in talker, listener al1:d controller. Talker
function, listener function and Fontroller func-
Top View
tion are integrated in one chip.
2. Built-in buffer memory. Talker or listener
can use 160-byte on-chip buffer.
3. EO! automatic transmission. Upon detection
of the last byte of or EOS in talker mode, EO!
signal is transmitted automatically.
4. EOS automatic detection. Upon reception of
EOS in listener mode, the CPU is informed.
5. Built-in timer. The bus time-out period for
handshaking can be set by the on-chip timer in
the range of 200 I'-s to 12ms at 50 I'-s in-
terval.
6. Interrupt function. Interrupt arbitration facil-
ity of daisy-chain type is provided, allowing
vectored interrupt to CPU.
7. 40-pin dual-in-line package
8. Single+5V power supply
.-----.-,--SHARP-....-.~-~---
511
General Purpose Interface Bus Controller LH8573
• . Block Diagram
GPffi
'Data Bus
Data Bus
IFC IN
IFC OT
SRQ/RENIN
9 REN/SRQOT
CONTI
TE
ATN
DAV
NDAC
NRFD
Interrupt Enable Out 3, EO!
Interrupt Enable In 4. CONn
Interrupt Request 5 Internal
Interrupt Acknowledge 6 Control L'!gic
--------SHARP------l----
, -----
512
Multitask Support Processor LH8575
~
DB2 Pb
1. Matching with any CPU
DB, Pb
• The LH8575 operates only in response to
DBo Plo
commands which are issued by the main
CPU. The system may have any type of CPU Top View
provided it is responsive to interrupt access
by the LH8575.
2. Task management
• Up to eight tasks can be controlled concur-
rently. By using the task creating and delet- 6. 20-bit general-purpose 110 port
ing technique, a maximum of 255 tasks can • Two 8-bit ports operable in bit input/
be handled. output
• Tasks can be controlled on a priority basis • 2-bit input ports and 2-bit output ports
by the assignment of 255 priority levels. • Tasks can be resumed using the 2-bit input
3. Inter-task communication ports.
• Inter-task communication is possible using 7. Memory assignment.
the "mail box' provided within the LH8575. • Working memory areas can be assigned to
• Inter-task synchronization is possible using each task.
the "mail box."
4. Built-in timer
• Timers with ranges from 10 ms to 255
hours can be used for time-sliced processes
and checking 110 wait time.
• These timers can be set independently for
each task.
5. Built-in clock.
• Time (hours, minutes and seconds) can be
set and read out.
513
Multltask Support Processor LH8575
• Block Diagram
Port 1
Data Bus
Data Bus
TCBl
MBXl Internal
Control Logic Port 2
Data Bus
Interrupt Request 5
Interrupt Acknowledge 6
Interrupt Enable Out 3
Interrupt Enable In 4
514
Maltitask Support Processor LH8575
• Pin Description
Pin Meaning I/O Function
Bidirectional
DBo-DB 7 Data bus System data bus
3-sate
AID Addressl data select I Addressldata select signal
RD Read I Active low. Indicate the system in read operation.
WR Write I Active low. Indicate the system in write operation.
CS Chip select I Active low. Chip selection signal
WAIT Wait 0 Active low, open-drain. Used to synchronize with CPU.
- Active low, open-drain. Indicate interrupt request to
INT Interrupt request 0
CPU.
INTACK Interrupt acknowledge I Active low. Indicate interrupt acknowledge cycle.
Active high. Used to form interrupt priority arbitration
lEI Interrupt enable input I
loop circuit (daisy-chain).
lEO Interrupt enable output 0 Active high. Used to form daisy chain.
Pl o -P1 7 I/O port lines I/O Parallel 1/0
P2 o-P2 7 I/O port lines 110 Parallel 110
P3 0 -P3 3 I/O port lines I/O Parallel I/O
PCLK Clock I Single-phase clock, need not be same as-CPU clock.
--.....-.-----SHARP .-----------------
515
Multitask Support Processor LH8575
• AC Characteristics ,
(1) Master CPU Interface timing
No. Symbol Parameter MIN. MAX. Unit Note
1 TrC Clock rise time 20 ns
2 TwCh Clock pulse width, high 105 ns
3 TfC Clock fall time 20 ns
4 TwCI Clock pulse width, low lao,-- . ns
5 TpC Clock period 250 " .,
,
ns
6, TsAlD{WR) AID setup time to WR ~ 80 ns
7 TsAlD{RD) AID setup time to RD ~ 80 ns
8 ThAlD{WR) AID hold time from WR t 30 ns
9 ThA/D(RD) AID :hold time fromRD t 30 ns
10 TsCSf(WR) CS low setup time to WR l 0 ns
11 TsCSf(RD) CS low setup time to RD ~ 0 ns
12 TaCSr(WR) CS high setup time to WR l I 60 ns
13 TsCSr(RD) CS high setup time to RD l 60 ns
14 ThCS(WR) CS low hold time from WR t 0 ns
15 ThCS(RD) CS 19W hold time from RD t ~
0 ns
16 TsDI(WR) Data setup time to WR l 0 ns
17 Tw(WR) WR purse width 390 ns
18 Tw(RD) RD pulse width 390 ns
19 ThWR(DI) Written data hold time from WR t 0 ns
20 TdRD(DI) Delay time from RD l to valid data ns 1
21 ThRD(DI) Readout data hold time from RD t 0 ns
22 TdRD(DIz) Delay time from RD t to data bus floating 70 ns
23 TdRD(DB A ) Delay time from RD l to r:eadout data valid 0 ns
24 TdWR(W) Delay time from WR J to WAIT l 150 ns
25 TdRD(W) Delay time from RD l to WAIT l 150 ns
26 TdDI(W) Delay time from valid data to WAIT t 0 ns
Note 1: The delay time depends on device status at the time of access by master CPU.
PCLK
AID
----~1~~--------~-----------
DBo-DB7------~-+~~~--~~~n_--~----------
(write)
....-.~-~----SHARP-.---.-.-.-~
516
Multitask Support Processor LH8575
DB o -DB 7 - - - - - - - - - - - - - - - - - -
INTACK
IEI __~~~__~____________~__~~___________
IEO ______~~------+_------
Reset timing
-------~---SHARP --~----.--.--.---
517
-(
Data input
______ -J.~~~~~~.~--------------
DAV input
RDYoutput
Port read
Input handshaking timing
RDY input
518
Multitask Support Processor LH8575
~CRT TDE~
( Halt)
Note: IP, IUS and IE bits ate set or reset by writing in these
codes,
• Programming
(1 ) Initialization ters are written at the top of each stack area.
The following describes the task control proce· (3) LH8575 is initialized. Table 2 lists the in-
dure using LH8575. itialization information to written in LH8575.
(1) The LH8575 causes interrupt for task switch- (4) When necessary, the clock is set and the port
ing. However, in order to process, a separate in- mode is specified.
terrupt processing routine must be prepared. (5) Initialization completed. To transfer control
(2) Each task is provided with a stack area. Task from the initialization routine to a task, the task
starting address and initial values for all regis- execution command (TSTR) must be executed.
519
Multitask Support Processor LH8575
---------~-------~ARP~--·--.-.--
' I .
520
Multitask Support Processor LH8575
Note 1: Commands marked by·" require PRME command execution at parameter readout completion.
Note 2: Numerals give in 'writing parameter' and 'readout parameter' indicate the order of writing and reading.
Note 3: Numerals in 'remarks' indicate the reference number of supplementary explanation.
"'-''-~--'---SHARP'''-''-----''''''''--
521
.-.- .........- .......
Multitask Support Processor
Table 4
-,..-~-~-- .....- ..........................
Command execution information
LH8575
.-
522
MiJltitask Support Processor LH8575
(1)
2. Control switch
I~'~'~'~'~'~'~'~I
L...I----Control switch
o : Bring to complete stop
1 : Halt until external event 1 (fall of P3il
2 : Halt until external event 2 (fall of P30)
(2)
2. Time base
(3)
1. Control code
I D7 I D6 I Ds , D, , D3 'D2 ! D, I Do I
LTimellase
0: Hour
1 : Minute
2 : Second
3 : 11100 second
4 or above : Cancellation
'---------Unused
L -_ _ _ _ _ _ _ _ _ _ _ Wait switch
0: Wait
1 : Time out period setting only
2. ·Count
1D7 I· D6 , Ds , D, , D3 I D2 I D, , Do I
C=Count (Count multiplied by time base becomes setup time.)
(4)
2. Only in message data 1. ·0" is not allowed.
523
fy1ultitask Support Processor L..H857&
(5)
1. Port-l mode
I D7! D6 ! Ds ! D.! D3 ! D2 ! Dl ! Do I I
2. Port-2 mode
I~!~!~!~!~!~!~!~I
I Port -2 bit I/O definition (1 for input; 0 for output)
3. Port-3 mode
I~I~I~I~I~!~I~I~I
- - -r-. T1 T Lpoc. 2 , _",.n/_''''
Port 1 : push -ps\l/opnn -drain
P31: External event 1 input
P30: External event 2 inpllt
L--------...:·Port -1 handshaking
( P3 l = DAVlIRDYI)
P32 = RDYI/DA VI
' - - - - - - - - - P o r t -2 handshaking
'(P3o =DAV2/RDY2)
P33 = RDY2/DA V2
L-_ _ _ _ _ _ _ _ _ _ Unused
524
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
Z85901Z8590A Universal
LH8590/LH8590A Peripheral Controller
• Description • Pin Connections
The LH8590 Z8590 Universal Peripheral Con·
troller (UPC) is an intelligent peripheral controller
P3!
for distributed processing applications (Fig. 3).
The LH8590 unburdens the host processor by
o P36
assuming tasks traditionally done by the host (or lEO or P37 3 P27
by added hardware), such as performing arithmet· lEI or P30 4 P26
ie, translating or formatting data, and controlling lNT or P35 5 P25
I/O devices. Based on the Z8 microcomputer lNT ACK or P32 6 P2.
architecture and instruction set, the LH8590 con·
P23
tains 2K bytes of internal program ROM, a 256·
P22
byte register file, three 8-bit I/O ports, and two
P2!
counter/timers.
The LH8590 offers fast execution time, an effec· P20
tive use of memory, and sophisticated interrupt, I/ P33
0, and bit manipulation. Using a powerful and ex· P3.
tensive instruction set combined with an efficient DB7 Ph
internal addressing scheme, the LH8590 speeds DB6 Pl6
program execution and efficiently packs program
DB5 Ph
code into the on-cbip ROM.
An important feature of the LH8590 is an inter· DB. Pl.
nal register file containing I/O port and control DB3 PIs
registers accessed both by the LH8590 program
[!I
DB2. Ph
and indirectly by its associated master CPU. This DB! Ph
architecture results in both byte and programming Plo
efficiency, because LH8590 instructions can oper·
Top View
ate directly on I/O data without moving it to and
from an accumulator. Such a structure allows the
user to allocate as many general purpose registers
as the application requires for data buffers be·
tween the CPU and peripheral devices. All gener·
ai-purpose registers can be used as address point·
ers, index registers, data buffers, or stack space.
525
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
• Block Diagram'
UPC Micro,\omputer
Address/Data I 0
Bus
1,0
526
Z8590lZ8590A Universal Peripheral Controller LH8590/LH8590A
• Pin Description
Pin Meaning lIO Function
Bidirectional
DBo-DB7 Data Bus System data bus
3-state
A/D Address/Data Select I Address/ data select signal
- Active low. Indicates that reading operation is in prog·
RD Read I
ress.
- Active low. Indicates that writing operation is in prog-
WR Write I
ress.
CS Chip Select I Active low. Chip select signal
-- Active low. Open-drain. Used for synchronization with
WAIT Wait 0
the CPU.
Pl o-P1 7 lIO Port Lines I/o Parallel lIO
P2 o-P2 7 lIO Port Lines I/O Parallel lIO
P3 o-P3 7 lIO Port Lines I/O Parallel lIO
Single-phase clock. This clock does not need to be re-
PCLK Clock I
lated to the CPU clock.
50 PF
r
Standard test load 1
50 PF
r
Standerd test load 2
~'-------SHARP---------
527
\ ' ,
• AC Characteristics
(1) Master CPU int~rface timing (Vcc=5V±5%. Ta=0-+70t:)
LH8090 LH8090A
Np. Symbol Parameter Unit Note
MIN. MAX. MIN. MAX.
1 TrC Clock rise time 20 15 ns
'2 TwCH I Clock high width 105 1855 70 1855 ns
3 TfC Clock fall time 20 10 ns
4 TwCl Clock low width 105 1855 70 1855 ns
5 TpC , Clock period 250 2000 165 2000 ns
6 TsA/D(WR) AID to WR ~ setup time 80 80 ns
7 TsA/D(RD) AID to RD ~ setup time 80 80 ns
8 ThA/D(WR) WR to: AID t hold time 30 25 ns
9 ThA/D(RD) RD to AID t hold time 30 25 ns
10 TsCSf(WR) CS ~ to WR ~ setup time 0 0 ns
11 TsCSf(RD) CS ~ to RD ~ setup time 0 0 ns
12 TsCSr(WR) CS t to WR ~ setup time 60 60 ns
13 TsCSr(RD) CS t to RD ~ setup time 60 60 ns
14 ThCS(WR) WR to CS ~ hold time 0 0 ns
15 ThCS(RD) RD to CS ~ hold time 0 0 ns
16 TsDI(WR) Data in to WR ~ setup time 0 0 ns
17 Tw(WR) WR low width 390 250 ns
18 Tw(RD) RD low width 390 250 ns
19 ThWR(DI) Data in to WR t hold time 0 0 ns
20 TdRD(DI) Data valid from RD ~ delay ns 1
21 ThRD(DI) Data valid to RD t hold time 0 0 ns
22 TdRD(DIz) Data bus float from RD t delay 70 45 ns
23 TdRD(DBA) RD ~ to read data active delay 0 0 ns
24 TdWR(W) WR *
to W AIT ~ delay 150 150 ns
25 TdRD(W) RD ~ to W AIT ~ delay ",
150 150 ns
,26 TdDI(W) Data valid to WAIT t delay 0 0 ns
Note: The timing characteristics given reference 2,OV as High and O.8V as Low. All output ac parameters use test load l.
Note 1: This parameter is dependent on the state of LH8590 at the time of master CPU access.
528
Z8590/8590A Universal Peripheral Controller LH8590/LH8590A
PCLK
AID
------Jl~--------------~
DBo-DB7
READ CASE--------t-~_jit-1~~~~~--~1J~---------
529
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
DATA IN ---------'.~~~~~~~r~------------------
DAV INPUT
RDY OUTPUT
Port read
Input handshake timing
RDY INPUT
Reset timing
-----..-.---------SHARP -----------.-....-
530
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
~ --
@---
I
~@-1
X Valid address J(
®- ----
MR/W
(RAM VERSION ~ l(
ONLY )
MDS
WRITE CASE
Do-D7 r--
:j=@'
CV ®
r-@~
~@1t
@ Data input valid
-@ I~@-
531
Z8590/Z8590AUniversai Peripheral Controller LH8590/LH8590A
• Functional Description
(1) Address space. register address locations are shown in Fig. 2. Of
On the 40-pin UPC, all
address space is commit· the 256 UPC registers, 19 can be directly accessed
ted to on-chip memory. There are 2048 bytes of by the master CPU; the others' are accessed in·
maskprogrammed ROM and ,256 bytes of register direcly via the block transfer mechanism.
file. 110 is memory-mapped to three registers in' UPC instructi~ns may access registers directly
the register file. or indirectly using an 8-bit address mode or a
Program Memory Fig. 1 is a map of the 2K 4-bit address mode and a Register Pointer. For the
on-chip program ROM.The first 12 bytes of prog· 4-bit addressing mhde, the file is divided into 16
ram memory are reserved for the LH8590 inter· working register groups, each occupying 16 con·
rupt vectors. tiguous locations (Fig.3).
Register File This 256-byte file includes Stacks An 8-bit Stack Pointer (SP), register
three 1/0 port registers (l H-3 H), 234 general-pur· R255, is used for addressing the stack, residing
pose reginters (6 H- EF H), and 19 control, status ~nd within the 234 general-purpose registers, address
specical 110 registers (OH, 4 H, 5H, and FOH-FFH). location 6H through EFH.
The functions and mnemonics assigned to these
IDENTIFIER
LOCATION (UPC Side)
FFH STACK POINTER, SP
FEH MASTER CPU INTERRUPT CONTROL MIC
FDH REGISTER POINTER RP
FCH PROGRAM CONTROL, FLAGS FLAGS
FBH UPC IlI/TEBRUPT MASK REGISTER I MR
FAH UPC INTERRUPT REQUEST REGISTER I RQ
F9H UPC INTERRUPT PRIORITY REGISTER I PR
F8H PORT 1 MODE PIM
F7H PORT 3 MODE P3M
F6H PORT 2 MODE P2M
F5H ToPRESCALER PREO
F4H TIMER/COUNTER 0 TO
2047 F3H Tl PRES CALER PREI
F2H TIMER/COUNTER 1 T1
USER
FlH TIMER MODE TMR
ROM
, FOH MASTER CPU INTERRUPT VECTOR REG,
, - MIV
EFH
LOCATION OF FIRST BYTE OF INSTRUCTION
12 EXECUTED AFTER RESET
11 IRQ 5 LOWER BYTE '
10 IRQ 5 UPPER BYTE GENE~~L-PURPOSE
532
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
FF H
FDH
.-- oI I I I o0 0 0 FOH
EFH
EOH
DFH
DOH
CFH
COH
BFH
BOH
AFH
AOH
9FH
90H
The 4 -bit register 8FH
pointer provides the The lower nibble .of
80H
upper nibble of the 7FH the register file
75H(01110101)
register file addres s 70H address (0101) is
6FH provided by the instruction.
for the 4 - bit addres S
60H
mode. 5FH
50H
4FH
40H
3FH
30H
2FH
20H
IFH
IOH
OFH
0
r
Mode register (PIM) F8H. This port is accessed by I IRQ 3
the UPC program as general register IH. LH8590
P3!
30 I IRQ 2
Port 1 may be placed under handshake control Iterrupt Request'
P3 3 I IRQ!
by programming Port 3 Mode register (P3M) F7H.
Port 2 Individual bits of Port 2 can be con- Counter ITimer j P3! , 0
I TIN
P3 6 TOUT
figured as inputs or outputs by programming Port ' INT
P3 5 0
2 Mode register (P2M) F6H. This port is accessed P3 2 I IN TACK
by the UPC program as general register 2H, and Master CPU
P3 0 I lEI
its functions and methods of programming are the P3 7 0 lEO
same as those of Port 1. * P3 0 • P3\. and P3 3 can always be used as upe interrupt, reo
Port 3 This port can be configured as I/O or quest inputs. regardless of the configuration programmed .
.-----~-.---SHARP.-.--------~-
533
Z8590/Z8590A Universal Pe-ripheral Controller LH8590/LH8590A
...-.----~-~--SHARP'~--.----.-.~-
.{
534
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
• Instructions
(1) Addressing modes Assignment of a value is indicated by the sym-
The following notation is used to describe the bol ".... ". For example,
addressing modes and instruction operations. dst +- dst + src
IRR Indirect register pair or indirect work- indicates that the source data is added to the des-
ing-register pair address tination data and the result is stored in the des-
Irr Indirect working-register pair only tination location. The notation "addr(n)" is used to
x Indexed address refer to bit "n" of a given location. For example to
DA Direct address refer to bit"n" of a given location. For example,
RA Relative address dst (7)
1M Immediate refers to bit 7 of the destination operand.
R Register or working-register address (3) Flags
r Working-register address only Control Register 252 contains the following six
IR Indirect-register or indirect working- flags:
register address C Carry flag
Ir Indirect working~register address only Z Zero flag
RR Register pair or working-register pair S Sign flag
address V Overflow flag
(2) Additional symbols D Decimal-adjust flag
dst Destination location or contents H Half-carry flag
src Source location or contents Affected flags are indicated by:
cc Condition code (see list) o Cleared to zero
@ Indirect address prefix 1 Set to one
PC Program Counter * Set or cleared according to operation
SP Stack Pointer (control register 255) Unaffected
FLAGS Flag register (control register 252) X .Undefined
RP Register Pointer (control register 253) (4) Condition codes
IMR Interrupt Mask register (control register Table 3 shows condition code.
251)
Table 3 Condition codes
Value Mnemonic Meaning Flags set
1000 Always true .........
0111 C Carry C=l
1111 NC No carry C=O
0110 Z Zero Z=l
1110 NZ Not zero Z=O
1101 PL Plus S=O
0101 MI Minus S=l
0100 OV Overflow V=l
1100 NOV No overflow V=O
0110 EQ Equal Z=l
1110 NE Not equal Z=O
1001 GE Greater than or equal (S XOR V)=O
0001 LT Less than (S XOR V)=l
1010 GT Greater than (Z OR (S XOR V)) =0
0010 LE Less than or equal (Z OR (S XOR V)) = 1
1111 UGE Unsigned greater than or equal C=O
0111 ULT Unsigned less than C.=l
1011 UGT Unsighed greater than (C=O AND Z=O)=l
0011 ULE Unsigned less than or equal (C OR Z)=l
0000 Never true .........
535
Z~90/Z8590A Uni~ersal Peripheral Controller. " LH 8590/LH8590A
~ 7
R, IR,
PUSH PUSH TM
r •• T.
10/12,1 12/14,1 6,5
r •. Ir,
6,5
TM
R"R,
10.5
TM
IR" R,
10,5
TM
R"IM IR"IM
10,5
TM
10,5
TM
, -
6,5 ~
d~'~L"
6,5 12,0 18,0 20,0 10,5
0 SRA SRA LDC LDCI CALL LD SCF
R, IR, ra.Irf. Ira ,ITT! IRR, DA ra.x, R
-
6,5 6,5 6,5 10,5 10,5 10,5 10,5 6,5
E RR RR LO LD LD LD LD CCF
R, IR, f •• lrll R"R, IR"R, R"IM IR.. IM
8,5 8,5 6,5 10,5 ----a.o
F SWAP SWAP LO LO NOP
R; . IR, Irll Ta R"IR,
~------------------~~------------------~~----~----~------------'~'~--------
Bytes per 2 3 2 3
Instruction
Lower opcode nibble Legend:
R = 8-Bit Address
Execution cycles 1 Pipeline cycles
r = 4-Bit Address,
R1 or r 1 = Dst address
R2 or r2 = Src Address
01 8F ------
IMR171-0 RRC dst R CO ****--
OJNZ r,dst RA rA ------ 4::D-I7 0~ IR Cl
r+-r-l r=O-F
SBC dst, src (Note 1) 30 ****1*
if r+O PC-PC+dst
dst-dst-src-C
Range' +127--128 DF 1-----
SCF
EI 9F ------ C-l
IMR(7)-1
***0--
INC dst
dst-dst+ 1
r rE
r=O-F
-***-- SRA dst
4:£Jr111 of IRR DO
Dl
R 20 SRP src 1M 31 ------
IR 21 RP-src
INCW dst RR AO -***-- SUB dst, src (Note 1) 20 ****1*
dst-dst+l IR Al dst-dst - src
IRET BF ******
~
FLAGS-@SP;SP-SP+ 1 , SWAP dst R FO X**X--
PC-@SP'SP-SP + 2'IM~(7)-1 IR Fl
JP cc, dst DA cD ------ TCM dst,src (Note 1) 60 -**0--
if cc is true c=O-F NOT dst) AND src
PC-dst IRR 30 TM dst,src (Note 1) 70 -**0--
JR cc, dst RA cB ------ dst AND src
if cc is true, c=O-F XOR dst,src (Note 1) BO -**0--
PC-PC+dst dst-dst XOR src
Ranl!e: +127--128
LO dst, src r 1M rC ------ Note 1: These instructions have an identical set of addressing
dst-src r R r8 modes, which are encoded for brevity. The first opcode nibble is
R r r9 found in the instruction set table above. The second nibble is ex-
r=O-F pressed symbolically by a 0 in this table, and its value is found
r X C7 in the following table to the left of the applicable addressing
X r D7 mode pair.
r Ir E3 For example, to determine the opcode of an ADC instruction
Ir r F3 using the addressing modes r (destination) and Ir (source) is 13.
R R E4
R IR E5 Addr Mode Lower
R 1M E6 dst src Opcode Nibble
IR 1M E7
r r [2]
IR R F5
LOC dst, src r Irr C2 ------ r Ir [ill
dst-src Irr r D2 [i]
R R
LOCI dst, src Ir Irr C3 ------
dst-src Irr r D3 R IR lID
r-r+ 1; rr-rr+ 1 R 1M lID
LOE dst, src r Irr 82 ------
dst-src Irr r 92 IR 1M ill
~-------SHARP----------------
537
Z8590/Z8590A Universal Peripheral Controller. '. LH8590/LH8590A
• Register
RO (DTC)
Date Transfer Control Regist~r
UPC register address (Hex): 00
I D7 I Da I Ds I D4 I D3 I D2 I Dl I Do I
(IRP) 1 (EOM) 0
I/O register pointer = 1
1 =:End of message
Disable data transfer =O _ _ _ _~(E=D:::X~):...J
(LERR)
Enable data transfer= 1 o =No limit error
1 =Limit error
No transfer error= O_ _ _ _ _----oc(X""E=R:,.:.R"")c..J
Transfer error= 1
R4 (LC) R5 (DIND)
limit Count Register' Date Indirect Register
UPC register address (Hex): 04 UPC register address (Hex): 05
R240 (MIV)
Master CPU Interrupt Vector Register
UPC register address (Hex): FO
I~I~I~I~I~I~I~I~I
LI------Vector data (Do=LSB)
R241 (TMR)
Timer Mode Register
UPC register address (Hex): F 1
T OUT modes
Reserved= 00
:=J L.o =No function
1 =Load To
Toout=OI
Tl out = 10 - 0 =Disable To count
Internal clock out = 11 1 =Enable To count
538
Z8590/Z8590A Universal Peripheral Controller LH8590/LH8590A
I~I~I~I~I~I~I~I~I
COUNT MODE
LTI INITIAL VALUE 0= To SINNGLE-PASS
(RANGE: 1-.258 DECIMAL I=ToMODULO-N
01-00 HEX) RESERVED
'--------PRESCALER MODULO
(RANGE: 1-64 DECIMAL
01-00 HEX)
R243 (PRE1) R246 (P2M)
Prescaler 1 Register Port 2 Mode Register
UPC register address (Hex): F3 UPC register address (Hex): F6
I~I~I~I~I~I~I~I~I
I
COUNT MODE P2o-P27 I/O DEFINITION
0= TI SINGLE PASS o DEFINES BIT AS OUTPUT
1 = Tl MODULO· N 1 DEFINES BIT AS INPUT
CLOCK SOURCE
o = EXTERNAL TIMING INPUT
(TlN)MODE
1 = Tl INTERNAL
' - - - - - - - - PRES CALER MODULO
(RANGE: }-64 DECIMAL
01-00 HEX)
R244 (TO)
Counter/Timer 0 Register
UPC register address (Hex): F 4
I~I~I~I~I~I~I~I~I
L I - - - - - T o INITIAL VALUE
(RANGE: 1-258 DECIMAL
Oi-OO HEX)
R247 (P3M)
Port 3 Mode Register
UPC register address (Hex): F7
-.----------SHARP.....-..------.-.--
539
...........-....-..--------.-w.....---------
Z859O'/Z859O'A Universal Peripheral Controller
R248 (PIM)
I
LH859O'/LH8590A
1~1~1~1~1~1~1~1~1
1'-------P1ocPb I/O DEFINITION
o DEFINES BIT AS OUTPUT
1 DEFINES BIT AS INPUT
, R249 (IPR)
Interrupt Priority Register
upe register address (Hex): F9 (Write Only)
I D7 I D6 I Ds I D. D3 I D2 I Dl I Do I
RESERVED :J I IRQl, IRQ4 PRIORITY (GROUP C)
)
o = IRQl >IRQ4
1 = IRQ4 >IRQl
INTERRUPT GROUP PRIORIT Y
RESERVED = 00 0 IRQO, IRQ2 PRIORITY (GROUP B)
C>A>B=OO 1 o = IRQ2 >IRQO
A>B>C=Ol 0 1 = IRQO > IRQ2
A>C>B=Ol 1
B>C>A=100 IRQ3, IRQ5 PRIORITY (GROUP A)
C >B >A =101 o= IRQ5 > IRQ3
B >A >C =110 1 = IRQ3 > IRQ5
RESERVED = 111
R250 (IRQ) R252 (FLAGS)
Interrupt Request .Register Flag Ftegister
upe register address (Hex): FA upe register address (Hex): Fe
I D7 D6 I Ds I D. I D3 I D2 I D, I Do I
I USER FLAG Fl
IRQO = MASTER CPU
COMMUNICTAIONS USER FLAG F2
'- IRQ1 = P33 INPUT HALF CARRY FLAG
- I R Q 2 = P3, INPUT DE;CIMAL ADJUST FLAG
IRQ3 = P30 INPUT ' - - - - - OVERFLOW FLAG
IRQ4 = To ' - - - - - - SIGN FLAG
IRQ5 =T, ' - - - - - - - ZERO FLAG
RES ERVED '---------CARRYFLAG
I D7 I D6 I Ds I D4 I D3 I D2 I D, I Do I I~I~I~I~I~I~I~I~I
~~ ENABLES
ENABLES
1 ENABLES
IRQO
IRQ1
IRQ2
I'-'..- - - - - - - - R E--DONT
,-I
GISTER
CARE
POINTER
1 ENABLES IRQ3 (rrn)
1 ENABLES IRQ4
, 1 ENABLES IRQ5
R ESERVED
1 ENABLES INTERRUPTS
I .
-.--.--.-.-.-----SHARP ------.-.--------
540'
Z8590/Z8590A Universal Peripheral Cotroller LH8590/LH8590A
R254 (MIC)
Master CPU Interrupt Control Register
UPC register address (Hex): FE
R255 (SP)
Stack Pointer
UPC register address (Hex): FF
I~I~I~I~I~I~I~I~I
C=STACK POINTER (SPO-SP7)
.-.--.-----SHARP-~--~--.-
541
Z8591/Z8591 A Development Device LH8591'1LH8591A
Z8S911Z8S91A
LH8591/LH8591A Development Device
MDS 23
IACK,RD 24
Top View
542
Z8591/Z8591 A Development Device LH8591/LH8591 A
• Block Diagram
I/O
Interrupt Request 5
Interrupt Acknowledge 6
Interrupt Enable In
Interrupt
• Pin Description
LH8591 has the same functions as those of a 40-pin device LH8590, and the functions of the additional
24 pins are as follows:
Pin Meaning lIO Function
AD-All Program memory address 0 Used for the access to the external memory of 4 K bytes.
Do-D 7 Program data I Reads the data through these lines from the external memory.
Interrupt acknowledge Active high. This signal becomes high during interrupt or in·
IACK/MR 0
Imemory read struction fetch cycle of LH8591.
-- Active low. This signal is output every memory fetch cycle
MAS Memory address strobe 0
for the interface with the external ROM.
-- Active low. This signal becomes low during instruction fetch
MDS Memory data strobe 0
cycle or write cycle.
-- Active low. This signal becomes low at the clock cycle just
SYNC Synchronization 0
before Op-code fetching.
----~--.-------SHARP--~--------
543
Z8592/Z8592A Development Device LH8592iLH8592A
LH8592/LH8592A Z85921Z8592A
Development Device
LH8590.
The LH8592 is identical to the LH8590 with the
following exceptions.
• The internal ROM has been removed. (But
there are 36 bytes internal ROM for a boot-
strap program).
• The ROM address lines and data lines are buff-
ered and brought out to external pins .
• Contorl lines for the new memory have been
added.
The LH8592A is the high speed version which
can operate at 6MHz system clock.
MDS 23
MR/W flACK 24
Top View
......... :-.-.--.-.~-SHARP--.-.-.------
544
Z8592/Z8592A Development Device LH8592/LH8592A
• Block Diagram
1/0
Chip
Interrupt Request 5
Interrupt Acknowledge 6
Interrupt Enable In 4
Interrupt Enable Out 3
+5V 1}-------------~
PCLK 2}---------------~
GND171}-----------------~~
Interrupt Acknowledge 24)--------------------~
Output
• Pin Description
LH8592 has the same functions as those of a 40-pin device LH8590, and the functions of additional 24
pins are as follows:
Pin Meaning I/O Function
Ao-A 11 Program memory address 0 Used for the access to the external memory of 4K bytes.
Do-D 7 Program data I Reads/writes the data through these lines from the external memory.
Active high. This signal is always active during interrupt cycle of
lACK Interrupt acknowledge 0
LH8092.
Active low. This signal is output every memory fetch cycle for inter-
MAS Memory address strobe 0
facing with the external RAM.
Active low. This signal becomes low during instruction fetch cycle
MDS Memory data strobe 0
or write cycle.
- This signal is high during instruction fetching by LH8592, or low
MR/W Memory re,ad/write 0
while writing into the external memory.
---- Active low. This signal becomes low during clock cycle just before
SYNC Synchronization 0
Op- code fetching.
-----.-.---------SHARP . - . - - - - - - - - - -
545
Z8593/Z8593A Protopack Emulator lH8593iLH8593A
DBo
Top View
546
Z8593/Z8593A Protopack Emulator LH8593/LH8593A
• Block Diagram
I/O
Chip
Interrupt Request 5
Interrupt Acknowledge 6
Interrupt Enable In
Int errupl Enable OUI
• Pin Description
LH8593 pins are compatible with those of LH8590 . For pin description, refer to those of LH8590.
.-..-.-.--.---SHARP------~-~--
547
~8594/Z8594A Protopack Emul;:ltor LH8594/LH8594A
P33
P3.
Ph
PIs
Top View
548
Z8594/Z8594A Protopack Emulator LH8594/LH8594A
• Block Diagram
Data Bus
Interrupt Request 5
Interrupt Acknowledge 6
Interrupt Enable In
Interrupt Enable Out
• Pin Description
LH8594 pins are compatible with those of LH8590. For pin description, refer to those of LH8590.
------------------SHARP - - - - - - - - - - - - - - - -
549
Key"'encoder and Data Transmitter/Receiver LH8661
• Description
The LH8.661 is a high performance and multi-
• Pin Connections
1. Key encoding
• 102 keys compatible with JIS ASCII array can
be encoded. ers.
• Selectable encoding (compatible with ]IS 4. Serial/parallel data conversion
6220-1976 information exchange-code) or • This device can be used as a serial/parallel
no·encoding (native code). data converter with/without a matrix key
• Encoded data can be transferred in serial or board.
output in parallel (mono/bi-modes available) 5. Data buffers 80 bytes X 1 or 40 bytes X 2.
2. Serial data communication 6. On-chip crystal oscillator circuit.
• Encoded· key data can be transferred in asyn- 7. Single+5V power supply
chronous serial mode. 8. 40-pln dual-in-line package
• Serial port can be used as an RS232C inter-
face by attaching buffers.
• Selectable data format (data 7/8, parity, stop
bit 112).
• Selectable baud rate (110, 150, 300, 600,
1200, 2400, 4800, 9600, 19200).
3. Parallel data input/output
• Encoded key data can be output to a parallel
port in parallel.
• Parallel port can be used as a printer interface
compatible with Centronics by attaching buff-
-----------..--..-.--SHARP .....--.-.-----....-.--
550
Key-encoder and Data Trahsmitter/Receiver LH8661
• Block Diagram
Vee 1
GND
In~ernal Control
Logic
~-------'-'--SHARP _ _ _ _ _ _ _ _ _ _ _--.r
551
Key-encoder and Date Transmitter/Receiver LH8661
• . Pin Description
Pin Meaning I/O Function
KSI 1 -KSI 8 Key scan input I Active low. Key scan data signal input
KS0 1 -KS0 4 Key scan output 0 Key matrix scanning signal output
Bidirectional
DATA 1 -DATA 8 Data bus System data bus
3-State
-- Active low. Data strobe signal when mode 1 to 4 is
DS/RQ Data strobel request 0
selected; request signal when mode 5 is selected.
--- Falling edge active. Acknowledge signal when mode 1 to
ACKIRD Acknowledge/read I
4 is selected; read signal when mode 5 is selected.
Active high. Indicate printer busy (input) when mode 1
BUSY Busy Bidirectional to 4 is selected; indicate data buffer full (output) when
mode 5 is selected.
Active low. Indicate printer disable (input) when mode
---
FAULT Fault Bidirectional 1 to 4 is selected; indicate data buffer full when mode 5
is selected.
Active low. Output printer initialization signal when in
INPUT PRIME Prime input Bidirectional mode 1 to 4; input data buffer pointer initialization sig-
nal when in mode 5.
Active high. Input printer select signal when in mode 1
SLCT Select Bidirectional to 4; indicate that parallel data output is available to de-
vice when in mode 5.
RxD Received data I Receiving data line.
TxD Transmitted data 0 Transmitting data line.
RTS Transmission request 0 Active Low. Indicate readiness of data transmission.
CTS Transmission enable I Active Low. Indicate data transmission enabled.
DTR Data terminal ready 0 Active Low. Data transmission request signal.
DCD Reception enable I Active Low. Indicate data reception enabled.
RESET Reset input I Active Low initialization input.
XTAL 1
Crystal Bidirectional 7.3728 MHz crystal oscillator connected.
XTAL 2
----~------SHARP.-----.--.-;...-
552
Key-encoder and Data Transmitter/Receiver LH8661
Vee Vee
Vee Vee
• AC Characteristics
(1) Serial port timing
( i ) Reception (Vee = 5 V ±5%. OSC freq. = 7.3728 MHz. Ta = 0 to +70°C)
DCD \
DTR
RxD
f-e---CD- ~
(ii) Transmission (Vee = 5 V ±5%. OSC freq. = 7.3728 MHz. Ta = 0 to +70°C)
--®...;
,
®
----'--.-----------SHARP - . - - - - - - . - - . - . - -
553
Key-encoder and Data Transmitter/Receiver LH8661
INPUT PRIME
RQ -~
: ~ ~
' @ ' - - - -
DATA1-DATA s
RD
- ------Jx{S@-j I
~---------------------
------------------
(ii) Output (Vcc=5 V±5%, OSC freq. =7.3728 MHz, Ta=O to+70°C)
INPUT PRIME
554
Key-encoder and Data Transmitter/Receiver LH8661
~:
IlOI~I~ ]o!;/~~
LH8661
lIII11 1Il\
• i .Q. ']} LH8661
serialoutputd : ..--,.Q. {} 1-=
\~ .Serial outpu/4t • ~ Printer with
Keyboard ':1! ;" II " ~ Centronics interface
(i) Operation mode 1 Keyboard
(iv) Operation mode 4
m===lfi]] RS232C
~O=<)CiLH8~~1 iJD=O~~
Serial !tputI..(J. is I P arall~1 L::-----:---'
j_II\~utPut
@. ~ ~ Centronics interface
Keyboard
(iii) Oyeration mode 3
9 SK 2
SP SK 3
SK 4
+ SK 5
5 SK 6
6 SK 7
*
EXT 7 / SKs
Control
key
r-- A + c -I
Notel: A, B and C are local scan blocks Alphanumeric sectioni2j-KANA .
(S I) sectIon
Note 2 : Shaded sections in the diagram are not usable (SO)
-~------SHARP-~-----'-
555
J
• Keyboard Matrix
(1) Key types and arrangement (2) Transmit character codes
The LH8661 is capable of encoding data from The LH8661 can encode key data into]IS or na-
up to 102 types of keys arranged on a key matrix tive codes. Fig. 4 shows the transmit character
which consists of key scan input signals. KSI1-KSIs• codes that conform to the ]IS C 6220-1976 In-
and scan signals. SCAN 3 -SCAN 16 . The 102 types of formation Exchanging Codes. Fig. 5 shows the na-
keys are divided into the following two blocks: tive transmit character codes. The following figure
CD Data key block: Consists of 96 keys shows typical combinations of keyface symbols in
arranged on the matrix composed of scan signals the alphanumeric and Kana sections of a key.
SCAN 5 -SCAN 16 and key scan input signals /
KSI1-KSI s . When the ]IS code system is selected Alphanumeric section E )/ ~ KANA section
(code select switch at OFF). key data is encoded r-----:-, /
I /
into the transmit character codes shown in Fig. 5. . ;/
In this case the key arrangement shown in Fig. 3 /@
/
is required. When the native code system is / :;I
(51) (50)
b7 0 0 0 0- 0 0 0 0 1 1 1 1 1 1 1 1
b6 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b5 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b. 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b 3 _b 2 b 1 b o Coil
Row 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 5P 0 IB P
,
P SK16 SK1 5P - 9 ,. CD @
1 Q a q SK 2 , ® @
0 0 0 1 1
..! A 7' -T .b.
0 0 1 0 2 2 B R b r SK3 r -1 .:/ ;t @ @
0 0 1 1 3 ETX :11= 3 C 5 c 5 SK4 J ? T -t ® ® i E5C(1BH)+A(41H)
0 1 0 0 4 $ 4 D T d t SK 5 , ;r: ~ -\" @ @ t E5C+B(42 H)
0 1 0 1 5 % 5 E U e u SK 6 >t T ~
® (~)' E5C+C(43H)
0 1 1 0 6 & 6 F V f SK 7 '7 7J = :I (j) @ E5C+D(44H)
0 1 1 1 7 . 7 G W g W
V
SK 8 7 :f- :;I '7 ® @ HOME E5C+H(48H)
1 0 0 0 8 B5 ( 8 H X h X SK 9 -{ 7 .:t- I) ® @ 5K 17 E5C+E(45H)
1 0 0 1 9 HTAB ) 9 I Y i y SKIO .,
Ir / JL- ® @ 5K18 E5C+J (4AH)
: J Z SK11 /, @ 5K19 E5C+K(4BH)
1 0 1 0 A LF
* j Z
'" ::J l; ®
1 0 1 1 B ESC + ; K [ k I ;I- ~ ~ I'l @ @
1 1 0 0 C < L ¥ I I SK12 -\' Y 7 '7 @ @
1 1 0 1 D CR - = M 1 m } SKI3 :J. A_ ...... :-- @ @
1 1 1 0 E 50 > N 1\ n SK 14 -I! >I< . @®
-
"
1 1 1 1 F 51 / ? 0 0 DEL SK15 .~ ') '? '@ @
---~--------~-SHARP-'-"'-'-------""-'---
556
Key-encoder and Data Transmitter/Receiver LH8661
b3 '0 0 0 0 1 1 1 1 .1 1 1 1
b2 1 1 1 1 0 0 0 0 1 1 1 1
b1 0 0 1 1 0 0 1 1 0 0 1 1
bo 0 1 0 1 0 1 0 1 0 1 0 1
CoIl
b, b6 b 5 b4 Row
4 5 6 7 8 9 A B C D E F
0 8( ~ > z ':/
1
0 0 0 0 EXT -> 7 / SKa SK 16 p @ WJJ) J v@
iv
0 .~
.:::L -iz T
., ?
0
1 0 0 1 1 ENTER 6 SK 7 SKIs 7'-\", @ E -1 H ® / ;t.. X @.
<-
* -t' -( 11 it
0
0 -
& [ j r -
1
1 0 2 RETURN ~ 5 SK6 SK I4 6 -t R @ G ® (j]) C @
;t 0
A =l' J:l '/
0 %
1 0
1 1 3 HTAB i 4 + SKs SKI3 5 '"
¥ I@ T (j) F ® ] .b.IJ V I:::@
.J: - 11
"
0 -
1
1 0 0 4 LF HOME 3 SK4 SK I2 4$? A ® y
? "'- /
® D @
Y
*
:@
'r
B (j])
::::I
0
1
1 0 1 5 BS SKI9 2 SP SK3 SK 11 3:j:1: 7 --® u -j-® S ® ;+@ N @
7 ~ v ~
0 "
*
1
1 1 0 6 ESC SKIs 1 9 SK2 SK 10 2 @ 0
7 '7
• I
--
@ A 7® L IJ@ M@
'£:
0
1 1 1 7 DEL SKI7 0 SKg
I
1 '@ 9 ) 3
o '7® Q;$ICD K @ ,
<
1 8 SKI
;;r :I / ,*'
pressed and held for more than 1 second when the The serial data format can be selected from 7
lIS code sytem is selected, the corresponding bits with parity, 7 bits with no parity (b 7 fixed at
transmit character code is repeatedly entered at a '0'), and 8 bits with no parity. Selection is ex-
frequency of approx. 20 Hz. When the native code ecuted with bit 7 or 8 and with parity switch (see
system is selected, all the 96 data keys are effec- description of transfer data format setting).
tive for the auto repeat function. Fig. 6 shows the serial data format.
(1) Transmit mode
IJ2EkJ [ESk] I BS I ILF I IHTABI I RETURN I The LH8661 automatically adds one start bit
I ENTER II ETXI and two stop bits to transmit data. It holds TxD at
The above control keys are not effective for the high to maintain mark status between characters.
auto repeat function. (2) Receive mode
Receive data must have one start bit, eight data
• Serial Data Transfer bits, and at least one stop bit. While the receiver
The LH8661 transmits serial data via RS232C has a two-stage buffer, data will not be protected
interface when in modes 1, 3, or 5. It can transmit in the event of an overrun.
and receive serial data when in mode 4_
~-'-'-'-----SHARP-'-'------
557
~~ .......... ~~ ......................... .........................
Key':'encoder and bata Transmitter/Receiver
T
.
1-
Start bitT·
' - - - - 8 data bits
' - - - - - - - - - - - - 2 stop bits
~'-'------SHARP---'----'-"---'-
558
Key-encoder and Data Transmitter/Receiver LH8661
BUSY (input)
\~----------------------------------------------
ACK (input)
DS (output)
BUSY (output)
\'-----------------------
RQ (output)
RD (input)
Receiving this low transition signal, the LHB661 BO-byte length of the buffer is used to hold key
responds by initializing the data buffer pointer entry data. When the device is in mode 4, the buf-
and setting both the BUSY and RQ signals to low. fer is divided into a 40-byte segment to hold key
Seeing that the ACKLNG signal is set to high, entu data and another 40-byte segment to hold
the data output device outputs data, then sets the serial input data. When in mode 5, the full
DAT A STROBE signal to low after a given time BO-byte length of the buffer is used to hold para-
period. The LHB661 uses this signal to read data llel input data.
off the data bus (DAT AI-DAT A8). The LHB661 When the buffer becomes full, the LHB661 be-
then sets the RQ signal to low to repeat data read haves as follows:
operation until the data buffer becomes full. • No longer writes key entry data into the buffer.
When the data buffer becomes full, the LHB661 • During serial data input, sets the DTR signal to
activates the BUSY and F AUL T signals to inform high to indicate buffer-full status to the data:
the output device. The parallel port input timing is output device (having RS-232C interface). The
shown in Fig. B. LHB661 accepts no serial data transferred
while the DTR is at high.
• Data Buffer • During parallel data input, activates the BUSY
---
The LHB661 has a built-in BO-byte RAM for and F AUL T signals to indicate buffer-full sta-
data buffer, which is used to hold key entry data, tus to the parallel data output device. The
serial input data or parallel input data. LHB661 outputs no RQ signal while the BUSY
When the device is in mode 1, 2, or 3, the full and F AUL T signals are active.
- - - - - - - - - - - - - - - - S H A R P -.-..-.....-.--~-
559
Support Tools for Micrcomputers
Development Support System SM-D-8000 IT LH8DH110
• Features
1. Z80A CPU (clock frequency>: 4MHz)
2. RAM: 64K bytes
3. Two double-sided double-density floppy disk Baud rate 110-19200B
drives in standard (capacity: 2M bytes) (9 levels selective)
4. -RS232C 2ports 5. Optional hardware
20mA curren loop 1port PROM writer
(shared with RS232C port) Z81Z80B In-circuit Emulator etc.
• Block Diagram
Protect SW .
F'DO
PRO SW
RS232C RS232C
l.
SUB CPU board MAIN CPU borad
system bus
FDJ'
POWER SW
562
Development Support System SM-D-8000 IT LH8DH110
• Software Organization
-l
processor Command line interpreter
-r
Text editor
Relocatable macro assembler
Resident software Linker
ZOO (standard) Librarian
Symbolic debugger
--i
Language System generator
SM-D-8000II processor SM series software package
Operating
system Cross software for I-chip microcomputer
(option) Z8 cross-assemhler development
Z-UPC cross-assembler
Z8000 software package
Utilities
(option)
-E PROM programmer
Z80B in-circuit emulator debugger
Z8in-circuit emulator de1:iugger
~
~ASCAL
High-level FORTH
language (option) FORTRAN
COBOL
BASIC
--.---.---SHARP....-..---~---
563
...............,.....,..........
Development Support System SM-D-a100
,
.......
......,.~.....,.....,.....,....,.....,
LH8DH136
,
.....,.....,.....,~
• Features
1. Z8001 CPU (clock frequency: 4MHz)
2. RAM: 256K bytes (1 parity bit per 8-bit)
3. Two double-sided double-density floppy disk
drives in standard (separate unit), (Capacity:
2M bytes)
4. Four RS232C ports Baud rate: 110-19200B
, (9 levels selective for each port)
5. Centronics parallel output port
6. High-grade language, C compiler in standard
7. Optional hardware:
SM-E-8100 In-circuit Emulator
------------SHARP---------.-...... -----
564
Development Support System SM-D-8100 LH8DH130
• Block Diagram
Z8001
CPU 1-_-:---' ~::--------I ZBI Bus
MH Buffer. 1-'----11',
L-_~=====L_ _~4~M~H~z~------_4BCLK
ZBi Bus
Buffer
,+12V
-12V
'+ 5V
___ ___ ___ ..J, GND--...----r-;--.....
'-T-r-...,-,r--r-r-"T""T'......
• Software Organization
E
Cross software (Option) ,
Z80 cross assembler (Development planned)
Z8 cross assembler (Development planned)
Z - UPC cross assembler (Development planned)
"--Utility (Option)
LGeneral-purpose OS (Pianned)
.-.....----------SHARP---~-~.-.-----
565
De,v.elopment Support System SM-D-820.O LH8DH140
• Features
1. Main memory function
• 768K byte RAM
• 1 parity bit for each 8 bits
• Memory management function
2. Supplementary memory function
• Hard disc drive: 1
Winchester type, 8 inch, 20M bytes
• Floppy disc drive: 1
for back up of hard disc equipment
double-side double-density, 8-inch, 1M
bytes
3. I/O interface
• Serial I/O interface: 4 ports
RS232C compatible
Baud rate: 110-9600 for each port
• Parallel I/O interface: I-port
Centro nice compatible
4. Optional hardware
·28000 in-circuit emulator (SM-E-8100)
• 28000 evaluation board
• 28 in-circuit emulator
566
Development Support System SM-D-8200 LH8DH140
.....................................................................................
• Block Diagram
,,r - - - - ,,
- - -- Main Board Slot 0- - - ----,
nr
, r--- ROMmn MMU -Bus 256K Bytes 1
:, Clock ~8;~1 32K Bytes with Parity !
~ I ~
,
OSC_
'Hz Internal Bus
ZBI Bus
r-t--
1
III
~
, ~ 4MHz BCLK f--r--- N
, &~ I 'I
16MHz MCLK
L_'--_-_-_-_-_-_-_-_-_-_-_-_-_-_-_...::..;.._'--_-_-_-_--_--_-_L--.....l J
r--------------- Main Board Slot 2 - - - - - - - - - ,
1 1
Control Buffer r- I
.-_ _ _...,J ~1l-----1 Hard ROM RAM DMA .-.!-
, Disk 8K Bytes 2K Bytes r- I I
: Drive
.--,------J---l ~I----; Control
W I I
'-----I-nt-'ernal Bus
~ ~~~e~us 1
:
1 1 1
1 1
, Z80A CPU 1
1
L_____________ _ _________ , J
t----t-- 7
1
I
,
Z 8036 CIO
Centronix
II Z 8030 X 2
Buffer _I
1--;--1----'
, ZBI is the
, Interface RS232C Interface 1 Trademark
L- - - - - - -.i.j - - - - -.u -J:±. -.ll----,.t..±. - - - - - - - -1 of Zilog_ Inc_
Centronix Parallel Output RS232C Ports HD-10F
Floppy
Hard Disk Drive
Disk Drive
I Power Supply
u
q
AClOOV
567
Development Support System SM-D-8200 LH8DH140
• Software Organization
Kernel
Shell
System utilities
Programming support
~
Debugger:
adb
Loader
SCCS (Source code control system)
: Program maintenance program
,
Cross software
L Z8 cross software
r=..= Z80 cross software
!
.-.-.----~--SHARP-------------
568
Z80B In-Circuit Emulator LH8DH312
• Description
This is an SM-D-8000 II option, which provides
emulation functions for Z80B systems. The emu-
lator operates under the control of FDOS. It
facilitates debugging and reduces development time
and costs.
• Features
1. Support Z80B (6MHz) system
2. Real-time emulation
3. User system memory: 64K bytes
4. User 110 port: 256 ports
5. Memory address mapping function (unit:4K
bytes)
6. Hardware break point: 2
(with 16-bit counter)
7. User system RAM: 64K-byte static RAM
8. In-circuit emulator debugger
9. Execution modes of user program
(i) Real-time
(ii) 1 step (number of steps can be set)
(iii) Trace
(iv) Snapshot
10. Program can be change at mnemonic.
11. I/O device if the user system can read the
RETI instruction in the user RAM.
12. All the interrupts (NMI,mode 0,1,2) can be
used by the user.
---~------SHARP--~~---~
569
Z80B>ln-Circuit Emulator LH.8DH312.
• Block Diagram
~------------------------------I
Adress Bus Address Bus I Head Board
I===~>t~ :
:==:::;~====~ Z80B Data Bus ~SI/l.~I--"140Pin
CPU - Control '" Plug
Bus c6
I
9 Clock Selectabl,e
I Clock Circuit I._S_W_J CPU Unit
Fla - _ Main Board
Cable~ --------------------------------, I
I
I
I I
I
I
I I
I I
I
I .,
I "
'--'-'--1'-1-t
I !
I .=i
I
I
I·
I
I ROM I
I I
~--------------------------------~---------~
570
Z8 In-Circuit Emulator n LH8DH321
• Features
1. Usable for 4K and 2K bytes internal ROM 6. Break point possessing 8-bit break counter can
2. Stand-alone type: load the program from the be set: up to 4096 in the internal ROM (up to
host computer, and save the program to the 2048 in the 2K internal ROM) 1 in the exter-
host computer after debugging. nal ROM/RAM.
3. Mapping RAM can be designated for memory 7. Step and trace of user program can be ex-
area both of program and data. ecuted.
4. User program in the external ROM can be 8. Contents of user program and register can be
~
5.
transferred to the mapping RAM.
Possess line assembler and reverse assembler,
making debugging effective.
displayed and changed.
9. 110 ports and register files can all be executed
by the user.
7 ~=
• Block Diagram
Z8
Data r-....L.--,
Bus
Z80A
CPU
J1 J2
Terminal Host
571
Z8000 Evaluation Board LH8DH330
• Description
This board is designed for evaluating application
systems .using the Z8000 I6-bit microprocessor.
It is also available for a development system due
to the emulation function.
• Features
1. User RAM: 32K bytes
2. Monitor ROM : 8K bytes
3. Break point :- I point
4. Support for debugging Z800I CPU Z8002
, CPU programs
5. In-circuit emulation functions
6. Object program execution : Real time, single
step, and trace
7. Connection with SM-D-BOOO IT /SM-D-8100
via RS232C interface
• Block· Diagram
Segment 7
Address/Data 16
Z8001
Z8002 User's Connecter
CPU Control 7
Status 12
16
Console
SM-D-8000 II
572
ZSOOOln-circuit Emulator SM-E-S100 LHSDH340
• Features
1. Emulation for both 28001 and 28002
2. All I/O ports opened for the user
3. User-opened RAM: 32K bytes (e~pandable)
4. Hardware,break points (status, N/S, R/W, B/W
available)
5. Break point counter (16-bit) available
6. Program execution : Real time, single step,
trace, and snap shot
7. Down load and up load from a host computer
8. Built-in debugger (with 32 commands)
573
Z8000 In ...Circuit Emulator SM-E-8100 LH8DH340
• Block Diagram
Option
r:-----::;]
I Changeable I
: I
I I
I
Z8000 1--:-:---:---11
CPU 1
"""7-<3"7'~1
_J
Break
Register
Control ... ...
Circuit 2 2
'j3 ,·e Mem,ory
~
0
::;; by User's
Break
Counter 32 K Bytes
574
PROM Writer LH8DH403
• Features
1. Applicable EPROM 2732A, 2764, 27128, and
equivalents
2. Either mnemonic or spelled-out commands
acceptable
3. Data management in file from
4. LED indication during command execution
• Block Diagram
1------- I---------------~~----I
I
I I " I
I Add~!sI
Address
I Bus I
Address Bus
Bus
Buffer
h====~ IC
Socket
II
Buffer II
'L- __ JI
1..:: __
--....,I
Data Data Bus I
PROM
Bus I
Console Buffer Data
Drive I
Bus
Signal I
I
1,--------, I
I I
I
I
Control
Bus
Control Bus PIO ,------L.L..--, I
Drive Circuit I
I Buffer
I~ _ _~ I I
Cable I I
IL _____ _ IL _____________________ I ~
Buffer Board
+21 V DC
Power
+sv Supply
AC 100 V
575
8M Series Emulator 8ME-20 LU4DH200
• Features
1. PROM writer (2716, 2732) in standard
2. RS232C 1 port
Baud rate 150-19200B
(8 levels selective)
·3. Paper tape reader interface;Paper tape punch-
er interface in standard
4. Support all functions of SM series by altering
PROM for PLA
5. Function of the emulator
• Execute/halt program
• Display/change data
• One step operation
• Execute start point of CPU
• Repair address
576
SM Series Emulator SME-20 LU4DH200
• System Configuration
The SME-20 can be connected through the RS
232C to the SM-D-8000 II to allow efficient prog· Emulator
ram debugging.
Host computer ¢==> (SME-20)
L......_ _ _- - I RS232C L!======::!J
It can also be connected to other support tools
which run under the CP1M operating system and URS232C
equipped with an RS-232C interface.
SM evaluation
board
r----------------------------,
,-----------------,
SM-D-8000II
SME-20
Working
RAM
Floppy Disk
ROM (1 K)
RAM (64 K)
________________________ -1
RS232C
SIO
PTP/PTR
L ________________
~
Terminal Unit
(Sharp Writer, etc.)
SM Series
Evaluation
Board
.-~------SHARP----.-----
577
SM Series Evaluation Board LUXXXH2
• Features
l. System debug with EPROM
2. Debug at RAM base in conjunction with sup-
port tool(SM- 0-80, SM- 0-8000 IT)
3. Function of the evaluation board
• Hold function
• One- step function
• Auto-stop function
• Display of the program counter
• Display of accumlator and carry F IF
• Display of RAM address, the register and
memory
• Display of instruction code
• PLA set function
---.-.......------SHARP-.-.--------
578
SM Series Evaluation Board LUXXXH2
• Block Diagram
-~
-11-.===;;;::;- I * Crystal Memory
asc Display
Circuit Circuit
Vc (-5V)
GND (OV)
Break
Address
Setting
Circuit
l!:
I
Programming ~ Instruction
(2716,2732 or Display
equivalent) Circuit
'---~~
Evaluation Card Control Board
-~-----'------SHARP-'---'-'---
579
Memories
NMOS 32768-Bit Mask Programmable Read Only. Memory LH2331 ILH2331 A
lH2331/LH2331A
NMOS 32768-Bit Mask Programmable Read Only Memory
• Description • Pin Connections
The LH2331/LH23-31A are fully static mask
programmable ROMs organized as 4,096-word-
by-8-bit by using silicon~gate NMOS process tech-
nology. o
• Features
1. 4,096-word-by-8-bit organization
2. Single + 5V power supply
3. Fully static operation (no cloS;k required)
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH2331 : 450ns, LH233iA : 350ns
7. Power-down function Top View
8. 24-pin dual-in-line package (pin compatible
with i 2732 type EPROM)
• Block Diagram
Data Output
~
Output Enable
Al\dress Input
32.768
Cell Matrix
---~'-------"--SHARP-~-----""--'
582
NMOS 32768-Bit Mask Programmable Read Only Memory LH2331 ILH2331 A
LH2331 LH2331A
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Access time t ACC 45.0 35.0 ns
Chip enable setup time teE 45.0 35.0 ns
Output enable time toE 12.0 12.0 ns
Output hold time tOH .0 .0 ns
Chip turn-off time tDF .0 1.0.0 .0 1.0.0 ns
'-'-~--"--'--SHARP ----------~--------
583
. NMOS 327.68-Bit Mask Programmable.Read Only Memory LH2331 ILH2331 A
• Timing Diagram
CE
(High impedance)
584
NMOS 3276e-Bit Mask Programmable Read Only Memory LH2331/LH2331A
Access time vs. supply voltage Access time vs. ambient temperature
].
1.4,..---,----,----,-----,
Ta=700e .,..: 1.4
.. Vcc=4.5 \r
.. .
.,..
.~ 1 . 2 1 - - - - + - - - - + - - - - f - - - - I .:: 1.2
1;; ~
;;
P:::
~r--.
].,
P:::
~
V
u 1.0 I-----+-==~_+---I_-__I u 1.0
~
u
.,
.j
., ~
:3 0.8 '5 0.8
., to
III
., to
to
<:"
" "
<:"
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75
Supply voltage Vcc (V) Ambient temperature Ta (Oe)
Average supply current vs. supply voltage Average supply current vs. ambient
temperature
-- ---
<:
-5 80 ~ 80
<:
N
U
f.----
I-- ICCI -5 r--- I----
.::i
G 60
....u
N
U
~ 60 r---- IcC!
.. ....9
~
e:::
..::-
~
~
"8-
40
20
Icc2
..
j
~ 40
e'"
III
.,'"
20
-- r---,-
- Icc2
~
~ 0
.,8-"
<:
.. 4.0 4.5 5.0 5.5 6.0
.,~ 0 25 50 75 100
Supply voltage Vcc (V) > Ambient temperature Ta (T)
<:
.:: .~
os
1;;
;; 1.2 ;; 1.2
P::: P:::
"'u
V
'"
u
.j
1.0
.j
1.0 ./
...
..:., ~
j V
""
i 0.8 ~ 0.8
S
s=
0
585
NMOS 32768-Bit Mask Programmable Read Only Memory LH2332/LH2332A
LH2332/LH2332A
NMOS 32768-Bit Mask Programmable Read Only Memory
• Description • Pin Connections
The LH23321LH2332A are fully static mask
programmable. ROMs organized as 4,096 -word-
by-S-bit by using silicon-gate NMOS process tech-
nology. o
• Features
1. 4,096-word-by-S-bit organization
2. Single + 5V power supply
3. Fully static operation (no clock required)
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH2332 : 450ns, LH2332A : 350ns
Top View
7. Programmable chip selects (CS1/CS lo CSz/CS z)
S. 24-pin dual-in-line package (JEDEC standard
pin configuration)
• Block Diagram
Data Output
~
Address Input
32.768
Cell Matrix
----------SHARP--------------
586
NMOS 32768-Bit Mask Programmable Read Only MemOry LH2332/LH2332A
-
Parameter Symbol MIN. TYP. MAX. Unit
Access time tAce 450 ns
Output hold time tClH 0 ns
Chip enable setup time teE 350 ns
Chi p turn -off time tDF 0 150 ns
587
~NlOS 32768-Bit Mask Programmable Read Only Memory .LH.2332/LH2332A
• Timing Diagram·
cs
Valid data
(High impedance)
588
NMOS 32768-Bit Mask Programmable Read Only Memory LH2332/LH2332A
Access time vs. supply voltage Access time vs. ambient temperature
1.4r---..,.....--...,----,---__, 1.4
Ta=70'C Vee=4.75 V
.a.
>
.~ 1 . 2 1 - - - + - - - - + - - - + - - - \
//
~
10
Q;
V
Il:::
tl 1.01-.=......+---+--~==:::::J
:;
.§
V
:; 0 . 8 1 - - - + - - - - + - - - + - - - \ .~"
(Il
O.s
:l (Il
~
..:"" ..:"
0.6"::-_~~-~-!-::----=-=--~ 0.6
4.0 4.5 5.0 5.5 6.0 0 25 50. 75 100
Supply voltage Vee (V) Ambient temperature Ta (OC)
...~.,
201---+---~--_+--_;
.
~ 20
"
..:>
..:>
O~-~~-~~-~_!_::_-~
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.0 2.0r---.,...---..,.....--...,-----,
2:: 2::
,., 1.7 1.7
:> ~
:x: :x:
:> :>
."..
.::0
1.4 VIH(MIN.)
VIL(MAX.)
i
.g:,
1.4 ~VlH(MIN.J
VILCMAX.)
=
>.
.=;'"
1.1 -..
>
....."'"
1.1
589
NMOS 65536-Bit Mask Programmable Read'Oniy Memory LH2362B
• Features
1. 8,192-word-by-8-bit organization
2. Single +5V power supply
3. Fully static operation (no clock required)
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.) : 250ns
7. 24-pin dual-in-line package UEDEC standard
pin configuration)
Top View
• Block Diagram
Data Output
,A
Control
Signal
Generator
1!32X8
Column Address Decoder
Address
Input
.,.,
....,
65,536(256 X 32 X 8)
." Cell Matrix
."
<:
~
o
!X:.
590
NMOS 65536-Bit Mask Programmable Read Only Memory LH2362B
591
NMOS 65536-Bit Mask Programmable Read Only Memory LH2362B
• Timing Diagram
Ao-A12
~--tACC--~
Valid data
(High impedance)
• Chip Select
592
NMOS 65536-Bit Mask Programmable Read Only Memory LH2362B
Access time vs. supply voltage Access time vs. ambient temperature
1.4 1.4
0;-
.
.,..
oS Ta=70·C
0;-
.
.,..
oS Vcc=4.5V
]
u
u
;;
.,
1.0
0.8
.-- ~ --- f-- Il::
]
;;
u
u
.,
1.0
0.8
",-
~
.,..,''"" .,..,'"'"
.., ..,
...:: ...::
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("C)
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
< 100 .----,.-----.-----,------, ...:: 100
-5 -5
Vee=5.0V
90~--+---1----~----~
.~
...
rv
~
~ 80~--1------+----~------;
- "'-f'....
.S
.g "-
-il
~
ii
70r-----4------+----~----~
-ii
il
~ 70 ~
f'.
1
~ 60L---~--~--~~-~ 1
~ 60 0
4.0 4.5 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("C)
Chip enable time vs. supply voltage Chip enable time vs. ambient temperature
1.4 1.4
0;-
0;-
...,.
oS Ta=70·C ~
.,..
Vee=4.5V
L
1.2 .~ 1.2
.
.~ os
0;
Il::
0;
Il:: /
~ 1.0
./
~ 1.0 /
., ., /""
oE .~
., 0.8 ~ 0.8
:g
il il
.9- .9-
""
U 0.6 ""
U
0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supplyvoltage Vee (V) Ambient temperature Ta ("C)
- - - - - - - - - . . - S H A R P - - - - - - ............ - -
593
NMOS 65536-Bit Mask Programmable Read Only Memory 'LH2367
• Features
1. 8,192-word-by-8-bit organization
2. Single + 5V power supply
3. Fully static operation (no clock required)
4. All inputs and outputs TTL compatible
5. Three-state output
6. Access time (MAX.) : 250ns
7. Programmable chip select (CS h CS 2)
8. 28-pin dua:I-in-line package
Top View
• Block Diagram
.
Data Output
Address Input
65,536(256X32X8)
Cell Matrix
594
NMOS 65536-Bit Mask Programmable Read Only Memory LH2367
595
NMOS.65536-Bit Mask Programmable Read Only Memory LH2367
• Timing Diagram
(1) Type1 (CS1/CS2 is CE function type)
Ao-AI2
tCEI
CE
cs· 1
tCE2
OE
(High impedance)
t----tCE----'"'i
cs· 1
Valid data
(High impedance)
596
NMOS .65536-Bit Mask Programmable Read Only Memory LH2367
• Chip Select
OE cr CS*l Do-D7 Mode
X H X High impedance Non-select, power down
X X L High impedance *2
H X X High impedance Output non-select
L L H DouT Read
*1 CS is high only when the CSl pin and the CSz pin are active at the same time and is low at
all other times. (Non·connection pins are continuously active.)
*2 Chip select input CSl and CSz can be programmed into 2 types depending on the ROM pat·
tern (see timing chart).
1.4 1.4
".a. >
Ta=70°C
".a
co
>
1.2
Vcc=4.5V
./"
1.2 '"
.!=
....'"
.!= ....
V
--
..!!
~ '"
1.0
I'--- "*
~
'-' 1.0 /
j
'-'
'-' j
'-'
V
.~'" 0.8 .~'" 0.8
III
III III
III
"..,'" <
"'"
OJ
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
120 < 120
~
'-'
::i 110 ~ ~
'-'
110 ~
~
.§
10...
~ 100
/ .§
10...
~ 100 ~
/ ""
OIl
.9
.g
i... 90
~
8
j
00
80
4.0 4.5 5.0 5.5 6.0 25 50 75 100
Supply. voltage Vee (V) Ambient temperature Ta (OC)
597
NMOS 65536-Bit Mask Programmable Read Only Memory LH2367
Chip enable time vs. supply voltage Chip enable time vs. ambient temperature
. Ta=70·C .
.,:- Vee=4.5V
.,:-
.i::
'OJ
1.2
.i::
E., 1.2 /
.Ql
e '/
-
p:;
.;
... ~
~ 1.0
-
u 1.0
.,
:3 V
.s 0.8 ~.,c 0.8
1
.S<
.... .....S<
U
U
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (·C)
598
CMOS 65536-Bit Mask Programmable Read Only Memory LH5366A
• Features
1. 8,192-word-by-8-bit organization
2. Single + 5V power supply
3. Low power consumption
4. Edge enabled operation (CEl, CE,)
5. Three-state outputs
6. Access time (MAX.) : 2.5 ps
7. Programmable chip select
8. Selectable byte or digit output
9. 44-piJ;l quad-flat package Top View
• Block Diagram
65,536 (256X32X8)
Address Input Cell Matrix
~----------~v~-----------J
Data Output
599
CMOS 65536-Bit Mask Programmable Read Only Memory LH5366A
• AC Characteristics
Parameter Symbol MIN. TYP. MAX. Unit
Address setup time tAs 1 ps
Chip enable setup time tCE 2.5 ps
Chip enable precharge time tD 1.5 f.1s
Chip turn·off time (CE) tDFI 1.5 f.1s
Chip turn·off time (CS) tDF2 1.5 f.1s
Cycle time [CYC 4.0 f.1s
--~--.----SHARP-.-.------
600
CMOS 65536-Bit Mask Programmable Read Only Memory LH5366A
• Timing Diagram
CE
CS
(High impedance)
Access time vs. supply voltage Access time vs. ambient temperature
1.4 1.4
Ta=60'C Vee =4.5 V
".
..E!
>
Q) 1.2
".
..E!
>
Q)
1.2
.~
.~
-:0
~ -:0 /'
Ql
p::
u 1.0 ~
Ql
p::
1.0 V
V
u
~
u u
j j
Q)
.~ 0.8 ~ Q)
.~ 0.8
rn rn
rn
Q) Ul
Q)
..::"" "
0.6 ..::" 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("C)
Average supply current vs. supply Average supply current vs. ambient
~
voltage temperature
2.5 2.5
..:: ..::
-.S -.S I
u 2.0 tl 2.01-----+---+---+----1
.;:;
V ......
/
~
..=
cQ)
~
1.5 ~ 1.5 ~==:j::==t:::::::i:~=-~
"
bCo V
~
=Ul
Co
.....'on"
1.0 1 1.01-----+---+----+----;
~
~
..::'"
> >
0.5 ..:: 0.5 '--_ _..L-_ _- ' -_ _~---'-
4.0 5.0 4.5 5.5 6.0 o 25 50 75 100
Supplyvoltage Vee (V) Ambient temperature Ta ('C)
~'-'-------SHARP'-'-"-----~
601
CMOS 65536-Bit Mask Programmable Read Only Memory LH5366S
• Features
1. 8,192-word-by-8-bit organization
2. Single + 3V power supply
3. Low power consumption
4. Edge enabled operation (CEl> CE 2 )
5. Three -state outputs
6. Access time (MAX.) : 6 ps
7. Programmable chip select
8. Selectable byte or digit output
9. 44-pin quad-flat package Top View
• Block Diagram
65,536 (256X32X8)
Cell Matrix
Address Input
~----------~vr----------~I.
Data Output
'--'-~--'-'--SHARP -.--.-.~-------
602
CMOS 65536-Bit Mask Programmable Read Only Memory LH5366S
603
CMOS 65536-Bit Mask Programmable Read Only Memory LH5366S
• Timing Diagram
Ao-A12
CE
CS
(High impedance)
".a.,..
co
~ "...,
.aco
.i: 1.2 .i:
1.2
~.,
p::
u 1.0
\ ~
.~
u
1.0
~
~
V
\
u u
.;; , .;;
., .,
] 0.8 ] 0.8
.,
Ul '\
Ul
.,Ul
Ul
" "
<" 0.6 <" 0.6
2.0 2.5 3.0 3.5 4.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (OC)
< <
-5 -5
u
0.6 u 0.61----+---+---+-----1
u
.....u
...,"...
......
~
t: 0.4 ...- ...
.,"
.
0.4
B ~
-----
.l:>
1 ...- ~
~.,
0.2
..,.,...
Ul
co
0.2
.. <
.
< 0
2.0 2.5 3.0 3.5 4.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta eC)
604
CMOS 65536-Bit Mask Programmable Read Only Memory LH5367
• Features
1. 8,192-word-by-8-bit organization
2. Single +5V power supply
3. Low power consumption
4. Edge enabled operation (CEl. CE 2 )
5. Three-state outputs
6. Access time (MAX.) : 450ns
7. Programmable chip select
8. 44-pin quad-flat package
Top View
• Block Diagram
65,536 (256X32X8)
Address Input Cell Matrix
y
Data Output
---~-------SHA.RP------"""""-
605
CMOS 65536-8it Mask Programmable Read Only Memory LH5367
• AC Characteristics
Parameter Symbol MIN. TYP. MAX. Unit
Address setup time tAs 50 ns
Chip enable setup time teE 450 ns
Chip enable precharge time tp 300 ns
Chip turn-off time (CE) tDFl ·300 ns
Chip turn-off time (CS) tDF2 300 ns
Cycle time teyC 750 ns
Test conditions of AC characteristics
• Input voltage amplitude .......................................... +0.8V-Vcc -1.0V
• Input rising/falling time · ............................ · ............ 10ns
• Input threshold level" ............................................ 1.5V
• Output threshold level· .......................... · .... ·: .......... ·OAV and 2AV
• Output load condition ........ · ...... · .............. · .............. ·10pF
• Timing Diagram
Ao-A12
CE
CS
(High impedance)
606
CMOS 65536-Bit Mask Programmable Read Only Memory LH5367
Access time vs. supply voltage Access time vs. ambient temperature
., Ta=60'e ].
1.4
Vee =4.75 V
.
~ 1.2
.,
.
.:: .~
1;j 1.2
~~ Ol
~
~
~
!
u
u
.,
oS
1.0 i".......
........... , !
tl 1.0
.,
:atil 0.8
~
~
.,"'"' 0.8
.,
til
..:"" ..:""
0.6
4.0 5.0 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ee)
/ ..:
5
V u
...
5.01----+---+---+----1
-. ./ u
&l
e
5.0
./
/ -&l
t: 4.51----+---+---+----1
.g: / e
~ 4.0 / b
,V ~ 4.01---+---+---+-----1
~
.,.. .~
..: ~
3.0 ..: 3.S'-_ _..i-_ _..I.-_ _-:!::-_ _:-!
4.0 5.0 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('e)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.0 2.0,.---'T"""--....- - - , - - - - - ,
2:-
2:- 1.7
d 1.7
d :>
:> 23
23 :>
:> 1.4 ., 1.4
VIH(MIN.)
.
OIl :;::::--V1H(MIN.)
1.
o
VIL<MAX.) .:::
..
0 V1L(MAX.)
=1.1 i
oS
1.1
!
0.8 0.8~ _ _1.-_ _L -_ _J....-_----I.
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('e)
~'-----------SHARP -------------.-..-.
607
CMOS 98304-Bit Mask Programmable Read Only Memory LH5396/LH5396A
LH'5396/LH5396A
CMOS 98304-Bit Mask Programmable Read Only Memory
• Description • Pin Connections
The LH5396/LH5396A are mask programmable
ROMs organized as 12,288-word-by-8-bit by us-
ing silicon-gate CMOS process technology.
• Features
1. 12,288-word- by-8- bit organization
2. Single +4.5V power supply
3. Low power consumption
4. Edge enabled operation (CE I , CE 2 )
5. Three-state outputs
6. Access time (MAX.)
LH5396 : 6.0 ps, LH5396A : 3.0 ps
7. Programmable chip select
8. Byte/digit outpilt select
9. 44-pin quad-flat package
• Block Diagram
Data Output
,.----"---,
12 10 9 8 7 4 3
GND
30 L/U
29 BID
L/U.B/D
Control
Circuit
Address Input
--~'-'------SHARP -----"-------.-
608
CMOS 98304-Bit Mask Programmable Read Only Memory LH5396/LH5396A
LH5396 LH5396A
Parameter Symbol Conditions Unit Note
MIN. TYP. MAX. MIN. TYP. MAX.
Input low voltage V1L -0.3 0.8 -0.3 0.8 V
In put high voltage VIH Vee -1.0 Vee Vee -1.0 Vee V
Output low voltage VOL IOL =1.6mA 0.4 0.4 V
VIN=OVor
Input leakage current I ILl I VIN=Vec
1.0 1.0 pA
In non·selec-
tion mode:
Output leakage current I Iw I VOUT=OVor
1.0 1.0 pA
VouT=Vee
Chip enabled power
Iecl 3.0 7.0 5.0 12.0 mA 1
supply current
Chip disabled power
Iec2 5.0 5.0 pA 2
supply current
Note 1: Average current at cycle time of 4.5 fL s (LH5396 is 7.5 fL s) with output open and input set to OV or Vee.
Note 2: In chip selection mode: VIN=O.2V or VIN=Vce-O.2V
LH5396 LH5396A
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Address setup time t AS 1.0 1.0 ps
Chip enable setup time teE 6.0 3.0 f-LS
Chip enable precharge time tp 1.5 1.5 f-Ls
Chip turn-off time (CE) tDFl 1.5 1.0 f-LS
Chip turn-off time (CS) tDF2 1.5 1.0 f-Ls
Cycle time teYe 10,000 10,000 f-LS
609
CMOS 98304-Bit Mask Programmable Read Only Memory LH5396/LH5396A
• Timing Diagram
)(
--tAS tcye
tl' J
'\
CE )
-tCE--
fi:
tDF2
CS lL'
~
f--tDFI-
;'
Valid data
(High impedance) '\.'\.'\.'"
• Chip Select
CSO/CSO -CS 3 /CS 3 CE 1 CE 2 0 0 -0 7 Mode
L H °OUT Read
L L
In selection mode
H L
High impedance Non-selection
H H
In non-selection mode X X
610
CMOS 98304-Bit Mask Programmable Read Only Memory LH5396/LH5396A
Access time vs. supply voltage Access time vs. ambient temperature
1.4 1.4
Ta=60"e Vcc=4.0V
v.: v.:
. .
>
Q)
1.2 '\. >
1.2
.,..
.~
Q)
.,o£j. V
~
u
u
1.0 ~ ~
u 1.0 /
~ /
j u
j
Q)
of
''""
0.8 --- oE'" 0.8
''""
Q)
<:"
" "'"
<:"
0.6 0.6
3.5 4.0 4.5 5.0 5.5 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("e)
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
4 4
Vcc=5.0 V
tl'= 1.5,us
tl'= 1.5,us
3 3
- ~I
2 2
. . ",,7.5I1- S )
LH5396(tc\C _ _
-I...i
...
LJ396(tcY cJ7 .5 ,uS ) -
=
"
o
3.5 4.0 4.5 5.0 5.5
j
U) o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("e)
Output high voltage vs. supply voltage Output low voltage vs. supply voltage
6:0 0.4
= -lOO,uA I oL =1.6mA
...--...--
IOH
C C
:z: 4.5 .-1
0.3
o
:>
'~"
.---V-- :>
0
.,
.±::
~
"§,
:.a
"[ 1.5
o-=
3.0
~'"
"0 0.2
>
-"=
..s
'"
0-=
0.1
-- :---
----
o o
3.5 4.0 4.5 5.0 5.5 3.5 4.0 4.5 5.0 5.5
Supply voltage Vee (V) Supply voltage Vee (V)
----------SHARP--------
611
CMOS 98304-Bit Mas~ Programmable Read Only Memory LH5396S
• Features
1. 12,288-word-by-8- bit organization
2. Single + 3V power supply
3. Low power consumption
4. Edge enabled operation (CEl. CEz)
5. Three-state ,outputs
6. Access time (MAX.) : 15 ps
7. Programmable chip select
8. Byte/digit output select
9. 44-pin quad-flat package
• Block Diagram
Control
Circuit
Address Input
.-----.-.--SHARP--------,,---
612
CMOS 98304-Bit Mask Programmable Read Only Memory lH5396S
• AC Characteristics
(Vee=+2.6V-+3.4V,
, Ta=0-+60"C)
613
CMOS 98304-Bit Mask Programmable Read Only Memory LH5396S
• Timing Diagram
)K
f-<-tAS tcvc
tp I
CE ~
J
I---tCE- tDF2
CS ,I ~
f-;;--t D F l -
• Chip Select
CS O/CSO-CS 3 /CS 3 CE I CE 2 Do-D7 Mode
L H DOUT Read
In selection mode L L
H L
High impedance Non-selection
H H
In non-selection mode X X
614
NMOS 131072-Bit Mask Programmable Read Only Memory LH23126
As
A9
All
• Features OE/OE
1. 16,384-word- by-8-bit organization
2. Single + 5V power supply CSo/CSo
3. Fully static operation (no clock required)
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.) : 250ns
7. Programmab.1e chip select
8. Programmable output enable
9. 28- pin dual-in-line package Top View
• Block Diagram
Data Output
J.
-e
C ~ Q)~
o ._
C; ~-.
0
Output Buffers
Utllc.:l
.,.''""
"0
"0
..: Column Address Decoder
~
c '"
E ..
..::t::
o
Uo:l
=
Address Input
.,''"" '.,'""
'"
"0 '" .,
:g" 131,072(256X64X 8)
:;:
~ <0
u),.o
..: "0 Cell Matrix
~~ ~ ~
o
O::o:l
= 0
...... 0::0
615
NMO.S 131072-Bit Mask Programmable Read Only Memory LH~.3126
---~~~-~--SHARP---------------.-
616
NMOS 131 072-Bit Mask Programmable Read Only Memory LH23126
• Timing Diagram
tRC
Ao-A!3
{ tACC
tCE
~I
CS*!
tcs
OE*2
Do-D7
(High impedance)
• Chip Select
CS/CS" OE/OE 00-07 Mode
H/L DouT Operating
H/L
LlH Operating
High impedance
LlH Standby
----.--~---SHARP--.-.-.--.--
617
CMOS 131072-Bit Mask Programmable 'Rea~ Only Memory. LH53127
• Description
The LH53127 is a mask programmable ROM
• Pin Connections
• Block Diagram
Data Output
"
Control
Signal
Generator
1!32XB
Address
Input
.,
.,.,... 65,536(256X32XB)
:g Cell Matrix
..:
,.
Q
e<::
-----------------SHARP .------.-.~----
618
CMOS 131 072-Bit Mask Programmable Read Only Memory LH53127
619
.................................................,......................
CMOS 131072-Bit Mask Programmable Read Only'Memory ,
~....,---..,
LH53121
• Timing Diagram
(1) When the CE input is used as the clock
(The chip is selected by the input of CSo/CSo• CS 1 ICS,.)
t---------tCYC-------~
Ao-At3
OE
Do-D, ----------------------~~K
~------tCYC------__I
CSo/CSo
Chip select
CSt/CSt
Ao-At3
OE
--------SHARP.......,~-----....--,
620
CMOS 131072-Bit Mask Programmable. Read Only Memory LH53127
• Chip Select
IT cSo/CSQ, CS,/CSI- DE Do-D7 Mode
L Valid data output Read
Select
L H Output non -select
High impedance
Non-select X Non-select
H X Standby
~---'---'---SHARP---'-'-"'-------
621
CMOS 131072-Bit Mask Programmable Read Only Memory LH53129
• Features
L 16,384-word-by-8-bit organization
2. Single +4.5V power supply
3. Low power consumption
4. Edge enabled operation (CE l. CE z)
5. Three-state outputs
6. Access time (MAX.) : 6 ps
7. Programmable chip select
8. Byte/digit output select
9. 44-pin quad -flat package Top View
• Block Diagram
Chip Enable { l~
Cbi, S.I~; { ,
Circuit
Address Input
622
CMOS 131072-Bit Mask Programmable Read Only Memory LH53129
-----------SHARP---------
623
CMOS 131072-Bit Mask Programmable Read Only Memory' lH53129
• Timing Diagram
CE
CS
(High impedance)
• Chip Select
CS O/CS O-CS 3/CS 3 CE 1 . CE 2 Do D7 Mode
L H DOUT Read
In selection mode L L
H L
High impedance Non-selection
H II
In non-selection mode X X
624
CMOS 131072-Bit Mask Programmable Read Only Memory LH53129
,
Ta=60'C Vee =4.0 V
;; 1.2 1.2 /
.,.,
" /'
~
~ u
II 1n
?:
u
u
1.0
0.0
.II
t:. 1.0 /
'"
u
.:t:: ~ r--- .:t::'"
u V ,
'"
.;; 0.8 .;;'" 0.8
0.6 0.6
3.5 4.0 4.5 5.0 5.5 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
<: 4 <: 4
~ tcye =7.5 /JS ~ Vee=5.0V
tl'=1.5/Js tcye =7.5 /JS
g
....
G
....
u tl'=1.5/Js
3 3
.~
......
/ "go
--
2
~ ...'"
.S:
~ .....
.g
~
...
..,"
~
""
§'
4.0 4.5 5.0 5.5 <Il 0 25 50 75 100
Supply voltage Vee (V) Am!>ient temperature Ta ('e)
Output high voltage VS. supply voltage Output low voltage vs. supply voltage
6.0 0.4
IOH=0.4mA IOL=1.6 rnA
~
V· ?: 0.3
4.5
r-
~
i
.. 3.0
---
~
:i
..c:
~
i 1.5 1
o=
0 0
3.5 4.0 4.5 5.0 5.5 3.5 4.0 4.5 5.0 5.5
Supply voltage Vee (V) Supply voltage Vee (V)
.-----.-------SHARP·~.-.----~-.-.
625
CMOS 131072-Bit Mask Programmable Read Only Memory LH53129A
• Features
1. 16,384-word-by-8-bit organization
2. Single +5V power supply
3. Low power consumption
4. Edge enabled operation (CEl> CE z)
5. Three-state outputs
6. Access time (MAX.) : 2.5 ps
7. Programmable chip select
8. Byte/digit output select u u
9. 44-pin quad-flat package z Z Top View
• Block Diagram
Data Output
~
Chip Enable { 18
8JVCC
Chip Select { 24 5 GND
30 LlU
9 B/D
L/U.B/D
Control
Circuit
Address Input
626
CMOS 131 072-Bit Mask Programmable Read Only Memory LH53129A
• AC Characteristics(Vcc=5V±10%, Ta=-'-5-+55·C)
Parameter Symbol MIN. TYP. MAX. Unit
Address setup time tAS 1 f'S
Chip enable setup time tCE 2.5 f'S
Chip enable precharge time tD 1.5 f'S
Chip turn-off time (CE) tDFI 1.5 f's
Chip turn-off time (CS) tDF2 1.5 f's
Cycle time tcYC 10,000 fls
---------------$HARP--------
627
CMOS 131072-Bit Mask Programmable' Read Only Memory LH53129A
• Timing Diagram
I--tAS tCYC
~r---t
J
CE '%"
CS
J---tCE-----I
I---tOF1-
r
(Highim pedance) .
,,',/,
/.
Valid data
• Chip Select
CS O/CS O -CS 3 /CS 3 CE 1 CE 2 Do 0 7 Mode
L H DOUT Read
In selection mode L L
H L
High impedance Non-selection
H H
In non-selection mode X X
628
CMOS 131072-Bit Mask Programmable Read Only Memory LH53129A
1.2 1.2
:>
0
.n "- U
1n
~
~
N
II
u
u
.
!:
II
1.0 ~
:> 1.0
~
<
'"
u
.;:'" 0.8
------r- .;:"'
"-
.;:"' 0.8
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
<" 6.0 t eye =4.0.us
-<
-5
6.0 r-------,-----.----,
Vee=5.5V
-5
tl' =1.5.us G teyc=4.0.us
G ..:i tp=1.5.us
..:i 4.5 ./
4.51===~===*==_t_----1
.§ ~ .§
-:0
-:0...
., ~ ~
go 3.0 ./
""o
.~
30r---+----r---+--~
.
.~ .g
.g
~ 1.5 ~ 1.51----+----r---+--~
... ...
1i 1i
..e;. ..e;.
~ 0
IS:
r/l 4.0 4.5 5.0 5.5 6.0 ~ 0~--2~5~-~5~0---7=5~-~100
I
Output high voltage vs. supply voltage Output .low voltage vs. supply voltage
6.0 0.4
10H=0.4 mA
V IOL=1.6 rnA
4.5 ........ ~ C
0.3
~'"
..,........ V" :>
..J
0
.,
:'if
,;:: 3.0
..,.
. ,;:: 0.2
..
-
o 0
:;
..c
~
..s ,.,..
~ 1.5 ~ 0.1
:; :;
o 0
o O~_~~_~~ _ _~____~
4.0 4.5 5.0 5.5 6.0 4.0 4.5 5.0 5.5 6.0
Supply voltage Vee (V) Supply voltage . Vec (V)
.-.----------SHARP----.----
629
NMOS 262144-Bit Mask Programmable Read Only Memory LH23257
• Description
The LH23257 is a fully static mask programm-
able ROM organized as 32,768-word-by-8-bit by
• Pin Connections
Vee
using silicon-gate CMOS process technology. 0 A"
A7 AI3
A6 AM
A5 A9
A. All
• Features A3 OE OE
1. 32,768-word-by-8-bit organization A2
2. Single + 5V power supply AI cs CS
3. Fully static operation (No clock required)
4. All input and output TTL compatible
5. Three-state outputs. Do
6. Access time (MAX.) : 250ns 01 0;
7. ~rogrammable chip select 02
8. Programmable output enable
9. 28-pin dual-in-line package Top View
• Block Diagram
Data Output
"
Output Buffers
Address Input
630
NMOS 262144-BitMask Programmable Read Only Memory LH23257
631
NMOS 262144-Bit Mask Programmable Rea~ Only Memory LH232.57
• Timing Diagram
tRC
~ ~t\
I - - tOH
tACC
\ tCE
tcs tDFl
"(- tOE-
ro- tDF2
~ VII
(High impedance) ~\\
Valid data -I) ) )
• Chip Select
CS/CS OE/OE Output Current consumption
LlH Standby
High impedance
LlH
H/L Operating
H/L DOUT
632
NMOS 262144-Bit Mask Programmable Read Only Memory LH23257
., 1.4
.,.a 1.4
~ .. ... Vee=4.5V
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
80 ..:: 80
~ ~ teYe=250ns
tcYc=250ns
u u Vee=5.5V
~ 60 ~ 60
c
.§
.Ii;
.~
1;j
~ t:.........
go 40 .-- V ....
"go 40
.ff r--
.g 1
4.5 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta ("C)
Output enable time vs. supply voltage Input voltage vs. supply voltage
.,.a 1.4 2.0
...
.::'" E::
1;j
Ql
1.2 :: 1.7
:>
~ VlH
"'
;;'"
B
1.0
~1.4
"
~
'B
.±::
.
o
VIL
.0
'"c
"
0.8 ILl
i-;;
0 0.6 0.8
4.0 4.5 5.0 5.5 6.0 4.0 4.5 5.0 5.5 6.0
Supply voltage Vee CV) Supply voltage Vee CV)
- . . - . - - - - - - S H A R P - - - - - . - . - - .......
633
CMOS 2~2144-Bit Mask Programmable Read Only.Memory LH53256
• Features
1. 32,768-word-by-8-bit organization
2. Single + 5V power supply
3. Low power consumption_
4. Edge enable operation (CEl> CE 2)
5. Three-state outputs
6. Access time (MAX.) : 800ns
7. Programmable chip select
8. Bytel digit output select
9. 44-pin quad-flat package Top View
• Block Diagram
262,144 (512X64X8)_
Cell Matrix
Address Input
~----------~y~----------~
Data Output
----------SHARP----------
634
CMOS 262144-Bit Mask Programmable Read Only Memory LH53256
635
............,...............--...-:...-.........................
CMOS 262144-Bit Mask Programmable Read Only Memory
.............
~
LH53256
• . Timing Diagram
A o -A 14
CSo/CSo-CS 3 /CS 3 Input transition
L/U, BID
(High impedance)
1-------tCYC----~~
• Chip Select
CE 1 CE 2 OE CS2/CSO -CS 3/CS 3 Mode Do-D 7
0 DOUT
In selection mode Read
L H 1
X In non-seleCtion mode Non-selection
L L X High impedance
H L X Standby
H H X
636
CMOS 262144-Bit Mask Programmable Read Only Memory LH53256
Normalized chip-enable delay time vs. Normalized chip-enable delay time vs.
supply voltage ambient temperature
1.4 1.4
Ta=60'C V cc=4.5V
'"
<.)
~
~
'"
<.) ~
~
~ 0.8 ~'" 0.8
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta' ('C)
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
8 8
tcyc =900 DS
tl'=100DS .,/
6 ~ 6
4
--- ~.
2 2
Vcc=5.5 V
tcyc=900 DS
tp =100 ns
o
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage V cc (V) Ambient temperature Ta ("C)
Output voltage vs. supply voltage Input voltage vs. supply voltage
6.0 2.4 r--------,------r---,
IOH=-1.0mA Ta=O'C(VlH)
~VOH
IOL=4mA Ta=60'C(VILl
.--' ~
e Ta=75'C e 1.8
4.5
0:
.",..,.. I-"" :=
>
0
>
.; ::l
>
0
>
..'"
;!:O
3.0
'~"
;!:O
0
1.2
0
'"
:;'" 1.5 i 0.6
.fr .....c
0=
VOL
o 0
5.0 5.5 6.0
4.0 4.5 5.0 5.5 6.0 4.0 4.5
Supply voltage Vee (V) Supply voltage Vce (V)
-----·-~.-----SHARP-.----------
637
CMOS 262144-Bit Mask Programmable Read Only Memory - LH53257
6. Three-state outputs Dz
7. Access time (MAX.) : 250ns
8. Programmable chip select Top View
9. Programmable output enable
10. 28-pin dual-in-line package
• Block Diagram
Data Output
r - - -________~A~_ _~_ _~--~
Cell Matrix
Address Input (32,76SXS)
638
CMOS 262144-Bit Mask Programmable Read Only Memory LH53257
---------SHARP-----.-.-.---
639
CMOS 262144-:Bit Mask Programmabl~ Read Only Memory LH53257
• Timfng Diagram
Ao-Au =x1-:_~-_-_-_-_~-_-_~t_RC~~~~~~~~~~
. .-_. . . I-.01----tACC----''"I
I-o,""-----tcE-----""I
~-.,;..-+.;;:.:...--_
,e tcs
OE
(High impedance)
• Chip Select
CS/CS OE/OE Output Power consumption
L/H X' During standby
High impedance
LlH
H/L During operation
H/L Output
640
CMOS 262144-8it Mask Programmable Read Only Memorx LH53257
.~ 1.2 "- .~
1.2
...
'"
].,
;;
~
~
p:: p::
1.0 1.0 ~
-----
u u
~
u
-
u
.;; .;;
., .,
'Srn 0.8 .! O.I!
.,rn .,rnrn
...:"" ...:""
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta C·C)
Supply current during operation vs. Supply current during operation vs.
supply voltage ambient temperature
12 12.-----------.-----~----~
tcye=250ns
tnc=250ns
u
..::; 9 / Vee=5.5V
9~~~,-----+-----~----~
-T'----I--_..J
,/
/ .S...
go
.,.
61----+-----+-----/----1
./' .rr.
V .g
~. 31----+-----+-----/----1
8
~
~
2'"
.,
·s.,
...,
1.0
""'" ~
~
:>
~
::
.,
.;::
.
0
'=
0.8
J 1.1
~
0 0.8'--____-'-____--'-____--'____- - J
0.6
4.0 4.5 5.0 5.5 6.0 4.0 4.5 5.0 5.5 6.0
Supply voltage Vee (V) Supply voltage Vee CV)
~.-~-----SHARP-.------------
641
. CMOS 524288-Bit Mask Prograf!1mable Read Only Memory LH53512
• Features
1. 65,536-word-by-B-bit organization
2. Single +5V power supply
3. Low power consumption
4. Edge enabled operation
5. Three-state outputs
6. Access time (MAX.) : 3.0 ps
7. Programmable chip select
B. 24-pin small-outline package
Top View
• Block Diagram
10
9
8
Address Input / Data Output 7
6
5
'4'
Low
Address I--r- X
Latch Decoder - 65,536 X8
Cell Matrix
3
8 8
~ ~. High
Address
Y Y Selecter
Latch Decoder
,------...-. ....... . - - - - - S H A R P . - . - . - - - - - - -
642
CMOS 524288-Bit Mask Programmable Read Only Memory LH53512
643
CMOS 524288-Bit Mask·Programmable Read Only Memory LH53512
644
CMOS 524288-Bit Mask Programmable Read Only Memory LH53512
• Timing Diagram
a-bit output mode
645
CMOS 1048576-Bit Mask Programmable Read Only Memory ,LH531 000
• Features
1.
131,072-word-by-B-bit organization
2.
Single+5V power supply 20 CS/CS/CE/CE
Low power consumption
3.
4.
Fully static operation
5.
Automatic power down mode
6.
All input and output TTL compatible
7.
Three-state outputs
B.
Access time (MAX.) : 250ns (normal mode)
BOns (nibble mode) Top View
9. Programmable chip select
CS type 20pin = CS/~
OE type 20pin = OE/OE
10. 2B-pin dual-in-line package
• Block Diagram
Data Output
~~----~~~--------~
D7 Ds Ds D4 Da D2 DI Do'
CS/CS/OE/OE 20
Address
Input
1,048,576(131,072 X 8)
Cell Matrix
646
................ -........... -...... - . - . -...... - . -....................
CMOS 1244160-Bit Mask Programmable Read
Only Memory for "kanji" Characters Generation
LH53012 Series
I NEW I
LH53012 Series CMOS 12441S0-Bit Mask
Programmable Read Only Memory for "kanji" Characters Generation
• Description • Pin Connections
.---------------------------------~
LH530101 - 4 are mask ROMs for "kanji"
characters generation which memorize a total of Vee
6834 characters of non-"kanji" and "kanji". It is 0 NC
able to input the first and second bytes of JIS ~kan·
ji" code and a character is composed of 24 X 24 NC
dots prescribed in lIS C 6226-1983 Y7
Y6
Y5
y,
Y3
• Features y,
1. 4 chips in a set
Non-"kanji"(524 characters) + First standard CSI
"kanji"(2965 characters) : LH530101 +
OE
LH530102 Second standard "kanji"(3388 char·
NC
acters) : LH530103 + LH530104
2. Row scanning method NC
3. 103,680-word-by-12-bit organization D11
4. Single + 5V power supply D",
5. Low power consumption D9
6. Fully static operation (no clock required) DB
7. Three-state outputs D7
D5
8. Access time (MAX.) : 250ns
9. Involved the error correcting. circuit GND
10. 40-pin dual-in-line packge Top View
647
CMQS,124416-:-Bit Mask Programmable Read
OnJy Memory for "kanji" Characters Generation
.-........,....,... -.-.-.-..-.-.-.- ...........
LH53012 Series
• Block Diagram
30
Chip Chip
Select { Select
Input Buffer Output
Enable Enable
Buffer
,...---'..........., Ao
Row
Decoder
Address
Buffers
Character Sense
Address Amp.
Input Column Memory Output . Output
Decoder Arrey ECC Buffers
648
Ordering Procedure of Mask ROM
~~~.-~~.-~ ......-.-~.-~~~~~
EPROM or
paper tape
---------.-.....-SHARP-.-.-,--------
649
CMOS 65536-Bit Electrically Programmable ROM LH5764J
• Features
1. 8,192-word-by-8- bit organization
2. Access Time (MAX.)
LH5764]-20 : 200ns
LH5764]-25 : 250ns
LH5764]-30 : 300ns
LH5764]-45 : 450ns
3. Single +5V power supply
4. Programming power supply: + 12.5V ± 40% 6. Fully static operation
Programming pulse width : 1 ms/byte 7. Input and output TTL compatible
5. Power consumption (MAX.) : 150m W (operation) 8. Pin compatible with i2764
0.55mW (standby) 9. 28-pin dual-in-line package (Ceramic)
• Block Diagram
65,536
Row Cell Array
Address Input
'" ...
ec .'". '"0
=
_'"0"
'Ii '"0
u<o
0'"0 '"
...o
c_~
... "c ...'"
~
"0
UUl0"""
..... (0)
Data Output
------------SHARP----------
650
CMOS 131072-Bit Electrically Programmable ROM LH57128J
• Features
L 16,384-word-by-8-bit organization
2. Access Time (MAX.)
LH57128J-20: 200ns
LH57128J-25 : 250ns
LH57128J-30: 300ns
LH57128J-45 : 450ns
3. Single + 5V power supply
4. Programming power supply: + 12.5V ± 40% 6. Fully static operation
Programming pulse width: 1ms/byte 7. Input and output TTL compatible
5. Power consumption (MAX.) : 150mW (operation) 8. Pin compatible with i27128
0.55mW (standby) 9. 28-pin dual-in-line package (Ceramic)
• Block Diagram
A7 .,''....""
"'"'""
..:
"0
0
Il::
.,....
"'.,""
0
131,072
Cell Matrix
00
~ ~ ~ 1------+----.1'\ r------""""'------,
~:g ~ 1------+----1/
U":O
.... 1----'
'0 - ~
.......... I-------~'"I
§ .~ ~ L--r---r--r-..,...---r-~_r-r__'
UUl0
---.-.--------~SHARP-----~--
651
, (
• Features
1. 32,768-word-by-S-bit organization 20 CE/PGM
2. Access Time (MAX.) ,
LH57256J-20 : 200ns
LH57256J-25 : 250ns
LH572p6J-30 : 300ns
LH5725'6J-45: 450ns
3. Single + 5V power supply
4. Programming power supply: + 12.5V ± 40% Top View
Programming pulse width: 1ms/byte
5. Power consumption (MAX.) : 150mW (operation) 7. Inputs and Outputs TTL compatible
0.55mW (standby) S. Pin compatible with i27256
6. Fully static operation 9. 2S-pin dual-in-line package (Ce:amic)
• Block Diagram"
'"
..."'"
"""" "...
<
262,144
it "" Cell Matrix
0
0
~
" 0"
...
"0- ~
........
.., c "
CE/PGM 20}---~'" = "" =
0 · ....
UClJtj
QJ
652
CMOS 1024-Bit Static Random Access Memory LH51 01-30/LH51 01-45
LH5101-30/LH5101-45
CMOS l024-Bit Static Random Access Memory
• Description • Pin Connections
The LH5101-30/LH5101-45 are fully static RAMs
organized as 256-word-by-4-bit by using sili-
con-gate CMOS process technology.
• Features
1. 256-word-by-4-bit organization
2. Single + 5V power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH5101-30 : 300ns, LH5101-45 : 450ns
7. Data can be held on +2V supply voltage
8. Low power current consumption at standby Top View
mode 10 pA (MAX.)
9. 22-pin dual-in-line package
• Block Diagram
Do<. l.,.'{ :
Output Disable 8
Address Input
"--~------SHARP'-'-------'-'
653
CMO$ 1024,..Bit Static Random Access Memory LH5101-30lLH51 01-45
• AC Characteristics
(1) Read cycle (Vcc =5V±10%, Ta=0-+70t)
LH5101-30 LH5101-45
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time tRC 300 450 ns
Access time t ACC 300 450 ns
Chip enable time 1 teal 250 400 ns
Chip enable time 2 te02 350 500 ns
Output enable time taD 180 250 ns
Chip turn-off time tDF 0 100 0 130 ns
Data hold time from a.ddress tOHl 0 0 ns
Data hold time from CE I tOH2 0 0 ns
LH5101-30 LH5101-45
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP_ MAX.
Cycle time twc 300 450 ns
Access time tAW 60 130 ns
Chip enable time 1 teWl 250 350 ns
Chip enable time 2 teW2 250 350 ns
Data setup time tDW 150 250 ns
Data hold time tDH 40 50 ns
Pulse width twp 180 250 ns
Recovery time tWR 40 50 ns
Input enable time tDs 100 130 ns
.-.-.-.-----SHARP~.----....-,-~--
654
CMOS 1024-Bit Static Random Access Memory LH51 01-30/LH51 01-45
• Timing Diagram
(1) Read cycle
1--------tRc------~
~+__--·tC02--__i
OD
(in I/O common mode)
j E - - - - I t ACC
For data input/output separation, OD is made low. In read cycle, R/W is made high.
655
CMOS 1024-Bit Static Ran<;:Jom Access Memory LH51 01-301LH51 01-45
~-------------tw~------------~
.tcw,---~
CE,
~------~-tcw,,--~----~
DI,- Dr,
-tDI'!---------;~
------~~~~------twp------~r_------r_---
R/W
In I/O common mode, OD is made high during the write period. For data input/output separation, OD may be either high or low.
-.-..---.----SHARP--.--~--.-.
656
CMOS 1024-Bit Static Random Access Memory LH51 01-30/LH51 01-45
1/
Qi
~
l:3 1.0 l:3 1.0
~
:;
:;
.!'"
OJ
OJ
0.8
~ .!'"
~ 0.8
/
'" ...:""
...:""
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("e)
----
::s 20 20
b" ~ b"
is: ~ r--
----
Q.
..'"
::s
OJ
co
10
~
,
§-
OJ
g:,
.
co
10 ...
...:'" ...:'"
> >
o
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
SupplyvoItage Vee (V) Ambient temperature Ta ("e)
Input voltage vs. sup·ply voltage Input voltage vs. ambient temperature
2.0 2.0 ..-----..-----,----,---~
~
.... 1.5
;; V IH
'" 1.0
! ~
.:::
g ~
'[ 0.5 '[ 0.51---+----+----+----1
..s .a
o
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ("C)
657
CMOS 1024-Bit Sta~'ic Random Access Memory LH51 01 iLH51 01 L3
LH510'1/LH5101L3
CMOS I024-Bit Static Random Access Memory
• Description .• Pin Connections
The LH5101/LH5101L3 are fully static RAMs
organized as 256-word-by-4-bitby using sili-
con-gate CMOS process technology.
o
• Features
1. 256-word-by-4-bit organization
2. Single +5V power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH5101 : 800ns, LH5101L3 : 650ns
7. Data can be held on +2V supply voltage
8. Low power supply current at standby mode Top View
9. 22-pin dual-in-line package
• Block Diagram
Data Output
Read/Write Input
Do<, r.,.. { :
Output Disable 18
'--.r---I
Address Input
.-..-...-.....~----SHARP ----------------
658
. CMOS 1024-Bit Static Random Access Memory LH51 01 ILH51 01 L3
• AC Characteristics
LH5101 LH5101L3
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time tRc 800 650 ns
Access time t ACC 800 650 ns
Chip enable time 1 teal 800 600 ns
Chip enable time 2 te02 850 700 ns
Output enable time too 350 350 ns
Chip turn-off time tOF 0 200 0 150 ns
Data hold time from address tOHI 0 0 ns
Data hold time from CE I tOHZ 0 0 ns
LH5101 LH5101L3
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time twc 800 650 ns
Access time tAW 200 150 ns
Chip enable time 1 tcwI 600 550 ns
Chip enable time 2 tew2 600 550 ns
Data setup time tow 400 400 ns
Data hold time tOH 100 100 ns
Pulse width twp 400 400 ns
Recovery time tWR 50 50 ns
Input enable time tos 200 150 ns
659
. CMOS 1024.:Bif Static Random Access Memory· LH51 01 ILH5101 L3 .
• Timing Diagram
(1 ) Read cycle
t-'--------tRC--------I
t---+--tC02:----I
OD
(in I/O common mode)
For'data input/output separation, OD is made low. In read cycle, R/~ is made high.
_ _ _1-_--. J----·tCWl--.......j
eE,
I--+---t-tCW2:-------;~
Oh-DI.
f----tDW'-----!~
___-+~,~---:tw~--~~~~~----
R/W
In 110 common mode, OD is high during the write period. For data input/output separation, OD may be either high or low.
i.~-- ~~~~~~:~----
Supply voltage
V,,--------
VIH::£:t:'~
O.2V--- --
________________ __
- ------------
'b~
---
OV---- ---
. - - - - - - . - . - - S H A R P .-......-,--_.-.....-._---
661
CMOS 1024-Bit Static Random Access Memory LH5101S
• Features
1. 256-word-by-4-bit organization
2. Single + 3V power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.) : 3.0 ps
7. Data can be held on +2V supply voltage
8. Low power supply current at standby mode
10 pA (MAX.) Top View
9. 22- pin dual-in-line package
• _Block Diagram
Output Disable 18
'-v--'
Address Input
662
CMOS 1024-Bit Static Random Access Memory LH5101S
• AC Characteristics
(1) Read cycle (V ee =2.6-3.4V, Ta=-10-+60'C)
-'-'-~--'--SHARP'-~~~----'--
663
CMOS 1024-Bit Static Random Access Memory LH5101S
• Timing Diagram
~--------------tRC--~--------~
AE
OD
(in I/O common mode)
664
CMOS 1024-Bit Static Random Access Memory LH5101S
twe
Ao-A7
tew!
eE!
AE
tAt..W
tDH
DI!-DI.
tDW
tw
R/W
In 110 common mode, OD is made high during the write period. For data input/output separation, OD may be either high or low.
-------}=:.=~'~~":~------
-------- '"b
Supply voltage ,Vee
2.60V
VD.
AE
V 1H
O.2V
~~~------------------~
--- ------ - ---
---
OV -----------------------------
Address enable (AE) may be high normally, but in this case, the address input level must strictly be below VIL and above VIH in.
clusive of noise spikes. Use of AE in such a timing relationship that the AE input is included inside the address input as shown
in the timing chart is fairly recommended.
665
CMOS 1024-Bit Static Random Access Memory LH5101W
• Features
1. 256-word-by-4-bit organization
2. Single ,+ 5\1 power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-.state outputs
6. Access time (MAX.) : 800ns
7. Data can be held on +2V supply voltage
8. Low power supply current at standby mode
100 pA (MAX.) Top View
9. 22-pin dual-in-line package
• Block Diagram
Data Output
Output Disable 8
----~--.--,------SHARP ....-..-.~.-.------
666
CMOS 1024-Bit Static Random Access Memory LH5101W
• AC Characteristics
(1) Read cycle (V cc =5V±10%, Ta=0-+70'C)
Cycle time
Parameter Symbol
(Vcc=5V±10%, Ta=0-+70'C)
667
CMOS t024-Bit Static Random Access Memory LH5101W
............... - ............ - ......_ _ _ _ _ _ _ _r.._..:_ _ _,.._.
668
CMOS 1024-Bit Static Random Access Memory LH5101W
• Timing Diagram
i-------tRC----------l
tCOI
t---+---tcoz-----I
too
00
(in I/O common mode)
tOF
i---tACC
DOl-DO.
For data input/output separation, OD is mode low, In read cycle, R/W is mode high.
(2) Write cycle
I-------twc----------.~
___+-__... ro<-----tcwl----t
CE z
I-+----tcwz---------;~
00
(in I/O common mode) tOH
011-01.
I----tow----<*;;-.-
R/W ---~--,~-----twp r-----~----
In 110 common mode, OD is made high during the write period. For data input/output separation, OD may be either high or low.
(3) Low-voltage data hold
VIH
CEz O.2V --- - -------------- ---
OV
.-.-----------SHARP .-.-.-----------
669
CMOS 2048-Bit Static Random Access Memory LH51 02/LH.51 02-8-
LH5102/LH5102-8
CMOS 2048-Bit Static Random Access Memory
• Features
1. 512-word- by-4-bit organization
Single + 5V power supply
2.
3.
Low power consumption
Data can be held on + 2V supply voltage
4.
5.
All inputs and outputs TTL compatible
6.
Three-state outputs
7.
Fully static operation
B.
Pin compatible with SHARP LH5101 or Intel
5101 (except Pin 19) Top View
9. Access time (MAX.)
LH5102-B: BOOns, LH5102 : 1,200ns
10. 22-pin dual-in-line package
• Block Diagram
Read/Write Input
u
Data Input { ;
670
CMOS 2048-Bit Static Random Access Memory LH51 02/LH51 02-8
Parameter Unit
Read cycle
Cycle time t RC 900 1,200 ns
Access time t ACC 800 1,200 ns
Chip enable time teo 800 1,200 ns
Output enable time taD 400 500 ns
Chip turn·off time tDF 0 200 0 250 ns
Data hold time toH 0 0 ns
Write cycle
Cycle time twc 900 1,200 ns
Access time tAW 150 300 ns
Data setup time tDW -200 0 ns
Data hold time tDH 70 100 ns
Pulse width twp 650 400 ns
Recovery time tWR 100 200 ns
Input enable time t DS 150 250 ns
671
CMOS 2048-Bit Static Random Access Memory LH51021LH5102-8
672
CMOS 2048-Bit Static Random Access Memory LH5102/LH51'02-8
• Timing Diagram
(1) Read cycle
tRe
Ao- As 'V
JI\
'V
JI\
..... tOHr---
cs
teo ~
I
OD ( Note 1) tOD-
I
(in I/O common mode) J
----- -----tAee
----'V
I--tDF-
--
_________ JI\ Valid data
----- ---
twe
Ao-As W V--
JI\ .JIL-
cs l/
,
~
1"--
OD ( Note 2) V
(in I/O common mode) )
tDH
I---tos- i--=+
------ ----'V
Valid data
,V- ----
------ ____ .11\tow ~~- ----
~
'\ twp U
R/W
1\
I------tAW_ i--twR-
Note 2 : tn I/O common mode, OD is made high during the write period. For data input! output separation, OD may be either high
or low.
. CS OV--- - - - ---
---'----.-..---SHARP . - . - . - - - - - - - -
673
CMOS 2048-81t Static Random Access Memory LH51 02/LH51 02-8
u 1.0 u 1.0
u
~ ....--'
.j j
., .,
.~
0.8
~ .~
'" 0.8
'.,'"" ~
<:"
" <:"
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta coe)
<:
6
~ 4.0 4.0
- tl
-u
u
13.0
~ ~
- .§
~
~§
3.0
2: 2:
..I 2.0r---+--- :: 2.0
>;:; > V1H(MIN.)
-
> >.," 1.5
., 1.5 i-----+----+---+----I
~ ~
.:!::
1
J 1.0 ......."----+----+---+----1
:;
11.0
V1L(MAX.)
-
0.5!";:-_ _:'-:-_ _:::-::-_ _-="="_ _-:' 0.5
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ee)
-~-~----SHARP--------~-~-~
674
CMOS 2048-Bit Static Random Access Memory LH5102W
• Features
1.
512-word-by-4-bit organization
Single + 5V power supply
2.
3.
Low power consumption
Data can be held on + 2V supply voltage
4.
5.
All inputs and outputs TTL compatible
6.
Three-state outputs
7.
Fully static operation
Pin compatible with SHARP LH5101 or Intel
8.
5101 (except Pin-19) Top View
9. Access time (MAX.) : 1,200ns
10. 22-pin dual-in-line.package
• Block Diagram
:J-----iRow Row
l--_-;of.Address.t==~Address
!r-_-.....Buffers Decoders
00----1 Input
l}----..... Data
.3}----..;o-j Control
--------------SHARP-----------
675
CMOS 2048-Bit Static Random Access Memory lH51{)2W
676
CMOS 2048-Bit Static Random Access Memory LH5102W
677
CMOS 2048-Bit Static Random Access Memory LH51.02W
• Timing Diagram
(1). Read cycle
Ao-As
cs
J---1I----tco---..-i
OD (Note 1)
(in I/O common mode)
J---------twc------------~~
cs
OD (Note 2)
(in I/O common mode)
tDH
_ _~f_--!::::::j""----twp------lr_-.......,r_--
R/W
Note 2 : In 110 common mode, OD is made high during the write period. For data input/output separation, OD may
be either high or low.
V[H~~~-----------------~~
cs O.2V---
ov--- -
-- -
- -
-
-
--
--
---
- -
---
---
678
CMOS 2048-Bit Static Random Access Memory LH5102W
u 1.0 V
'""
u
."! ,,/'
., ., ,../
.~ 0.8 .~ 0.8
:J..,'" .,..,''""
.., ..,
«: «: 0.6
0.6
4.0 4.5 5.0 5.5 6.0 -20 0 20 40 60 80 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
--------
"'"
~
i... 2.0
- ........ ~ i
I 2.0
r-- I"-
~
...
u ~
U
1.0 1.0
4.0 4.5 5.0 5.5 6.0 -20 o 20 40 60 80 100
Supply voltage Vee (V) Ambient temperature Ta eC)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.5.-----,---,---,.------, 2.5
2: 2:
== 2.0 1------1f------ 2.0
-
VIH(MIN.)
:> >==
:5 :5
:> >
., 1.5
:.:: VIL(MAX.)
0
>
:; 1.0
....."""
------------$HARP----------
679
NMOS· 4096-Bit Static Random Access Memory LH2114L-20
• Features
1. 1,024-word-by-4-bit organization
2. Single + 5V power supply
3. Fully static oper~tion (no refresh or clockre-
quired)
4. All inputs and outputs TTL compatible
5. Three-state outputs.
6. Access time (MAX.) : ,200ns
7. 18-pin dual-in-line package Top View
• Block Diagram
'"
"...'" M emory Array
Address Input )-----------~~==~ ~ ...~ 64 Rows
c " 64 Columns
)-----------c~=====1 ]o 8"
)--_ _ _--{:(~==~ U I=l
Row Address
Decoders
T
Address Input
680
NMOS 4096-Bit Static Random Access Memory LH2114L-20
• AC Characteristics
681
NMOS 4096-Bit Static Random Access Memory LH211.4L-20
• Timing Diagram
(1) Read cycle
i--------tRC-------'"'i
i-----tACC--_
(Note) WE is "High"
tire
Ao-Ag
CS
1 tAIr ,. 3
682
NMOS 4096-Bit Static Random Access Memory LH2114L-20
~ ~ /'
~
/
"'"
~
j
<.>
<.>
1.0
"""'-
-- j
<.>
<.>
]'"
1.0
/'
]'" .....
.,.,
0.9 0.9
..,..,'" ..,..,'"
...: ...:
0.8 0.8
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('G)
-.
<.>
~
-..'"
c
40 ./
V '"
..,"
c
40
..........
~
il
.E:> ,/
V .E:>
Co
.," Co ~
~
..
..'..'""
:f
...:
30
.'..'co""
...:
OIl 30
"
20
4.0 4.5 5.0 5.5 6.0 20 0 25 50 75 100
Supply voltage Vee (V) Ambient.temperature Ta (,C)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.5 2.5
?::
2.0 2.0
..J
> :c
:5
;;.-
1.5 VII!:-- > 1.5
.'"
OIl
~ VlH
VIL
.±:
.
0 VIL
~
:; 1.0
Co
i 1.0
.E .E
0.5
4.0 4.5 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
683
--------_....... .. ....- ..................- -
CMOS 4096""Bit Static Random Access Memory:'
.- .-
- LH5114-4
o
• Features
1. 1,024-word-by-4-bit organization
2. Single + 5V power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.) : 450ns
7. Data can be held on + 2V supply voltage
8. Supply current at standby mode 10 ~A
(MAX.) on + 2V supply voltage Top View
9. 18-pin dual-in-line package
• Block Diagram
Memory Array
32 Rows
128 Columns
684
CMOS 4096-Bit Static Random Access Memory LH5114-4
.---.-~.---SHARP.-----.---
685
CMOS 4096-Bit Static Random Access Memory LH5114-4
• Capacitance
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Input capacitance CIN VIN=OV 15 pF
Output capacitance CliO VIIO=OV 35 pF
• Timing Diagram
CS
1/01-1/0.
(Data output)
twc
tcw tCH
cs \ \ \ '\ -J- / / / / / /
tAW tWR_
twp
WE tAS ~ \ 'k.
«E
tDW "I .. tDH~
1/01-1/0. I
(D ata input)
Fixed data »
5V
VCC(PD)
OV
CMOS 4096-Bit Static Random Access Memory LH5114-4
-............
]
~
III ./
tl 1.0 r---........ ~ 1.0
./
~
-............ V
.§
III
.,
:; 0.8 "- .5
III
:; 0.8
.,.,
~
..:" ..:""
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
..:
.5
tl 15 u 15
...... ~
~...
e 10
".,...... 10
""
~
1
-- --- ..,. r----- r--
~
---
8:
.,
;, 5 .," 5
...
III ... r--
> >
..: ..:
o
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambi~nt temperature Ta eC)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.0.----,-----r---...,----, 2.0
G
G r---
=
:>
1.5
= 1.5 ....
:>
Vw
VIL -
::
:>
::
:>
., -
...
III
1.0
~
.:::0
1.0
1> >
"S
I 0.5 .s"'" 0.5
o~--~-~~--~--~
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
---.-----SHARP-...-.------~
687
................ -.....
CMOS'4096-Bit Static Random Access Memory
~.-~...., ........... ................-....,.....
.-'
" "'LH5104-4
o
• Features
1. 4,096-word-by-l-bit organization
2. Single +5V power supply
3. Fully static operation (no refresh or clock reo
quired)
4. All inputs and outpu~s TTL compatible
5. Three-state outputs
6. Access time (MAX.) : 450ns
7. Data can be held on + 2V supply voltage
8. Supply current at standby mode 10 pA on Top View
+ 2V supply voltage (MAX.)
9. l8-pin duai-in-line package
• Block Diagram
Row
Address
Decoders
688
CMOS.4096-Bit Static Random Access Memory LH51 04-4
• AC Characteristics
(1) Read cycle (V ee =5V±10%, Ta=0-+70·C)
.-.-----~--.....-.--SHARP .-.~--.--.-.--
689
CMOS 4096.;.Bit Static Random Access Memory LH51 04-4
'-~-------SHARP~-----'----
690
CMOS 4096-Bit Static Random Access Memory LH51 04-4
• Timing Diagram
(1) Read cycle
tRC
\V "V
11\ 1\
tACC tOH
~
tc
cs \\\\ ~ ,'/////1///
tou tDF
DOUT
-
V L II
1\-"'.1'--
Valid data \ \"
/J
fE-------twc:--------t
WE
DOUT
4.5V
VCC(PD)
OV _~C:.:::S:",-......J
691
CMOS 4096-Bit Static Random Access Memory
.,.a 1.4
Ta=700e 1.4
Vee=4.5 V
... ~
... V
.=:'" /
1.2
~ 1.2
~
10
;;
Il:::
.!!l
'"
/'
/
Il:::
;;
($ 1.0
.~'"
Ul
Ul
'"
<""
0.8
"" -............
~
;;
u
u
.~'"
Ul
Ul
"'"
<"
1.0
0.8
/ ,
0.6 0.6
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (Oe)
Average supply current vs. supply Average supply current vs. ambient
voltage temperature
20 20
< <
3 3
u 15 u 15
......u ......u
C .,
C
...
..'"
1
""
.'."
Ul
10
5 .- ------ ----
,
~ i
""
.'".."
Ul
10
5
r--
---- ~~
..
<'" <
..'"
o
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (Oe)
Input voltage vs. supply voltage Input voltage .vs. ambient temperature
2.0
---
2.0
---
--- --- -
G G
~
--
-
1.5 ... 1.5
... VIH
> 'ill.
>
>
.. ~
~
>
.. ~L
...'" 1.0
!
..'" 1.0
..
~ ..
'0
i 0.5
1 0.5
..s
o
4.0 4.5 5.0 5.5 0.0 0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ee)
-----~--~----SHARP.-.-.--.-----
692
CMOS 16384-Bit Static Random Access Memory LH5116-15/LH5116-20
LH5116-15/LH5116-20
CMOS 16384-Bit Static Random Access Memory
• Features
L 2,04S-word-by-S-bit organization
2_ Single +5V power supply
3_ Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH5116-15: 150ns, LH5116-20 : 200ns
7. Supply current at standby mode 10 pA
(MAX.) on + 2V supply voltage Top View
S. 24-pin- dual-in-line package
• Block Diagram
~VCC
Memory- Array
128 Rows
~GND
128 Columns
Column
Address Buffers
Write In put,$l }-
Chip Select 18~-t--tL:::8:=:::::
Output Enable 20 1 )}-----+-11-+--+--------'
L---~====~~--------~~r-----------------------~
Address Input
693
CMOS 16384-Bit Static Random Access Memory LH5116-15/LH5116-20
• AC Characteristics
(1) Read cycle . (Vcc=5V±10%. Ta=0-+70'C)
LH5116-15 LH5116-20
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time tRc 150 200 ns
Access time t ACC 150 200 ns
Chip enable time teE 150 200 ns
Chip select time tcs 15 20 ns
Output enable time tOE 75 100 ns
Output select time tos 15 20 ns
Output turn-off time (from CE 2) tOFl 0 40 0 60 ns
Output turn-off time (from CEll tOF2 0 40 0 60 ns
Data hold time tOH 15 20 ns
LH5117-15 LH5117-20
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time twc 150 200 ns
Chip select time tcw 110 135 ns
Access time ' tAw 110 135 ns
Address setup time tAs 0 5 as
Pulse width twp 110 140 ns
Recovery time tWR 20 35 ns
Output turn-off time (from OE) tOFl 40 60 ns
Data setup time tow 70 80 . ns
Data hold time tOH 10 10 ns
Output turn-off hold time
tow 15 20 ns
(from WE)
Output turn-off time (from OE) tOF2 40 60 ns
--~-'---~--SHARP ---.-.-----------
694
CMOS 16384-Bit Static Random Access Memory LHS116-1S/LHS116-20
Parameter Symbol ~
Conditions MIN. TYP. MAX. Unit
Input capacitance CIN VIN=OV 5 pF
Input! output capacitance CliO VlIO=OV 8 pF
• Timing Diagram
----tRc-----ti--...j
~:::::::-t-Ac-C~~--~--~---~.-,~~-tO-H-----------
1------tCE----~"'"
cs
I/O}-I/Os
~--.------SHARP.-----~.-.-~.---
695
(2)
.....
CMOS.16384-Bit Static Random Access Memory
~ ~.-~~.-~
~-----------twc----------~
Ao-AIO
1--------tAW -------+-~;o.j
cs
5.0V
4.5V
VIH
VCCDR
VIL
GND --------------------------------
696
CMOS 16384-Bit Static Random Access Memory LH5116-15/LH5116-20
.,.e 1.2
.,.e 1.2
...,. ..
.,..
~
.~
1;;
Ql
u
1.1
1.0
""~ .~
~
Il::
u
u 1.0
1.1
/
V
./
~ ........... ~
u .j
.j
., .,
.! .!
0.9 0.9
.,
C/l
C/l .,
C/l
C/l
..:"" ..:""
0.8 0.8
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta C·C)
..: ..:
-! -!
~
20 u 20
.;:;
-- ---
u
......u /'
-.,"" / .,
C
"
"" 15
"" 15
i
"
/ b"
is:
r-- t---
".,
...,.
C/l
10
,/
.'..""
"
C/l
10
.." ..
..:'"
..:
5
4.0 4.5' 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta C·C)
Input voltage vs. supply voltage Input voltage vs. ambien! temperature
2.5 2.5
2: 2:
2.0 2.0
>" >".,
>= ~ >
.,OIl
.
.::
0
..
$-=
1.5
1.0
--- ~
~
-
VIL
'"~
.::0
..
$-=
1.5
1.0
VlH
VIL
0.5 0.5
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta (·C)
--------SHARP-~-.-----
697
. .-..-......,.....,.-.~ .........,.........,.....,.....,-
CMOS 16384-Bit Static Random Access Memory LH5117 .:.15/LH5117-20
-.....,,.....,
LH5117-15/LH5117-20
CMOS 16384-Bit Static Random Access rtlemory
• Features
1. 2,048-word-by-8-bit organization
2. Single +5V power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH5117-15: 150ns, LH5117-20: 200ns
7. Supply current at standby mode 10 pA (MAX.)
on + 2V supply voltage Top View
8. 24-pin dual-in-line package
• Block Diagram
--lvcc
Memory Array
128 Rows
~GND
128 Columns
.~~______~~~r-~---------~,~
:ro r---, ~
¥s -ui L---->. Sense Amp. . L-k
.5il~~
~
Data I/O ~ I ~ hIII ~I>-+-+-f-h
~ ! Column Decoders
'is O r : :::::---->-+-I+t+h
f t
'-r-t ~
Column
Address Buffers
::::---
698
CMOS 16384-Bit Static Random Access Memory LHS117-1S/LHS117-20
• AC Characteristics
(1) Read cycle (Vcc=5V±10%. Ta=0-+70"C)
LH5117-15 LH5117-20
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time tRC 150 200 ns
Access time t ACC 150 200 ns
Chip enable time tCE 150 200 ns
Chip select time tcs 15 20 ns
Output enable time tOE 75 100 ns
Output select time tos 15 20 ns
Output turn·off time (from CE 2) tDFl 0 40 0 60 ns
Output turn·off time (from CEll tDF2 0 40 0 60 ns
Data hold time toH 15 20 ns
LH5117-15 LH5117-20
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time twc 150 200 ns
Chip select time tcw 110 135 ' ns
Access time tAW 110 135 ns
Address setup time tAS 0 5 ns
Pulse width twp 110 140 ns
Recovery time tWR 20 35 ns
Output turn-off time (from WE) tDF 40 60 ns
Data setup time tDW 70 80 ns
Data hold time tDH 10 10 ns
Output turn-off hold time
tow 15 20 ns
(from WE)
---~"""-'--'-'--SHARP ------.-.----.-.
699
CMOS 16384-Bit Static Random Acce~s Memory LH5H7-15/LH5117;.20
VCC=VCE2=2.0V. pA
Data hold supply voltage IccDR 10
VIN=OV or Vcc
CS setup time tSDR t RC ns
CS hold time tRDR t RC ns
• Timing Diagram
(l) Readicycle
1-------tRC-----~~
-.----------,-SHARP----.---~~.---
700
CMOS 16384-Bit Static Random Access Memory LH5117-15/LH5117-20
~----------twc----------~~
~---------tAW--------~~~
5.0V
4.5V
VIH
VCCDR
VIL
GND --------------------------------
-----------SHARP----.-.-.-----
701
OMOS 16384-Bit Static Random Access Memory LH5117-15/LH5117-20
., 1.2
., 1.2
.,.
..e
,...
..e
V
.:=
III
1.1 ... III
.:= 1.1 ./
]
III
"~ ~ V
~ ~
/
..<.l
<.l
<
1.0 <.l
<.l
:!
1.0
/'
]
III
.,.,
III
0.9
I'" ~
.,
.!j
.,.,
III
0.9
<"" <""
0.8 0.8
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta C'C)
- --
/
i..
.... ~ ...
III
--
15 15
b" ~ b"
...,g; ~ .,~
r----
"...,
..,.g:,
III
10
...'",.
III
III
10
< <
5
4.0 4.5 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta C'C)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.5,-----r----.,---,----...., 2.5
~ ~
:::l 2 . 0 1 - - - - t - - - + - - - + - - _ j :::l 2.0
:> :>
:> = VIH
III 1.51----t---+--==;;;;;;o-+~=-_j
.:::
~
~
11.01---+---+----+-----j
- -VIH
r-VIL
702
CMOS 16384-Bit Static Random Access Memory LH5118-15/LH5118-20
LH5118-15/LH5118-20
CMOS 16384-Bit Static Random Access Memory .
• Description • Pin Connections
The LH5118-15/LH5118-20 are fully static
RAMs organized as 2,048-word-by-8-bit by us-
ing silicon-gate CMOS process technology.
o
• Features
1. 2,048-word -by- 8- bit organization
2. Single +5V power supply
3. Fully static operation
4. All inputs and outputs TTL compatible
5. Three-state outputs
6. Access time (MAX.)
LH5118-15: 150ns, LH5118-20: 200ns
7. Supply current at standby mode 10 pA (MAX.)
on + 2V supply voltage Top View
8. 24-pin dual-in-line package
• Block Diagram
Memory Array
128 Rows
128 Columns
"0
!::c
Data I/O o
U
L~===~::!.:"'::"'::::'::'-_-<4 5 6 7 } - - - - - - - -_ _ _ _....I
\ Addresvs Input J
~.-.-------SHARP--.------
703
CMOS:16384..;Bit Static Random Access Memory lH5H8-15/LH5118-20
• AC Characteristics
(1) Read cycle (Vcc =5V±10%. Ta=0-+70"C)
LH511B-15 LH511B-20
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Cycle time tRc 150 200 ns
Access time tACC 150 200 ns
Chip enable time tCE 150 200 ns
Chip select time tcs 15 20 'ns
Output enable time tOE 150 200 ns
Output select time tos 15 20 ns
Output turn-off time (from CE 2) tOFl 0 40 0 60 ns
Output turn-off time (from CEll tOF2 6 40 . 0 60 ns
Data hold time(from address) tOH 15 20 ns
LH511B-15 LH511B-20
Parameter Symbol Unit
MIN. TYP. MAX. MIN. TYP. ,MAX.
Cycle time twc 150 200 ns
Chip select time tcw 110 135 ns
Access time tAW 110 135 ns
Address setup time tAS 0 5 ns
Pulse width twp 110 140 ns
Recovery time tWR 20 35 ns
Output turn-off time (from WE) t 40 60 ns
. Data setup time tow 70 BO ns
Data hold time tOH 10 10 ns
Output turn-off hold
tow 15 20 ns
time (froni WE)
704
CMOS 16384-Bit Static Random Access Memory LHS118-1S/LHS118-20
Vec=VeE2=Z.OV.
Data hold supply current IeeDR 10 p.A
VIN=OV or Vee
CS setup time tSDR tRe ns
CS hold time tRDR t Re ns
• Timing Diagram
t-----tRc----\k--l
iE------tCE----~
iE----tcs-----i ~_r±_----r_~~
1/01-1/0.
705
/
CMOS 16384-Btt Static Random Access Memory LH5118-15/LH5118-20'
~------------twe----------~~
5.0V
4.5V
VlH
Vee DR
VIL
GND
'--~-~'-----SHARP"-""--'-'--~---
706
CMOS 16384-Bit Static Random Access Memory LH5118-15/LH5118-20
Access time vs. supply voltage Access time vs. ambient temperature
.,..e 1.2
.,..e 1.2
V
...,. ..
.,..
.
.~ 1.1 "- .~ 1.1 L
.,
..!S /'
V
Ql
""
P::: P:::
u 1.0 u 1.0
u u
~ ,/
j j
., .,
]
.,.,
.,
..:""
0.9
"" ]
.,.,
.,
..:""
0.9
0.8 0.8
4.0 4.5 5.0 5.5 6.0 o 25 5Q 75 100
Supply voltage Vee (V) Ambient temperature Ta (·C)
.,
C
.. 15
v C.,.
. 15 '""'"
r--- r--
"
.Q
os
/'
V os
"
.Q
.,""os""
§:
.,os
.,
.,..""
10
..".. 10
..:
.
..:"
5 5
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (·C)
Input voltage vs. supply voltage Input voltage vs. ambient temperature
2.5 2.0
C
C 2.0 1.5
... ;;-
'" VlH
:>
==
-
--- -
VlH ;;-== VIL
-- ----
;;- 1.5 1.0
"~
"~ .::co
~ ..
VIL
..
:; 0.5
1.0
ic
""
......c
......
0.5
4.0 4.5 5.0 5.5 6.0 0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (·e)
707
NMOS6.5536-Bit Dynamic Random Access Memory LH21.64-15/LH2164-20
LH2164-15/LH2164-20
NMOS 65536-Bit Dynamic Random Access Memory
• Description • Pin Connections
The LH2164 is a dynamic RAM organized as
65,536-word-by-1-bit by using high-performance
depletion load, n-channel double-poly silicon-gate
MOS technology.
o
• Features
1. 65,536-word-by-1-bit organization
2. Access time (MAX.)
LH2164-15: 150ns, LH2164-20 : 200ns
3. Cycle time (MIN.)
LH2164-15: 270ns, LH2164-20 : 330ns
4. Power supply: +5V±10%
5. Power dissipation (MAX.) : 248mW(operation)
: 28mW(standby)
6. All inputs and outputs TTL compatible Top View
7. Address and input date latch capability. __
8. Three-state outputs date controlled by CAS
and not latched at the end of cycle
9. Common 110 capability using the early-write
mode
10. Read/modify/write, page-mode, RAS-only re-
fresh, and hidden ~efresh capabilities
11. Built-in gated CAS function
12. Built-in biasing-voltage generator circuit for
high-output board
13. 2 ms refresh period, 128 cycle refresh
14. 16-pin dual-in-line package
------.-~-~---SHA~P-.-- ....... - . . . . - . . - -
708
NMOS 65536-Bit Dynamic Random Access Memory LH2164-15/LH2164-20
• Block Diagram
'9""0 ''""
<I) <I) ...
" .,
<I)
..:
"'"
Cflo.
..: '" "
9""0 ..:
"'"
[flo. [flo."'" ..: '"
9""0 '" '"
[flo.
I 9
;:g..: W -"
" 0
o '"
uo
W
u
I 9 I 9
;:g..:
W -"
" 0
0''''
uo
W
u
I 9
;:g..:
u ;:g..: u
Write Clock
Data In Buffers
Data Out
Column Address 15,}--------~ Buffers 14 Data Output
Strobe
Biasing-voltage Generator
Circuit For High-output
Board
---------SHARP---------
709
NMOS 65536-Bit Dynamic Random . Access Memory \
LH2164,.15ILH2164-20
......,......,......,......,......,......,~ -......,......,......,......,.....,......,.....,......,
LH2164-15 LH2164-20
Parameter Symbol Unit Note
MIN. MAX. MIN. MAX.
RAS cycle time tRc 270 330 ns
Read/write cycle time t RwC 300 375 ns
Page mode cycle time tpc 170 225 ns
Access time from RAS t RAC 150 200 ns 8,10
Access time from CAS teAC 100 135 ns 9,10
Output turn off delay tOFF 0 40 0 50 ns
Rise/ fall time tT 3 35 3 50 ' ns 7
RAS precharge time t RP 100 120 ns
RAS pulse width t RAS 150 10,000 200 10,000 ns
RAS hold time t RSH 100 135 ns
CAS precharge time tep 60 80 ns
CAS pulse width (page mode) teAS 100 10,000 135 10,000 ns
CAS hold time teSH 150 200 ns
RAS/CAS delay t RCD 25 50 30 65 ns 11,12
CAS/RAS precharge time t CRP 0 0 ns
Row address setup time tASR 0 0 ns
Row address hold time tRAH 20 25 ns
Column address setup time tASC 0 0 ns
Column address hold time tCAH 45 55 ns
Column address
tAR 95 120 ns
hold time from RAS
Read command setup time t RCS 0 0 ns
Read command hold time, tRCH 0 0 ns 15
Write cOmmand setup time twcs -10 -10 ns 14
W rite command hold time t WCH 45 55 ns
Write command hold
t WCR 95 120 ns
time from RAS
Write command pulse width twp 45 55 ns
Write command/RAS read time t RWL 60 80 ns
Write command/CAS read time teWL 60 80 ns
Data input setup time tDS 0 0 ns 13
Data input hold time tDH 45 55 ns 13
710
NMOS 65536-Bit Dynamic Random Access Memory LH2164-15/LH2164-20
LH2164-15 LH2164-20
Parameter Symbol Unit Note
MIN. MAX. MIN. MAX.
Data input hold time from RAS tDHR 95 120 ns
CAS/write command delay tCWD 70 95 ns 14
RAS/write command delay t RWD 120 160 ns 14
Read command hold
-- tRRH 20 25 ns 15
time from RAS
CAS precharge time tcPN 25 30 ns
Refresh time tREF 2 2 ms
Note 5: For the memory to operate normally, a minimum pause of 500 p s after the power is turned on and then
several dummy cycles are necessary. Generally, eight normal refresh cycles should be performed.
Note 6: Measure AC characteristics when tT= 5 ns.
Note 7: The prescribed input reference levels for timing are VIHI"m) and VILlro,,). Transition time (tT) is the time
between VIH and VIL.
Note 8: When tRCD ;:;;; tRCD(m,,). When tRCD < tRCDlm"i, tRAC becomes large by (tRCD - tRCDlm,,)).
Note 9: When tRCD = tRCD(ro,,).
Note 10: Load condition for 2TTL+ 100pF.
Note 11: tRCDlm,,) is the largest value of tRCD that protects tRAqm,,) and is not an operation limit. If tRCD(ro..) ;:;;; tRCD,
the access time is controlled by tCAC.
Note 12: tRCDlm;.) = tRAHlmmi+2tT+tASClmm)
Note 13: The fall of CAS becomes the reference of tDS and tDH in the early write cycle and WE becomes the
reference in the read/write cycle and in the read/modify/write cycle.
Note 14: twcs, tCWD, and tRWD are not operation limits at the point the operation mode is prescribed. When twcs
;;;; tWCSlmm), the early write cycle begins and the DOUT pin becomes high impedance.
If tRWD ;;;; tRWDlmm) when tCWD ;;;; tCWD(mm), the read/write cycle begins and the output data becomes
information of the selector cell.
In the case of timing other than that above, output becomes indeterminate.
Note 15: Operation is guaranteed when either tRCH or tRRH is satisfied.
• Timing Diagram
(1) Read cycle
~---------------------tRC--------------------~
--------~~---------------tRAs--------------~~--------~
----~~-------tRsH--------~
~------------tRAC------------....,.,
High impedance
DoUT Valid data
------------------------SHARP·.-.-.------------
711
NMOS 65536-Bit Dynamic Random Acce.ss Memory . LH2164-H?ILH2164-20
tRC
tRAS
tCSH
tRSH rLtRP~ \
r--"tCRP-OO
-
f---tRCD-"------Oo
tCAS
\ \
f--tAR V / f-o--tCPN-I-
~ ~--.-t~SC~
=:::>{Row addres~.I.mn addrs. ~
-tWCR
tCWL
I !WC~ ~
\l-- twp /
tRWL
~-- -t'DH-
X Valid data
K
tDHR
High impedance
DOUT
tRWC
~
tRAS
tAR
tCSH
1 tRP i'-
f-o---- t RCD---;---'" tRSH
tCAS
~
~tCPN~
\. \. /
tA~ ~ tASC teAH
J
.-1"4- t---
-~ow -t~X
addres!x' Column address K
~tCWL-
tCWD -tRWL-
;- -I
tRWD --twp-j
. k---tCAC-----<OO ~~'
. High impedance f",
DOUT Valid data ll\'\'\
'\W
tRAC
~~
XYalid data}(
712
NMOS 65536-Bit Dynamic Random Access Memory LH2164-15/LH2160-20
~----------------tRC----------------~
IE-------t RP------~
High impedance
DOUT
Note: CAS=VlH
713
NMOS 65536-Bit Dyn~mic Random Access Memory LH2164,.1.p/LH2164-20
~------------------------tRAS------------------------~
714
NMOS 65536-Bit Dynamic Random Access Memory LH2164-15/LH2164-20
i Q)
.e:
] 1.2
Q)
~
u 1.1 r--....
!
Q)
.~
1.0
"~ !
Q)
~
..,..,
1.0
~
~
/
""
''""
Q)
Q)
g
-<
0.9
r-- -<
0.9
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta eC)
Average supply current during page mode! Average supply current during page mode
vs. supply voltage vs. am~ient temperature
..e
50 ..
E
50r-----------~----~----~
.
"
e
=
.S 40
Ta=O'C
.
g
.S
Vcc=5.5V
40 1---,...----+---+-----1
.a" .g
~ ~
~ ~ ~ 30 t==t==:t===i===i
V-- ..E:>-<
~~
------ '~" .§
t~
20~--+----r--~----;
~ ~
10 100L-----2~5----~50~--~7~5----~100
4.0 4.5 5.0 5.5 6.0
Supply voltage Vee (V) Ambient temperature Ta ('C)
Average supply current during standby Average supply current during standby
vs. supply voltage vs. ambient temperature
5 5r-----------~----~----~
.S
.. Ta=O'C Vcc=5.5V
.a..." 4 4r---..,.----r--~--~
---
""..,
"
....
;;.-<
~~
~~
~
3
2
r---
-
gj,$
---I---
3r-----+-----+-----~----~
2r---+----r--~--~
~-t-_-l
f 1 ~ "'g
~ .!! ~ .!!
-< '" -< '"
1 1~----~----~----~----~
4.0 4.5 5.0 5.5 6.0 .0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('C)
.--------SHARP------------
715
NMOS 65536-Bit Dynamic Random Access Memory LH2164;"15/LH2164~20 .
Average supply current during RAS only refresh Average supply current during RAS only
vs. supply voltage \ refresh vs. ambient temperature
40 40~----------~----~----~
Ta=O'e
I :::~ Vee=5.5V
.!f 30 ~--,--.-----+---/-----t
---- .g
-- ---- ~ i
'a
~
..."
~1
.t
~ ~
...
< b6
<"
Ei
~
201---+----+---/-----t
101---+----+---/-----t
o O~----~----~----~----~
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temp·erature Ta ('e)
Average supply current during page mode Average supply current during page mode
vs. supply voltage vs. ambient temperature
40 40
OIl
.e...
..g
Ta=O'e
.e
.
...g...
Vee=5.5V
30 301---.---+---~----~
i...
...
B<"
~,,~
b
~-.,
co
E! 20
...,... "".., 10
~ E!
:>
..:
0
.
~
~
---- ~
b" ..:E! 20 1 - - - + - - - - + - - - ; - - - ;
""~
~i
...~ E! 1 0 1 - - - + - - - - + - - - / - - - - - t
~ ~
""
o °O~----2~5----~50-,----~75~--~100
4.0 4.5 5.0 5.5 6.0
Supplyvoltage Vee (V) Ambient temperature Ta ('e)
716
NMOS 65536-Bit Dynamic Random Access Memory LH2164A-15/LH2164A-20
LH2164A-15/LH2164A-20
NMOS 65536-Bit Dynamic Random Access Memory
• Features
1. 65,536-word-by-1-bit organization
2. Access time (MAX.)
LH2164A-15: 150ns, LH2164A-20 : 200ns
3. Cycle time (MIN.)
, LH2164A-15: 260ns, LH2164A-20 : 330ns
4. Power supply: +5V±10%
5. Power consumption (MAX.) : 248mW(operation)
: 28mW(standby) Top View
6. All inputs and outputs TTL compatible
7. Address and input data latch capabili~
8. Three-state output data controlled by CAS and
not latched at the end of cycle
9. Common 110 capability using the early-write
- mode
10. Read/modify/write, page-mode, RAS-only re-
fresh, and hidden refresh capabilities
11. Built-in gated CAS function
12. Built-in biasing-voltage generator circuit for
high-output board
13. 2 ms refresh period, 128 cycle refresh,
14. 16-pin dual-in-line package
--------$HARP-.---------
717
- NMOS 65536-:-BitDynamic Random Access Memory LH2164A-15/LH2164A-20
• Block Diagram
<i>
. = fij "'
m
E""
-00
"
o "
"
0 Cfl""
I
~<
E
""'"
c
Cflp.
...
c "
E""
"......
< "'"
c
"
Cflp.
<i>
"'
m
Cfl",
I E -"
" 0 I E I E
~< o "
00 ~< ~<
Write Clock
} - - - + - - - - - - - - - - + - - 7 J Data In Buffers
Data Out
Buffers 14 Data Output
Biasing-voltage Generator'
Circuit For High-output
Board
.-.-......-.------SHARP.-----.---
718
NMOS 65536-Bit Dynamic Random Access Memory LH2164A-15/LH2164A-20
• AC Characteristics (Note 5, 6, 7)
(V cc =5V±10%, Ta=0-+70'C)
LH2164A-15 LH2164A-20
Parameter Symbol Unit Note
MIN. MAX. MIN. MAX.
RAM cycle tiine tRc 260 330 ns
Read/write cycle time tRwc 285 350 ns
Page mode cycle time tpc 145 190 ns
Access time from RAS tRAC 150 200 ns 8,10
Access time from CAS t CAC 75 100 ns 9,10
Output turn off delay tOFF 0 40 0 50 ns
Risel fall time tT 3 35 3 50 ns 5
RAS precharge time t RP 100 120 n~
-------------SHARP.-.----------
719
NMOS 65536-Bit'Dynamic Random Access ~emory
LH2164A-15 LH2164A-20
Parameter· Symbol Unit Note
MIN. MAX. MlN. MAX.
Write command/CAS read time tcwL 45 55 ns
Data input setup time tos 0 0 ns 13
Data input hold time tOH 45 55 ns 13
Data input hold time from RAS tOHR 120 155 ns
Write command delay time
t ewo 50 60 ns 14
from CAS
Write command delay time
tRwO 125 160 ns 14
from RAS
Read command hold time
tRRH 20 25 ns 15
from RAS
CAS precharge time tePN 25 30 ns
Refresh time tREF 2 2 ms
Note 5: For the memory to operate normally, a minimum pause of 500 p. s after the power is turned on and
then several dummy cycles are necessary. Generally, eight normal refresh cycles should be per·
formed.
Note 6: Measure AC characteristics when tT= 5 ns.
Note 7: The prescribed input reference levels for timing are VlHlmm) and VILlm,,). Transition time (tT) is the time
between VIH and VIL.
Note 8: When tRCD;;>tRCDlm,,). When tRCD< tRCDlm,,), tRAC becomes large by (tRco-tRCDlm,,)).
Note 9: When tRCD=tRCDlm,,).
Note 10: Load condition for 2TTL + 100pF.
Note 11: tRCDlm,,) is the largest value of tRCD that protects tRAqm,,) and is not an operation limit. If tRCD(m,,);;>tRCD,
the access time is controlled by tCAC.
Note 12: tRCD(min)=tRAHlmm)+2tT+tASqmm).
Note 13: The fall of CAS becomes the reference of tDS and tDH in the early write cycle and WE becomes the
reference in the read/write cycle and in the read/modify/write cycle.
Note 14: twcs, tCWD, and tRWD are not operation limits at the point the operation mode is prescribed. When twcs
;:;;;tWCSlmm), the early write cycle begins and the Dour pin becomes high impedance.
If tRwD;:;;;tRWD(mm) when tCWD;:;;;tCWD(mm), the read/write cycle begins and the output data becomes in·
formation of the selector cell.
In the case of timing other than that above, output becomes indeterminate.
Note 15: Operation is guaranteed when either tRCH or tRRH is satisfied.
~---'--------~~SHARP - - - - - - - - - - - - - - - - -
720
NMOS 65538-Bit Dynamic Random Access Memory LH2164A-15/LH2164A-20
• Timing Diagram
(1 ) Read cycle
tRC
tRAS
RAS
tRSH
tCAS
CAS
Ao-A?
WE
tRAC
DouT
High impedance
tRC
tRAS
fE----tRCD~
tCSH
tRSH rLtRP~ ~
I--tCRP--
tCAS
\ \ V
tAR- r- J I---tCPN---1-
--X
~~H tA!f
- ~
K X B
- Row address
-tWCR
Column addres
tCWL
I"twc~
'\14- twp ~/
tRWL
~f- -tDH~
X Valid data
K
tDHR
High impedance
DOUT
'-~---'-"'--SHARP----"---------
721
NMOS 65538-Bit Dynamic Random Access Memory LH2164A-15/LH2164A-20
tRWC
tRAS
RAS
- tAR
WE I .i
tRWD --twp-.,.j
-tCAC ~~
DOUT
High impedance nn Valid data ~
~-\.- #U
tRAC
~~
X! J(
Vahd data
~--------------tRC--------------~
i------tRp·-----"'"
High impedance
DoUT
722
NMOS 65538-Bit Dynamic Random Access Memory LH2164A-15/LH2164A-20
723
NMOS 65536-B.it Dynamic Random Access Memory· LH2164A-15/LH2164A-20
Ao-A7
DIN
".a...,
>
Ta=25'e ".a.,.
>
Vcc=5V
"
!
!
., ., /
'E.,
.,.,
<""
1.0
0.9
4.0
'"
4.5
~
5.0
Supply voltage Vee
r--
5.5
(V)
6.0
:3III
III
"
«""
1.0
~
25
~
50 75
Ambient temperature Ta ('e)
100
Average supply current during normal Average supply current during normal
operation vs. supply voltage operation vs. ambient temperature
50 50
bO
.S
Ta=O'e ..
.S
...
Vcc=5.5V
... 40 ..a 40
..a
i< ffi<
... 8
..... ~ ... 8
8~
~
~
" 30 "
~.~ 30
b ..a" ~
~ ~ ~
..c._
c. ..
III.,...
.,bO-ll.
III .,bO- C.
0
..
.,...> ...8
0
20
.,...> 8...
lO ..
20
,
0
< "
0
< "
10
4.0 4.5 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta ('e)
724
NMOS 65536-Bit Dynamic Random Access Memory LH2164A-15/LH2164A-20
Average supply current during standby Average supply current during standby
vs. supply voltage vs. ambient temperature
5 5~--------~~----,-----~
Ta=O·C Vee=5.5V
.;...
.g 4
".,....
--- --
~
- - r---
.e>~
3
8:<
r-- '" 8
rn~
~E 2
f:--g
~ ~
< '"
1 1~----L-----~----~ ____~
4.0 4.5 5.0 5.5 6.0 o 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (·C)
Average supply current during RAS only Average supply current during RAS only
refresh vs. supply voltage refresh vs. ambient temperature
40 40~----------~----~----~
I~..,
CI)
< Ta=O·C Vec=5.5V
P:::
.~
. .
-------
30 .5 30
.g
.... ~ "''""
..Iii.
"'<
" 8
~
20
~
".'"
B< 20
.e>~ .e>3
""
""..= ""§"~
''"" '""
~~ . 10 .'" . 10
os ... ....
~"i1
<~~0 <
>-
§
o °o~--~L-----~----~----~
4.0 4.5 5.0 5.5 6.0 25 50 75 100
Supply voltage Vee CV) Ambient temperature Ta C·C)
Average supply current during page mode Average supply current during page mode
vs. supply voltage ambient temperature
IVS.
40 40~----------,-----~----~
".." ".'"
---
'" <
,,~
... 20
-
~
~
-8:~
8 -8:~
8
'"'" "
,,"8
. ..,"
: 8 10
- '"''"" ""'0"
." ..,'"
: 8 10
<"
> os > ..
"" < ""
o 0
4.0 4.5 5.0 5.5 6.0 0 25 50 75 100
Supply voltage Vee (V) Ambient temperature Ta (·C)
---.---------SHARP-~----------
725
NMOS 262144-Bit Dynaniic Random Access Memor:y LH2464/LH2465
I NEW I
LH2464/LH2465 NMOS 262144-Bit Dynamic
Random Access Memory
• Features
1. 65,536-word by-4-bit organization
2. LH2464 : page-mode
LH2465 : nibble-mode
3. Access time (MAX.)
LH2464/5-10 : lOOns
LH2464/5-12: 12Dns
LH2464/5-15: 150ns
4. Single +5V power supply Top View
5. Power consumption (MAX.) :
467.5mW (operation)
27.5mW (stand-by)
6. CAS-before-RAS refresh capabilities
7. Built-in refresh counter
8. 4ms refresh period, 256 cycle refresh
9. 18-.pin dual-in-line package
726
NMOS 262144-Bit Dynamic Random Access Memory LH2464/LH2465
• Block Diagram
Clock
} - - - ; Generator
No.1 Clock
Generator 1----_-------3>-1
No.2
Column
A, Address
Buffer
A.
A5 Row
Address 2 I/O,
A6
Buffer 3 1/02
A7
1/03
I/O.
:><
~
.,...
~ "".,"
0
Memory
.,...
<Il
Q
Refresh
" Array
<Il
Address t:::
Counter
;<
~
""...:"" '"
0
p::
1 OE
V BB Generator
-.--------SHARP------------
727
NMOS 262144-Bit Dynamic Random Access Memory LH21256/lH21257/LH21258
LH'21256/LH21257/LH21258
NMOS 262144-Bit Dynamic Random Access Memory
• Features
L 262,144-word-by-1-bit organization
2. LH21256 : page-mode
LH21257 : nibble-mode
J.,H21258 : byte-mode
3. Access time (MAX.)
LH21256/7/8-10: lOOns
LH21256/7/8-12: 120ns
Top View
LH21256/7 /8-15 : 150ns
4. Cycle time (MIN.)
LH21256/7/8-10 : 200ns
LH21256/7/8-12 : 230ns
LH21256/7/8-15 : 260ns
5. Single + 5V power supply
6. All inputs and outputs TTL compatible
7. Address and input data latch capabili~
8. Three~state output data controlled by CAS and
not latched at the end of cycle
9. Common 110 capability using the early-write
mode
10. Read/modify/write, RAS-only refresh hidden
refresh capabilites and CAS before RAS reo
fresh
1 L Built-in refresh counter
12. 4ms refresh period, 256 cycle refresh
13. 16-pin dual-in-line package
7~8
·NMOS 262144-Bit Dynamic Random Access Memory LH21256/LH21257/LH21258
• Block Diagram
Clock
Generator
No.1 Clock
Generator 1 - - - - - - - - - - ,
No.2
Column
Address 1 - - - - - - - - - - - - - 1 \ ,
Buffer
Address
Input
Row
Address
Buffer
in
Buffer
Refresh
Address
Counter
729
LSls for Telephone
Tone Dialer CMOS LSI LR4087
• Features
1. Low standby current
2. Auxiliary switching functions on chip
3. Minimum external parts count
4. Uses inexpensive 3.579545MHz television color-
burst crystal
5. Built-in regulator of dual or single tone ampli-
tudes
6. 16-pin dual-in-line Pilckage Top View
• Block Diagram
Row Input
~
VDD
Oscilation ~81)-~--t""--,
Output
Oscilation Tone
Input '-!.F~-~-- Output
XMTR
Switch
732
Tone Dialer CMOS LSI- LR4087
Output voltage
I ROW TONE VOK
RL =lk.o
317 400 504 mV rms
S
I COL TONE Voc 396 500 630 mV rms
RLl VDD=3.5V 620 .0
TONE output resistance
RL2 V DD =10.0V 330 .0
XMTR output current, IoHx1 V DD =3.5V, VOHx=2.5V -15 -25 rnA
10
no key input IoHx2 V DD =10.0V, VOHX=S.OV -50 -100 rnA
XMTR output current,
IXLEAK VDD =10.0V, VOUT=OV 0.1 10.0 pA 10
in key input
MUTE output current, lOLl VDD =3.5V, VOL =0.5V 0.5 2.0 rnA
11
no key input IOL2 VDD=lO.OV, VOL =0.5V 1.0 4.0 rnA
MUTE output current, lOB! V DD =3.5V, VOH=3.0V 0.5 2.0 rnA
11
in key input IOH2 VDD=lO.OV, VOH=9.5V 1.0 4.0 rnA
ISB1 VDD=3.5V 0.25 100 pA
Standby current 9
ISB2 VDD=lO.OV 0.5 200 pA
IOP1 VDD=3.5V 1.0 2.0 rnA
Operating current 9,13
IOP2 VDD =10.0V 5.0 10.0 rnA
Input resistance RIN 20 100 k.o 5,S
Tone output (no key input) -SO dBm
Output rise time tr 3.0 5.0 ms 12,13
Pre-emphasis 1.0 2.0 3.0 dB 14
Tone output distortion VDD~4.0V -20 dB 15
Note 5: Applies to STI pin. Note 11 : Applies to MUTE output pin.
Note 6: Applies COL input pin Note 12 : Rise time for tone output to reach 90% of maximum amplitude after key input.'
Note 7: Applies ROW input pin Note 13 : Characteristics of crystal resonator used. Rs=100n, Lm=96mH, CM=0.02pF,
Note 8: Ta=25t Ch=5pF, F=3.579545MHz
Note 9: All output pins open -Note 14 : Level ratio of high group tone to low group tone. __
Note 10 : Applies to XMTR output pins Note 15 : Unnecessary frequency components against total power of basic tone signal of ROW
and COL .
.-.-----.--'~---SHARP-.....------ ......... - - -
733
..............-..-...............-,.._..- . - ..................--.-..--.-......
Tone Dialer. CMOS LSI . LR4087
• System Configuration
IN40004o
(4X)
H----rrImwi'DD
1!!H_---,1~'RllW§
a+-_....,1;;.t3 ROW3 TONE
l!m~I!lIIii+---,liiiZ RliWi OUT 16
... \1 LR4087
9 COU
L----isi-lCOL3 1200
' - - - - - ' i - l , COLZ
L-----:S;..!COLI
3.579545 7 OSC MgM""IO,-+----+--.
MHz '" osc
8 OUT GND -"
6
0.0051'F
-----------------~
""....,......l-1~r 00
2N6660
network
• Test Circuit
COLI
3
f1
I
7
~ 3.579545MHz
T
8
COLz 4
COLs
5
COL.
9
16 Tone Output
I - -
ROWI
LR4087
1 2 3 A 14
ROWz
4 5 6 B 13 RL
<i
ROWs
7 8 9 C --
12
ROW. .,;,
0 # D 11
*
6
, GNDJ.
----------SHARP--:---------
734 '
Tone Dialer CMOS LSI LR4089
• Features
1. Minimum external parts count
2. Divider, R-2R resistive ladder, CMOS opera-
tional amplifier on chip
3. High-accuracy tone out
4. Uses inexpensive 3.579545MHz television color-
burst crystal
5. Single tone output
6. CD inhibits tone generation Top View
7. 16-pin dual-in-line package
• Block Diagram
Row Input
,--A-----, VDD
r-~~~1r-~----------------------------'
Any Key
Q Down
Oscillation Output
Output 8hr---t--,
Oscillation 6 Tone
Input 7 Output
L-----{2 Chip
Disable
'----------------<l~------IJ5J Single
Tone
Inhibit
•
Column Input
------------SHARP-.--.----...-.--~
735
, '. t: ~ ., "
Tone t)ialer CMOS LSI LR4089
Supply current
I. In operation lop Voo=3.5V 2.0 rnA 13
1 In standby ISB VoD =10.0V 200 pA 14
Tone input level (no key input) -80 dBm
Note 5: Applies to ROWand COL input pins.
Note 6: Applies to STI and CD input pins.
Note 7: Applies to low group single tone signal.
Note 8: Level radio of high group tone signal to low group tone signal.
Note 9: Unnecessary frequency component against basic tone signal total power (RMS) of ROWand COL.
Note 10: Rise time for tone output to reach 90% of maximum amplitude after key input.
Note 11: Characteristics of crystal resonator used. Rs=lOOO, Lm=96mH, CM=O.02pF, Ch=5pF, F=;=3.579545MHz.
Note 12 : . AKD output means N·channel~n drain output. .
Note 13: In single keyJ!!put, CD="l", STI="O"
Note 14: In stand·by, CO="l", STI="O"
Note 15: OdBm=0.775V
736
Tone Dialer CMOS LSI LR4089
• Test Circuit
r
1
DD
COL!
7 ~ 3.579545MHz
--
COL z
3
4
sW
COL 3
5
COL 4 LR4089
I I
ROW!
9
16 Tone Output
1 2 3 A 14
ROW z
4 5 6 B 13
--
ROW 3
7 S 9 C 12'
ROW 4 RL
0 .jj: D 11
*
6 ,
" GNDl
,. Features
1. CEPT Compatible
2. High accuracy tone output
3. Divi"der, resistive ladder network, CMOS oper-
ational amplifier, and bipolar transistor on
chip
4. Uses 3.579545MHz crystal
5. Single tone output
6. Uses either 2-of-8 keyboard or single contact Top View
keyboard
7. Low standby current
8. 18-pin dual-in-line package
• Block Diagram
Row Input
Bipolar Output
~ VDD
~----~J~l~~~n~--~~2}---------------------~~~--,
"L-..........J1'71 Bipolar
Input
Oscillation 9>--.__~'-------;::~J..---.cJ
Any Key
Down Output
Output
Oscillation 1 OPamp
Input 8 Output
Chip
Disable
738
Tone Dialer CMOS LSI LR4091
• Test Circuit
. 18
VDD -,.;-
Power -
17 ~
supply LR4091·
1
~
---
lOkO
7
VBIAS=O.5V: VDD;;>4.0V
VBIAS=OV: VDD>4.0V
740
Tone Dialer CMOS LSI LR4092
.
• Features
1. Internal regulation of tone amplitudes
2. Internal loop compensation and pre-emphasis
3. Tone frequencies within 0.65% for 12 stand-
ard frequencies
4. Uses inexpensive 3.579545MHz television color-
burst crystal
5. Tone-disable capability
6. Mute output for electronic switching Top View
7. Uses either 2-of-8 keyboard or single contact
keyboard
8. Single-tone capability
9. 16-pin dual-in-line package
• Block Diagram
Row Input
,
Mute
~--~.Q) Output
Oscillation 8hr--t--,
Output
9
Oscillation 7 Tone
Input Output
Chip
'---4---(2 Disable
Single
~-~----------------~--------(l~ Tone
Inhibit
.-------.-.---".-~SHARP'--------.-~-
741
Tone Dialer CMOS LSI LR4092
742
Tone Dialer CMOS LSI LR4092.
• System Configuration
3 7
4
c:::::J !3.579545 MHz .
5 18
9
14 LR4092 6
1 2 3 A
4 5 6 B 13
8 9
12
7 C
11
0 # D
* 16 10
1800
RCVR
743
Ptdse:Dia/er CMOS LSI LR40981 A
.....~~.......- . .IIIIIIf!.~. . . .~~....,.-.-......- .....~.-
o
• Features
1. Direct telephone· line operation
2. Uses 2-of-7 matrix keyboard
3. CMOS process for low-power operation
4. 2.5 -6.0V power supply
5. Make/Break ratio pin-selectable
6. Ceramic resonator ·used as frequency reference
7. Redial with:lf or *
8. MUTE output for electronic switching
9. 16-pin dual-in-line.package Top View
• Block Diagram
COlumn.{
Input 5
! Memory Pulse
Output
r-----~9r----o~------------------~
Oscillation Oscillation Make/Break Hook Switch/Test
Input ,Output Ratio Select .
7~4
Pulse Dialer CMOS LSI LR40981A
745
Pulse Dialer CMOS LSI LR40981A
• Timil'lg. Diagram
:t* or *
Key input
ROW scan
• Test Circuit
Power supply
+
OFF-
1 16 15kO HOOK 3OkO
2 15
3
KeYboard{
6
LR40981A
}K~"ro
7 10
8 9 67% break
61% break
746
Pulse Dialer CMOS LSI LR40981A
• System Configuration
R3
TIP
RING
Telephone line
Re
VDD M/B
I
I
C1 15 ON-HOOK I
+-..:::..:__--1>-!6~GND I
2 VRE~ULSE I
I
I
.------'3'-1COL 1 I
I
.------'4'-1COL, I
I
5 COL, I
LR40981A _______________ JI
I 2 3 14 ROW,
4 5 6 13 ROW,
7 8 9 12 ROW, Speech network
... 0 # 11 ROW, MUTE~I~O_ _-I--t
OSC" OSCOL'T
A type keyboard 7 8
C3
747
Pulse Dialer CMOS LSI LA40982
'-'_'-''-~''_'''_'''_IPi:-''~''_''''_'''-'-'~ _ __
o
• Features
1. Direct telephone-line operation
2. Uses 2-of-7 matrix keyboard
3. CMOS process for low-power operation
4. 2.5-6.0V power supply'
5. Make/Break ratio pin-selectable
6. Ceramic resonator used as frequency reference
7. Redial with :1:1: or*
8. MUTE output for electronic switching
9. 16-pin dual-in-line package Top View
• Block Diagram
COlumn{
Input 5
! Memory Pulse
Output
I~ {u. 3
_---.
Mute
Output
748.
Pulse Dialer CMOS LSI LR40982
-.-----~---SHARP-.---.-----
749
Pulse Dialer CMOS LSI LR40982
.........r.-__...____
J
........................,.........................
~ .....,
• Timing Diagram
# or *
Key input
ROW scan,
ON -HOOK input
PULSE output--1I---,
• Test Circuit
Power supply
+
OFF-
16 15kll HOOK 30kll
15
.10
9 67% break
61% break
750
Pulse Dialer CMOS LSI LR40982
• System Configuration
TIP
RING
Telephone line
Rs
VDn
15 ON-HOOK
Q 6 GND
I 2 PULSE
~-----l~"":3'-1v REF
, - - - - ' - 1 COL,
,
1
r _ _-=-t 4 COL, 1
1
5 COL, -I
I
LR40982 I
1 2 14 ROW, I
I
4 5 6 13 ROW, I
7 8 9 12 ROW, I
I
* 0 II 11 ROW4MUT"1-<~-+I ____________________ J I
OSC'NOSCOUT
A type keyboard 7 8
751
Pulse; Dialer CMOS LSI LR40991
o
• Features
1. Direct telephone-line operation
2. Uses 2-of-7 matrix keyboard
3. CMOS process for low-power operation
4. 2.5-6.0V power supply
5. Make/Break ratio pin-selectable
6. 20/10 pps pin-selectable
7. *
Redial with :1:1: or
8. MUTE output for electronic switching
9. CR oscillator T~p View
10. IS-pin dual-in-line package
• Block Diagram
Pulse
Output
2 Mute
Output
L--r~~~J'<--------~o 20110
pps
Select
Make/Break Hook Switch/Test
Ratio Select
~'-'~--~'---SHARP--'-"--'-'----
752
Pulse Dialer CMOS LSI LR40991
----------SHARP-----------------
753
Pulse Dialer CMOS LSI LR40991
• Timing Diagram
Digit 1 Digit 2 # or *
Key input -----.Ur----.L.Jr---------,Ur----------
COL scan ~----~~O!l~--- ~ ----------- m.r-
ROW scan~: ____ ~~0!l~___ lJ1JLJl.Jl----------- ~
I I .
r-
I I ,
tDB I I tB I I I I I : I :
tpDP :: tlDP ~II I ItMOI : I
/----'-'-"'"----1:11
I" I
!!II.
• .I
i
I
i
:
Redial mode
TEST
ON -HOOK mode OFF -HOOK mode _. OFF -HOOK mode mode
·1· ~~---------------~~~--
• Test Circuit
Power supply
+
OFF
-HOOK
1 1MO
2 17
~: }
3 IMO
4
KeYboard{
5 ~ Keyboard
LR40991
6 1L-
12
60% break
66'% break .
20pps
IOppso--~
--.-------------SHARP - - - - - - - - - - - - -
754
Pulse Dialer CMOS LSI LR40991
• System Configuration
Telephone line
R6
Speech VDD
R2 17 ON- 12
network
t--+---"-:-tHOOK MU TEI--~---+
6 GND
2
~----~~~--~3~VREF
------------------SHARP - - - - - - - - - - - - - -
755
Pulse Dialer CMOS LSI , '\LR40992
o
• Features
1. Direct telephone-line operation
2. Uses 2-of-7 matrix keyboard
3. CMOS process for low-power operation
4. 2.5-6.0V power supply
5. Make/Break ratio pin -selectable
6.,20/10 pps pin-selectable
7. Redial with :1* or*
8. MUTE output for electronic switching
9. CR oscillator Top View
10. 18-pin dual-in-line package
• Block Diagram
Column {
Input
!
5 Pulse
Output
Row """ {11'46t--~ Mute
Output
756
Pulse Dialer CMOS LSI LR40992
~--""'-'-'--~-SHARP-~------
757
Pulse Dialer CMOS LSI LR40992
• Timing Diagram
Digit 1 Digit 2 # or *
Key input ~--""LJr-----'LJr--------""'LJ""----------
ON-HOOKin~ ,)l r-
--
: I:
MUTE output
i
:
I,
:
: I,
:
1
i
;
I
!
r--
I
: : : I I :
--- I I : ~~ r------f I
PULSE output I i I U I I
: :I : : 4kHz oscillato~: i :Oscillator stop :
CR2 output -----+--------'"1~~-
tDB
I I I I I J44
I :
: I U~L-----------------:.ru--
n~II-;-ilnn
t8 I I: I I
I
I lI I I
tpop II tmp ~ I I tMol I I
I---------i,. ·1 , ~:, '
, i Normal dial liP, .1': I Redial mode
• Test Circuit
Power supply
+
OFF
IMO -HOOK
2 17
3 16 IMO
4 15
KeYboard{
5 14 }KO,OOUd
LR40992
6 13
12
60% break
66% break
20pps
10pps
758
Pulse Dialer CMOS LSI LR40992
• System Configuration
TIP RING
2
V REF
6 12
GND MUTE
3 COL,
- - - - 18
COL, PULSE
COL,
lR40992
ROW,
15 Rs
4 6 ROW,
14
7 9 ROW,
13
jj: ROW,
17 ON- R6
HOOK
20/10
10
759
Pulse Dialer.CMOS LSI LR40993
• Features
1. Direct telephone-line operation
2. Uses 2-of-7 matrix keyboard
3. CMOS process for low-power operation 12 MUTE
4. 2.5-6.0V power supply
5. Make/Break ratio pin-selectable
6.20110 pps pin-selectable
*
7. Redial with :j:j: or
8. MUTE output for electronic switching
9. CR oscillator Top View
10. Beep-tone output for key input
11. 18-pin dual-in-line package
• Block Diagram
I
~-----------SHARP-----.---___:_
760
Pulse Dialer CMOS LSI LR40993
-'-~--'---SHARP~-'--'-'-----~
761
• Timing Diagram
_
..........................._-,._.. ..........................................
Pulse Djaler CMOS LSI LR40993
- - - -. - ,UnUnUnUnUnl.""----------
COL scan
: .
500Hz
~------------=unu______ .
R-O-W scan ~----52~f!z--- ~ _____________~
ON -HOOK input
'
~",,_-+i!~
---1
I
+1---------------IJJ.l'--------------ir-
~l :! I
MuTE output 1 : I : : i I
-
:I
--';---;I-;I---lJf-----, ~ I.
: I
1
:
PULSE output I I U . 1.
: : I I I I I : Oscillator stop ., I
_ _';-_-1 4kHz 1 1 Oscillator 1 1 I nn;----'-----'nn I .
CR2 output 1 -------:-~--------:-:4-.Jl!U ..
UJ.lL -------.,..--------+.nr--
: tDS ' ii tB : : : :: : i I : I
1 tpDP 1 I tIDP ~ I I tMO. I 1 I :
1
I
1-------'-'-'-t~I.
I.. I I Normal
-I
dial l/Pr
I.~ I
I ':
I
I
r
Redial mode
I
1
I
I
Tone output
• Test Circuit
Power supply
- +
OFF
1MO
~ 18 -HOOK
-----L 17
/
Keyboard
{~
---.!.. :: } ~
.~ LR40993
_1_4__ Keyboard
6 13
2MO 7 J2
I390 p;' 8 11 60% brea~
/220kO 9
- 10 I /
66% break
0---
20pps
-
lOpps
762 '
Pulse Dialer CMOS LSI LR40993
• System Co~figuratiori
Z2 VDD 11
M/B
2
TONE D7
6 12
GNDMUTE
3
COLI
4 COL2 13
5 ---'pULSE N-,
COL3 I
16 LR40993 I
1 2 ROW 1 I
15 ROW2 R5
4 5 6 I
14 CR 1 I
7 8 9 ROW3
13 ROW. CR2 I
0 #
* 17 ON-
CR 3
1
I
R6 I
HOOK 10/20
I
10 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..J
I
Speech network
'-'---'~------SHARP ~.-.-.-.------
763
Pulse Dialer CMOS LSI 'LR40994
• Features
L Uses'2-of-7 matrix keyboard )
2. CMOS process for low-power operation
3. 2.5-6.0V power supply
4. Make/Break ratio pin-selectable
5. 20110 pps pin-selectable
6. Redial with # or *
7. MUTE output for electronic switching
8. CR oscillator Top View
9. Beep-tone output for key input
10. 18-:pin dual-in-line package
• Block Diagram
Column { !
Input "'5",----. Pulse
8 Output
Row { I; 1 Mute
Input U3}--+j Output
.-..-------$HARP---------
765
Pulse Dialer CMOS LSI LR40994
• Timing Diagram
,i :urn
i 4kH
z.J
: : Oscillator r::
:Oscillator stop
r ,
nilr--:---t""1nn .
I
r nr--
, ------ "--------j-l-,- JUU : i UUI ----------------tJU
I
: I I tDS : : tB I :: :: i
I : l :
I tpDP, ' hDP ~ I ,tMDI I ,
I:
r :
I I. -, I ............ I I I I :
, , r Normal dial l/Pr. I Redial mode ':
ON -HOOK mode I
• ..
OFF -HOOK mode
..
I OFF -HOOK mode Ir-TEST mode
Tone output n.nnn nnnn ·U'--_________
• Test Ciruit
Power supply
+
OFF-
HOOK
1 18 IMO
2 17 ~
3 16 IMO
}K~
Key- { 4- 15
board 5 LR40994 14
6 13
2MO 7
8
20pps
10pps 0-----+
766
Pulse Dialer CMOS LSI LR40994
• System Configuration
Telephone line
TIP RING
1
VDD 11
M/B.
2
TONE
~_ _ _ _ _-=6-1 GND MUTE 1-1_2_-+--+---1
r".:...·----3-tCOL l
4 18
COL2PULSE
5
COL 3 I
LR40994 I
16
2 3 ROWl I
15 Rs I
4 5 6 ROW2
14 I
7 8 9 ROW3 I
13 CR 2
ROW. I
* 0 :1*
CR 3 I
17 ON- I
HOOK 10/20 I
I
10
C - _ _ _ _ _ _ _ _ _ _ _ _ ---lI
Speech network
--'.-------SHARP--------
767
Pulse/Tone Dialer CMOS LSI LR4801D
768
Pulse/Tone Dialer CMOS LSI LR4801D
• Block Diagram
Hook Switch
18 Tone Output
Mode Select
Column Input
Vnll GND
• Pin Description
Signal Name Symbol I/O Function
V DD Power supply
COL I -COL 4 COL 4-string Key input
Key input I
ROW I -ROW 4 ROW 4-string key input
GND Ground Negative power supply pin
TEST Test input I Pin used for LSI testing
OSC IN Oscillator I
Connect crystal for color burst
OSC OUT connection 0
Pin connection Operating mode
Voo 20-pps pulse dialer
MODE Mode select I Open lO-pps pluse dialer
GND DTMF tone dialer
MUTE Mute output 0 Sending of MUTE signal
Pin connection Operating mode
Voo on-hook mode
HKS Hook switch input I
Open off-hook mode
GND off-hook mode
PULSE OUT Pulse output 0 Sending of lOOpps or 20pps pulse signal
Sending of DTMF tone signal or output of beep tone signal
'-~------SHARP--------
769
Pulse/Tone Dialer CMOS LSI LR4801D
• DC Characteristics (Ta=25"C)
770
Pulse/Tone Dialer CMOS LSI LR4801D
• AC Characteristics (Ta=25"C)
• Timing Diagram
MUTE input
PULSE input
TONE output
771
Pulse/Tone Dialer CMOS LSI . .LR4801D
SI
~--------~~--~~------~o------------------
Telephone line
7
VDD TEST
~~~---+--~6rlGND RK B R
---17 Type 2500 GN
12 PUL S E i-'1"""";'--f-<"'-- 0..-1: Speech network
'-'IiMr-=lHKS C
R13
r-------~!~~ TONE~I~8--~~~--4~~~~-C
r--- 5 C2
,C3
2 LR4801Q
C4 MUTE~I~I----+---~--+---~~~~~~
16
1 2 If;
15
4 5 R2
14 10 P
7 8 R3 MODE
13
0 R.
*Keyboard OSCI'
OSC
Ol'T
P T
8 9
3.579545 MHz
Z. =10DK820 Q.=2N6660
Rl =2201W Q2=2N5401
R2 =560kO Qj=2N5550
R, =1.5kO Q4=2N5550
R4 =1500 Q5=2N5550
R5 =270kO Qs=2N5550
Rs =510 SI, S2, S,=Hook switch
R7 =5kO Dl-D4=lN4004
Rs =1000 D5=lN270
R9 =2000 Ds=IN752 (5.6V)
RlO=100kO D7=1~914
Rll=IMO Ds=lN914
R12=10kO
R13=4700
*1 R14=390
* 2 Cl =68 I' F (Must be input to smooth the power supply a?d
prevent latch up.)
772
Pulse/Tone Dialer CMOS LSI LR4802
---~----SHARP-'--'------
773
Pulse/Tone Dialer- CMOS LSI LR4802
• Block Diagram
Hool> Switch
18 Tone Output
Mode Select
17 Pulse Output
Col_ """ { ,
Test
Column Input
11 Mute Output
Oscillation Input 8
Oscillation Output 9
Von GND
• Pin Description
Signal Name Symbol 110 Function
V DD Power supply
COL 1 -COL 4 COL 4-string key input
Key input I
ROW 1 -ROW 4 ROW 4-string key input
GND Ground Negative power supply pin.
TEST Test input I Pin used for LSI testing
OSCIN Oscillator I
Connect crystal for color burst
OSC OUT connection 0
Pin connection Operating mode
V DD 20-pps pulse dialer
MODE Mode select I
Open lO-pps dialer
GND DTMF tone dialer
MUTE Mute 'output 0 Sending of MUTE signal
774
Pulse/Tone Dialer CMOS LSI LR4802
• AC Characteristics (Ta=25"C).
• Timing Diagram
HKS input
MUTE input
PULSE input
TONE output
~~:RSJ
Normal dialing mode Automatic dialing mode
---......-.-------SHARP-------------
776
Pulse/Tone Dialer CMOS LSI LR4802
7
- VOl) TEST
~~~---+--~6~GND RK B R
----- 17 Type 2500 GN
12 PULSE 1-1'-;'-1-<"'- Speech network
'----"VVIr----l HK S C
R'3 3 _
r - - - - " -5t C2
4~
2 C3 LR4802
C GD
• MUTE~I~I~-+--~-+----~t--r-~ Ql
16 - S
1 2 R,
4 5 15 -
R2
14 - 10 P
7 8 9 ST R3 MODE
13 -
* 0 #RE R.
OSC
OSCn, OUT
Keyboard P T
8 9
3.579545 MHz
Z, =lODK820 Q,=2N6660
Rl =2201W Q2=2N5401
R2 =560kO Q3=2N5550
R3 =1.5kO Q.=2N5550
R. =1500 Q5=2N5550
R5 =270kO Q6=2N5550
R6 =510 Sl, S2, S3 = Hook switch
R7 =5kO DI-D.=IN4004
Rs = 1000 D5=IN270
R9 =2000 DF IN752 (5.6V)
RlO= 100kO D7=IN914
Rll=IMO Ds=IN914
R12=lOkO
R13=4700
*1 R14=390
* 2C, =68!, F (Must be input to smooth the power supply and
prevent latch up.)
.-----~-----SHARP-.----~--...-
777
Pulse/Tone Dialer CMOS LSI LR4803
778
)
Pulse/Tone Dialer CMOS LSI LR4803
• Block Diagram
Hook Switch
18 Tone Output
Mode Select
Test
Col umn Input
-.," '..""
til .~
Po.....:I
Oscillation Input 8
Oscillation Output 9
VDD
• Pin Description
Signal Name Symbol I/O Function
Voo Power supply
COL I -COL 4 COL 4·string key input
Key input I
ROW I -ROW 4 ROW 4-string key input
GND Ground Negative power supply pin.
TEST Test input I Pin used for LSI testing
OSCIN Oscillator I
Connect crystal for color burst
OSCOUT connection 0
Pin connection Operating mode
Voo 20·pps pulse dialer
MODE Mode select I
Open lO·pps pulse dialer
GND DTMF tone dialer
- - - - - - - - - - S H A R P - - - - - . - ........ _ - - - -
779
Pulse/Tone Dialer CMOS LSI LR4803
• DC Characteristics (Ta=25"C)
/'
- - - - - - - - - - - - - S H A R P ---.-.-.-------~
Pulse/Tone Dialer CMOS LSI LR4803
• AC Characteristics (Ta=Z5"C)
( 1) Pulse mode
rn input IT] inpu~t_ _ _ _ _ _ _~_ _~I~R=E:.::D~I~A=L=-I_in..:.p...:ut_ _ _ _ _ _ _ _ _ __
Key input ~ L...J
COL scan
HKS input
MUTE input
PULSE input
TONE output
~~~:J
Normal dialing mode Automatic dialing mode
---~-------SHARP-------.-
781
.............
Poise/Tone Dialer CMOS LSI
~- ...... ~...,~..., ..... ......
~
.
...,~~~~ .....
LR4803
.
Rl S1
~~~~~~~--~~~~~~~o~~~~~~~~--
3-
4~
5 C2
2 C3 LR4803
C. 11
MUTE Q1
16
1 2 if;
15
4 5 R2 10 P 20pps
14
7 8 9 ST
0 ;I:
*Keydoard
13
R3
R.
OSCIN
MODE
OSC
OUT
TWO Ru
P T
8 9
3.579545 MHz
ZI =10DK820 . QI=2N6660
RI =220,1W Q2=2N5401
R2 =560kO Q3=2N5550
R3 =1.5kO , Q4=2N5550
R. =1500 Q5=2N5550
Rs =270kO Qs=2N5550
Rs =510 SI, S2, S3=Hook
R7 =5kO DI-D4=lN4004
RB =1000 D5=1N270
R9 =2000 Ds=1N752 (5.6V)
RlO=100kO D7=1N914
Rl1=1MO DB=1N914
R12=10kO
R13=4700
* 1 R14=390
*2 CI=68,uF (Must be input to smooth the power supply and
prevent latch up.)
-----~~--~.-SHARP ~--,I-------------.-
782
Pulse/Tone Dialer CMOS LSI LR4804
keyboard
6. Make/Break ratio: 40%/60%
7. Switch able between 10 pps and 20 pps in
pulse dialing mode
8. A 3.579545MHz color burst crystal can be
used for the clock oscillator
9. 20-pin dual-in-line package
783
Pulse/Tone Dialer CMOS LSI LR4804
• Block Diagram
Mode Select
Hook Switch
Mode Select
19 Pulse Output
Column Input
CI,)~
<II_
-"
" 0
Il.u
RAM
13 Mute Output
Oscillation Input 9
Oscillation Output
L-----------------~Il}-----------------------__{
.--.--------SHARP,-----------------
784
Pulse/Tone Dialer CMOS LSI LR4804
• Pin Description
Signal Name Symbol lIO Function
V DD Power supply
COL I -COL 5 COL 4-string key input
Key input I
ROW I -LOW 4 ROW 4-string key input
GND Ground Negative power supply pin
OSC IN I
Oscillator connection Connect crystal for color burst
OSC OUT 0
Mode Level
MOD OUT Mode output 0 Pulse High impedance
Tone Low
785
Pulse/Tone Diler CMOS LSI LR4804
Input voltage
V 1L GND 0.2VDD Y
VIH 0.8VDD VDD V
Tone output I
ROW VOR RL=lkO, VDD =4V 300 370 500 mV RMS
voltage I
COLUMN Voe RL=lkO, VDD=4V 400 480 600 mV RMS
Standby current ISB VDD=3.5,V 3 6 pA 5
Operating current lop VDD=3.5V 2 3 mA 6
Mute output current IOL VoD =2V, VOL =0.5V 2 mA 7
Pulse sync output current IPL VDD =2V, Vo=0.5V 1 mA
Pulse leakage output current I ILKG I VDo =6V, Vo=6V 1 pA 8
Key pull-up input resistance RKP VOD=3.5V 100 kO 9
Key pull-down input resistance RKD VOD=3.5V 2 kO 9
HKS pull-up input resistance RHK VDD=3.5V 40 kO
Tone output distortion VOD~4V, RL =lkO -23 dB 10
Pre-emphasis PEHB VDD~4V, RL =lkO 1 2 3 dB
Memory retention current IMR 0.7 3 pA
Key input resistance RKS 5 KO
Note 5: All output pins in no-load condition when clock is stopped and when on hook.
Note 6: All output pins in no-load condition during key input and when off hook.
Note 7: Applied to the MUTE, MOD pins.
Note 8: Applied to the MUTE, MOD, PULSE pins.
Note
Note
9:
10:
Resistance when ROW pin or COL pin is 125 Hz and is scanned at high or low level. _ _ __
.
Unwanted frequency component corresponding to the total power of the fundamental tone signal of the ROW pin and COL pin.
"
• AC Characteristics (Ta=25"C)
786
Pulse/Tone Dialer CMOS LSI LR4804
• Timing Diagram
COL scan
ROW scan
HKS input
MUTE output
PULSE output
TONE output
MOD output
• System Configuration
Rll
T -------'VIfIr-------~
Telephone line
R-------+--....
+
Cl
6 VDD
~----+--+----;71GND SEL
11 IO/20PPS
14.!..JHKS
L----..:. TONE 1-2-J°IMr+--6.--+_ _._--£
3 - RIO
.---------4'~
5 ~ LR4804
.------:::-1
7 C3 D
.-----8~C. PULSE~I~9-~.--~-----------+-~~~t. . FI
18 Cs R6 G S
1 2 17 Rl
4 5 6 R2
"7+!8~9~C~lKH>~_~1~6
f- 15 _R3
~*~O~~lD~--~R4
Keyhoard "'9~---;i-:-:" OSCOUT
787
Pulse/Tone Dialer CMOS LSI
.......... --....- ....---...
, I
~ ...................
LR4805
788
Pulse/Tone Dialer CMOS LSI LR4805
• Block Diagram
Modle Select
r--------------;2~----------------------------------,
Hook Switch
Mode Select
19 Pulse Output
Column Input
RAM
13 Mute Output
Oscillation Output
L------------------{ll}------------------------(
IO/20PPS Select Voo
Note) Be sure not to apply higher voltage than Voo to the TONE
OUTPUT pin.
789
Pulse/Tone Dialer CMOS LSI LR4805,
• Pin Description
Pin Name I/O Function
Voo Power supply
COLl-COLs Key input of COL 5th row
Key input I
ROWl-ROW4 Key input of ROW 4th row
GND Ground Negative power supply terminal
OSCIN I
Oscillator connection Collar burst crystal connected
OSCOUT 0
Mode Level
MOD OUT Mode output 0 Pulse High impedance
Tone LOW
790
Pulse/Tone Dialer CMOS LSI LR4805
• DC Characteristics
Paramater Symbol Conditions MIN. TYP. MAX. Unit Note
VIL GND 0.2Voo V
Input voltage
VIH 0.8Voo Voo V
Tone output I ROW VOR RL= lkO, Voo=4V 300 400 500 mVRMS
voltage I
COLUMN Voc RL= lkO, Voo=4V 400 500 600 mVRMs
Stand·by current ISB Voo=3.5V 1 2 pA 5
Operating current lop Voo=3.5V 1 2 rnA 6
Mute output current IOL Voo=2V, VOL=0.5V 2 rnA 7
Pulse sink output current IpL Voo=2V, Vo=0.5V 1 rnA
Pulse leak output current iLKG Voo=6V, Vo=6V 1 pA 8
Key pullup input resistance RKP Voo=3.5V 60 KO 9
Key pulldown input resistance RKO Voo=3.5V 2 KO 9
HKS pullup input resistance RHK Voo=3.5V 30 KO
Tone output distortion Voo 2': 4V -23 dB 10
Pre-emphasis PEHB Voo 2': 4V, RL=lkO 1 2 3 dB
Memory retention current IMR 0.5 1 pA
Note 5: All output pins in no· load state, clock stationary, on· Note 9: Resistance at which ROW pin or COL pin is scanned to
hook. High/Low level by 125Hz.
Note 6: All output pins in no· load state, key input, off· hook. Note 10: Unnecessary component~ainst basic tone signal
Note 7: Applies to MUTE and MOD pins. total power of ROWand COL pins.
Note 8: Applies to MUTE, MOD, and PULSE pins.
• AC Characteristics
Paramater Symbol MIN. TYP. MAX. Unit Note
Key bounce time tOB 54 70 ms 11
10 12
Pulse rate PR pps r---
20 13
Break time tB 68 ms 14
14
Interdigital pause time tIDP 1,000 ms
15
Mute overlap time tMOL 6 ms 16
Pre·digital pause time tpop 40 ms 14
Tone output rate tOR 220 ms
-.-----..-~-SHARP-.-.-.--.---
791
Pulse/Tone Dialer CMOS LSI LR4805
• Timing Diagram
COL scan
, ,
ROW scan
HKS input
MUTE output
PULSE 'output
TONE output
lOOms
MOD output
• System Configuration
Rll
T
D?,: Ds
81
Telephone line
R
~D6
~R3
~
.. ,
..:J Rg ckRI
Rs
. Z2
~
Q. R2
D. ~ tf
-~~,
Qs
+ D3
ZI ~~ Z~CI 1
121
6 VDD MOD R8 IRRB R GNI
GND SEL R7
~ 10/20PPS
Si ;:r 83
14 20 RIO
V Q3
: 2500 type speech
IL C __________
network
:
I
HKS TONE
,
~
3- lk.o
4 S D2 DI
5~ LR4805' R.
7 C3 D
19
I
1 2 3 A RED·
IP
8 C.
18 CS
RI
PULSE
I! j:{6
G S
FI
4 5 6 B P
7 8 g C IIIJ
17 R2
16
15 R3
MUTE 13
MODOUT ~
LED i a.
.... Q2
~'--'-"-----SHARP----'------·--
792
Pulse/Tone Dialer CMOS LSI LR4806B
TEST 1
dialer switchable between tone and pulse dialing. MOD OUT
It offers one-touch dialing of up to 21 numbers, 10/20 pps
0 M/B
last number redial and other features. MOD 3 OSCOUT
MUTE 4 OSCIN
COL,
COL2
--------SHARP--------
793
MOS ICs/LSls
CMOS Gate Array -LZ92 Series
--~~--.-.-~~~-.-.~~-~-
,
• Descripition • Feature.
The LZ92 series employs the lastest silicon-gate 1. Short developing time
CMOS technology, and features high speed and low' 2., Low development cost
power consumption. 3_ Suitable for ralatively sin all volume production
The LZ92 series uses a single + 5V power but large variety of special-purpose LSIs
source, allowing a wide operating voltage range, 4. Abundant series (for 300, 450, 600, 800,
and having a TTL-level 110 interface. 1000, 1500,2200, 3000,4000, and 5000
The basic internal gate operates in a time delay gates)
of 2.8ns. Ten series are availa-ble depending on the
number of gates: LZ92300, LZ92450, LZ92600,
LZ92800, LZ921000, LZ921500, LZ922200,
LZ923000,LZ924000 and LZ925000.
As development is supported by CAD system,
reliable development of special purpose LSI is
possible in a short time. In choosing a series, con-
siders that 90 % of the internal gate can be used.
Model
LZ92300 LZ92450 LZ92600 LZ92800 LZ921000 LZ921500 LZ922200 LZ923000 LZ924000 LZ925000
-Parameter
No, of gates (as counted in terms
300 450 600 816 1010 1500 2240 3145 4009 5000
of dual-input NAND gates)
No. of I/O buffers 37 45 51 61 67 83 97 112 128 140
Total No. of pins 40 48 54 64 70 86 100 120 136 150
110 level TTL/CMOS level
Internal gate 2.8 ns per gate (F.0.=3, wire length 2mm)
Delay time Input buffer TTL input 4,5ns/CMOS input 4.0ns (F.O.=3, wire length 2mm)
Output buffer 4.5ns (CL=20pF)
Supply voltage 5V±5% (TTL interface)/5V±10% (CMOS interface)
Internal gate 25,uW/gate (F.0.=3, wire length 2mm, f=lMHz)
Power, consumption Input buffer 32,uW/gate (F,0.=3, wire length 2mm, f=lMHz)
Output buffer 600,uW/gate (f=lMHz, CL=20pF)
16,18,20 16,18,20 18,20,22 18,20.22 22,24,28 24,28,30
22 24 28 24 28 30 24 28 30 24,28,40
DIP ~,~,~ ~:~:~ ~:~:~ ~:~:~ ~,@,~ @,~.~ M 40,64 64 64
~,@ ~ M M ~.M M
44,48,60 60,64.76
Package 36.44.48 36,44,48 44,48,60 64,76,80 76,80,*96 76,80,*96
QFP 36.44,48 36,44.48 64,76,80 80,96
60 60,64 64,76 96.100 100 100
96 100
SOP 24 ' 24 24 24 24
PGA 120 120.144 120,144,180
-----------SHARP.--.-.--------
796
CMOS Gate Array LZ92 Series
797
CMOS Gate Array LZ92 Series
------
Presentation of
LST
Client
Design manual
SHARP
Design manual
Design remarks
Function block
Layout
--
Cell library
specifications Package specification I Method of drawing logic
........ _ , .......
I - circuit diagrams
Method of making timing chart
! Log ic circuit
-
diagram
Tim ing chart input
~ I:
Machine write
Approval
Logical circuit
output
OK
Simulation and
approval
Critical path
assignment diagram
and specifications
1i I
L
oglca Slmu ation
' "
E
Jl
~ Approval
...'"
Q '"
OK Automated «:
positioning U
Automated layout
I -
~
Timing simulation
I
t
Writing design
specification
documents
~
I
Appr./
OK Making master
Mask making
I
- wafer
(Before
dis tribution)
Trial sample test ~
I
Sample
1 LZ92300
LZ92450
Sample making and
mass production
NG
Evaluation I I
LZ92600
LZ92800
OK
! LZ921000
LZ921500
Mass production LZ922200
Master wafer
LZ923000
LZ924000
I
LZ925000
I Delivery I-
798
CCD Image Sensor LZ2020
• Features
1. Dynamic range 54dB (TYP.)
2. Enhanced spectral response (particularly in the
blue range) and excellent output uniformity
3. Transfer efficiency 99.996%
4. 2,048 elements on a single chip; picture ele-
ment size: 14 pmX 14 pm
5. On chip output amplifier and compensation
amplifier Top View
6. All operating voltages under 15V
7.8 lines/mm resolution across a 256 mm page
8. 24-pin dual-in-line package (Ceramic)
• Block Diagram
Reset
Shift Registor Transistor Reset
Clock Output Gate Transistor
~ Gate Clock , Drain
r----U~--------~9 8}---------~5
Output
Transistor
Drain
Test
Output
Transfer 1 Transistor
Gate Source
Clock
Dummy
3 Output
Transistor
Source
~
Test Shift Resister Dummy Reset Dummy
Clock Transistor Reset
Gate Clock Transistor
Drain
-~--------SHARP-'------'-'"
799
CeD Image Sensor lZ2020
• Electrical Characteristics
(foil =f0l2=0.2MHz, fRs =O.4MHz, T 1nt =10ms, VoD =15V, V RD =14V, VoG =9V, VPG =l1V, Ta=25t;)
\ m I ,..-_,..- Reference
J. level .1V",= IVi-I-Vi I
U"J:~~-==t
.1V
it .1V
V'_I XI00;;o3.0%
where, i=1-2,048
tl = 120ns
t 2 =100ns
t3=I60ns
The output voltage shall settle within 100ns
after ~ IA has risen above 8 volts.
(Waveform is observed with an oscilloscope.)
800
CCO Image Sensor LZ2020
801
CCD Image Sensor LZ2020
RS
as
Optoelectric transducing period
1 2 3 4
~~ bits
~ 2047 t,>100ns
t5 > lOOns
tl>O
tz>l,us
t3> 1,us
t/JT~
1 tl~tz~ t3r- RS
t/JIA,t/JIB~
os
2 3
>IE 1 </>1, </>z vs. </>T relationships *2 </> I, </>z vs. RS relationships
• Photo-element Structure
AI
Channel stopper
Unit: mm
• Standard Characteristics
Dark current characteristics Spectral sensitivity characteristics
2) 100
<:> 55T I
:::
.. .
.,
x
.,
! '0"
.±:
80
I
I
I
~
>.
."'=
100
v 1\
'0
-" "
> :;
>
.fr 40
60
/
-'
./
40T ./ .~
.;;
.,"
.,
50 / 1\
\
til
~
0
0; .S
.~
0
"
... 20
10
/
/
./
./
./
~t C
.:::
10
"
0::
,,-V ..........
Ul B
Ul '" 1/""""': 0 u
0.5 1.0 1.5 2.0 2.5 3.0 " 400 600 800 1,000
Integration period T S (s) Wavelength (nm)
- - - - - - - - - - - - - - - - - S H A R P - - - - - - ' - - ...........
802
I • I§
(J)
I
H
I»
3
~
+I2V
CD
I
.1~
0
::2.
I IC3A
R,=IkO
C, =500pF
R, I ;J;
+I5V <
CD
0
~r
I
~
I
I
I
lkO c:
500 ;:::;:
ICIC IC3B C,
I CKQ CKQ
IC5A IC5B
500
I
I
J J CKQ
K Q K Q
500
I IC2A IC2B
500
~N
I
LZ2020
2kO
DS0026
L_
J-- 1
X2 2
'0 Voe +15V
3
D Q
I
L
I
2kO 4
Vee 5
I 7
8
I
I
ICI
IC2,5,6
IC3
IC4
IC7,8,9
SN 74132
SN 74107
SN 7404
SN7474
SN74I61
+15V
9
10
11
12
16
15
14
13
+15V
I
I
I I
I
8I
~
h
High VOltage MOS IC LZ1008AD
• Features
1. High voltage 300V (MIN.)
2. Output current 35mA (TYP.)
3. Mutual conductance 10m U (TYP.)
4. TTL compatible
5. DMOS process
6. I8-pin dual-in-line package Top View
• Equivalent Circuit
L---+-----4.------4--------4-----<>-----Q Source
* leakage transistor
.-.--------SHARP-~--...-..----
804
High Voltage MOS IC LZ1008AD
ON ----------~
OFF---------~ L-__________~.
n ~.----- tl =101's
t2=10ms
J I
~1·~------;t2--------~.,
Note 4: At Ta=25't
Note 5: The value for one HVMOST output pin.
805
High Voltage MOS IC lZ1008AD
On-state resistance vs. Ambient temperature Threshold voltage vs. Ambient temperature
C 2.5 1.5;.--_,.-----r----,-----.------,
C VOUT=5V
IouT=5mA e VOUT=lOV
~
~ 2
..
:>-
IouT=I.uA
!
~
.2l
1.5
1
~
L
..,
..!!
~
-- -----
~
~ ~
:si 115
...8Ul
., (15 .,
! ~
.......
'f' 0 Eo-< 0
~ -50 o 50 100 150 -50 0 50 100 150
Ambient temperature Ta ('C) Ambient temperature Ta ('C)
Output current vs. Ambient temperature . Input current vs. Ambient temperature
-< 60 VOUT=5V
4
---
V,,=10V
~
- r----
. VIN=5V
50
!
g 40
.. 30
il
~ 20
---r----- - ..:;
z
3
r---- ~
1
1.. 10
o 0
-50 o 50 100 150 o 50 100 150
Ambient, temperature Ta ('C) Ambient temperature Ta ('C)
~
I--
-
.... :>
4.5
0
30 4.0-
1i...
!i
20 ,~ 3.5
I Ifr
3.0
10 2.5-
0 2.0
1.5
100 200 300
Output voltage VOUT (V)
----~-----SHARP-...-.-.--.---
806
High Voltage MOS IC LZ1016AD
• Features
1. High voltage output 250V (MIN.)
2. Output current 45mA (TYP.)
3. Internal 8·bit X 2-shift-register circuit
4. Circuit expansion capability
5. TTL compatible Top View
6. High speed data transfer (clock frequency
4MHz)
7. Single power supply: + 5V
8. DMOS process
9. 28-pin dual-in-line package
• Block Diagram
...o
G
" --.. -
109,
Qo '"
8bits
Shift Register
NC
Truth Table
DI~ CL STB I-iVMOST
X L X OFF
X H L ON
L H H ON
H H H OFF
T '
High Voltage
Output
~'-~-----SHARP-'-'--'----"-
807
High Voltage MOS IC LZ1016AD
• DC Characteruistics
ON ---------c:::Ltt
OFF ---- _ _r-L
n
. .....- - -
IE t2 .. I
tt=10ps, t2=10ms
Note 6: Value for each HVMOST output pin.
Note 7: Sum of total output leakage current.
808
High Voltage MOS IC LZ1016AD
•. AC Timing Chart
CLOCK
L5
5TH
7
_ _ _ _ _...J,r~:---tcLP'------o~------
HV08 ~~------------ 90 %
809
. High Voltage MOS IC LZ1016AD
.......II!I!I• ......,..-....,....... . - . . . . , . . - . . . . , . . . . , . . . . , . . -_ _ _ ,._~....,....,
1200 80
eL="High" eL=Pulse
~<:
Sa
.,., 1000
STB="Low
,.
/ 70 '\. STB="Low
.
z II
o 0
~!
..
800
V
/
/ <:
~
0 60 "~
"'.., :z:
'"
'" '"
... .....>
! 600
/ d 50
til
'r;; I'
......'"
...'"
'" 400
/ ..,os 40
E
'(' ios
Z 200 0 30
0
o
-100 -50 0 50 100 ISO 200
20
-100 -50 0 50 100 150 200
Ambient temperature Ta ("e) Ambient temperature Ta ('e)
60 ~
~
5.0\'
4.5V F - -
-
#;
,
<: I--""
~ 50
..:;>
0
40 JV
Ii...
... 30
..,os
0
-=
~ 20
I
10
STB="Low
.
eL=Pulse(Note 1 )
0 200 300
100
Output voltage V HVO (V)
Vee -------I=t-tl . n
GND----~ L---H---~ L
\E t2 .\
tl=IOjls, h=IOms
(D=O.I%)
-------.....-.-----$HARP . . . . - . - - - - - - - - - - -
810
High Voltage Mas IC LZ1032AM
• Features
1. High voltage output 250V (MIN.)
2. Output current 45mA (TYP.)
3. Internal 32-bit shift register circuit
4. Expandable circuit structure
5. TTL compatible
6. High speed data transfer (clock frequency
4MHz) Top View
7. Single power supply: + 5V
8. DMOS process
9. 44-pin quad-flat package
• Block Diagram
Data
Output
High
Voltage
Output
Truth Table
Data
Input 6 DIN CL STB HVMOST
X L X OFF
X H L ON
L H H ON
H H H OFF
811
.........................................,..............:..,....:-..............-.
HighVortage MOS IC LZ1032AM
• DC Characteristics
-----~~---SHARP~-.-..------.-....---
812
High Voltage MOS IC LZ1032AM
-----------SHARP-----------
813
High Voltage MOS IC .LZ1032AM
........... - . . -__...._ ._ _...... - . . - . . - .......-.r.-.r.-.r.-..-......
CLOCK
DIN
DouT
LS
STB
CL
90%
Hvon
• Example of Application
The following is a thin film EL matrix panel
drive circuit fabricat~d by application of the high
voltage MOS Ie.
814
High Voltage MOS Ie LZ1108AD
• Features
l. High voltage 300V (MIN_)
2_ High density 8 output/package
3_ Output current 20mA (TYP_ : VHVO = 300V)
4_ High mutual conductance 7.5m U (TYP.)
Top View
5_. DMOS process
6_ I8-pin dual-in-line package
• Equivalent Circuit
Drain 1 Drain 8
Gate 8
Gate 1 o--.JVV'r-----1--I
Source o-----+----'-~~--------------+-------~-'
'Leakage transistor
815
High Voltage MOS IC
.-.~~ ..... -~~.-.~...--.~.....-~ ......... .........--'
~
(Ta=25"C)
.LZ1108AD
---------------SHARP ~.-.-.--.-.--
816
High Voltage MOS IC LZ1108AD
6'......2. -60
-:;
II -50
8 VIN=-7V
<: -40
/ 6V -
-5
~
1-<
::> -30 V 5V
~
-20
V
""...... 4V
V
"
;;" -10
3V
;;'" 2V
0
o ---'200 -400 -600 -800 - 1000 -1200
Output voltage V OpT (V)
.--------SHARP--------
817
. High Voltage MOS IC LZ1116AD
• Block Diagram
8bits
::ihift Register
Truth Table
DIN CL STB HVMOST
X L X OFF
X L H ON
H L L ON
L L L OFF
,
High Voltage
Output
I,
~""""'------~--~SHARP~''-'----~--''''''''''''
818
High voltage MOS IC LZ1116AD
• DC Characteristics
HVMOST "OFF"
Total output leakage current I ITL I VHvo =-300V, Ta=-20-HOt;
10 p.A 6
--------.--------SHARP.-~~------
819
High Voltage MOS IC LZ1116AD
• AC Timing Diagram
CLOCK
LS
-~l-<-- t LSB
STB ~-------------tsp------------~~
HV08
~
. ~''7 %
1_0_%_o_.____________________--J~
..
.-....-------~--SHARP--".---------
820
High Voltage MOS IC LZ1132AM
• Features
14 HV03
1. High voltage output 300V (MIN.) 1 HV02
2. Output current 30mA (TYP. : VHVO = 300V)
3. Internal 32-bit shift register circuit
4. Expandable circuit structure
5. High speed data transfer (clock frequency
4MHz) Top View
6. Single power supplJ! : - 5V
7. DMOS process
8. 44-pin quad-flat package
• Block Diagram
Data
Output
High
Voltage
Output
Data
Input Truth Table
DIN CL STB HVMOST
X L X OFF-
X L H ON
H L L ON
8 L L L OFF
Latch Strobe Clear
Strobe
-------------SHARP - - - - - - - - - - - . . -
821
High Voltage MOS IC LZ1132AM
• DC Characteristics
HVMOST "OFF"
Total output leakage current I ITL I VHvo =-300V, Ta==20-70'C
30 pA 6
i j
---------------SHARP . - . - . - - - - - - . - . - .
822
High Voltage MOS Ie LZ1132AM
7Ir
• AC Timing Diagram
CLOCK
LS
-<>+--+>- t LS B
STB ~-------------tsp------------~~
CL _ _ _ _ _ _ _ _ _ _ _ _- J~-------------tCLP------------~~I~ _______________
, 1
PL
7tPH90%
HV032
~_O_?~______________________ --J'
--------------SHARP------.---~
823
Electroni'c Melody Generator CMOS LSI LR3461
• Block Diagram
1 Vss(OV)
.
-~
"
0-
.£
>
Q)
~~
" 6.
[go
8_
o ., ~;; ~o-< ~o "0
0
.,~
::;;cii
..
.... "i"'ii
~(/J
,:: .. =
-~ ~
" > o ""
,,~
~~ ::;;0 ""
<~ "=
<0
824
Electronic Melody Generator CMOS LSI LR3461
----~-.-----.---SHARP ----------------
825
,.-_ ......
<Command configuration>
_-_....- ............__
Electronic Melddy.Generator CMOS LSI
• System Configuration
LR34611
o
33pF
+ Tn: 2SC1383
Trz: 2SA683
826
\
Electronic Melody Generator CMOS LSI LR3462
S, ST
S2
0
MA
S3 OSCOUT
• Features T, OSCIN
1. Mask ROM programmable Vss T3
2.8 melodies (3-melody select input)
T2 VDD
3. Capable of driving piezo-electric buzzer
NC NC
4. CR controlled oscillation system (with external
resistor) NC so
5. Single power supply: -1.5V NC so
6. I8-pin dual-in-line package
Top View
• Block Diagram
Oscillator Programable
Circuit Counter
Tempo
Control
Circuit
Melody Control
Melody Melody Output
Jump, Repeat
Generator Control Circuit
Start, Stop
. - . - . - - - - - - S H A R P - - - - - - . - .......... ....,..----..
827
Electric Melody Generator CMOS LSI . LR3462
------~----SHARP ---.-.--------.-
828
Electric Melody Generator CMOS LSI LR3462
• Melody Specifications
<Number of melodies> Max. 8 value in parentheses ( ) : envelope control
<ROM> 600 steps <Times played> 1 to 15 or endless (by con-
<Sound source> 1 sequence necting the T 3 input to V DD, the melody can
<Sound range> 2.5 octaves be set to play once and then turn off auto-
<Tempo> 15 steps each (select matically.)
mlllimum note length <Commands> Melody commands
<Note length>
between 31 and 468
ms)
2 types (lengths other
Con t ro I
comman s
d -E Jump command
.
TImes repeat command
End command
than these are realized <Melody selection> One of the eight melodies is
by the number of steps) selected depending on the state of the melody
Example: When the longest note in the melody selection inputs Sl-S3. The melody selection
is p, the two types of notes that can be spe- input pins have a built-in pull-down resist-
cified for one step are ) and P. The length ance, so they can be connected to Vss or used
of notes is controlled using "1" and "0". open. When the state of the melody selection
J = P (1) + P (0) .................... 2 steps inputs changes during play, the melody speci-
J. = P (1) + P (0) + P (0) .......... 3 steps fied is played from the first.
Po = P (1) + }l (0) ..................... 7 steps
Melody output ON
OFF
I
---.I
/' /'
L
Auto stop Forced stop
(2) Hold type (repeats 1 to 15 times)
S tart input S T
Mode input MA
ON ,------,
Melody output
OFF -.J
I
/I' /'
L
Auto stop Forced stop
(3) Hold type (repeats indefinitely)
~
S tart input S T
L
Mode input MA
Melody output
ON
OFF
'~
r-------------~
/
L
Forced stop
---.-----SHARP--------~
829
Electric Melody Generator CMOS L_SI LR3462
• System Configuration
!
LR3462
8~O
Voice Synthesizer CMOS LSI LR3681
08
gg~~S:g~22
...l
The integration of all the functions required for
generating voice output enables voice synthesizer
'systems to be easily composed.
2 DAI
NC
• Features
1. Voice output period of time: 4 - 5sec
(The voice quality is determined by the length
of voice generated)
2. Available sound sources include male, female
voices and effect sounds
5 6 7
3. Voice synthesis method is based on a wave-
form encoding system ggg888~88
4. 32K bits of data ROM on chip Top View
5. Expandable up to 128K bits of external ROM
6. Internal 8-bit of DI A converter
7. Time base: 4.19MHz crystal
8. Single power supply: - 3V
9. CMOS process
10. 48-pin quad-flat package
• Block Diagram
y
Address Output for Interface
to External ROM
Data Input Control
Output
.
Output Input
831
Voice Synthesiz9>r CMOS LSI LR3681
832
Voice Synthesizer CMOS LSI LR3681
• System Configuration
(1) Stand-alone LSI configuration
Pressing one, out of the eight switches (N.-NB) The voice output's maximum amplitude is almost
connected to the input pins, produces the corres- equal to the supply voltage. It is amplified by a
ponding speech message. The number of connect- power amplifier to drive a speaker. A simple low-
able switches can be increased to 32 by building a pass filter (CR network, etc.) should be used to eli-
matrix with the output pins. minate RF noise.
Strobe
(2) System combined with a microcomputer The following figure shows a sample system
A microcomputer mllY be used to command the configuration in which serial data is transferred
voice synthesizer LSI to produce a specific speech from the SM-500 to pin Nt of the device:
message. The device can be readily interfaced
with the CMOS version of the SM Series.
BUSY signal
LCD panel Key input Control signals
~---'-'---"""'-~SHARP----~'-'-'---
833
Voice Synthesizer CMOS LSI LR3681
..........~~........... . -__,._~............ - ....... - ...........-..r.....
• Developing Procedure
The following table shows a typical procedure for developing the LR3681 with customized specifications:
Parameter Description Responsible Party
1 System specs Determines the 1/0 formats for the LSI, interface with microcomputer, etc. Customer
2 Synthesized voice ·tone Selects the tone from the samples provided by Sharp. CustQmer
Determination of speech Specifies the words to be written into the device, extracts common words, Customer
3
message and creates the recording manuscript. Sharp
As a rule, a professional announcer records the contents of the recording
4 Recording Customer
manuscript onto a tape, in a noise· free environment.
Checks the recorded tape for noise arid proper recording level. If any pro.b·
5 Recorded tape check Sharp
lem is found, Sharp requests the customer to. reco.rd once again.
Inputs the recorded message into. a computer, where it is subjected to voice
6 Voice analysis Sharp
analysis and data co.mpression for writing into ROM.
Writes the resulti"ng voice data into PROM, and programs the control sec·
7 ROM writing Sharp
tion for lIO and other operations.
Emulation for voice tone Emulates the PROM co.ntaining data to evaluate the tone of the recorded
8 Customer
and LSI functions voice as well as the systems operations.
If the result of emulation was positive, Sharp creates the mask for LSI
9 LSI mask generation Sharp
device.
10 TS submission Fabricates test sample devices, tests them, and submits them to the customer. Sharp
11 TS evaluatio.n Custo.mer evaluates the sample devices. Customer
12 ES submission Sharp submits engineering samples. Sharp
834
5 X 7 Dot Matrix Decoder PMOS LSI LI2048
• Features
1. 128 patterns display
2. Direct drive of vacuum-fluorescent displays
3. Printer drive output
4. TTL level voltage drive
5. 60-pin quad-flat package
~~~~JJ;~J6gJgg6
Top View
• Block Diagram
Dot
Display
Output
.
Dot Display Output
835
....
5X7.D0t Matrix Decoder
•
.-.~...., .......---,...-..
Absolute Maximum Ratings
-~....,~---~--~ ....
.LI2048
• Electrical Characteristics
Parameter Symbol Conditions MIN. TYP. MAX. Unit
VIH -1.1
Input voltage V
V1L -4.2
VOHl IOH=3.0mA -1.0
Output voltage VOH2 IoH =1.0mA -1.0 V
VOL VIN =-40V -36.5
100 Voo =-9.0V 8.5
Current consumption rnA
IN VN=-40V 3.0
tUl V1N =-40V 4.0
tdl No loading 5.5
Output delay time ps
tU2 VN=-40V 5.0
td2 Loading capacity; 100pF. 15.0
Input resistance RIN VIN =-40V 1.0 MO
• Function
(1 ) Dot matrix arrangement
~ ~ ~ ~ ~
@;) ~ ~ @;] ~
~ @;] ~ @;J @;]
@;] ~ @;J ~ ~
~ ~ ~ @;] ~
~ '~ ~ @;] @;]
,,'@;] ~ @;) [£;J @;J
836,
5X7 Dot Matrix Decoder Ll2048
• System Configuration
Di ; Dil (i=1-7)
e =1-7)
j=I-5
Printer
Ao Dot output
Al
A2 Vi-< -40V
A3 VDD -9V
Input
A. Ll2048 GND
As
A6
A7
As
A9
Input
837
LCD Controlier/D-riVer CMOS LSI LH5008
• Features
1. CMOS process
2. Number of display digits
. 7 -s~gment device
1I4-duty cycle ·········16 digits
1/3-duty cycle ......... 10% digits
112-duty cycle ......... 8 digits
Static operation········· 4 digits
• 14-segment-device
1I4-duty cycle 8 digits
3. Operating mode
Static, 112, 113, and 1I4-duty drive
4. Biasing
Static, 112 and 113
5. Segment decoder output
• 7 -segment device ; numerics 0 - 9 and 5
symbols--
. 14-segment device; 36 alphanumerics and
12 symbols
6. Blinking function
7. LCD direct drive
8. Serial input (8-bit unit)
9. Capable of multi-chip configuration
10. Single power supply: + 5V
11. 60-pin quad-flat package
.-------------.---SHARP.,-.-.....-.-.-..-.~-
838
LCD Controller/Driver CMOS LSI LH5008
• Block Diagram
LCD
Segment Output
Synchronous
Signal Input
/Output
Segment
Output
Chip Select
Busy Output
Command/
Data Select
'-v---'
Reset Serial Serial GND
Input Clock Input Data Input VDD
• Pin Description
Pin name No. of pins 110 Connect to Functions
VDD, Vss 3 Power supply for logic circuit
Power supply
VLCI> V LC2, V LC3 3 Power supply for liquid crystal drive
SI 1 Serial data input
SCK 1 Clock input for data shift
CID 1 I MPU Datal command select pin
CS 1 Chip select pin
RESET 1 Reset input
CL l 1 Resistance Internal clock oscillation pin
CL 2 1 Resistance Internal clock oscillation pin
SO-S3l 32 Liquid crystal segment drive signal
0 Liquid crystal
COM o-COM 3 4 Liquid crystal common drive signal
BUSY 1 MPU Busy output
SYNC 1 110 LH5008 Sync. signal
.---------SHARP-.--.------------
839
LCD'Controlier/Driver CMOS LSI LHS008.
(V DD =?7-4.5V, Ta=-lO-+70"C)
Parameter Symbol Conditions MIN. TYP: MAX. Unit Note
VIHI Except SCK 0.7Voo Voo V
VIH2 SCK O.8Voo Voo V
· Input voltage
VILI Except Except SCK 0 0.3Voo V
VIL2 SCK 0 0.2Voo V
I ILTH I VIN=Voo 2 p.A
Input leakage current
I ILIL I VIN=OV 2 p.A
Output leakage current
I IWH I V6UT=VOO 2 pA
I ILoL I VOUT=OV 2 p.A
IOHI SYNC, BUSY VOUT=VDD-O.75V 7 p.A
IOH2 SYNC, VouT =0.5V 200 p.A
Output current
lOLl SYNC, VouT =0.5V 400 p.A
IOL2 BUSY, VouT=0.5V 150 p.A
ReoM COMo-COM 3 VDD:<?,VLCD:<?2.7V 6 12 kn
Output resistance 2
RSEG SO-S31 VDD~VLCD~2.7V 12 24 kn
No-load, ext~rnal clock fc=160kHz
Current consuinption roo 30 100 p.A
Voo =3V±10%
Note 2: Applicable to static, 112 bias. 1/3 bias; VLCD: LCD drive voltage
840
LCD Controller/Driver CMOS LSI LH5008
(Voo=2.7V-4.5V, Ta=-10-70'C)
841
LCD Controller/Driver CMOS LSI u:iS008
• AC Timing Diagram
______- J
X
.
O.7VDD?/-
. O.3VDD _
./O. 7VDD X···
I/ --......,..O.3VDD _ _
~------
Measurement points
Timing waveforms
t----tCyC (I/fc)--~
tWHCS
~-------------------tWLCS-------~------------~
tDCSB
- tHKCS
----. I
r----'
\
\
\ I \
O.5V I \
------.1.-
SI
eli)
________ ~~~_______________t_S_DK---------~~~~------
842
LCD Controller/Driver CMOS LSI LH5008
• System Configuration
,
~ COMo -COM3
7-segment I6-column LCD
rV
50-531
{').
r-----------,
COMo-COM3 50-531
I I
VDD BUSY BUSY I
*CI I
RESET : RESET
VLCI I
C/i) C/i) I
:: C2 LH5008 Microcomputer system
CS ICS
I
I
VLC2 I
51 151
R3 ::C3 I I
VLC3 SCK SCK I
CLI CL2 Vss
IL __________ J
I
Ii" I I 1
-----~.-..-;...-----SHARP----.----.-----
843
LCD Dot Matrix Controller CMOS LSI LR3691A
• Features
1. Controller for LCD dot matrix graphic display
2. Maximum display data = 163, 840 dots
(Horizontal X Vertical)
3. General 8-bit CPU interface
4. High -speed write cycle
5. Low frequency due to parallel output of data to
4 divisions of the LCD
6. Selectable display dots
a. The number of horizontal dots
• The LCD without right and left divisions
120,160,240,320,480,640 dots
• The LCD with right and left divisions
240,320,480,640,960,1280 dots
b. The number of vertical dots
· The LCD without upper and lower divisions
32,64, 100, 128 dots
• The LCD with upper and lower divisions
64, 12~ 200, 256,do~
7. Single power supply: 5V (TYP.)
8. CMOS process
9. 60-pin quad-flat package
844
LCD Dot Matrix Controller CMOS LSI LR3691A
• Block Diagram
Meory
Address
Output Oscillation
LCD AC Drive
Output
Display Data Shift
CLOCK
Display Data Latch
CLOCK
LCD Control
Memory Common Data Output
Timing Generator
Address
Output
Column Counter
845
LCD Dot Matrix Controller CMOS LSI LR3691A
MOo -M0 7 and 0 0 -0 7 are 110 pins which are pulled up by Note 2: Applied to pins MOo-M0 7 and 0 0 -0 7 ,
built·in resistors when in input mode. Note 3: Applied to pins CP" CP2. S, M. 01,-01 4 , and OSCOUT
Note 1: Applied to output pins other than CP" CP2. S, M, 01, Note 4: Applied to input pins other than OSC'N, T, andT 2.
-01,. and OSCOUT. Note 5: Applied to pins OSC'N, T .. and T 2.
• AC Characteristics
(1) LCD control timing (Vcc=5V±10%, Ta=-10-+70t)
Measurement Conditions
~ =lIfosc(fosc=O.6-6.6MHz), CL=50pF. VOLc=O.2Vcc. VOHc=O.8Vcc
Dh-DI.
~46
LCD Dot Matrix Controller CMOS LSI LR3691A
Measurement Conditions
; =lIfosc(fosc=0.6-6.6MHz). CL=20pF. VOL=0.8V. VOH=2.0V. VIL=0.8V. VIH=2.0V. and hand tr of input signal are less than 50 ns.
MAo-MAi.
MDo-MD7 (READ)
MDo-MD7 (WRITE)
(3) CPU interface (read cycle) timing (Vee = 5V ± 10%. Ta = -10 - +70t)
Parameter Symbol MIN. TYP. MAX. Unit
WAIT output time referring to RD tRDWT 45 150 ns
WAIT rise time referring to MRD tWURD s6 -100 s6 ns
Data output delay time referring to RD tRDHZ 25 150 ns
Data output settling time referring to WAIT t tWTS 2 s6 -150 2s6 ns
Data output hold time referring to RD tRDH 0 20 ns
RD setup time referring to MA tASRD 200 ns
Measurement Conditions
; = l/fosc(fosc=0.6-6.6MHz). CL=ZOpF. VOL=0.8V. VOH=2.0V. VIL=O.~V. VIH=2.0V. and hand tr of input signal are less than 50 ns.
MAo-MAl'
h~-----.lVOH
~~~______~~V~OL~-------------------
----'----SHARp.-.---.-.----.--..
847
LCD Dot Matrix Controller CMOS LSI LR3691A·
(4) CPU interface (read cycle) timing (Vee = 5V ± 10%. Ta = -10 - +70"C)
,Paramerter Symbol MIN. TYP. Mj~.x. Unit
WAIT rise time referring to MRD tWUWR 1> -100 1> ns
Data setup time referring to MWR tDSMW 1> -50 1> ns
Data hold time referring to MWR tDHMW 1> -50 1> ns
WR setup time referring to MRD tASWR 200 ns
WAIT output time referring to WR tWRWT' 45 150 ns
Measurement Conditions
1> = 1/fosc(fosc=0.6-6.6MHz). CL=20pF. VOL,=0.8V. VOH=2.0V. VIL=0.8V. VIH=2.0V. and hand teof input signal are less than 50 ns.
MAo-MA14 ~_ _ _ _ _ _ _ _ _ _ >CJC
MRD VOH
VOL
• Functional Descriptions
and CPU.
(1) Power supply The RS pin specifies the type of data exchanged
The Vee pin requires + 5 VDC to the ground. with the CPU through pins Do-D7, identifying dis·
The GND pin should be externally grounded. play RAM address specification data and display
(2) Clock pulse and divider data.
The OSCIN pin of the device requires constant The data control pin signal timing is' shown in
application of a clock. A clock used for the CPU the paragraph for Electrical Characteristics.
may be used for this purpose. The OSCOUT pin, The input circuit for these control pins have
which provides an inverse of the clock applied to floating gates.
the OSCIN pin, should be left open. (5) WAIT signal
(3) RES pin and reset pulse The display RAM is accessed from both the CPU
The RES pin requires application of a reset and the LCD driver. To avoid contention, the
pulse when power is turned ON to initialize the LR3691A delivers a WAIT signal to its WAIT pin
LR3691A's internal registers. The reset pulse when the LCD driver is accessing the display
should be active high, and should have a pulse RAM, suspending display RAM access from the
width more than 4 time as long as that of the clock CPU.
pulse. " (6) Data input/output
The input circuit for the RES pin uses a floating The LR3691A exchanges data with its host CPU
gate. through its pins Do-D7. The data transferred
(4) Data control pins through these pins are display RAM address data,
The LR3691A is controlled from the host CPU display RAM read data, and display RAM write
through pins CS, .RD, WR,.and RS, The signals ap· data. The data type is specified by controlling a
plied to pins RD, WR, and RS are made valid if the data control pin. The Do-Di pins are. normally con-
CS pin is set to low. nected to the host CPU's data bus. When in the in-
The RD and.WR pins are used to determine the put mode, the Do-D7 pins are pulled up through
direction of data transfer between the display RAM pull·up resistors.
-------~------SHARP.-.-.--~---~-
848
LCD Dot Matrix Controller CMOS LSI LR3691A
(7) Screen division and dot number selection . CPU. Display data is written and read byte-by-
The LR3691A controls an LCD screen through byte (8 bits). When viewed from the CPU, display
LCD drivers using serial data transfer scheme RAM address alllocations to the display screen
with duty cycle of 1/32 to 1/128. The LCD address are fixed. (To facilitate data readl
screen is often divided into sections to improve write access to the display RAM and to impove
contrast and reduce driving frequency and driving availability of the RAM area, RAM addresses
voltage. are actually translated within the LR3691A befo-
The LR3691A permits division of the LCD re read Iwrite access is performed.) The first
screen into two sections both in the horizontal and addresses of the four sections on the screen are
vertical directions. The ROWand CLM pins have fixed to OOOOH, 4000H, 8000H, and COOOH. An
floating gate inputs with high impedance. example of the relationship between display RAM
(8) Connection to display RAM addresses and screen addresses as viewed from
'The LR3691A should be connected to the dis· the CPU is shown in Fig. 1, where the number of
play RAM as follows: The address data for display pixels per row on the screen is 640 (numbers
RAM is output through pins MA o-MA 14 • If th~ given in parentheses are that of 240).
display RAM consists of more than one chip, the 00) LCD driver control
address data shoud be decoded through an address The LR3691A drives an LCD dot matrix dis-
decoder before being coupled to the display RAM. play panel via LCD drivers using serial data trans-
Display dat.? is transferred through pins MDo' fer scheme. It uses its pins S, M, CPI CP2, and DII
MD 7 • The MRD and MWR pins are used to con- -DI4 for controlling the LCD driver.
trol the display RAM: the MAD pin provides a dis- The S pin provides data signal to the shift regis-
play RAM read command signal; the MWR pin pro- ter input of the LCD driver which drives the com-
vides a display RAM write command signal.' mon electrodes. The M pin supplies a signal
(9) Display screen versus display RAM needed for synchronized AC driving of the LCD
The display RAM is accessed from the CPU or driver.
LCD driver via the LR3691A. Access from the The CP2 pin drlivers a clock signal used to shift
LCD driver occurs every 32 cycles of the system display data. The CPI pin provides a display data
clock (applied to the OSCIN pin), of which one 16 latch signal. The pins DII: -DI4 otuput display data
cycle period is occupied by the LCD driver, and after converting the 8-bit parallel data from the
the remaining 16 cycle period is available to the display RAM into serial data.
o0 0 0 H
o0 0 I H
o0 0 2 H
o0 0 3 H OOOOH looohI OOOh
(OOOOH) (OOOh) I (0002 H) - - - - ----!-=:::=:!~Ti'i:T+-':-~;;"'-I__';';;7;'''+-
0028HJ0029H I 002AH
(OOOFH) (OOIOHU (OOI1H)
4 0 0 I H
,4003 H
I!
1
8000H
(8000H)
800lH
(800h)
8002H
(8002H) --
8027 H
(800EH)
COOOH
( COOOH)
CO 0 I H
(COOl H)
I co 1
I
02H
(C002H) -
~
~~_---
C027H
(COOEH)
80 00
8.0 0 I
H
H
802 S.
(800FH)
80219' H
(80IOH)
802 A H
(8011H) I C028 H
( COOFH)
C029 HI C02AH,
(COIOH) (COlh)
I
I I I I
I I I I
I
CO 0 0 H
CO 0 I H
COO 2 H (Note) Number of pixels per row is 640. (numbers given in ( ) are that of 240)
COO 3 H
I ( b) Display viewed from CPU
849
LCD Dot Matrix Controller CMOS LSI lR3691A
0000.
000 1 •
0002 •
0003 •
0004.
0005.
0'006.
0007 •
0008 •
I
I
1
1
1
'I
1
I
/
Fig. 3 Bit-by-bit relationship of display screen and display RAM
The Dh pin provides display data for the upper • Display Control Method
left section of the display screen; the DIz pin pro, Display control consists of display data proces-
vides that for the upper right section of the screen; sing, RAM addressing, and display screen selection.
the Db pin provides that for the lower left section; (1) Display screen selection
and the DI4 pin provides that for the lower right The LR3961A drives the display screen via
section. shift·register type LCD drivers by, if necessary,
The LCD driver control singnal timing is shown dividing the screen into four sections according to
in the paragraph describing Electrical Characteris- the number of pixels (on the row and column) to be
tics. displayed. The number of pixels per row is speci-
(11) DIsplay enable fied with the CLMo-CLM2 pins. The number of
The DE pin is used to enable or disable display pixels per column (duty) is specified with the
to the screen. If set at low, the entire screen is ROW 0 and ROW 1 pins. See the following table.
blanked. Data display is enabled only when the DE
eLM No. of pixels ROW No. of pixels
pin is set at high. The DE pin is used to suppress
(2.1,0) per row (1,0) per column
meaningless information from the screen pO,wer is
000 120 00 32
being turned on. It has a floating gate input.
001 160 01 64
(12) T1 and T2 pins
010 240 10 100
The T 1 and T2 pins should be connected to the
011 320 11 128
ground. These pins, having floating gate inputs,
100 480
are used for device test and are not available to
101 640
the user.
110 unused
111 unused
851
~I •
!R
'I r()
C
I
I II, II
~
3 I~
- I~
J CPU , I I [:, I I ,I I , '.. o
o
:J
~--
(Z80 system) CL2 CLI M FCS~ ~CL2 CLI M FCS CLz CLI M FCS ~ fil"
-I IPS' 'PS
rl+ 5V LH5021A
/LH5022 Dil ---
LH5021A I
DO /LH5022 OI I
LH5021A IPS
/LH5022 OIl ---
a0" II
c::::
I ~J
\ Address Bus
1"1" 1"1" Y.O-YI
u
Y.O-Yl
:u;
I Y.UI Y.O-YI
u ::::J
Q.
CD
I
U
"lJ II-II FCS/PS DII'
LH5021A T,
M / LH5022 Y1--------\
I t----v'
,
CLI II
I
I I - - - - - - - - -, - - - - - / - LCD panel-- - - - - - - - - - - - - - - I ~
8
I
FCS/PS DII
) LH5021A
III I, w
M /LH5022Y ,
N RD WR RS CS DE CLI
'D I -0
CP I 1---0-1+--1-+-1---4
if o fr
I
WAIT
CP2 ~--~~
~
M YSO-YI Y.O-YI YSO-Yl
Do- D7 , LH5021A LH5021A LH5021A
I MAo- MA14
LR3691A ILH5022 0 I 1 - DO ILH5022, OIl
FCS
CL2 CLI MIPS
FCS
CL2 CLI MIPS
ILH5022 0I1-
FCS
CL CLI MIPS I
I
I
I
II
I II r
I -;:0
w
I I~
LCD Dot Matrix Controller CMOS LSI LR3692
• Features
1. Graphic or character mode selectable
2. Display duty: 1132 - 1/256
3. Maximum display capability
Graphic mode : 640 X 256 dots
Character mode: 80 X 32 characters
(if character font is 8 X 8)
4. Capable of interfacing to an 8-bit CPU
5. Serial! 4-bit parallel output
6. Capable of driving upper and lower divisions DTMG 24 0
LCD 25 26 2
7. Scroll function
8. Cursor display: ON, OFF, and BLINK
9. Character BLINK
10. Display ON, OFF
11. On -chip crystal oscillator
12. Single power supply: 5V (TYP.)
13. CMOS process
14. 80-pin quad-flat package
11
...--------------SHARP - . - . - - - - - - - - - - -
853
LCD Dot Matrix Controller CMOS LSI LR3692
__ .. _.~~"";.-.-..-.-..-.....,..-.r. ____ .~.-~.-
• Block Diagram
Dot a Register
Upper Screen Upper Screen
Display Start Address Counter
pper Screen Lower Screen
Display Start Address Counter Memory
Address
Latch Pulse Period Cursor Address Output
Cursor Position Register
Display Duty·
Character Numher ~
Register Select
Chip Select
Display OFF Input 25
®}
:
71
73
Memory
Data Bus
. Memory Read
Read Input 61 Output
Write Input
Display RAM
Select Input
Display Timming
Output
Busy Output
.
GND
854
LCD Dot Matrix Controller CMOS LSI LR3692
Note 1: Applied to pins MDo -MD7. RIo-RI? Do·D7. CS. RS. CEo WR, RD. and DOFF.
Note 2: Applied to pins TEST and CGIN. __ __ ~_
/ Note 3: Applied to pins MAo-MAI5. MDo-MD7. MWR. MRD,'Do-D7. BUSY, and DTMG.
Note 4: Applied to pin's CLIo CL 2• S. DUO-OU 3• DLo-DL3. and M. _ _ ~ _ ~_
Note 5: Applied to pins TEST. MAo-MAI5. MDo·MD7, RIo-Ri? Do-D7. CS. RS. CEo WR. RD. and DOFF.
Note 6: Applied to pins CGIN and CGOUT.
855
19D Dot Matrix Controller CMOS lSI lR3692
• AC Characteristics
DUo-DU3
DLo-DL3
~--tSD'--~-~
CL2
tDCLl
!E---;ofE--- t W C L I - - ¥ -....
CLI
S.
j '-------------'X____
>-------tss--------......---tHS----!J-+J
. . . . - - - . , - - - - - - - - S H A R P -~--.------..-.
856
LCD Dot Matrix Controller· CMOS LSI 'LR3692
RS 2'O~V
O.BV
"-----
tSRS tH!lS
WR,CS
J - - - - . tSD~ tHD~
.
X 2.0V
O.BV
:=
~
------~ "------------
11~
~-.-----.r---SH~RP-'-------
857
.. _.....,....., ....
LCD Dot Matrix Controller CMOS LSI
.............,.......
.....,....., ....,...-.: ....,._.......... LR3692
....,.....,
2.0V
J
O.8V ~
~
~
2.0V '2.0V
O.8V O.8V
J
tOWR
~ tnDu
\ O.8V O.8V
II
J
..... tOOT..,.
DTMG
O.8V,
/ \
MAo-MA15
2.0V
O.8V ( ) 2.0V
O.8V
O_.8_V__________________ ·~;f
BUSY, DTMG, MWR, MRD 2.0V '[
MlAo-MA15 O.8V
L - - - _
858
LCD Dot Matrix Controller' CMOS LSI LR3692
tDMRH
MDo-MD7
1/f-
CE
1\ /
1/
WR
/
I~HD:
-----i
~ ~W
\
/
tDDW
---..
---
tHMD
MDo-MD7
) '(
.-.--------------SHARP - - - - - - - . - - - - -
859
LCDE)pt Matrix Controller CMOS LSI ': ! LR3692
tCMO
MAo-MA15
(6) Display RAM access (display busy in 4-blt mode)(Voo=5V±5%, fosc=4MHz, CL=15pF, Ta=0-+50"C)
tCA
,
MAo-MA15
~ J\
tHMD
tSMD
,
) K
860
LCD Dot Matrix Controller CMOS LSI LR3692
---~~-----------SHARP .------~-.-.,-,
861
LCD Dot Matrix Controller CMOS LSI LR3692
(10) Setting lower byte of cursor address 1/0 mode is selected by writing OCR into the
Register name: Cursor Address register command register. When BUSY = 1, thl! display
~ ~1~1~1~1~1~1~1~ RAM location specified by the Cursor Address
1 0 I 0 I 0 101 1 I 0 I 1 I 0 register can be accessed through DIo-DI7 for read
o Lower byte' of cursor address or write operations.
(11) Setting upper byte of cursor address The LR3692 also permits direct display RAM
Register name: Cursor Address register access using the address data fu~nished from the
CPU. In either case the value of the Cursor
RS D7I Ds I D5 I D4 I D3 I D2 I Dl I Do Address register is incremented each time the dis-
1 0 I 0 I 0 101 1 101 1 I 1 play RAM is accessed.
o. Upper byte of cursor address
This command sets cursor address data into the • System Configuration
cursor address counter. (1) Interface with CPU
(12) Setting latch pulse period As shown in Figs. 1 and 2, the LR3692 (LCDC)
Regipter name: Latch Pulse Period register is connected to the· standard bus of the ZBO-type'
RS D7 Ds I D5 I D4 I D3 I D2 I Dl I Do CPU, using it as a means of transferring data and
1 0 0 I 0 I 0 101 1 I 1 I 1 commands.
0 0 (NLP-l) If the CS is at low and RS is at high, the com-
NLP: HN + 1 ;:;;; NLP ;:;;; 121rwhen in serial mode. mand register within the LCDC is specified and
HN/4 + 1 ;:;;; NLP ;:;;; 128 when in 4-bit mode.
The display frequency fd is related with the latch pulse period the data on the data bus is written in. The write
NLP by the following formula: timing is determined by the WR signal. If the CS is
fd = 1/(8NLP. TXS. NY)
TXS: Shift clock period
at low and RS is at high, the contents of the
·TXS = 500 ns when OSC frequency is 4 MHz. LCDC's internal register requested by the com-
(13) Setting display RAM access mode mand register cannot be read.
RS D7I Ds I D5 I D4 I D3 I D2 I Dl I Do The CE, BUSY, DOFF, and DTMG signals are
1 0 I 0 I 0 I 01 1 I 1 I 0 1 0 used for CPU access to the display RAM.
o DATA
ICE
Ao-Als RS
Z80A LR3692
CPU LCDC
IORQ Decoder CS
RD RD
- WR
WR
WAIT -----------.-- BUSY
---------~ DOFF
DTMG
Do-D7 Do-Dr
MAo-MA1s
MDo-MD7
MRD
MWR
~
I Display RAM I
Fig. 1 Interface with CPU(I/O mode)
- . - . . - - - - . - . - - S H A R P ---.--~------..-.
862
LCD Dot Matrix Controller CMOS LSI LR3692
Ao-Al5 RS
Z80A LR3692
CPU LCDC
MREQ j, CE
I
IQRQ Decoder CS
I
I
RD I
RD
-WR I
WR
I
WAIT I-- 1------ -------t-- BUSY
. L DOFF
I LR74HC244X2 DTMG
Do-D7 Do-D7
MAo-MA15
MDo-MD7
MRD
MWR
1!
I Display RAM I
Fig. 2 Interface with CPU (Direct mode)
(2) CPU access to display RAM ly to the display RAM. The Cursor Address regis·
CPU access to the display RAM includes the 110 ter is incremented at the rising edge of the RD or
mode which is made through the LCDC, and the WR signal. The functions of the BUSY and DOFF
Direct mode which is directly performed from the signals are identical to those in the 110 mode.
CPU. Note: In either mode the BUSY signal is output only when the
CD 110 mode A sample system configuration CPU is accessing the display RAM. (When CE = 0 in
Direct mode; when CS=O, RS=O and the command regis·
for 110 mode access is shown in Fig. 1. A value for ter value is OCH in I/O mode.) The BUSY is set to high in
OC. is first set into the command register. If the all other cases.
BUSY is high. CS is low. ap.d RS is low. the RD.
WR. and Do-D7 lines are linked to the MRD. MWR. • LCD Control
and MDo-MD7 lines. respectively. At this time the (1) Graphic mode
value of the Cursor Address register is output at The Graphic mode is selected by the Mode Con-
the MAo- MAls pins. The Cursor Addre~register trol register value. In this mode each bit of the dis-
is incremented at the rising edge of the RD or WR play RAM corresponds to each pixel on the LCD
signal. The BUSY line is set to high during the fly- screen.
back period in which the LCDC does not access the CD Screen configuration The numbers of
. display RAM. Setting the DOFF to low causes the pixels per row and per column are determined by
BUSY to be set to high. making the display RAM the values of the Character-Per-Row register and
accessible at any timing. At this time. the LCD dis- Duty register.
play is turned off. No. of pixels per row: HNx8, HN= 16 to 128
® Direct mode A sample system configura- No. of pixels per column: NYX2, NY=32 to 256
tion for Direct mode access is shown in Fig. 2. The (When both the upper and lower sections of the
Direct mode is selected if the value of the com· screen are used.)
mand register is anything but OCH. If BUSY is ® Display start address The display start
high and CE is low, the RD, WR and Do-D7 pins address refers to the first location of the di~play
are linked to the MRD, MWR, and MDo-MD7 lines, RAM area to displayed, specified by 16-bit data.
respectively. At this time the DTMG is set at low Independent specification for the upper and lower
and the MAo-MAl5 pins are set to high impedance, sections of the screen is possible. Further, the uti-
to transfer the address specified of the CPU direct- lization of display start address makes page con-
----..--.-..--SHARP-.-.------~
863
LCD Dot Matrix Controller CMOS LSI 'LR3692
Display RAM
MSB LSB
LCD panel
t-
NY line Upper screen
L~_---,
Fig. 3 Screen configuration (Graphic mode)
trol and screen scroll possible. @ Character font The character font is
(2) . Character mode specified by the value of the Character Pitch reg·
The Character mode is specified by the value of ister.
the Mode Control register. In this mode pixel pat· Horizontal pitch: HP=5, 6, 8
terns are displayed by combining character codes Vertical pitch: VP = 1-16
of the display RAM with the corresponding char· Fig. 4 shows an example of character font. If HP=
acter patterns of the character generator ROM. 5 or 6, the LSB side of the Rlo-Rlt is invalid.
(CGROM). ® Cursor display The cursor display mode
CD Screen configuration The numbers of is determined by the value of the Mode Control reg·
characters per row and per column are determined ister. The cursor position.is specified by the vahte
by the content of the Character-Per Row register, of Cursor. Address register. Since the character
Duty register, and Character Pitch register. code address on the display RAM is specified for
No. of characters per row: HN = 16 to 128 cursor position specification, screen scrolling is
No. of characters per column: NYx2lVVP, NY= 32 accompained by cursor scrolling.,
x256 The cursor position in a character font is speci·
(When the upper and, lower sections of the screen fied by the Cursor Position register.
are used.) @ Cursor blink Cursor or character blink·
The numbers of pixels per row and per column ing is controlled by the Mode Controll register.
are determined as follows:
.r- =-:1
No. of pixels per row: HHYx2
CGROM address
HP
MAls MA14 MAla MA12
o o o o
r ~o:~~~:~~ol
o o o 1
o o o
.000.0 o o 1
,
VLP
0 • • • • • 00
~~: ~ ~ ~ ~ ~~
OD'D 0 0 0
••••••
.0 0 0 0 0 DO 0
: J CP
o
o
o
o 1
o
o
o
o
1
o
0
o
1
"0
1
o
864
LCD Dot Matrix Controller CMOS LSI LR3692
LR3692
LCDC
--
MA12-MAI5 DLo-DL3 ===¢ Liquid crystal
--
MAo-MAll CLI panel
--
MDo-MD7 CL2
r- MRD M
MWR s--
JI
I
Do-D7
CGROM
Ao-AI5 Display RAM
I
Fig. 5 Connections to CGROM and LCD panel
Blinking is performed for approx. 1H (64 frams) at (TXS=500 ns when OSC frequency is 4 MHz.)
1/2 duty. ® Flyback period The LCDC does not ac-
(3) Parameter setting cess the display RAM during fiyback period.
CD Display frequency The LR3692 uses Flyback period TDIS:
the two-frame AC display system. The display sys-
When in Serial mode: TDIS= 18 (NLP-1)-8HN I
tem. The display frequency is determined by Dis-
. TXS
play Duty and the value of the Latch Pulse Period
register.
When in 4-bit mode: TDIS= 18 (NLP-1)-2HN I
.TXS
One frame period: Td=8NLP.TXS.NY
Display frequency: fd=l/Td
Retrace time
I"
CLI _ _ _ _ _ _ _ _ _ _ ~
~I
n ~ ____________
r Retrace time
"I
~I I IL-
865
LCD Dot Matrix Driver CMOS LSI . LH5006A
• Features
1. CMOS process
2. 40-LCD driver circuit
(a half of 40 drivers can be used either as seg-
ment signal drivers or as common signal
drivers)
3. Single power supply: -.5V (TYP.) Top View
4. 60-pin quad-flat package
• Block Diagram
Output Output
-------~------~
__ ------A~------ __
Output Output
866
LCD Dot Matrix Driver CMOS LSI LH5006A
• Pin Description
Pin name Name I/O Functions
YI-Y20 Ch. 1 liquid crystal output
Y 21 -Y. O
Liquid crystal output a Ch. 2 liquid crystal output
FCS Mode
FCS Ch. 2 mode selection I High Common signal drive mode
Low Segment signal drive mode
Non- Non-display
Clock for liquid crystal M Display M Display
M I display Ch.l Ch.l
drive circuit
High V2 V6 High VI Vs V3
Low VI Vs Low V2 V6 V.
DLI> DRI Ch. 1 input/output
Data output I/O
DL 2 , DR2 Ch. 2 input/output
CL I, CL z Clock I Clock for data latch
VI> V2 Durling select
Liquid crystal drive circuit
V3, V. I Ch. 1 durling non-select
output voltage supply
V 5 , V6 Ch. 2 durling non-select
VDD For logic circuit (- 5V)
VEE Power supply For liquid crystal drive circuit (-17V)
Vss GND
----------SHARP-.-------
867
LCD Dot Matrix Driver CMOS LSI LHS'006A
868
LCD Dot Matrix Driver CMOS LSI LH5006A
• Timing Diagram
DATAIN ____________~x~_____
DATAoUT
FLM
• System Configuration
-- I I
M CPl CP2
I I
M CL2 CLI
VDD VDD
>-- FCS Segment driver r- FCS Segment driver
>-- SHLI LH5006A r- SHLI LH5006A
- SHL2
DLI -
- SHL2
DR2
Yl-Y4o Yl-Y40
M
CP2 f - -
CPl !------'
-M
L...- CP 2
Vf ~D
FCS SHLI SHL2
U ~
...
.!! - CPl
Common driver Yl
\
~ LCD panel
DLI LH5006A
...
'0
....c DRI
Y.o -/
0
C,)
[ DL2
DR2
---....-----.-~--SHARP .....-..-.-------
869
LCD Dot Matrix Driver CMOS LSI . LH5021 AlLH5022
• Features
1. CMOS process
2. 80-LCD driver circuit
3. 4 functions selectable as follows
(a)Segment signal drivers on the serial input
mode
(b)Segment signal drivers with the chip-select-
able function on the serial input mode
(c)Segment signal drivers with the chip-select-
able function on the parallel input mode
(d)Common signal drivers on the serial input
mode
4. Auto count function ; in a chip selected state,. o 51 Y5I
counts 80 input data automatically and stops 312 6 9144456784950
the internal clock CL,
5. Power supply voltage: - 5V (TYP.) Top View
6. Display voltage
LH5021A: -17V (TYP.),
LH5022: -24V (TYP.)·
7. 100-pin quad-flat package
870
LCD Dot Matrix Driver CMOS LSI LH5021 AlLH5022
• Block Diagram
Chip Select
Output
r------{:MI}-----~
Alternate 85
Signal
Cloak 87}-------~
-.-....-.------SHARP--------
871
LCD Dot Matrix Driver CMOS LSI LH5021 AlLH5022
• Pin Description
Pin name Name I/O Functions
VDD For logic circuit (- 5V)
VEE Power supply For liquid crystal drive circuit (LH502IA: -17V, LH5022: -24V)
Vss GND
V 3, V 4 Liquid crystal drive circuit Durling non-select, however Vss > (V3, V 4»VEE
0
Yl-Y SO output voltage supply
CL I For data latch *Must be applied when 4 times the shift clock
Clock I
CL 2 For data shift
Commnn driver
High High
(serial input)
X 0
FCS,PS Mode select I
Note 1: In the serial input mode, data is supplied from
the 011 pin.
Note 2: The relationship between data input during 4·bit
parallel input and the Y output is as follows.
• 011 : Y b Y5 , Y9 , ••• Y 13 , Y77
• 01 2 : Y2 , Y6 , Y lO , ... Y74 , Y78
• 01 3 : Y3, Y7 , Y ll , .,. Y75 , Y79
'01 4 : Y4, Ys , Y12 , ... Y76 , Yso'
Note 3: When used as a comon driver, the clock used for
transfer is input to the CL 2 pin. CL I is internally
fixed.
Note 4: To minimize current consumption, it is necessary
to fix unused input pins to the same level as the
Vss pin or the V DO pin.
Common signal drive mode Segment signal drive mode
872
LCD Dot Matrix Driver CMOS LSI LH5021 A/LH5022
• DC Characteristics
LH5021A *1 LH5022*2
Parameter . Symbol Conditions Unit
MIN. TYP. MAX. MIN. TYP. MAX.
Input low voltage VIL 0.8Voo 0.8Voo V
Input high voltage VIH 0. 2Voo 0. 2Voo V
Output high voltage VOL IOL =O.4mA VDD+OA ~DD+OA V
Output low voltage VOH IoH =O.4mA -0.4 -0.4 V
1 rnA to one of
Voltage fall between Vi - Yi VOl 1.1 1 V
YI-Y SO
0.2 rnA to each
Voltage fall between Vi-Yi VD2 1.5 1.5 V
of YI-Y SO
Input leakage current I Iu I 1 1 pA
Output leakage current I ILO I 10 10 pA
1 bit serial
2.2 6.0 2.0 5.0 rnA
Logic circuit selection transfer (3.3MHz)
ILOG
current consumption 4 bit parallel
1.0 2.0 1.0 2.0 rnA
transfer (2.0MHz)
*1 VEE =-17V±1V
*2 VEE =-24V
873
LCD Dot Matr.ix Driver CMOS LH5021 A/LH5022
• AC Characteristics
(1) 1-blt Serial Input Segment Driver (PS=FCS="Low") (Voo =-5V±10%, vss=ov, Ta=-20-+70t)
Parameter Symbol Conditions'" 1 MIN. MAX. Unit Applicable pins
Clook frequency tc 300 ns CL 2
High-level clock width tcwH 130 ns CL 2
Low-level clock width tcWL 130 ns CLl> CL 2
Data setup time tsu 70 ns 011
Data hold time tH 50 ns 011
Output delay to CL =15pF 230 ns DO
High-level latch clock width t LwH 130 *3 ns CL I
Clock margin time
tc12 20 ns CLl> CL 2
(from CL I ~ to CL 2 l )
Clock margin time ... 2
tc2l 200 ns CLl> CL 2
(from CL 2 l to CL I l )
Clock margin time
tp2l 20 ns CLl> CL 2
(from CL 2 t to CL I t )
Clock t, l time tcT 50 ns CLl> CL 2
Overlap time of
tov 130 ns CLl> CL2
CL 2 "L" and eLl "H"
Test conditions
Input frequency: O.8VOlh O.2Voo: Input reference level: O.8V oo• O.2Voo: Output reference level: O_2V oo• O.8Voo
*1 LH5021A VEE =-17V±lV, LH5022 : V EE =-24V
*2 Internal shift register determination time
* 3 1.5tc-tC12-tp21 - 3tCT
tCT
DIt
DO Valid
tov
tP2I t CT tCT
t C2I --t-t-l-.... t C12
YI-YSO
-~""-~-""""--SHARP---'-'''''''''''--~
874
LCD Dot Matrix Driver CMOS LSI LH5021 AlLH5022
(2) 4-blt Input Segment Driver (PS="High", FCS="Low") (VDD=-5V±10%. vss=ov. Ta=-20-+70"C)
Parameter Symbol Conditions * I MIN. MAX. Unit Applicable pins
Clock frequency tc 500 ns CL 2
High-level clock width tcWH 230 ns CL 2
Low-level clock width tcWL 230 ns CL h CL 2
Data setup time tsu 70 ns Dlh Dl 2• Dl3• Dl4 • EI
Data hold time tH 50 ns Dlh Dl 2• Dl 3• Dl4 • EI
Output delay tD CL=15pF 230 ns EO
High-level latch clock width tLWH 130 *3 ns CLI
Clock margin time
tcl2 20 ns CL h CL 2
(from CLI ~ to CL 2 ~ )
Clock margin time * 2
tc21 200 ns CL h CL 2
(from CL 2 ~ to CLI l )
Clock margin time
tp21 20 ns CL h CL 2
(from CL 2 t to CLI t)
Clock t. ~ time tcT 50 ns CL h CL 2
Overlap time of
tov 130 ns CLl> CL 2
CL 2 "L" and CLI "W
Test conditions
Input frequency: O_BV OD• O_2Voo; Input reference level: O.BVoo. O_2Voo: Output reference level: O.2V DO• O_BVoo
*1 LH5021A VEE =-17V±lV. LH5022: VEE =-24V
* 2 Internal shift register determination time
* 3 L51:c-1:c12-tp21-3I:cT
EI
EO
to tD to
-------------SHARP-.-.--..-----
875
LCD Dot Matrix Driver CMOS LSI LH5021 AlLH5022
(3) Common Driver (PS="Low", FCS = "High") (VDD =-5V±10%, Vss=OV, Ta=-20-+70·C)
CL2
~J---tCWH
DO Valid
Yt-YBo
.-.---.-.---SHARP------------
876
LCD Dot Matrix Driver CMOS LSI LH5021 A/LH5022
Ell
----oo+-loo-o·t C12
EO
to to to
877
~I • Ig
en
I '<
!e.
Ii.
CD
II~~~~~~~-~~~--- ~~~-.
3
I CPU
-1
-----, I I
,..,J-,..L--L........J.,..,
1"- 0
- I~
0
:::l
I (Z80 System)
+5V
CL. CLI M FCS
LH5021A IPS ___
CL, CLI M FCS
LH5021A IPS
/LH5022 Dh r- -- DO /LH5022 Dh
CL. CLI M FCS
LH5021A IPS
CL,'CLI M FCS
LH5021A IPS
/LH5022 Dltf----- DO /LH5022 Dhf-
10"
a0"...
t:
I!
:::l
U "'-.J. {J,. U m
I
\ Address Bus
\ Data Bus
.!...> II II
I
FCS/PS DII
M LH5021A ~
I )(
D)
1r .!...> II /LH5022Y :
3
I \ Control Bus
.! .!.
CLI
CL2
r---v' I I II
"0
CD
I
I
I,
\y. . ~ ~IDEClOD~~ER
RD IORQ . WR '-----.--...1 :
I
jjJ, :
f--- r- I
"I -'\
WAIT
RD WR RS CS DE
CPI
CP2
M
CLI
CL2
I
fr
Yao- YI
fr
Yao-YI
1t1'f"
Yao-YI .
Yao-YI
I
II
---,/ Do- D7 LH5021A LH5021A LH5021A LH5021A
LR3691A DI _ ILH5022 Dh ----- DO ILH5022 Dh ILH5022 Dh 1----- DO ILH5022 Dh r-
I- FCS FCS FCS FCS
I
---;== MAo- MAI4 DI2 -
Dh
DI.
=jl CL, CLI MIPS
T ___
-__
CL, CLI M IPS CL. CLI MIPS
_
CL. CLI MIPS
__ ---1 I
___ ----.J
I
I r:
MDo- MD, MWR MRD
11
:::
-=~=
--------1
:=~ 1Ir
I
I
I
I
..!
DECODER
CS Do-D, WE OE
DISPLAY RAM
Ao-AI5
II ~
~
I I~
LCD Dot Matrix Driver CMOS LSI LH5821/LH5822/LH5823
LH5821/LH5822/LH5823
LCD Dot Matrix Driver CMOS LSI
• Description • Pin Connections
The LH58211LH5822/LH5823 are CMOS driv-
30 dj~u ~ -<:O:~O:O:O:cCd:
er LSls for LCD dot matrix display. :: '" <- '"
oo~~~~~>oo>u~~»~~~~~~~
M _
• • Y5YHNDUDWoaUMOMUUOM
Anyone of display duty ratio, 117 - 1/20 can be
selected by programming.
Write and read to/from the built-in RAM of dis-
play data can be made only by 3 signals, serial
data, synchronous signal, and transfer clock.
The LH5826 is available for segment output ex-
pansion.
• Features
1.
Display data RAM: 1280bits
2.
10-bit serial data transfer
3.
Built-in oscillator for display
4.
Duty (Selectable by programming)
LH5821: 1/7-1120 Top View
LH5822: 1/7-1118
* 37 pin 38 pin 63 pin 64 pin
LH5823: 1/7-1116 LH5821 BPIlI BPlo BP n BP14
--- f------'----
LH5822 BPlo BP1 7
5. Segment output S" S"
LH5821 : 44bits
LH5823 S" S" s" s"
LH5822 : 46 bits
LH5823 : 48 bits
6. Common output
LH5821 : 20 bits
LH5822 : 18 bits
LH5823: 16 bits
7. Clock output for double voltage
8. Power supply voltage: 5V (TYP.)
9. Display voltage
LH5821, LH5822 : 12V (MAX.)
LH5823 : lOV (MAX.)
10. 80-pin quad-flat package
-'---~'-'--SHARP'-------'-
879
LCD Dot Mattix Driver CMOS LSI LH5821/LH58221LH5823
• Block Diagram
Frame Sync. 8
Clock
RAM
64 X 20 bits
.Display Clock 7
~------~vr------~
Output
.-.------~--SHARP-.---.-.---
880
LCD Dot Matrix Driver CMOS LSI LH5821/LH5822/LH5823
• AC Characteristics
Parameter . Symbol Conditions MIN. TYP. MAX. Unit
CLo cycle time t Re 1 ps
LC hold time tLD 0 ns
LC setup time t LS 100 ns
SDo setup time tsso 100 ns
SDo input/output switching time to C L=50pF SO 450 ns
~'--~----SHA~P------'-'---
881
LCD Dot Matrix'Driver CMOS LSI . LH5821 ILH5822lLH5823
• AC Timing Diagram
CLo
LC
tSSD
SOo (Input)
S 00 (Output)
0:X UMdm~±
--Input mode - - - - ! E - - - - - O u t p u t mode ~Input mode
• Functions
882
LCD Dot Matrix Driver CMOS LSI LH5821/LH5822/LH5823
20
BPo-BP19
~) 64r
So S63
S20 S63
.- RX
H eS3 I -
H
RY
~ RX LH5821
¢
GND
¢
GND
LH5826'
CS2 ~
CSI f-
Vee Vee
CS~ r- - +5V
SDo LC CLo VDP VA VM VB +!V 7, SDo LC CLo VDP VA Vo
I f j J
CPU
{ 1
R r r R
VDP
Cl: ~C2 : i:C3 : ~C4
,
----------SHARP-----.---
883
lCO Dot Matrix Segment Driver CMOS LSI 'LH5826
• Features
1. Display data RAM: 1280 bits
2. lO-bit serial data transfer
3. Segment output: 64 bits
4. Up to 15 drivers expandable
5. Power supply voltage: 5V (TYP.)
6. Display voltage: 12V (MAX.)
Top View
7. 80-pin quad-flat package
--------.----.----SHARP -----.-.---.-,-.---
884
LCD Dot Matrix Segment Driver CMOS LSI LH5826
• Block Diagram
Segme'!,t Output
,--------------------------{15 ---- ----- 46
Frame Sync. 8
Clock
RAM
64x20bits
Dislay Clock 7
Load Control
Segment Output
- - - - - - - - - - - - S H A R P . -.......... - - - - - - - - -
885
LCD Dot Matrix Segment Driver CMOS LSI LH5826
• AC Characteristics (Ta=25t)
• AC Timing Diagram
CLo
\fV\JV (
LC
tsso
SDo (Input)
SDo (Output)
.---....-.~-----SHARP ---...---------
886
LCD Dot Matrix Segment Driver CMOS LSI LH5826
• System Configuration
20
BPo BPl9
j::j {s:j
S20 S63 SO-S63
~ RX
H CS3 r-
H
RY
{ RX LH5821
¢ ¢
LH5826
CS2 r-
GND GND
CSI r-
Vee Vee
SDo LC CLo VDP VA VM VB Jv ""
SDo LC CLo VDP VA VB
CSot---:-t- +5V
! t $ i ""
CPU
{ 1
R r r R
VDP
TCl : C2 : j:C3 ~C4
1.
887
LCD Dot Matrix Segment Driver CMOS LSI LH5826·
• Functions
(1) Pin Description
Signal No. of pins JlO Function
Vee, GND 3 Power supply for logic circuit
VDP, VA, VB 3 LCD driving power
<} 1 Display clock input
H 1 I LCD frame sync signal
CSo-CSa 4 Chip select input
LC 1 Serial data transfer sync signal
CLo 1 Serial data transfer clock input
RX 1 Connected Vee or GND
So-S6a 64 0 LCD segment driver signal
SDo 1 JlO Serial data JlO
r-
(2) 10-blt serial· data versus mode
lO-bit data/mode CI C2 Do DI D2 DaD4 D5 D6 D7
Chip Select Duty Setting Mode 0 0 Chip Select Data I: Duty Data
RAM Address Setting Mode 0 1 Ao Al A2 Aa A4 1\.5 A6 A7
8-bit Data Write Mode 1 0 Data
8-bit Data Read Mode 1 1 Data
(CI, C2: Control Data, Do-D7: Data)
• LC signal
The LC is a serial transfer sync signal input. If 0001 and 1111 for CS"a, CS2, CSI, and CSo, re-
the LC is at low, the LH5826 maintains standby spectively. Chip select code DODO, used to select
status ignoring the statuses of SDo and CLo. The the; LH5821-5823, cannot be used for the
device enters the enable status when the LC is set LH6826.
at high and the clock CLo is supplied. • <b signal
• CLo signal The 1> is a display clock input. The clock is
The CLo is a serial transfer clock input used for supplied from the LH5821-5823.
writing or reading serial transfer data SDo. • H signal
• SDo signal The H pin accepts an LCD frame sync signal
The SDo is a 10-bit serial transfer data line. from the LH5821-LH5823. When power is turned
Data consists of two control bits and 8 data- bits. on, the internal timing signals of each device are
When in the Read mode, the SDo pin functions as asynchronous with each other. They are synchro-
an output to deliver 8-bit RAM data in serial nized when the H signal is activated.
form. When read or write operation is completed, • Auto clear
the lower 6 bits, Ao-A5, of the RAM address are When power is turned on, the display provides
incremented. Bits A6 and A7 do not change, an OFF pattern (screen clear). The Auto Clear fea-
however. ture is deactivated when all the chip select duty
• CSo-CSs pins data are set at "I" whereupon the contents of RAM
The CSO-CS3 are chip select inputs. On: the are displayed on the screen. At this time the chip
LH5826, select duty does not change.
the chip select code can take on a value between
.--.......-.----,---SHARP---.-.--.-~
888
LCD Dot Matrix Segment Driver CMOS LSI LH5035A1LH5036A
LH5035A/LH5036A
LCD Dot Matrix Segment Driver CMOS LSI
• Description • Pin Connections
The LH5035A/LH5036A are segment driver LH5035A~ :::: ~ ;:: al ..; ~::t: en Iii eli Jl :2 ~ t3..3 U 0 en <:> _ '" '" ...
~~oo~»>UUUUU~~>U~~::t:oooooooooo
• Features
1. Display data RAM: 3200 bits
2. Segment output: 80 bits
3.1/32 or 1/40 duty
4. Automatic address modify
5. Scroll function
6. Power supply voltage: 5V (TYP.)
7. Display voltage: 15V (MAX.)
8. 96-pin quad-flat package
Top View
LH 5036A _ ¢ _ N 0 _ 0 0 ._
""., '"' _ =
-<: :::UCIlif:JfflffJZO
;:)..JU 000 0 N ... or> '"
IfJlfJlfJoo»>ZUUUU~OO>U..J~XlfJlfJlfJrnrn
7 71 7 69 68 67 66 6 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
Top View
--.-------SHARP-.-.------
889
LCD Dot Matrix Segment Driver CMOS LSI LH5035A/LH5036A
• Block Diagram
LCD Power
, Supply
Frame
Sync. 5'~--<P--;"'----------------'
Clock Display Controller 1---->01
RAM
40 X SObits
Display
Clock
GND
--~---""""'~-SHARP,'-'-----------
890
LSD Dot Matrix Segment Driver CMOS LSI LH5035A1LH5036A
• System Configuration
Vee + Vee t t ~
[ CLoLSDo (10 HSi
CH LC
t-i.
,,--CS
L CLo LSDo (10 HSi t...L
CH LC 'CS
LH5035A LH5035A
VDP VA VB
r--n"-+-+--+-IVD~X RY DYoDYl
C~· R
~o
......... I.......................,H VA BPo ~ 0 0-- ---- 79 - - --- - - - -- ---- - - - - - --- -- ---- -- 560 - - ---·639
C~· r LH5030 I ..!Q.../ I
WI VM BP3.' 39
IC~' r BP40 ~ 0 Dot matrix LCD
LH5035A LH5035A
4 4
CS-f-.. LC1CHh CS-f-." LC1CHh
HSi (10 SDo CLo I '1Ir HS, (10 SDo CLo I '1Ir
Vee, GNO 5 iii TiT T
VDP'VA'VB~:=!;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpu{ ============~:±==================~t==~
.---~-------SHARP -.------,-------
891
LCD Dot Matrix"Common Driv~r CMOS LSI LH5030
oscillator generates synchronous signal and clocks 717 6766 6266 5 5 5 5549
8 BPs
necessary for display to send to a segment driver. 0 47 BP6 .
46 BP1
45 BP,
44 BP,
43 BP10
• Features BPlit 42 BPIl
1111 4116171819 12
Top View
• Block Diagram
LCD Driver
Test 54
Input
LCD
Decoder AC
Generator
Frame
OSC Counter Sync.
Controller
L---------------{i56r-------{
Display Clock
892
LCD Dot Matrix Common Driver CMOS LSI LH5030
893
LCD Dot Matrix Common Driver CMOS LSI LH5030
i----tRCo-----.f
• Pin Description
Pin name No. of pins I/O Functions
Vee, GND 3 Power supply for logic circuit
Vop, VA, VM• VB 4 Power supply for liquid crystal drive
DYo• DY 1 2 I Duty selectinput
T 1 Test input
RX 1 Internal clock oscillation pin
RY 1 Internal clock oscillation pin
HS j 1 Frame sync. signal
0
~o 1 Display clock
BP o-BP 79 80 Liquid crystal common drive signal
894
LCD Dot Matrix Common Driver CMOS LSI LH5030
• System Configuration
.. v
L l l 1
L
Vr CLo SDo ;0 HSi 4
I-f-cs
L
CLo SDo ;0 HSi 4.
CH LC CH LC ~S
LH5035A --------------------- LH5035A
VDP VA VB ~Vr~ SO-S79 SO-S79
~. R
V RX RYDX.DYI
DP ~~ ~~
\' ~
II
VA BPo 0 0------79 - - --- - - - -- - - --- - - - - --- -- ---- -- 560 - - ----639
C~·
___ I ~r \
VM· LH5030 BP 39 Pl!...V 39
~. r BP •• 0 Dot matrix LCD
~ 39
i. \ \
VB
C: R'
GND
BP79 0------79 -- --- ----- --- - - - --- - ---- --- - ---- - 560 ------639
Vee 1/10 HSi
8~ 8~
"'" J
Vee SC-S79 SO-S79
~--------------------
LH5035A LH5035A
4 4
CS~ GND LClCH CS-+--"
~
HSi _. SDo CL. LClCH
HS; ~o SD. CL.
Vee, GND
VDP,VA,VB·
5 TTT f f t f
CPU{
" ..--..-~------SHARP-.-.-.-----
895
LCD Dot Matrix Common Driver CMOS LSI LH5031
• Features
l. Common output: 32 bits
2. Built-in CR oscillator
3. Duty ratio: 1/32 duty
4. Power supply voltage: 5V (TYP.)
5. Display voltage: 15V (MAX.)
6. 44-pin quad-flat package
Top View
• Block Diagram
Output
______ __________
~ ~~A ~,
Frame Sync. Clock
}----'---(24}---------.,
LCD Driver
Test 23
Input
LCD LCD
Decoder AC Power
Generator Supply
Frame
OSC Counter Sync.
Controller
L-------------~25r-------------------------------------~
Display Clock
--------SHARP------------
896
(
---------SHARP---~------
897
LCD Dot Matrix Common Driver CMOS LSI LH5031
i----tRc----ooj
1/>10
• Pin Description
Pin name No. of pins I/O Functions
Vee, GND 3 Power supply for logic circuit
VDP, V A, VM, VB 4 Power supply for liquid crystal drive
I
T 1 Test input
RX 1 Internal clock oscillation pin
RY 1 Internal clock oscillation pin
HSi 1 Frame sync. signal . ,
0
<}o 1 Display clock
BPo -BP 31 32 Liquid crystal common drive signal
• System Configuration
VDP 'fA VB ~
VDp RX RY
~~ Rl
~~ ~r VA. BPo 0,
V LH5031 I ~ :
,
Dot matrix LCD
Ca" M BP31 ---y'
::'1
r
VB
31 0------ 79------------- ----------- ---------- 560----·-639
C/" ER
11 ls~
GND
~Ir
Vee "'0 H8; 8
vL 80-879
----------------------
SO-S79
LH5036A LH5036A
4 4
C8-+" CS+-;>
.---~----SHARP.-..------.- ...... - -
898
LCD Character Display CMOS LSI LH5003/LH5004
• Features
1. CMOS process
2. 5 X 7 dot-matrix LCD controller/driver
3. Display data RAM
240 bits (LH5003)
320 bits (LH5004)
4. Character Generator 128 patterns N_ln..,.""'="'_'"''''
5. Driving method duty··· 118 duty 0000000>0000000
Top View
6. Character configuration is 5 X 7 dots plus
cursor LH5004
LH5003 (Master) 6 digits ~ ~ ~ ~ z
u CG U .0 S
LH5004 (Slave) 8 digits
7. LCD drive circuit
LH5003 ; Common signal 8 bits
Segment signal 40 bits
LH5004 ; Segment signal 30 bits
8. Single power supply: - 5V (TYP.)
9. 60-pin quad-flat package
Top View
......-.---------SHARP--~---------
899
LCD Character Display CMOS LSI LH5003/LH5004
• Block Diagram
LH5003 Common Output··
Clock
Segment
Output
Data Input
,
Segment Output
LH5004
Segment Output
Display
Control
Signal
Data
Control
Signal Segment
Output
Data Input
.
Segment Output
-"~------SHARP-'-'------
900
LCD Character Display CMOS LSI LH5003/LH5004
------------SHARP----------
901
LCD Character Display CMOS LSI LH5003/LH5004
• Functions
Pin description
Pin name No. of pins' 110 Connect to Functions
Voo, GND 3 Power supply for logic circuit
Power supply VM=VOO/2
VA, VB, VM 3 Power supply for liquid VA=VM+~V
crystal drive VB=V M- ~ V (~V=1.0-VM)
Character code input (10 - 16 ) from MPU
10 -1 7 8
Cursor display data input (I7)
High: character data read
DIN 1
I one character shift in display memory
"High" : Display mode
DSP 1 MPU "Low" : Blank mode
(reset of cascade control data
transfer control circuit)
CLK 1 Clock pulse input
"High" : Operation start signal
RST 1 (reset of cascade controller, cascade control
data transfer control circuit, ring counter, etc.)
Power
CE 1 Chip enable pin
CS 1
supply (CS) *
CE . Chip select pin
-
LCD frame frequency swithcing signal
VFL 1 0 MPU "High: 111024 of clock frequency
"Low" : 11512 of clock frequency
H1 -H 2 8(0)* LCD common signal drive signal
Liq uid crystal
0 11 -0 15 30(40)* LCD segment signal drive signal
*Applied to LH5004
• elK signal The clock signal is a clock pulse • RST Signal The RST signal is used to in-
used to operate LH5003 and LH5004 and is con- itialize the internal control circuits of the LH5003
tinually applied while the power is on. For the CLK and LH5004 by applying the pulse of the RST sig-
signal, apply the clock pulse made in the micro- . nal to this pin immediately after the power is
computer system or a pulse made by dividing this turned on. Synchronize the fall of the RST pulse
clock pulse and in sync with the microcomputer with the rise of the clock pulse, and set the pulse
system. width of the RST pulse to at least four times that of
• DIN signal The DIN signal is used to set the the normal clock pulse width (4 T CK .)
data in the display memories of LH5003 and • 10-17 signal The 10-17 signal is an 8-bit par-
LH5004. Each time the DIN signal rises, it reads allel signal that determines the characters and sym-
display data corresponding to the character code bols to be displayed. Select the desired characters
applied to pins 10 through 17 into the display mem- using the data of pins 10-16 (see the table relating
ory and shifts the existing contents of the display input codes with displayed characters and sym-
memory one character. Set the pulse width of the bols). When the h signal is high, the cursor is dis-
DIN signal to at least two cycles of the clock pulse playep, and when it is low, the cursor is displayed,
(a pulse width of 2TCK or greater when the clock and when it is low, the cursor is blanked out.
pulse period is T CK.) LH5003 and LH5004 are controlled from the mi-
• DSP signal The DSP signal determines the crocomputer system by the following procedure.
display condition. When it is high, the display (1) The clock pulse is applied continually to the
mode is set and when it is low, the blank mode is CLK pin during the period from immediately
set and the cascade controller and data transfer after the power is turned on until it is turned
control circuit are reset. Normally, the nsp signal off.
is made high after setting the data in the display (2) Immediately after the power is turned on, the
memories of the LH5003 and LH5004. RST pulse is applied to the RST pin.
902
LCD Character Display CMOS LSI LH5003/LH5004
(3) The DSP and DIN pins are made low. (Not (6) Steps 4 and 5 are repeated for each display
necessary if they are already low.) position.
(4) The character code of the character to be dis- (7) The DSP pin is made high level. (This condi-
played is output to pins 10-17. tion sets the display mode.)
(5) The DIN pin becomes high level and -then low (8) The contents of the display are changed by re-
level again. (Apply one pulse to the DIN pin.) peating steps 3 through 7.
(LH5003/LH5004)
- - - - - - - - S H A R P --.-.....-.-..------------
903
LCD Character Display, CMOS LSI LH5003/LH5004
• System Configuration
~
0 11 -065 0 71 ,-0 145
8 ,..... ............. 0,
30 40
n
(;11-( 65 0 11 0 85
- GNO
Micro computer
I
J
H 1 -H 8
LH5003
iJ LH5004
GNO
system VM
I r--- CE CS, CE
I OSP
eLK DSP DINRSTVDD VA VB CLK DIN RSTV D VA VB
I r t f t
CLK
OSP
DIN 1
Jf
RST
V DDJ
Rl"i ::Cl
___ -II
R21 ::C2
~
Rs ,.C s
R.
U C•
1."
904
VFD Grid Driver PMOS LSI LH1001
• Features
L Included 20-bit shift registers in a serial input
2. Data controlled by shift clock and chip select
3. Blanking input controlled by duty cycle
4. High output voltage: - 50V (MAX.)
5. High output current: 20mA (MAX.)
6. Built-in output load resistor
7. 36-pin quad-flat package
Top View
• Block Diagram
Serial{ 8
Data
Input 9
Chip Select 1 r---------.,>i 20bit Serial Shift Register Serial Data
Blanking 2}------------i;.j Output
Serial 3}----------i-L________________---.-r________________--.J
11 VN (-50V)
Clock
Input
~--------------~vr--------------~
Output
-------------SHARP---------
905
VFD Grid Driver PMOS LSI LH1001
(V oo =-9V, Ta=25'C)
• DC Characteruistics
Parameter Symbol Conditions MIN. TYP. MAX. Unit Note
VIH -1.1
Input voltage V
VIL -4.2
VOH IoH =20mA -1
Output voltage V 1
VOL VN =-50V -48
IOH VoH =-1.1V 50
Output current pA 2
IOL VoL =-4.2V 3
100 Voo =-9V 1.5 .3
Current consumption rnA
IN VN=-50V 4.0 8
Note 1: Applied to pins DG 1 -DG 20
Note 2: Applied to pins SOlO. SOzo
-~------"'-'-'-----SHARP --------.-
.906
VFD Grid Driver PMOS LSI LH1001
• AC Timing Diagram
CK
CS
BK
SOlO
S020
Sh
SIz
10%
• Pin Description
Pin name No. of pins I/O Functions
Von, GND 3 Power supply for logic circuit
VN 1 Power supply for display
CS 1 Chip select ... select condition when CS="Low "
BK 1 I Blanking ...... blanking when BK="High"
CK 1 Serial clock
Silo SI2 2 Serial data input
SOlo, S020 2 Serial data output
0
DG 1 -DG 20 20 Digit output for fluorescent display tube
l="High" level, O="Low" level
• System Configuration
q.
Sh S020
SI2
CS
input BK lHIOOI Dfl 5 x 7 dot matrix fluorescent tube display
CK DG20
Dij
-40V VN
-9V O - - -......-+----------iVDD j=I-5CEl
(i=1-7)
~------------__IIIGND l12048CE2 J<;:::J Input
Ao-A9
*CS input must be high level when power is turned on.
Input
-..--.-------SHARP--------
907
CMOS Driver
~-- .......-,....,.-.--..... --~ -
............... ..........
LH50l0/LH5011
• Features
1. CMOS process '( )= for LH5011
2. 6 independent driver circuits
3. INHIBIT input port
4. Non-inverting type······ LH5010 Top View
Inverting type ........... LH5011
5. I6-pin dual-in-line package
• Block Diagram
(LH5010) (LH5011)
----------SHARP.--.--..-~-------
908
CMOS Driver LH5010/LH5011
• Operating Conditions
Parameter Symbol MIN. TYP. MAX. Unit
Supply voltage VDD 3 18 V
Input voltage VIN 0 VDD V
• Electrical Characteristics
VDD -40"C 25"C 80"C
Parameter Symbol Conditions Unit Note
(V) MIN. MAX. MIN. TYP. MAX. MIN. MAX.
5 4.95 4.95 5.00 4.95
Output high voltage VOH
I louT I ~1 pA 10 9.95 9.95 10.00 9.95 V 1
VIN=VSS or VDD
15 14.95 14.95 15.00 14.95
VoH =3V(V oo -2V) 5 -6 5 -9 4
VoH =2V(V oo -3V) 5 -9 8 -11 6
Output high current IOH rnA 1
VoH =7V(V oo -3V) 10 -12 -10 -28 --:8
VoH =12V(V oo -3V) 15 -17 -15 -39 -12
VouT=0.5V,4.5V 5 3.5 3.5 2.75 3.5
VIH VOUT -1.0V, 9.0V 10 7.0 7.0 5.5 7.0 V 2
VouT =1.5V, 13.5V 15 11.0 11.0 8.25 11.5
Input voltage
VouT=0.5V,4.5V 5 1.5 2.25 1.5 1.5
VIL VOUT= 1.0V, 9.0V 10 3.0 4.5 3.0 3.0 V 2
VouT =1.5V, 13.5V 15 4.0 6.75 4.0 4.0
IIH VIH =18V 18 0.3 10 5 0.3 1.0
Input current pA 3
IlL VIL=OV 18 ~0.3 -10 5 -0.3 1.0
Output leak·off VOUT=OV 15 3 3 10
IOFF pA 1
current VOUT =V DD -45V 15 10 10 20
5 4.0 4.0 30
Static current VIN=VDD, Vss
IDD 10 8.0 8.0 60 pA 4
consumption output open
15 16.0 16.0 120
Note 1: Applicable pins OUT j -OUT 6
Note 2: RL =20kO, Applicable pins 1N.L:1N6' AIN BrN
Note 3: Applicable pins IN j -IN 6 AlN, BrN
Note 4: No load condition
-------------SHARP.-.---.-.---
909
CMOS Driver LH5010lLH5011
• Truth Table
Input Output
AIN B; IN LH5010 LH5011
L H L HZ ' High
L H H High HZ·
L HZ HZ
*
H * HZ HZ
*
HZ : High impedance
*
*: Don't care
• Logic Diagram
• LH5010
• LH5011
910
CMOS Driver LH501 OD/LH5011 D
• Block Diagram
Inhibit Signal
(LH5010D) (LH5011D)
'-'-'-'---~--SHARP------------"-'
911
CMOS Driver LH501 OD/LH5011 D
• Operating Conditions
Parameter Symbol MIN. TYP. MAX. Unit
Supply voltage VDD 3 18 V
Input voltage VIN 0 VDD V
• Electrical Characteristics
- -40·C 25"C 80"C
Parameter Symbol Conditions Vnn 'Unit Note
(V) MIN. MAX. MIN. TYP. MAX. MIN. MAX.
5 4.95 4.95 5.00 4.95
Output high
voltage
VOH I louT I ~1 pA 10 9.95 9.95 10.00 9.95 V 1
15 14.95 14.95 15.00 14.95
VoH =3V(V DD -2V) 5 -6 -5 -9 -4
Output high VoH =2V(V DD -3V) 5 -9 -8 -11 -6
IOH rnA' 1
current VoH =7V(V DD -3V) 10 -12 -10 -28 -8
VoH =12V(V nn -3V) 15 -17 -15 -39 -12
VouT=0.5V,4.5V 5 3.5 3.5 2.75 3.5
VIN VouT =1.0V,9.0V 10 7.0 7.0 5.5 7.0 V 2
VouT =1.5V, 13.5V 15 11.0 11.0 8.25 11.5
Input voltage VouT=0.5V,4.5V 5 1.5 2.25 1.5 1.5
VIL VOUT= 1.0V, 9.0V 10 3.0 4.5 3.0 3.0 V 2
VouT =1.5V, 13.5V 15 4.0 6.75 4.0 4.0
IIH VIH =18V 18 0.3 10 5 0.3 1.0
Input current pA 3
IlL VIL=OV 18 -0.3 -10 5 -0.3 -1.0
Output leak·off VOUT=OV 15 3 3 10
IOFF pA 1
current VOUT=VDD-45V 15 10 10 20
5 4.0 4.0 30
Static current VIN=VDD, Vss
IDD 10 8.0 8.0 60 pA 4
consumption output open
15 16.0 16.0 120
Note 1: Applicable pins OUT1-OUT7,"VIN=Vss or VDD
Note 2: RL=20kO, Applicable pins IN1-IN7, AIN, BIN
Note 3: Applicable pins IN1-IN7, AIN, BIN
Note 4: No load condition
--.----~-SHARP-.--'--~-----.-
912
CMOS Driver LH501 OD/LH5011 D
• Truth Table
Input Output
AIN BIN IN LH5010D LH5011D
L H L HZ High
L H H High HZ
L HZ HZ
*
H * HZ HZ
*
HZ : High impedance
*
* :Don't care
• Logic Diagram
• LH5010D
IN7
OUT, OUT. OUT. OUT. OUTs OUT6 OUT 7
• LH5011D
- - - - - - - - - - S H A R P -........... . . . - . - - - - . . . . . . . . . ,
913
CMOS Driver LH5012/LH5013
• Block Diagram
(LH5012) (LH5013)
----------~--SHARP---'" ........... - . - . - . . . . - -
914
CMOS Driver LH5012/LH5013
• Operating Conditions
Parameter Symbol MIN. TYP. MAX. Unit
Supply voltage VDD 3 18 V
Input voltage VIN 0 VDD V
• Electrical Characteristics
r-- -40"C 25"C 80"C
Parameter Symbol Conditions Unit Note
Y{?r MIN. MAX. MIN. TYP. MAX. MIN. MAX.
5 4.95 4.95 5.00 4.95
Output high
VOH IouT ;;;;l1'A 10 9.95 9.95 10.00 9.95 V 1
voltage
15 14.95 14.95 15.00 14.95
VoH =3V(V DD -2V) 5 -6 -5 -9 -4
Output high VoH =2V(V OD -3V) 5 -9 -8 -11 -6
IOH rnA 1
current VoH =7V(V DD -3V) 10 -12 -10 -28 -8
VoH =12V(V oo -3V) 15 -17 -15 -39 -12
VouT=4.5V 5 3.0 3.0 3.0
VIH VouT=9.0V 10 8.0 8.0 8.0 V 2
Input voltage VouT=13.5V 15 12.5 12.5 12.5
(LH5012) VouT=0.5V 5 1.0 1.0
VIL VOUT =1.0V 10 2.0 2.0 V 2
VouT =1.5V 15' 2.5 2.5
VouT=0.5V 5 3.5 3.5 2.75 3.5
VIH VOUT =1.0V 10 7.0 7.0 5.5 7.0 V 2
Input voltage VouT =1.5V 15 11.0 11.0 8.25 11.0
(LH5013) VouT=4.5V 5 1.5 2.25 1.5 1.5
VIL VouT=9.0V 10 3.0 4.5 3.0 3.0 V 2
VOUT=13.5V 15 ,4.0. 6.75 4.0 4.0
IIH VIH =18V 18 0.3 10 5 0.3 LO
Input current I'A 3
IlL VIL=OV 18 -0.3 -10 5 -0.3 -1.0
Output leak -off VOUT=OV 15 3 3 10
IOFF I'A 1
current VouT=Voo-30V 15 10 10 20
5 4.0 4.0 30
Static current VIN=VDD, Vss
IDD 10 8.0 8.0 60 I'A 4
consumption output open
15 16.0 16.0 120
Note 1: Applicable pins QUT,-QUT7, V'N=VSS or Voo
Note 2: RL=20kO, IouT;;;;lI'A, Applicable pins INI-IN7
Note 3: Applicable pins IN,-IN7
Note 4: No load condition
'--~--'-'----SHARP----'-----
915
CMOS Driver LH5012/LH5013
• LH5012
Voo
I--C
Vss
• LH5013
Voo
·IN-C
Vss
• Block Diagram
(LH5012D) (LH5013D)
'-'---~--~SHARP--------
917
CMOS Driver LH5012D/LH5013D
• Operating Conditions
Parameter Symbol MIN. TYP. MAX. Unit
Supply voltage VDD : 3 18 V
Input voltage VIN 0 VDD V
• Electrical Characteristics
,-- -40"(; 25"(; 80"(;
Parameter Symbol Conditions Unit Note
y.qf MIN. MAX. MIN. TYP. MAX. MIN. MAX.
,J 5 4.95 4.95 5.00 4.95
Output high voltage VOH I louT I ~lpA 10 9.95 9.95 10.00 9.95 V 1
15 14.95 14.95 15.00 14.95
VoH =3V(V DD -2V) 5 -6 -5 -9 -4
Output low VoH =2V(V DD -3V) 5 -9 -8 -11 -6
IOH mA 1
current VoH =7V(V DD -3V) 10 -12 -10 -28 -8
VoH =12V(V Do -3V) 15 -17 -15 -39 -12
VouT=4.5V 5 3.0 3.0 3.0
VIH VouT=9.0V 10 8.0 8.0 8.0 V 2
Input voltage VouT=13.5V 15 12.5 12.5 12.5
(LH5012D) VouT=0.5V 5 1.0 1.0
VIL VOUT =1.0V 10 2.0 2.0 V 2
VouT =1.5V 15 2.5 2.5
Vn,=0.5V 5 3.5 3.5 2.75 3.5
VIH VOUT =1.0V 10 7.0 7.0 5.5 7.0 V 2
Input voltage VlL =1.5V 15 11.0 11.0 8.25 11.0
(LH5013D) VOuT=4.5V 5 1.5 2.25 1.5 1.5
VIL VouT=9.0V 10 3.0 4.5 3.0 3.0 V 2
VouT =13.5V 15 4.0 6.75 4.0 4.0
IIH VIH =18V 18 0.3 10 _5 -0.3 1.0
Input current pA 3
IlL Vu;=OV 18 -0.3 -10 5 -0.3 -l.0
Output leak·off VOUT=OV 15 3 3 10
IOFF pA 1
current VOUT=VDD-30V 15 10 10 20
5 4.0 4.0 30
Static current VIN=VDD• Vss
IDD 10 8.0 8.0 60 pA 4
consumption ,output open
15 16.0 16.0 120
Note 1: Applicable pins OUTI-OUTs. VIN=VSS or VDD
Note 2: RL=20kO. IouT;:;>;lpA. Applicable pins INI-INs
Note 3: Applicable pins IN.-INs
Note 4: No load condition
-.-----~~-SHARP'~.....--~~-~--
918
CMOS Driver LH5012D/LH5013D
• LH5012D
VDD
IN-t
• LH5013D
IN~
919
___.-__.-_.-_..........
Analog .Olock CMOS IC
_:.iI._~ .._......,...._ LR34~6
• Features
l. Low power consumption
2. Low impedance output buffer
3. Modulated alarm output
4. Single power supply: + l.5V
5. 1Hz stepper motor drive
6. 4.194304MHz crystal oscillator
7. 8-pin dual-in-line pac.kage
Top View
• Block Diagram
Alarm
Control 6 Alarm Output
Circuit
920
Analog Clock CMOS IC LR3428
--...-...-..--.----.-SHARP . - . - . - - - - - -
921
Analog Clock CMOS IC
• Output Waveform
_
........................... ....................-..-........................ .
J
LR3428
(1) OUT1,OUT2
-.;o+-+-:31.25ms
,
t-ls~
I
I
I
z
OUT _ _---I "----i--,....--Ir
:":18...
. . -----Jn~-+!
i:
---
I I I
RESET U
I
LJi--~
I I
1
.. ~OOm!1500m _ I
0(
:
I ~~
'1
i
I
1,
-----------~' ~'-----------
RESET LJ
• System Configuration
o
+-------12
Alarm Output
Stepper Motor
I'
.--.------------$HARP .-----.-.....-.-..----
922
Analog Clock CMOS IC LR3429·
• Features
1. Low power consumption
2. Low impedance output buffer
3. Modulated alarm output
4. Single power supply: + 1.5V
5. 1Hz stepper motor drive
6. 4.194304MHz crystal oscillator
7. 8-pin dual-in-line package
Top View
• Block Diagram
Output
ll-Stage 12-Stage Control } Mo<o< Dd",
0,,;11 ."•• { Divider Divider Output
Circuit
Alarm
~
Control 2 Alarm Output
Circuit
.--------SHARP-------.-
923
Analog Clock CMOS IC
~.-:~
•
....--..-..
Absolute Maximum Ratings
-.-..-..-..-.~.-..-..-..-..-..-
. LR3429
)
- -.......... ---~.--:r-SHARP-----~---~-
924
Analog Clock CMOS IC LR3429
• Output Waveform
~ls-Lls~
~2S---;oj
f-------ls-----~
• System Configuration
Alarm 0
Output en 7
N
v
(Y) CD
D::
Stepper ....
Motor
Crystal
.--,------~SHARP-.----~---
925
Analog Clock CMOS IC LR3464
• Features
1. Low power consumption
2. Low impedance output buffer
3. Modulated alarm output
4. Single power supply: + 1.5V
5. 1Hz stepper motor drive
6. Included oscillator output capacitor CD
7. 32.768kHz crystal oscillator
8. 8-pin dual-in-line package
Top View
• Block Diagram
Alarm
VDD Control 2 Alarm Output
Circuit
Vss(OV) VDD(1.5V)
----------SHARP------.-.-.-..........."
927
Analog Clock CMOS IC LR3464
• ,Output Waveform
·li31.25ms
OUT! ---1l n. . ._~nL...__
l--2s~
1- 1
1s 1 r-31.25ms
OUT2 n'--_-'n rL
ALIN - - - - - - - - - - - - - - - - - - - - - V s s
62.5m~ each
~ ---!I
L......_ _ _ .' Vss
VDD
1s ...
When the ALIN input is connected tOVDD or open, the alarm output is at Vss.
When the ALIN input is set at approx. 1/2 VDD, a continuous output of 2,048Hz appears at the alarm output.
• System Configuration
o
Alarm ~--~2
Output
Stepper
Motor
928
Analog Clock CMOS IC. LR3468
VDD OSCIN
Vss
o OSCOUT
• Features OUT, ALouT
1. Low power consumption AC OUT2
2. Low impedance output buffer
3. Modulated alarm output
4. Single power supply: + 1.5V
5. 1Hz stepper motor drive
6. Included oscillator output capacitor CD
7. 32.768kHz crystal oscillator
8. 8-pin dual-in-line package Top View
• Block Diagram
Output
Oscillator 4-Stage 12-Stage 3 } Motor Drive.
·Control
Circuit Divider Divider Output
Circuit
Alarm
CQnt~1 6 Alarm Output
VDD Circuit
'--''-~--,----SHARP-~'-------
929
. Analog Clock CMOS IC LR3468
930
Analog Clock CMOS IC LR3468
• Output Waveform
OUT,
-.fl---------------l-.1 -
n----------------
-r--t-' 31.25 ms .
----·VDD
--- Vss
I: Is
-2s
'"I
n----------
~31.25ms
OUT2
n L -_ _ _ _ _ _ _ _ _ _--'_ - --
VDD
Vss
• System Configuration
CG=22pF
.--~----~--SHARP------.------
931
.-..-.~~ .....
Analog Clock CMOS LSI with Electronic Melody Generator
.-.~
,
................................
' ,
• Features
1.
Low resistance outputs for stepper motor
"Seconds" stop function
2.
3.
Melody performance with accompaniment
Mask ROM programmable
4.
5.
8 melodies (3-melody select inputs)
6.
Loudness volume control function'
7.
Melody envelope controlled by external CR cir-
cuit
8. 32;768kHz crystal oscillator Top View
9. Single power supply: - 1.5V
10. CMOS process
11. 22-pin dual-in-line package
• Block Diagram
"Seconds"
Stop Input
r-----~----------------------------~~1r_----~
Motor
Oscillation { }
Drive Output
Vss
( -1.5V)
VDD
(OV)
-;; "
"s..e"" :is ...El ~ ...
.~ .~ .~
1~
., ...
0'"
"i.!
.S
:>!
"" c
~~ e~
. . '"
3,e- Il.._ ..
t::
rn
;;;00
-< "
<0
932
Analog Clock CMOS LSI with Electronic Melody Generator LR3465
• Operating Conditions
Parameter Symbol Ratings Unit
Supply voltage Voo -2.0--1.2 V
Oscillator frequency fose 32.768 (TYP.) kHz
Oscillation start voltage Vose -1.4 V
933
AnaJog Clock CMOS LSI with Electronic Melody Generator LR3465
1
<Commands> Melody command .
snooze command
Control command Jump command
Repetition number setting
comniand '
End command
934
Analog Clock CMOS IC with Electronic Melody Generator LR3465
_ _ _. -_ _. - _. . . .. - . - . -. . .ra. . . . . . ._ . - _
(2) Hold type (Number of repetitions 1-15 (3) Hold type (Number of repetition Endless)
times)
Start input ST.J L
S tart input S T
3.3JlF
+
LR34651
L5V 33JlF
935
LCD Digital Clock CMOS LSI LR3441
• Features
1. Three functions ("Hour", "Minute", "Second")
"Second" display by colon
2. Alarm function with Snooze function
3. Hourly alarm
4. Timer function
5. Instant second set function (1 - 59 sec ..... No
carry to the minute digit)
6. 3V dynamic LCD drive
7. 32.768kHz crystal oscillator
8. Single power supply : - 1.5V (with voltage
doubler)
• Block Diagram
Control Circuit
936
LCD Digital Clock CMOS LSI LR3441
........-..-.-.-.----SHARP--------
937
LCD. Digital Clock CMOS LSI LR3441
,• Specifications
(1) Input control
Symbol Content LR3441
Sl "Hour" set Pull down to V1m
S2 "Minute" set Pull down to VDO
SF Safety Pull down to VDO
ZA o adjust Pull down to VDO
AL Alarm mode switch Pull down to VDO
SL Sleep timer mode switch Pull down to VDO
SN/SLoFF Snooze "ON" sleep "OFF" . Pull down to VDO
ALoFF Alarm output "OFF" Open' drain
12H124H 12 hours/24 hou~s switch Open' drain
INDSEL Indicator select Open' drain
IR Initial . reset Pull down to VDO
O.5HIlH Sleep time 32 minutes/64 minutes switch Pull down to VDO
-----------SHARP-----P.....-...-..-"------
938
I
I
LCD Digital Clock CMOS LSI LR3441
(vi) Mode display format (iii) Whenever the SN/SLoFF pin is turned ON
while the sleep timer is in operation, the sleep out
Mode Display will go OFF.
Time display (iv) If the SL is turned ON during the alarm out-
HH : MM
Time display SF & S, ON *1 : MM put, the TMoUT and AL(DC)oUT will be output for
adjust operation SF & S2 ON HH *2 another 32 or 64 minutes. The timer interval can
ALON HH : MM be selected by the 0.5HIlH pinto either 32 or 64
Alarm minutes except in the sleep operation.
AL & S, ON *1 : MM
time (v) When S2 has been depressed to set the sleep
AL & S2 ON HH *2
Sleep SL ON MM timer to "0" in rapid feed, it will stay at "0" on
timer SL & S2 ON *3 further depression of S2.
1 Hz flashing
(3) Timer out
* 1 S, 1 count-up with each ON The TM output (DC) will be generated when
* 2 S2 1 count-up with each ON_ Rapid feed by 5 minutes if S2 either the sleep output or the alarm output (DC) is
held ON for more than 2 seconds_
* 3 S2 1 count-down with each ON. Counts-down by 5 minutes generated. The timer out is an OR-circuit of the
if S2 held ON for more tban 2 seconds_ sleep out and AL(DC)oUT. If the ALoFF is ON with
only AL(DC) as the output, the timer out will also
be turned OFF.
• Functions (4) Time Signal
(1) Alarm function The TSouT pin that outputs time signal is pro-
(i) If the set alarm time coincides with the real vided. The output starts at 59 minutes 57 seoncds.
time, the following outputs will be generated at (See the figure below.)
each of the following outputs.
• At AL(AC)ouT 4 minute tone output of 2kHz X
8Hz X 1Hz
• At AL(DC)ouT approximately 32 (64) minute con-
troloutput
• At TMoUT approximately 32 (64) minute control
output 59min OOmin
(ii) When the SN/SLoFF is turned ON while the 57 sec 58sec '59 sec OOsec
alarm output is being g~nerated, the output will be (5) In the case of alarm and sleep overlap
interrupted for approximately 7 minutes until the (i) The figure below shows the state of each
output generation is resumed. Called snooze func- output pin when the sleep timer goes into operation
tion, it can be repeated fot either approximately 32 during the alarm output.
minutes or 64 minutes. When the SL is turned ON, the AL(DC)oUT and
(iii) The alarm indicator selected by the INDSEL TMouT intervals will be s~t to another 64 min/32
pin with the alarm timer being set can "be dis- min. When the SN/SLoFF is turned ON, the TMouT,
played. ALoUT, and SLOFF will be turned OFF.
(iv) With ALoFF switch connected to Vss, the
alarm indicator will not be displayed and alarm AL(AC)OUT ~'--_ _ _ _ _ _ _ __
will not be output even if the alarm time and the
AL(DC)OUT ~I---------"'L
real time coincide. I
I
(v) The alarm control output time can be SLOUT
: L
selected by the 0.5HIlH pin to either 32 or 64 mi- I
I
--------------SHARP -~.---.-........,.--
939
LCD Digital Clock CMOS LSI LR3441
.-....,~.....,~- ... r..--II:.....,.....,.....,~ ..... ~--~ __........
(ii) When the alar~ time and the real time coin- In this case if the SN/SLoFF i~ turned ON, the
cide while the sleep timer is in operation togener- AL(DC)oUT and AQ(AC)OUT will go OFF never to be
ate the alarm. output, the SLOUT and TMouT intervals output even 7 minutes later. When the ALoF~ is
will be set for another '64 min/32 min. turned ON, only the AL(AC)oUT will go OFF.
(6) Initial reset·
SLOUT ~
. I
I~ If the IR pin is connected to Vss, initial reset will
I I
be applied to immediately reset all the counters and
AL(AC)OUT
~---r:-----;fl~--~----~'--- AM 12 : 00 or a : 00 will be displayed depending
AL(DC)wr
:I
I
I
~ on the 12H system in the case of the former, 24H
TMoUT I i I system in the case of the latter..
~: ' ~
r----64min--r
Switch to put I
(7) Indicator select
AL(DC)OUT
TM OUT and SLOUT
!r-----+!:SN/SL",.,SW --r---J The INDSEL pin can select either the bell mark or
into the OFF state SLo~ ALoUT syncronized
with real time
the note mark.
Note mark: with Voo connected or open
Bell mark: with Vss connected
• System Configuration
24J----~
'LCD
:>---'---i46
48
O.l,uF
O.l,uF
0_1,uF
940
Digital ON/OFF Clock Timer CMOS LSI LR3419
• Features
1. "flours-Minutes' display
2. Timer function that permits both ON/OFF
times to be set
3. Power failure indication
4. Directly static-drive a VFD
5. Time base: 50/60Hz line or 32.768kHz crys-
tal Top View
6. Power supply voltage: + 5V
7. CMOS process
8. 48-pin quad -flat package
• Block Diagram
GND
~=:=~=!=~:::!=~I_~Timer
r
ON/OFF
Detector
Timer
Output
Hour Advance
lO-min Advance
Min Advance 2
Timer ON/OFF 2
Real Time Mode
Timer ON Set Mode
Timer OFF
Set Mode
Segment Decoder/Driver
Segment Output
941
Digital ON/OFF Clock Timer CMOS. LSI
• Operating Conditions
Parameter . Symbol Conditions MIN . TYP. MAX. Unit
Supply voltage Voo Referenced to GND 4.5 5.0 5.5 V
Input voltage V IN Referenced to GND 0 Voo V
Output voltage VQlIT Referenced to GND -21 -19 0 V
• Electrical. Characteristics
Parameter Symbol Conditions MIN. TYP. MAX. Unit Note
VIH Applies to all input pins 4.0 V OD
Input voltage V 3-7
VIL Voo=5.0V 0 0.4
IIHI VIN=VOO 1.0
pA 3
IILl VIN=GND -1.0
IIH2 VIN=VOO 5.0 30
Input current pA 4
.' IIL2 VlN=GND -1.0
IIH3 V'N=VOD · 1.0
pA 5
I'L3 VIN=GND -0.5 -3.0
IIH4 VIN=VOJ) 1.0
pA 6
IIL4 VIN=GND -10 100
11115 VIN=VOJ) 0.5 3.0
pA 7
I'Ls V'N=GND -0.5 -3.0
Input amplitude VI f=50 or 60Hz 4.0 Voo Vp~p
942
Digital ON/OFF Clock Timer CMOS LSI. LR3419
o
nute digit.
In the timer ON (OFF) time set mode, timing will not stop.
In the timer ON (OFF) time set mode, timer output will not be
affected even if the timer ON (OFF) time coincides with the time
display.
Note:· Hour rapid feed (SH) will proceed as follows. Normally only one of SIl, ST, and S" goes ON. If
more than two of these are depressed simultaneous-
12-hour representation
r
12--'1 --.2·············· ·--.1 0--'11
L-.~---AM/PM c h a n g e - - - - - - - - -
ly, the following operation will proceed.
(a) If one input goes ON followed by another in-
put that ON
24-hour representation
C 2--.13--.14···· .... '--.23--.0--'1 --.2· .. ····· '--.11 J
(ii) Hour display adjust operation
SH~ J
iI ~r---------
I I
S r------1 I ;
T ~ ~i----+:-..J i
SM i : r--~I-~---'I--
i
~
l lI~
~
I I
o After P is turned OFF, timing starts from 00 second. , Hour forward I Minute forward
o While being adjusted, the 10 minute digit does not increment
the hour digit, nor does the minute digit increment the 10 mi-
nute digit.
~-:-'---'''---SHARP---'---'------
943
Digital ON/OFF Clock Timer CMOS LSI LR3419
(vi) Power failare display function flashing will stop. And on the next PION, timing
In any mode, LSI will be initialized inside on ap- starts.
plication of ACL to display: (vii)' Auto clear circuit
With 12 hour repres~ntation PM 12 : 00 The internal state on power-up will be as fol-
With 24 hour representation 12: 00 lows.
This whole display goes flashing, 0.5 second ON (a) Time display
and 0.5 second OFF. The display stays in the ini- 12 hour representation PM 12 : 00
tial state. J To stop flashing, go into the time dis- 24 hour representation 12 : 00
play mode (PION) and then timing starts with PI And the second, counfer will be reset. From the
turned ON. time when the auto clear input ceases to 'exist, it
On application of ACL with PI set to ON, the dis- will operate according to the mode input (PI, P2, P3).
play will s,tay in the initial state without flashing. (b) Time ON and Timer OFF time '
On the next PION, the display still in the initial With 12 hour representation PM 12 : 00
state will go flashing. Then on the next PION, With 24 hour representation 12 : 00
• System Configuration
FIP5B13S
VI
23 24 25 26 27 V,
VB (-19V)
VDD(+5~)
+
22I00-I--+1 GND(OV)
21I00-I--+1
20 i-+--.-I;I!II
181-+-.....-/·
17 t--\-.....J.
16H--.-f.
15 I-o-f-.....J.
141-+-~141
13H---,-.....!ii5\
12H-.....-/'
llt--\-.....J,
10t-t-....-f~18I
91--i--4----'
3}6,7'H--+----l
2) 4,1--i~-4----~
Note 1: Set to side 2 under 24 hour system, Note 3: Time base input circuit
and set to side 1 under 12 hour system (alAt 50Hz, 60Hz (plAt 32.768kHz
Note 2: Time base selection
CONI CONz O.lJlF.r-@
50Hz side 1 side 1 O-;f-:I:.@
60Hz side 2 eide 1 SlJlIJlF
32.758kHz side 1 side 2
o ®
Note 4: Fluorescent display tube FIP5B135
The number indicates the pin number.
The figure in ( ) is for 12 hour system.
944
VTR Program Timer CMOS LSI LR3472
• Features
1. "Hours-Minutes" display
2. Selectable 12/24 hr. format
3. Max. of 6 events 1 week
4. 6-daily and I-weekly reservation
5. Directly drive a VFD
6. Time base: 32.768kHz crystal
7. Supply voltage: - 5V
8. CMOS process >2 ,;: :2 :2
Top View
9. 48-pin quad-flat package
• Block Diagram
Grid
K Input hr Set
.---.-.----~-SHARP'-.-.-~-----
945
VTR Program Timer CMOS LSI L.H3472
• Operating Conditions
Parameter Symbol MIN. TY? MAX. Unit
Supply voltage * 1 Voo -5.5 -5.0 -4.5 V
Input voltage * 1 V IN Voo 0 V
Output voltage * 1.2 VN -32 V
946
VTR Program Timer CMOS LSI LR3472
• Specifications these keys to execute one by one the data being dis-
played on the fluorescent display tube. With each
(1) Input keys and operations depression of these keys, the data gets renewed by
1. But if they are held pressed for longer than 0.5
second, the data gets renewed by 1 every 0.25
second.
CSUn---i>Mon---i>Tue-+wect-:ThU-+Fri-+sa:-----YAlI daY~
-.-----.-~-SHARP--.-.-------
947
VTR Program Timer CMOS LSI LR3472
(vii) Other inputs' And unless this input is "High", tne timer output T p
(a) 12 hour/24,hour swiching input and T R will not go ''.l{igh'' even if the current time
(b) Tape end input ' and the recording start time coincide in the clock
mode.
This input gone "Low" is r~cognized as the tape
end and causes the timer outputs Tp andT R to.go (c) Power failure detect output
"Low'" for the timer operation to come to an end.
(2) Display and outputs
Sh
r--~ r----'
I SAT I I I
B: :
I I I I
I I I I
I I I I
I Start :RH
I' I I
I .I Length I R,-,
I I I
I I IR'_3
I I I Error I
L___ J !.. ____ J
948
VTR Program Timer CMOS LSI LR3472
-..-..----~--SHARP--------
949
VTR Program Timer CMOS LSI
~~~.-.
I- - : -
.
I
The day digits are all OFF.
. The timer number (1-6)
...:.. B
d~splayed is that of the
tim er called.
io-_ _ _ _ _ _ _ _ _- ' The colon is flashing.
times give no error display.
Error indication does not prevent transition to
the program that starts halfway through.
950
VTR Program Timer CMOS LSI .LR3472
• System Configuration
AC !OOV ~
Ip-
I~ I Fluorescent tube display
..
.,,
:( ~.
~~
~
.. ! !tal =~rt.ttlLtltft.t t
r47l r4~ r4~ 1441 ~~ 1421 F r4~ 13~ 138\ r3~11
~ I 0 ~
"''..." ~ ;: r"""'"
[[ ;: f""Mr'
[! ~~
Tape -end detector
. rs
.-= J21 f""Mr'
-=
I circuit
~ 3Jl
H LR3472
~~
~
Clock Clear 13 9 5 ~.9
.1 On
~~
Day ime ·14 10 6 2..m ~~
~our 11 7
'ii
3 I26If""I""'
Min 12 8 4 .;r.
-,g @.IN''-
"-
if 15 16 Ll;!1 Ll~ ~ ~
-
~i5
I!fJ I!2J
L
Channel selector
I
~'-.--'--------SHARP _ . - . i - - _ _ _ _ _ ____
951
Remote Control Transmitter CMOS LSI LR3715M
• Features·
1. 56-channel of data can be transmitted
2. Transmission code: PPM
3. Time base: 455kHz ceramic oscillator
4. Supply voltage : 3V
5. CMOS process
6. 36-pin quad-flat package
Top View
• Block Diagram
... ....
.; ·s...
'o·" " Data
."
"... U DATA
Expansion
Key· "c U Inverter
Use
Input ~ ... Circuit
.S '"
."
0
Signal
~
"c
Test
DA T A Counter
Control
Key Circuit
Scan
Output'
Oscillation·
-'---'-'---~-----SHARP~""""""---"""-'--
952
.-.-.- ...... - . -..... ............... .......................... -
Remote Control Transmitter CMOS LSI
.- I
.-
LR371Srv1
Note 1: IDD refers to the current that flows into the VDD pin; lEE refers to the current draining from the GND pin.
Note 2: The direction of current flowing into the device is defined as positive: that draining from the device is defined as negative. This
definition is also applied to the electrical characteristics.
.-~------SHARP---------.-.
,,953
Remote Control Transmitter CMOS LSI LR3715M
JlfUU1J1JUUlJlJ (f=455kHz)
U
26.4)<s
r-----67.5ms
J0?W&'-------'~
,'" 67.5ms---1
P7;~'7?7?':'l'II
Forward signal Reverse signal Forward signal
• System Configuration
1 8
I II
S7 S6 S5 S. S3 S2 SI So CI
Ko System.
9 16 C2
KI address
17 24 . C3
K2
25 32 C. set circuit
K3 LR3715M
33· 40 C5
K.
41, 48
Ks I Signalset circuit
49 56 C12
K;6 for data expansion
C13'
VDD
OSCIN
GND OSCOUT OUT
~t
FD~
Key matrix
I y
~ r r
--....--------------..-SHARP -..-....-...-.-.-------.-.-
-
954
Remote Control Transmitter CMOS LSI LR3715M
As / shown in the above figure, the non "-iriverse location of the memory. The following table shows
and inverse signals alternately repeat in series at the key arrangement and command numbers. If one
a certain interval. The receiver reconstructs the desires to transmit command number 3, the key at
original data by identifying non-inverse or in- the matrix point, Ko-S 2 ,' can be pressed.
verse signal according to the status of the data
judging bit
® Mask bit C14 Fixed at "0" (low) within the Ko--+-+-+-+-+-+-+-+-
device K1--1-1-1-+-+-+-+-+--
(2) Device operation timing K2--+-+-+-+-+-+-+-+-
The LR3715M is a transmitter LSI device de- K3--~~~+-+-+-+-~
K.--~~~+-+-+-+-~
signed for use in an infrared remote control unit
K5--+-+-+-+-+-+-+-+--
It consists of an oscillator, key scan signal gener-
Ks--+-+-+-+-+-+-+-+--
ator- key encoder, memory, data inverter, parallel!
serial converter, and output circuit The device can 5can signal
accept a 7xB key matrix and transmit up to 56 50 51 52 53 5. 55 56 57
types of commands in 6-bit code_ For power sav- Ko 1 2 3 4 5 6 7 8
. ing, the internal oscillation is stopped when no key K1 9 10 11 12 13 14 15 16
is pressed. If double key operation is made, the de-
vice stops transmission.
=
.S
K2
'" K3
17
25
18
26
19
27
20
28
21
29
22
30
23
31
24
32
~
CD Key scan signal generator When a key :.:: K. 33 34 35 36 37 38 39 40
K5 41 42 43 44 45 46 147 48
entry is made, a flip-flop reverses its status to re-
K6 49 50 51 52 53 54 i 55 56
set the Oscillation Clear signal and start internal
oscillation. The key scan outputs provide the sig-
nals shown below. Given fo = 455 kHz, the pulse ® Data inverter If the 6-bit data is identi-
period is 33.B ms, and pulse width is 4.2 ms. fied to be correct, it is transferred to the data in-
verter, where system address, data expansion bit,
50 LJ UU mask bit, and data judging bit are added to it to
generate 15 - bit data.
51 --:-u U U If the data judging bit is zero, the following data
will be produced in the data inverter.
52 --U U U (Example) When the key numbered B is pressed:
53 U U U--
5. U U U- If the data judging bit is "1", the data except for
55 U U LJ the system address, is inverted by the inverter-
56
J U U lJ
57 LJ U U L The parallel 15 - bit signal is then converted into
serial PPM signal by the parallel/serial converter.
® Key encoder, encoder, and memory The
key scan signal lines are combined with key input
lines, Ko-K6, to produce a 7xB key matrix external
to the device. The Ko-K6 input pins have built-in
(f=455kHz)
pull-up resistors.
r--67.5ms _IE 167.5ms-----"'j
If a key at the matrix point, K1-S3, is pressed,
the signal output at pin S3 is input to pin K1 , to be ~oL..._-J-~ ~i=~~"L
Forward signal Reverse signal Forward signal
encoded into a 6-bit binary code by the key encod-
er and encoder before storage into memory. If two
keys are pressed at the same time, the double key
prevention logic clears the data in the pertinent
.-.--------SHARP.-----.-..----
955
Remote Control Transmitter CMOS LSI
........
~.-~ ..............,.-..... - . -.....---,.-..... -~-...: .....
,lR3715M
JUL
W
18
19
20
0
1
1
1
0
0
1
0
0
1
1
1
0
0
46
47
48
0
1
1
1
1 1
1 1
0 1
0 1
1 1
0 0 0 0 0 0 0 0
Tpf2
21 1 0 1 0 1 0 49 1 0 0 0 1 1
If the interval between two pulses is Tp, the sig- 22 0 1 1 0 1 0 50 0 1 0 0 1 1
nal is identified to be logic "I", whereas if it is Tp/ 23 1 1 1 0 1 0 51 1 1 0 0 1 1
2, the signal is identified to be "0". the device thus 24 0 0 0 1 1 0 52 0 0 1 0 1 1
constructs 15-bit serial data as follows. For exam- 25 1 0 0 1 l' 0 53 1 0 1 0 1 1
ple, a binary code "000010001000000" is con- 26 0 1 0 1 1 0 54 0 1 1 0 1 1
verted into a pulse array as follows: 27 1 1 0 1 1 0 55 1 1 1 0 1 1.
28 0 0 1 1 1 0 56 0 0 0 1 1 1
0000 1000 1 000000
® Data expansion bits C12, CI3 These bits
are used to increase available command types.
@) Data judging bit K This bit K is unique
The following shows bit assignments to data: to Sharp's remote control system, and is used to in-
dicate whether the preceding data is inverted or
ICI Ic21 Cal c.1 Csl c61 c71 Cal c91cIO ICIIICI2IClaIC141 K I non-inverted:
, SystemVaddress ,,' , D;ta ~ M~sk \ (a) Non-inverted data
, expansion F or data
decision 000010001000000
956
Remote Control Receiver CMOS LSI LU59001
-'--~----SHARP-'--'--'-'--"'-'-'
957
Remote Control Receiver CMOS LSI LU59001
• Block Diagram
lr '---
ROM RAM
(508X8bit) (32X4bit)
1
l PC
I r-
S Auto
SR
.....- P CG clear
'-
~-------------------------------------------{7r-----~6r-------~
Clock Parallel or
Serial I/O Port
Symbol description & Clock
. - - . - . - - - - - S H A R P - . -......... ---....----~
958
Remote Control Receiver CMOS LSI LU59001
-~"'-''-''''''''''''---SHARP'---~------
959
..................
•
....,-....---...
.Remote 'Control Receiver CMOS LSI,.
Oscillator Circuit
......, ............................,.....
.
~-
Lu59001
960
Remote Control Receiver CMOS LSI LU59001
• Timing Diagrams
(1) Receive signal (DIN)
OON
DIN
ROY
CKI
SOO
CKO
I.. ,./
tCKOD tCKOH
ROY J
I tCKIS2 tCKIH tCKIL
.. 'I' 'I" ~I
CKI
DIN
PDli
961
Remote Control Receiver CMOS LSI LU59001
• Functions
(1) Operation
The LU59001 is designed for 15-bit PPM sig-
S2 Sl Transfer mode Transfer rate R01(CKO) R23(CKI)
nal reception. For more information. see the de-
0 0 Internal 0_32ms/bit Transfer Request to
scription of the LR3715M Remote Controller
0 1 Clock Mode l.05ms/bit Clock transmit signal
Transmitter. The LU59001 basically consists of a
External 1.1-lOms
decod-er which decodes PPM signal into binary 1 0 High Transfer clock
Clock Mode Ibit
data. formatter. system address check logic. and
data transfer block. OSC frequency; 455 KHz
(2) Decoder (a) Internal Clock mode If a Request to
Received signal (DIN) is converted into binary Transmit signal (CKI) is applied to the R23 pin when
code according to the conditions shown.in the fol- the device is in data transfer mode. it starts data
lowing table. If an interval. Tp. between pulses is transfer sequence. The'Roo pin outputs serial data
in the range of 2.95 msSTp S 52.7 ms. it is iden- (SDO) in the order of C6. C7 ..... C13. and the R01 pin
tified as a separator between 15-bit data items. If provides a transfer clock (CKO). In the Internal
Tp is equal to or larger than 52.7 ms, it is identi- Clock mode a transfer rate from 0.32 ms/bit to 1.05 .
fied as the end of transmission. ms/bit can be selected using the Mode Select signals
SI- and S2.
Conditions Identification
(h) External Clock mode If an external transfer
Tp;;;;O.85ms Noise
clock (CKI) is applied to the R23 pin when the device is
in the data transfer mode, it starts serial data
transfer. The Roo pin outputs serial data (SDO) in the
2.95ms;;;; Tp;;;; 5 2. 7._m.c::s_+-__E_nd-,--"o_f_1--,-5.c::-b'--.itc-d:...:a""ta=--_
order of C6. C7 ... ·C13 in synchronicity' with the
52.7ms;;;;Tp End of transmission
external clock. The allowable transfer rate is limited
OSC frequency: 455 KHz to 1.1 to 10 ms/bit.
(3) Coincidence judgment @ Parallel transfer
When the device starts reception, it checks the When the device enters the data transfer mode.
system address and mask bit. and performs coinci- pins Roo. ROI. R02, R03. R20. R21. R22. and R23 output
dence check on inverted and non-inverted data. It parallel data (PDo-PD7). Parallel data bits corres-
first checks if the received system address. C1-C5, pond to received data bits as follows:
matches the preset system address (SYS1-SYS5). and
Pin Roo ROl R02 R03 R20 R21 R22 R23
verifies that the mask bit is "0". Next the device
Parallel
checks coincidence of a non-inverted data item with PDo PD1 PD2 PD3 PD4 PD5 PD6 PD7
'Data
its inverted counterpart.
Received
'If concidence is found. the device becomes ready C6 C7 C8 C9 CIO Cl1 C12 CI3
Data
for data transfer (C6-Cl3) to an external system. If
coincidence is not found, comparison is made with ® Data transfer mode
the precedfng or succeeding 15 bit data. Compari- When the device completes decoding and coinci-
son is repeated until coincidence is not found_ Once dence check on received data. it enters the data
the device starts data transfer it no longer decodes transfer mode. Entry into the serial data transfer
subsequently received data_ mode is indicated by the RDY signal appearing at the
(4) Data transfer R02 pin.
Data transfer formats include serial and parallel That into the parallel data transfer mode is
transfer. If the R03 and R22 pins are both connected indicated by the OR output of the parallel data
to VDD. serial transfer is selected when the device is (PDo-PD7) (all bits of parallel data are not set at '0'
reset. In any other case. parallel transfer is selected at the same time).
when the device is reset. The data transfer mode continues until all data
CD Serial transfer has been transferred or for 52.7 ms after serial data
Serial transfer includes three modes. A mode is transfer has been completed. After that. the device
selected by the Sl and S2 signals applied to the R20 waits for data reception.
and R21 pins. The following table shows the modes
versus Sl and S2 signals (Sl = S2 = 1 is inhibited):
962
Remote Control Receiver CMOS LSI LU59001
• System Configuration
(1 ) Serial transfer
VDD
SYS. SYS3 SYSs
SYS2 SYSI
LU59001
o
a SDo
~
"',.,
...,"'
....C
CKo
CKI
"
>iI
RDy
~
PD. DIN
PDs
PD6 SYS2 SYSI
Ei
2
,.,"'
.."
"'
...
LU59001
" 0
"
>iI
PDo
PDl
PD7
PD2
IPD3
963
Up/pown Counter CMOS LSI with LCD Decoder-Driver' LR3617
• Features
1. 3 % digit static LCD
2. Leading zero suppression
3. Minus sign floating position
4. Memory stop
5. End-of-tape stop
6.-Single power supply: - 1.5V
7. CMOS process
-8. 48-pin quad-flat package
Nop is connected to the internal circuit.
To be used in the open state.
Top View
• Block Diagram
Segment Output
Test
Operation Input
Count Pulse Input
Pause Input
Memory Input
Up/Down Inpu~
Reset Input
Mode Input
Initial Set
964
Up/Down Counter CMOS LSI with LCD. Decoder-Driver LR3617
• Operating Conditions
Parameter Symbol Ratings Unit Note
Supply voltage * Voo• VOOt -1.3--1.8 V 4
Input voltage * VIN O-Voo V 5
Note 4: Do not allow a sudden change to occur even within the rated value.
Note 5: Applies to SCK, SACL, SMEN, SPAl!, SOPR, SALM, SON, SR pins
• Electrical Characteristics I
Parameter Symbol Conditions MIN. TYP. MAX. Unit l Note
All input pins VS5,
Current consumption (Ioo+Iootl 13.5 25 pA ) 6
fose=64kHz, with no load
VIH -0.3
Input voltage V 7
VIL Voo+0.3
IIIl VIH=OV 5
Input current pA 7
ILL VIL =Voo 5
CR oscillator frequency fose Rt =5.1k!l, R2 = 150k!l, C=47pF 32 48 64 kHz 8
IOHl Vo ][=-0.5V, VEE =-3.0V 10
Output current 1 pA 9
lOLl VOL =-2.5V, VER =-3.0V 10
IOH2 VoH =-0.5V, VER =-3.0V 100
Output current 2 pA 10
IOL2 VOL =-2.5V, VE =-3.0V 100
IOH3 VolI=-OAV 10 pA
Output current 3 11
IOL3 VoL =-1.1V 10
Note 6: Total power consumption at fosc=64kHz
All output pins open
All input pins connected to the V55 pin DDC r
+
VOOI pin connected to Voo pin O.lpF
Note 7: Applies to all input pir,s except V5S, VUOI, DDC2
VOO, VEE, CRI, CR2, CR., pins
Note 8: The constant values shown in the right figure are used in the ,I- Vss
O.lpF
oscillation circuit. VEE
Note 9: Applies to segment output pins
Note 10: Applies to common output pins
Note 11: Applies to STP, ALM pins
.-----.-----SHARP.--..----~---
965
Up/Down Counter CMOS LSI with LCD Decoder-Driver LR3617
,, ,--I L'"
tered a transition that occurs in the up-counter
-120 mode when the counter input pin SCK connected to
-20 , I
,-, VS5 is to be reconnected to V 00 (or open) or a tran-
sition that occurs in the down-counter mode when
LI the count input pin SCK connected to V00 (or open)
0
,-, is to be reconnected to V ss.
'-'
,-, Up . counter
M30 M -'
-' '-'
display
Down' counter
• (1)
Count Function
Count range
display
-----....-.----.-~-SHARP - - - - - - - - - - . . . - . : -
966
Up/Down Counter CMOS LSI with LCD Decoder-Driver LR3617
nected to Vss, the memory stop mode will be reset VDD to Vss level with the stop signal output pin
and the M display on the LCD will disappear. STP at Vss level in the tape end stop mode, the
Altering the memory input pin SMEM connection state of the stop signal output pin will be inverted
does not affect the counter content. to produce VDD level output.
(2) Memory stop mode operation (2) Tape end alarm mode
When the counter content changes in memory The tape end alarm mode will be entered when
stop mode from the value other than 0 to 0 (when 2 the mode input pin SALM is connected to Vss. And if
pulses are applied to the count input pin after the it is decided that it is the tape end, a 500 -1000Hz
display has turned 0, in the case of display chang- pulse will be applied to the alarm signal output pin
ing from 1 to 0, or when the display turns 0 in the ALM.
case of display changing from -1 to 0), the stop When the operation input pin SOPR is turned VDD
signal output pin STP will produce Vss level out- level with a 500-1000Hz pulse being applied to
put. However, in the case of counter content change the alarm output pin ALM in the tape and alarm
from the value other than 0 to 0 due to reset input mode, the alarm signal output pin ALM produces
SR" the stop signal output pin STP will not go Vss V DD level output. However with the STP at Vss
level and stays at VDD level instead. level output, the ALM output is disabled.
When the stop signal output pin STP produces (3) Operation input (SOPR)
Vss level output due to the counter content change When the tape recorder is in PLAY, RECORD,
from the value other than 0 to 0, the memory stop FF, REW, CUE, REVIEW state, or in operation,
mode will be reset and with it the M display on the Vss level input is applied. And when the tape re-
LCD will disappear. corder is out of operation, V DD level input is ap-
With the counter content at 0, the memory input plied.
pin SMEM connected to V DD (or open) is reconnected
(4) Pause input (SPAU)
to Vss to enter the m~mory stop mode.
To be connected to Vss when the tape recorder is
And the stop signal output pin does not produce
in normal operation, or to be connected to V DD (or
Vss level output but stays at VDD level.
open) when the tape recorder is out of operation or
The reset input SR does not affect the memory
in the pause state.
stop mode.
When no pulse has been applied to the count in-
The memory input pin SMEM is always in effec-
put pin SCK for 4-8 seconds with the pause input
tive operation as long as the LSI is supplied with
pin connected to VDD (or open), nor is it decided
power. The timing of the reset input SR and the
that it is the tape end.
memory input SMEM is as follows.
(5) Tape end alarm display
SR ~--------r
I ,
Tape end alarm mode allows for the mode indica-
SMEM~ ___ ~ tion in LCD static display.
I I I J
: : I l (6) Chatter killer
Counter contents -------1: reT ~
(Display) --------Lf---'--~ : The LR3617 has its operation input pin SOPR,
Memory stop mode ru--u~ pause input pin SPAU, mode input pin SALM, up-
(M display) down input pin SDN, memory input pin SMEM, reset
input pin SR, and count input pin SCK equipped
• Tape End Detection Function. with built-in chatter killers, the timing of which is
When no pulse has b.een applied to the counter shown in the figure below.
input pill SCK for 4 - 8 seconds with Vss level input
being applied to both the operation input pin SOPR, LSI input
and the pause input pin SPAU, it will be decided LSI
that it is the tape end to be followed by the opera- acknow ledgement
• t
tions described below. , , , , , , , , I I , , I ' , I ' I I '
stop signal output pin STP will produce Vss level In the case of SCK (O_25-0.5ms/div)
output. Changing the operation input pin SOPR from
.-.-.--.----SHARP--------..-.·
967
Up/down Counter CMOS LSI with LCD Decoder-,Driver LR3617
(7) Initi.al set Stop signal output pin STP VDD level output
By connecting the initial set input pin SACL to Alarm signal ou(put pinALM V DD level output
VDD , the internal LSI and each output will be in- The LSI retains the state as described above
itialized as follows. with the initial set input pin SACL connected to
Counter display 0 VDD •
Memory stop function reset (therefore no M .dis·
play)
• System Configuration
LR3617
968
\
VTR Data Back CMOS LSI LR3727
• Features
1. Date information data store function
(4-bit parallel BCD code)
2. Data display function
3. Single power supply: + 5V
4. CMOS process
5. 36-pin quad-flat package
Top View
• Block Diagram
Display Data
Output 14
25 Horizontal
Display Inhibit 15 Position
2 Display Time
22 Display Start
Vertical
Position
Vertical sync.
Signal
Input Switching
~---t13 Clock Input
(oo)W@X!9--~
---~---------------SHARP--'----'-~'-'
969
VTR Data Back CMOS LSI LR3:r27
• Operating Conditions
Parameter Symbol MIN. TYP. MAX. Unit
Supply voltage * 1 VDD 4.5 5.0 5.5 V
Input voltage * 1 VIN 0 V DD V
External oscillation k!l
resistance Rcp 3.3
--~-----SHARP~-'-'------
'970
VTR Data Back CMOS LSI
[ill
LSI but also for displaying this data on the screen
Input pin for the time constant of the one-shot
after the data is read.
multi vibrator positions the horizonal display in
the picture. By varying the time constant of the ex-
ternal CR, horizontal display position can be
When this input changes from "Low" to "High",
the one-shot multivibrator that determines the dis-
play time will be triggered.
10;=_
changed.
The data display time is determined by the time
(iii) Vertical positioning (Vl ...... V126 pins)
constant of the CR externally connected to the dis-
Input pins for positioning. The level of this pin
play time input pin.
determines the vertical display position.
--~--'-'---SHARP'-'-------
971
VTR Data Back CMOS LSI ·LR3727
• Display P3 D2 D, Do Indication
The display is a total 6-digit, I-line display of
~
year, month, and day each consisting of 2 digits;
The character organization and character array Low High High Lbw
are as follows_
D3 Dz D, Do Indication
r-----'
I I
I I
~
dots that separate year, month, and day. The dots
High High High Low
are fixed and not erasable.
(2) Character array
The character organized as described above will
2
be displayed in array as follows. And the character
High
size, and spacing are as shown in the figures A and
High Low High
B.
A : Approx. 550ns (when the frequency of the
built-in oscillator is 1.8MHz)
3]
B : Scan line_ ... _.3 lines/field
High High Low Low
%
Character array
High Low High High
Description of Operation
(1) On application of the source voltage V oo ,
the capacitor externally connected to the timer T
[§
starts charging. And when the pulse is applied to
High Low Low High each of.the VSYNC and HSYNC pins, display func-
tion is enabled. The display this time is not consis-
,
tent, but most of the time, only the dots that sepa-
rate the digits are displayed and the characters
that would otherwise follow get blanked.
High Low Low Low
No input signal should be applied prior to pow-
er-up because the LR3727 is of CMOS structure. It
should be remembered that source voltage should al-
ways be kept turned on because of the LSI's small
current consumption except when displaying.
Low High High High
[8J When the capacitor externally connected to the
timer T finishes charging, the LR3727 will go into
the standby mode.
(2) Apply.the horizontal sync pulse and vertical
-.-.-..-.-------SHARP - - - - - - - - - -
972
VTR Data Back CMOS LSI LR3727
sync pulse to the HSYNC and VSYNC pin respec- mined by the time constant of the CR externally
tively. Until the START signal is applied, the connected to the TCR pin. Therefore, if the TCR is
whole LSI is in static state and retains the initial left connected to GND, the operation time of the LSI
state with the DouT pin "Low", oscillator in static will be infinitely long and go into continuous dis-
state, Sl-SS in high impedance state ("High"), and play. (However, if the CNT pin is "High", the dis-
each of the time constant input pins (TCR pin, HCR play data will be read into the LSI only once im-
pin) in high impedance state ("High"). mediately after the START signal input. Even in
continuous display, the START signal should be
VSYNC pin~...J"L.......fl
entered again to alter the display.)
START pin ~i-------------~i------:--- (4) On the top signal going "High", the external
TCR pin - - - - , : . ~~ : data will be read into the LSI with the timing as
I
shown in Fig. 1 and Fig. 2. In the data read timing
TP signal -.l (I:
r---
I
LSI function TP - :
chart, the CR time constant of the TRC pin (or TP
signal output time) is shown to be long enough com-
(3) Vary the START input pin from "Low" to pared to the vertical sync signal cycle (longer than
"High" to enter the START signal. As shown in the 2 cycles). With the CR time constant of the TCR pin
following figure, the TP signal is generated in the short (shorter than the vertical sync signal cycle),
LSI while the TP signal is in sync with the VSYNC the complete external data cannot be read into the
signal. More than 1 JL s of the width START input LSI.
signal is required. The TP signal width is deter- The HP signal in the timing chart just discussed
HSYNCpm ~~__~L__~~__~~__~~~'L-~'~~I~-4I__~__~~__~~!L-~I~-4I~~__~L__
I I I I I I I I I I I 1 I
I I I I I I I I I I I I I I
START pin ~r--r--rl --r--r--:--1--r-l--t--~-T--1--i--~1 --
!
VSYNC pin
TP' signal J I I
' I! :
I
1
1
I 1
1
I
I
I
I
I I
I
I I I
I : : : I
I
I
I I
I I I : ! I I
I I I I I I I I I I I
I I I I I I I I I I 1
HP signal _____.I.
I I I
------~I I I I
S1 pin I---! I I
1 i I
S2 pin ---------+-......,~ : !
Sa pm
-----------~~I~..,l~ ~:I--~~~__--------------------
i r '_ _
I I
--------~~+-~~II~U~~·-------------------
HI
I I I I
S5 pin
I I I I
S6 pin
I 1 II II ~I1---------------------
1 I I -
I 1 I I I
Do-D3 pms aOOZ77710zwm
\110· II
1 ,I "
I
t •
flO II I 10 I
~
*t
"
I
I
"Iday'si
I
tJpmIMWl77ZmmmOV77m
.
D 't C years year s months month s days d' 'I D 't Care
on are digit digil digit digit digil IgJ . on
.-~----.-~---SHARP~-----.---
973
VTR Data Back CMOS LSI LR3727
. . . ._ . . . . .. -......NII-..~_. . . . .. - .. . . . ._ ........................._
,I'
VSYNC pin
_--;._ _....11
I
,
,,
TP signal ,
_.......- _...1• I1
I
SI pin -"'T'".....,~
S2 pin, --+----+--,
S3 pin, ---iL.----+---+-~r_-+_-"'T""-_+-__1
S. pin ------+,---1
,
,
S5 pin ------+,--.,~___1
,
I
S5 pin
!I I
I
I
I
I
I
I
, .
I .
I I I , I I ,
Do - D 3 pins""'''''''''''''''''77'77'77:'77:'77:'77:'77:~
- - - - - - - - - - - - - - S H A R P - - - . - . . . . . - r ........... . - - -
974
VTR Data eack CMOS LSI LR3727
serially through the 5-bit shift register the charac- Fig. 3 shows the timing chart of the 1 field im-
ter outputs one by one at the DouT pin_ mediately after data read. One character is divided
In the meantime, the H address counter counts into 7 parts with each part displayed during the 3
the timing pulses HC that occur during 1 horizontal horizontal scan lines per field so that vertical size
time to construct a character address and transmit of one character is 21 horizontal scan lines high
6 character data and 2 dot data to the character per field. During the display time, this operation
generator. repeats with each input of vertical sync signal ap-
The oscillator operates only part of the horizon- plied to VSYNC pin.
tal time (when HP is "Low") where display is to be Fig. 4 shows the timing chart of 1 horizontal
performed, to generate not only 5-bit shift register time during the display. One character is di~ided
data but also the clock for the timing circuit and horizontally into 5 parts so that their signal out-
load sequentially 6-character 2.:dot data into the puts will be produced from the DouT pin.
5-bit shift register.
H.SYNC n.
pm ....,'-f~,IL..~L-fIL.-~L-1I"--~L..-IL--IIL...-iL~iL-~L.-!'L.-~L..-!'-' ....-1L~
VPsignal ----,L-~-r-~~~4--4-+__+i-~-r-~~~--~-+-+-~-r-ii~-i--t-~---
I
I
,
I
I
I
Oscillation
interval
DOUTpin __________~
1
2
3
4
5
6
7
Fig. 3 Display timing in 1 field (TP signal = "High")
oSCouTpin
HC signal
Fig. 4
II~II~II~
Display timing in 1 horizonal time (TP signal = "High")
.--.--------SHARP-----------
975
VTR Data Back CMOS LSI LR3727
• System Configuration
VDD (+5V)
GND
VDD or GND ;;-0
OSCIN,OSC OUT
Horizontal
sync signal
CNT
Vertical
Output
sync signal VSYNC LR3727
'-'-"'-'~~-'---SHARP---------
976
Phase Locked Loop Frequency Synthesizer CMOS LSI LR3652.
• Block Diagram
4 Lock Detector
Programmable Divider
977
Phase Locked Loop Frequency Synthesizer CMOS LSI LR3652
__. - . - . - . - . - . - . - . - . - . - . - . - . - r........ -....... -
• Operating Conditions
Parameter Symbol MIN. TYP. MAX. Unit Note
Supply voltage V DD 2.7 3.0 3.3 V
External voltage Vee 0.0 15.0 V 1
Input voltage V IN 0.0 V OD V
Oscillator frequency fose 3.6 MHz
,-----------'SHARP----------------
978
Phase Locked Loop Frequency Synthesizer CMOS LSI LR3652
ST Co Cl C2 C3 Function
With MF "Low" and "High", AM mode and FM mode respectively.
1 MF Ml M2 Ma
For Ml - M3, refer to the other table.
P31-P3' set the frequency dividing ratio for the 100's digit of the
2 P3l P3Z P33 P3'
programmable counter.
P21 - P2. set the frequency dividing ratio for the 10's digit of the
3 P21 PZ2 P23 P2.
programmable counter.
PIl - PI. set the frequency dividing ratio for the l's digit of the prog-
4 Pll PIZ PI3 P14
rammable counter.
PI- p, set the count range of programmable counter for pulse swal-
5 PI P2 P3 p,
lowing.
6 "Low" "High" "Low" "High" Indicate the end of data input and data latch.
e3 1
:
1
1
I
!
; 1
111
I I ~
I
n
1 1
:~r-Jrl~ri~
ST~
1
LJ LJ ~ !-.J LJ I
.1 14
1
t;<;2t<s
ST
10
P23
20
l!!
Co PI
Mode ................ ·.. ·· ..·............ ·· ........ ·.. ·· .. ·..........·..·..·· ..·· .. FM
Phase comparision frequency ......................·..·25kHz
Programmable counter for frequency deviding
FM,AM input ...... ratio = 11123
. - - - - - - - - - s H A R p . -............ - . . . - - . - - - - - - -
979
PhaSe Locked Loop frequency SyntheSizer CMOS LSI LR3652
Latch
~S+M~Ml~MF+P.. -l j.P.-P~
I , r---t-+--I
I '~
~ ____ .J I I I
H
I
I
I
I
II :I IIi
I
I
:
'
--
:
I
i
I
I
, I
!
I
1-----"-- I I
ri I
~:::::::J.J1.Ji...W
1 I I I I I I
--r--;-- -++-- --+-t-l---
t;O;:2,us . t~2,us
FM
TTCI
AM station
C2 o:ig inating
signal
Prescaler
PSCL---r--..J
prescaler originati?n
--------SHARP--------
980
Phase Locked Loop Frequency Synthesizer CMOS LSI LR3652
• System Configuration
FM/AM
selection
LK
r-t-----~ FM
'-----+------IPSC OSCou
L - - - - - - - - - - - 1 - - - - - - - j CP2
LR3652
r----~----------------~AM Co
I
C3
~--------------_iCPl ST
~--.-.---------SHARP-.-.-------
981
Notes
SHARP
SHARP CORPORATION Japan