Any and all SANYO products described or contained herein do not have specifications that can handle
applications that require extremely high levels of reliability, such as life-support systems, aircraft’s
control systems, or other applications whose failure can be reasonably expected to result in serious
physical and/or material damage. Consult with your SANYO representative nearest you before using
any SANYO products described or contained herein in such applications.
SANYO assumes no responsibility for equipment failures that result from using products at values that
exceed, even momentarily, rated values (such as maximum ratings, operating condition ranges,or other
parameters) listed in products specifications of any and all SANYO products described or contained
herein.
CMOS IC
Single-Chip 4-bit Microcontroller
(Low-Threshold Input, On-Chip FLT Driver)
Ordering number:ENN1802C
LC6514B
SANYO Electric Co.,Ltd. Semiconductor Company
TOKYO OFFICE Tokyo Bldg., 1-10, 1 Chome, Ueno, Taito-ku, TOKYO, 110-8534 JAPAN
Overview
The LC6514B is a microcontroller with FLT drivers. It is
identical with the LC6510C in the internal architecture and
instruction set. Since the normal/low-threshold lev el of input port A can be selected by option and the on-chip pulldown resistor can be bitwise connected to the FLT driver
by option, the number of external parts used in the user
equipment can be minimized, reducing the cost consider-
ably.
Features
• Low power dissipation.
• ROM capacity : 4096×8 bits.
• RAM capacity : 256×4 bits.
• Subroutine stack : 8 levels (common with interrupt).
Note
The LC6514B heretofore in use has been improved by changing the value of the pull-down resistor to be contained in
FLT drivers as shown below. When using the LC6514B, fully check that the new resistor value meets your application
specifications.
tnerructuptuolevel-L
Pin Assignment
retemaraP
I
)ecnatsisernwod-lluptuptuO(
R(DP)
LO
nimpytxamnimpytxam
091.0
)002(
eulavrotsiserweNeulavrotsiserdlO
263.0
)501(
067.0
)05(
tinU
801.0
)053(
403.0
)521(
345.0
Am
)07(
k( Ω)
Pin name
OSC1, OSC2 : C, R or ceramic resonator for system OSC
INT :Interrupt
RES :Reset
HOLD :Hold
PA
PB
PC
PD
PE
PF
PG
PH
PI
:Input port A
0 to 3
:Input port B
0 to 2
:Input/output common port C
0 to 3
:Input/output common port D
0 to 3
:Output port E
0 to 3
:Output port F
0 to 3
:Output port G
0 to 3
:Output port H
0 to 3
:Output port I
0, 1
0 to 3
0 to 2
0 to 3
0 to 3
0 to 3
0 to 3
0, 1
0 to 3
0 to 3
With
High-voltage
driver
TEST :TEST
V
:Power supply for high-voltage port pull-down resistor
p
When mounting the QIP package
version on the board, do not dip it in
solder.
RAM :Data memoryROM :Program memory
F :FlagPC :Program counter
WR :Working registerINT :Interrupt control
AC :AccumulatorIR :Instruction resister
ALU :Arithmetic and logic unitI.DEC :Instruction decoder
DP :Data pointerCF, CSF : Carry flag
E :E registerCarry save flag
CTL :Control registerZF, ZSF : Zero flag
OSC :OscillatorZero save flag
TM :TimerEXTF :External interrupt request flag
STS :Status registerTMF :Internal interrupt request flag
No.1802–4/17
LC6514B
Absolute Maximum Ratings at Ta = 25˚C, VSS=0V (VDD=5V±20% unless otherwise specified)
retemaraPlobmySsnoitidnoCsgnitaRtinU
egatlovylppusmumixaMV
egatlovtupnI
egatlovtuptuO
tnerructuptuokaeP
noitapossidrewopelbawollA
erutarepmetgnitarepOrpoT07+ot03–°C
erutarepmetegarotSgtsT521+ot55–°C
Note 1: For pin OSC1, up to oscillation amplitude generated when internaly oscillated under the recommended
Electrical Characteristics at Ta = –30 to +70˚C, VDD=5V±20%, VSS=0V
retemaraPlobmySsnoitidnoC
(Note 1) f
tnerructupuilevel-HI
tnerructupuilevel-LI
egatovtuptuolevel-H
egatovtuptuolevel-L
tnerructuptuoevel-L
)rotsisernwod-lluptuptuO(
tnerruckaelFFOtuptuO
CSOcimarecrofycneuqerfCSOkcolC
CSORCrofycneuqerfCSOkcolCf
niardtnerruC
ecnaticapactupnIC
ecnaticapactuptuOC
ecnaticapactuptuo/tupnIC
: Oscillatable frequency.
CFOSC
f
f
f
V
V
V
V
V
V
V
V
V
I
R(DP)
I
I
I
I
I
I
I
I
HI
LI
1HO
2HO
3HO
4HO
5HO
6HO
7HO
1LO
2LO
LO
1FFO
2FFO
3FFO
4FFO
1CSOFC
2CSOFC
3CSOFC
C
CSORC
txe
1DD
2DD
3DD
4DD
NI
TUO
OI
V,nip
NIV=DD
4
5
zHM1=f5Fp
VtpecxesniptupnillA
PV,NIV=DD
VtpecxesniptupnillA
PV,NIV=SS
I:D,CstroP
Am1–=
HO
I:D,CstroP
I:F,EstroP
I:F,EstroP
I:D,CstroP
LO
V:D,CstroP
V:D,CstroP
V:IotEstroP
V:IotEstroP
R,Fp022=
C,CSORCtA
V,edomTLAH
V,edomDLOH
Aµ001–=
HO
Am2–=
HO
HO
I:I,H,GstroP
I:I,H,GstroP
I:I,H,GstroP
Am01–=
HO
Am2–=
HO
HO
Am1=4.0V
V:I,H,G,F,EstroP
P
rotsisernwod-lluphtiw,nepo
txe
V,niptupni,nepo
DD
DD
V:I,H,G,F,EstroP
V=
TUO
V=
TUO
TUO
TUO
txe
NIV=DD
V,V53–=
P
rotsisernwod-lluphtiw
DD
SS
V=
DD
V=
DD
)1etoN(3.giFnitiucric
k8.6=Ω2.giFnitiucricCSOta,0060080221zHk
R,Fp022=
txe
02202200010.1
05105100015.1
gnitaR
nimpytxam
1–Aµ
VDD0.2–
VDD5.0–
VDD0.1–
Istroplla,Am1–=
ecnadepmihgih:tuptuo,zHM1=f
Am1–=
HO
Istroplla,Am1–=
HO
V,V3=
LO
DD
tuptuoDO,03Aµ
tuptuoDO,V04–03–Aµ
k8.6=Ωniptuptuo,
VDD5.0–
VDD8.1–
VDD0.1–
VDD5.0–
Am1–=
tuptuo,FFOrTtuptuo,V53–=
,V5=
CSOta,CSOcimarecrofsnoitidnocdednemmoceR
tupni,neponiptuptuo,)zHk008(CSOcimarectA
.giFnitiucrictsetta,V0.6ot0.4=
091.0
)002(
0.1–Aµ
483004614zHk
867008238zHk
06900010401zHk
.giFnitiucrictsetta,V0.6ot8.1=
263.0
)501(
0.10.2Am
0.10.2Am
01Fp
01Fp
1Aµ
33–V
067.0
)02(
0.1Aµ
01Aµ
01Aµ
V
V
V
V
V
V
V
k( Ω)
tinU
Am
No.1802–6/17
Fig. 4 I
Test Circuit
DD3
LC6514B
Input/output common
port C, D : Output inhibit
The HALT instruction is
executed to csuse the
HALT mode to be
entered.
Fig. 5 I
Test Circuit
DD4
Fig. 6 Standby Mode Timing
(Note)
During the HALT instruction
execution cycle, no chattering
must be applied to the HOLD
pin and PA
0 to 3
pins.
No.1802–7/17
LC6514B
τV
: Power supply rise time constant
DD
τRES : RES pin rise time constant
Fix C, R so that τV
yielded. (t
: OSC stabilized time)
OSC
≤τRES,t
DD
OSC
≥10ms is
Fig. 7 Initial Reset Timing
CR OSC characteristic of LC6514B
Fig. 8 shows the CR OSC characteristic of the LC6514B. For the variation range of CR OSC frequency of the
LC6514B, the following is guaranteed at external consatants of Cext=220pF, Rext=6.8kΩ only. The outgoing inspection is performed under this condition only.
Ta=–30°C to +70°C
600kHz≤f
If any other constants than specified above are used, the range of Rext=5k to 50kΩ, Cext=100p to 300pF must be
observed. (See Fig. 8.)
Fig. 8 f
CROSC.
CROSC
–Rext
≤1220kHz
(
VDD=4 to 6V
)
Note 1. The OSC frequency at VDD=5V, Ta=25°C
must be 800KHz or less.
Note 2. The OSC frequency at V
Ta=–30 to +70°C must be within the
operation clock frequency range
(222KHz to 1290 kHz).
=4 to 6V,
DD
No.1802–8/17
LC6514B
Proper Cares in using the IC
[Digit drive signal-used key scan]
When key-scanning with the FLT digit drive signal in Fig. 9 and inputting the return signal to port A, the following
must be observed.
(a) Estimate voltage drop (V
teristic of the output port of the LC6514B.
(b) Estimate voltage drop (V
(c) Check to see that (V
ON
) in the output transistor using the current flowing in an FLT used and the V-1 charac-
ON
) in the switch circuit.
SW
+ VSW) meets the VIH/VIL requirement of the input port.
Fig. 9 Sample Key Scan Application
For the key scan application in Fig. 9, make the program considering the deley in the external circuit and the input
delay shown below.
N : Number of instruction cycles existing between instruction (OP, SPB, RPB) used to output data to output port and
insutruction (IP, BP, BNP) used to input data from input port. (Number of instruction cycles to be programmed
according to the length of t
, tDH : Delay in external circuit from output port to input port.
t
DL
DL
, tDH)
When the IP instruction is used to input the return signal as shown in Fig. 10, the input delay must be considered and
three instructions are placed between the IP instruction and the crossing of input port waveform and V
or V
VI
H1
Some instructions must be placed additionally according to the length of delay (t
respectively.
IH2,
, tDH) in the external circuit after
DL
IL1
or V
IL2
,
the digit drive signal is delivered with the execution of the OP instruction ( a and c ).
No.1802–9/17
LC6514B
<Notes for Standby Fuction Application>
[Proper cares in using standby function]
The LC6514B provides the standby function called HALT, HOLD mode to minimize the current drain when the
program is in the wait state. The standby function is controlled by the HALT instruction, the HOLD pin, RES pin. A
peripheral circuit and program must be so designed as to provide precise control of the standby function. In most
applications where the standby function is performed, voltage regulation, instantaneous break of power, and external
noise are not negligible. When designing an application circuit and program, whether or not to take some measures
must be considered according to the extent to which these factors are allowed.
This section mainly describes power failure backup for which the satndby function is mostly used. A sample application circuit where the standby function is performed precisely is shown below and notes for circuit design and program design are also given below. When using the standby function, the application circuit shown below must be used
and the notes must be also fully observed. If any other method than shown in this section is applied, it is necessary to
fully check the environmental conditions such as power failure and the actual operation of an application equipment.
[Sample application and notes]
When using the HOLD mode, an appliacation circuit and program must be designed with the following in mind.
(1) The supply voltage at the standby state must not be less than specified.
(2) Input timing of each control signal (HOLD, RES port A, INT, etc.) at the standby initiate/release state.
(3) Release operation must not be overlapped at the time of execution of the HALT instruction.
A sample application where the standby function is used for power failure backup is shown below as a concrete
method to observe these notes. A sample application circuit, its operation, and notes for program design are given
below.
1. Sample application where the standby function is used for power failure backup.
Power failure backup is an application where power failure of the main power source is detected by the HOLD pin,
etc. to cause the HOLD mode to be entered so that the current drain is minimized and a backup capacitor is used to
retain the contents of the internal registers even during power failure.
1-1. Sample application circuit (CF OSC)
Fig. 11 shows a CF OSC-applied circuit where the standby function is used for power failure backup.
Unit (resistance : Ω, capacitance : F)
Fig. 11 Sample Application Circuit
No.1802–10/17
LC6514B
1-2. Operating waveform
The operating waveform in the sample application circuit in Fig. 11 is shown below. The mode is roughly divided
as follows.
1 Initial application of power
2 Instantaneous break
3 Return from backup mode
1-3. Operation of sample application circuit
1At the time of initial application of power
A reset occurs and the execution of the program starts at address 000H of the program counter (PC).
2At the time of instantaneous break
(1) At the time of very short instantaneous break
The execution of the program continues.
(2) At the time of instantaneous break being a little longer than (1)
(When the RES input voltage meets V
and HOLD input voltage does not meet VIL)
IL
A reset occurs during the execution of the program and the execution of the program starts at address 000H of
the program counter (PC).
Since the HOLD request signal is not applied to the HOLD pin, the HOLD mode is not entered.
(3) At the time of long instantaneous break (When both of the RES input voltage and HOLD input voltage meet
)
V
IL
The HOLD request signal is applied to the HOLD pin and the HOLD mode is entered.
When V+ rises after instantaneous break, a reset occurs to release the HOLD mode and the execution of the
program starts at address 000H of the program counter (PC).
3At the time of return from backup voltage
A reset occurs and the execution of the program starts at address 000H of the program counter (PC).
No.1802–11/17
LC6514B
1-4. Notes for circuit design
1How to fix C3, R6, C2, R2
Fix closed loop A dischar ge time constants C3, R6 and HOLD pin char ge time constants C2, R2 so that closed loop
A fully discharges before the HOLD input voltage gets lo wer than V
input voltage is sure to get lower than V
input voltage gets lower than V
.
IL
(a reset occurs) when V+ rises after instantaneous break where the HOLD
IL
2How to fix C3, R7
Fix RES pin charge time constats C3, R7 so that when power is applied initially or the HOLD mode is released the CF
OSC oscillates normally and the RES input voltage exceeds V
IH
3How to fix R4, R5
Fix Tr bias constants R4, R5 so that when V+ rises after instantaneous break the RES input voltage gets lower than
(brought to L-level) befor the HOLD input voltage exceeds V
V
IL
4How to fix C2, R3
Fix HOLD pin charge time constants C2, R3 so that when the HOLD mode is released from the backup mode the
HOLD input voltage does not exceed V
(brought to L-level).
V
IL
(not brought to H-level) until the RES input voltage gets lower than
IH
Fix C3, R7 and C2, R3 so that the time interval from the moment the HOLD input voltage exceeds V
input voltage exceeds V
is longer than the CF OSC stabilizing time.
IH
5When the load is heavy or the polling interval is long
Since C1 discharges largely, increase the capacity of C1 or separate B detection from V+ and use a power supply or
signal that rises faster than V+.
at the time of instantaneous break and the RES
IL
and the program starts running.
(brought to H-level).
IH
until the RES
IH
1-5. Notes for software design
When the HOLD request signal is detected, the HALT instruction is executed immediately. A concrete example is
shown below.
1An interrupt is inhibited before polling the HOLD request pin (HOLD pin).
2Polling of the HOLD pin and the HALT instruction are programmed consecutively.
[Concrete example]
RCTL3; EXTEN, TMEN←0 (External, timer interrupt intibit)
BPOAAA; Polling of the HOLD pin (If H-level, a branch occurs to AAA.)
HALT; The HOLD mode is entered.
AAA :
No.1802–12/17
LC6514B
Application development tools
Evaluation chip (LC6597), simulation chip (LC65PG97) and the dedicated equipment called “applicaction development tools” are available to facilitate application development of the LC6514B.
• SDS-410 system
This is combination of floppy disk-provided CPU, CRT, and priter. This system enables application deveropment
programs of microcomputers to be prepared (edited, assembled) very speedily and efficiently in assembly language. By connecting the EVA-410 to the CPU, programs can be debugged and assembled data can be written into
the EPROM (using EPROM WRITER function contained in the EVA-410).
• EVA-410
This is an evaluation kit having EPROM WRITER function, function of parallel/serial data communication with
external equipment (SDS-410, etc.). This kit enables application development programs to be corrected or debugged
on the machine language level.
• EVA-TB3B
This is board which is connected with the EVA-410 to develop programs dedicated to the LC6514B.
• EVA-97-14B
Simulation chip (LC65PG97) is identical with the LC6510C in the I/O port breakdown voltage and pin assignment.
Since the LC6514B has high-voltage output ports and differs partially in the pin assignment, conversion board
“EVA-97-14B” with high-voltage drivers is used to evaluate the LC6514B.
(Note) The threshold level of input port A of the LC6514B can be selected to be normal/low level by option. However,
since port A of the EVA-TB3B, EVA-97-14B is of normal threshold input type, they cannot be used to evaluate
the low threshold input version of the LC6514B.
No.1802–13/17
LC6514B
APPENDIX LC6510 Series Instruction Set (by Function)
SymbolsMeaning
AC :Accumulator
ACt :Accmulator bit t
CF :Carry flag
CTL :Control register
DP :Data pointer
E :E register
EXTF :External interrupt request flag
M :Memory
M (DP) :Memory addressed by DP
P (DP
) : Input/output port addressed by DP
L
L
PC :Program counter
STACK : Stack register
TM :Timer
TMF :Timer (internal) interrupt request flag
At, Ha, La :Working resister
as LI, LI, LI, -----, or CLA, CLA, CLA,-----, the first LI instruction or CLA
instruction only is effective and the following LI instructions or CLA instructions are changed to the NOP instructions.
*1If the L1 instruction or CLA instruction is used consecutively in such a manner
B3B2B1B
B3B2B1B
FMT ←0
sutatS
galf
atadetaidemmIB
3B2B1B0
0
<
0
atadetaidemmIB
3B2B1B0
.tesersiFMTehT.remit
.teseraretsigerlortnocehtni
.tesereraretsigerlortnocehtni
.demusnocsielcycenihcam
detceffa
stibdeificeps-
stibdeificeps-
FZ
ehtnidedaolerastnetnocCAdnaEehT
FMT
skrameR
Specifications of any and all SANYO products described or contained herein stipulate the performance,
characteristics, and functions of the described products in the independent state, and are not guarantees
of the performance, characteristics, and functions of the described products as mounted in the customer's
products or equipment. To verify symptoms and states that cannot be evaluated in an independent device,
the customer should always evaluate and test devices mounted in the customer's products or equipment.
SANYO Electric Co., Ltd. strives to supply high-quality high-reliability products. However, any and all
semiconductor products fail with some probability. It is possible that these probabilistic failures could
give rise to accidents or events that could endanger human lives, that could give rise to smoke or fire,
or that could cause damage to other property. When designing equipment, adopt safety measures so
that these kinds of accidents or events cannot occur. Such measures include but are not limited to protective
circuits and error prevention circuits for safe design, redundant design, and structural design.
In the event that any or all SANYO products(including technical data,services) described or
contained herein are controlled under any of applicable local export control laws and regulations,
such products must not be exported without obtaining the export license from the authorities
concerned in accordance with the above law.
No part of this publication may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying and recording, or any information storage or retrieval system,
or otherwise, without the prior written permission of SANYO Electric Co. , Ltd.
Any and all information described or contained herein are subject to change without notice due to
product/technology improvement, etc. When designing equipment, refer to the "Delivery Specification"
for the SANYO product that you intend to use.
Information (including circuit diagrams and circuit parameters) herein is for example only ; it is not
guaranteed for volume production. SANYO believes information herein is accurate and reliable, but
no guarantees are made or implied regarding its use or any infringements of intellectual property rights
or other rights of third parties.
This catalog provides information as of October, 2001. Specifications and information herein are subject
to change without notice.
PS No.1802–17/17
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.