All and more about Sharp PC-1500
at
http:f/www.PC-1500.info
3-1. Outline
The
LH581
0
1.115811
i,
a
,ingk
chip
CMOS
Static L
SI
that
fe
atures the
follo
\\iop.
functions:
(I)
two
p<air
s
of
8-
bit
bid
irectional
pnn
(2) one
1>
air
of
8-
hi
t
0111p
u1
po
n
(3) t\
VO
in1
c
rr
up1 rc
qu
cs
c inpuls (
one
c:>f
lh
cn1
pore input)
(4)
one interrupt request output
(5)
CP
U wait control
(6)
serial data tmnsfcr
t.•orurol
3-2. Functions
66
© P
ons
PAll"-7 and
1'
!30
-7
can
be
progr.1m111
cd
ofthcir
data
fl'"' direction
in
bit unil.
Abo.
it
can
be
accc,.. ...
~1
as
one location
ol
the memory.
as
seen from the
CPU.
0 Latch
clock
1'4>
can
be
direct!)
gi"'"
from the c.-icrnal source thro
ugh
ou
tput pons
PC0- 7. Al<o.
it
can he access..'(]'" one location
of
the memory.
as
seen from the CPU.
0
As
there are two interrupt request input> or I RQ and
rn
7. i
nt
errupt '" '
Ill
e<!
can
be
i
ss
u
ed
10 the Cl'U at
th
e r
is
in
g edge of
th
e input
whe
n the
con
'Cspo
11di
11g
hit
<•f the
tv
f SK
rcgi
:-.
1
cr
is
" I" . (
>07
rn
ust
bL'
in
(h
e in
pu
I
n1n
dc
be
fo
r.:-
using P B7
for
I he i nt
l!r
ru pt
input.
© Since 1 hl!rc
i~
t
hi..•
CPU
''
a
it
c
on
t
ro
l
ci
rcuit.
l\\
'O 1nen1ory('na
blr.:
signals can
be
outpu
t
to
thi,;
mcn1or~
of
'l
lO\\
:tCCt.'S..<i
rin1e.
Bc~ilh
..
,.
it
h
.
a~
l
\\
O
inputs
of
\\llit
condition'
. Up
to
8
\arii:lil~
of
a(.·cc:
s
~
tin1
..
~
(".<tll
be
prog
r
an
1nlc:d.
0)
It
ha<
the follO\\ing functions
10
handk
..crial
da1a
1r:111'fer.
A. Serial data transmit
Serini da1c1
ll'a
rt
..
fc:r
t;1kc::-.
pla
ce
i1:.
a
fornlH
l ol a
:i.
Hlrt
bit. 8 bits
or
<lat:1.a11d I
\\
'
()
:-.lop
hi1
s. ·rrans
rn
i
ss
ion
clt>c
k
is
s
c:l
cct
<:
lblc hy
n1l'a11
s
of
internal and cx1c
ruu
I clock
se
l
t:c1
pr
ogr«1111.
:l>\\cll
ast
h
eclo
ek r
atd
l I. I
2.
1 128. I 256. I 512. 1
102
4. 1 2048.
and I
41)<)6
or the basic clock).
B. Serial data recei
ve
\\
.hen
the
,.t;
tn
hit
i~
n.-cci\l-d
i11
an
i
dle
,.,ah:.
thr.:
~rial
data
follo,,inc
l<>
it
i!-
recci\l'tl. 1
\ftcr
rccei\'·ing
the:
data
co111pri"''tl
ofX hit.;.
it
i'
then
s
tored
in
tlx:
in
t
ernal
rcgi,.tcr und tile intc-rn1pt
re<JUC"S
t flag
i:-.
:-.ct
acti\c.
l~t...tti\e
clock
i,.
furni
,hcd
fro1n
lhc cx1
crna1
)0\l
rc
c
''hic
h
beco1ne~
the receiving clock
by
il
!->l'lf.
It
11
n 1, l be
in
~y n
chro
n
i7::t ti
on
\
\'i
th
t
hl~
serial
da
ta
in
put.
C.
Pul
se
waveform
It
is p
os:i
ibl
c I
t>
ha,·c conti
nuou
l'I
o
utp
ul o
f'
pul
se
\\'
aY
cf<
1r1
n. r:rcqucncy
is
p
rog
rammable 10 eight
kin
cb
of
I I. I
2.
I
1
2~.
I 256. I
512
. I
1024.
I 204fi.nnd
I 4096
of
the basic clock.
Do not sale this PDF !!!