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
4-bit Single Chip Microcontroller
Ordering number:ENN*4144
LC573104A, 573102A
SANYO Electric Co.,Ltd. Semiconductor Company
TOKYO OFFICE Tokyo Bldg., 1-10, 1 Chome, Ueno, Taito-ku, TOKYO, 110-8534 JAPAN
Preliminary
Overview
LC573104A and LC573102A are CMOS 4-bit
microcontrollers featuring low-voltage operation and low
power dissipation.
Both LC573104A and LC573102A incorporate a 4-bit parallel processing ALU, 4K bytes/2K bytes ROM, a 64×4-bit
RAM, a 16-bit timer, and an infrared remote control transmission carrier output circuit.
• Infrared remote control carrier generation circuit.
·Software-controllable remote control carrier output ON/OFF.
·Software-controllable carrier frequency and duty ratio.
<38kHz-1/3 duty, 38kHz-1/2 duty, 57kHz-1/2 duty>
(When fixed carrier signal is output, it is specified by mask option)
·1kHz to 200kHz infrared remote control transmission carrier frequency.
(When carrier output is selected by timer at mask option, and when 455kHz CR oscillator is used)
·Infrared carrier output-dedicated terminal built-in (CA terminal).
·HALT mode
HALT mode used to reduce current drain.
HALT mode suspends program execution.
Following shows how to release the HALT mode.
(A) System reset
(B) HALT mode release request signal.
·HOLD mode
HOLD mode stops ceramic resonator (CR). The HOLD mold can be released in two ways.
(A) System reset
(B) Apply H level input to S port pin or M port pin. (However, it is necessary to set S port or M port HOLD mode
release permission flag beforehand.)
• From of shipment
·MFP-24S (1.0mm pitch) and chip.
NOTE : When dipping in solder to mount the MFP package on board, contact SANYO for instructions.
No.4144–2/16
Page 3
LC573104A, 573102A
The Application Development System for the LC573100 Series.
(1) Manual
(A) Users Manual : LC573100 Series Users Manual.
(B) Development Tool Manual : LC573100 Series Development Tool Manual.
(2) Development Tools
• Tools for application development of the LC573100 Series.
(A) Personal computer (MS-DOS based).
(B) Cross assembler (LC573100.EXE).
(C) Mask option generator (SU573100.EXE).
• Tools to evaluate application development of the LC573100 Series.
(A)EVA chip (LC5797).
NOTE 1) As RAM capacity differs between EVA chip (LC5797) and the LC573100 Series, always check before pro-
gramming and debugging.
LC573100 : 64×4 bits
LC5797 :256×4 bits
NOTE 2) Always keep the DPH value in mind when programming. Only DPH ‘0’ to ‘3’ may be used as the RAM
address.
If DPH other than ‘0’ to ‘3’ is used as RAM address when pro gramming, SANYO will not be liable for any
trouble caused.
(B)EVA chip board (TB5730).
NOTE) The application evaluation board is the evaluation board made by the user.
(C)Evaluation board [EVA420 (Monitor ROM : ER-573000)]
(D)Display and mask option data control board [DCB-1A (REV3.6)]
Development Support System Outline
Do not cross or twist these cables.
No.4144–3/16
Page 4
(A) Block Diagram
(LC573104A)
LC573104A, 573102A
No.4144–4/16
Page 5
Die Specifications
Pad Layout
LC573104A, 573102A
Chip size :3.51mm×3.19mm
Chip thickness :480µm
Pad size :120µm×120µm
voltage, and Oscillator start-up time measuring
circuit.
Note : CR is 455kHz, S-PORT : M-PORT : Input lead Tr is ON.
RES terminal has resistor built-in and is OPEN.
I/O-PORT is set at Output Mode and data is ‘H’.
The instruction set uses the following abbreviations and symbols.
AC: AccumulatorM: Memory
ACn: Accumulator bit nM (DP): Memory addressed by DP
CF: Carry flag[M (DP)]: Contents of memory addressed by DP
DP: Data pointerPC: Program counter
DPL: Data pointer low nibblePCn: Program counter bit n
DPH: Data pointer high nibblePAGE: Page latch
EDP: Data pointer save registerSTSn: Status register n
EDPL: Data pointer save register low nibble(STSm): Status register n content
EDPH: Data pointer save register high nibble[P ( )]: Contents of port ( )
SP: Strobe pointerX: Immediate data
TREG: Temporary registerXn: Immediate data bit n
SCFn: Start conditioning flag nPDF: Input port pull-down flag
CTLn: Control register nSFR: Special function register
HEFn: Hold enable flag n(SFR): Contents of special function register
ROM: ROM dataCSTF: Chrono start flag
CFCF: Ceramic resonator oscillator control flagSPC: Strobe pointer control bit
( ): ContentsCCF: Carrier output control flag
[ ]: Contents( ): Complement of contents
∨: Logical OR[ ]: Complement of contents
∨: Logical exclusive-ORφ n: Output from stage n of 15-stage divider
<
: Logical ANDWDT: Watchdog timer
←: Transfer direction, result
• The special function registers are abbreviated as follows.
TCON: Timer control register
TLOW: Timer/counter reg ister low byte
THIGH: Timer/counter register high byte
CTL4: Control register 4
P0: Port P0
P1: Port P1
P2: Port P2
No.4144–11/16
Page 12
LC573104A, 573102A
LC573100 Series Instructions
MnemonicInstruction codeFunction
Instruction
TAAT0 0 0 00 0 0 1AC, TRGE ← ROM1 2 Contents of ROM on current page, addressed by PC whose low-orderd 8 bits
MTR0 0 0 10 0 1 0M (DP) ← TREG1 1 Stores the conternts of TREG memory location pointed to by DP.
Bytes
Cycles
are replaced with contents of AC and M (DP), are loaded to AC and TREG
Function description
Status
flag
affected
ASR00 0 0 11 0 0 0ACn ← AC
ASR10 0 0 11 0 0 1ACn ← AC
ASL00 0 0 11 0 1 0ACn ← AC
AccumulatorLogicalArithmetic
ASL10 0 0 11 0 1 1ACn ← AC
INC1 0 0 11 0 0 0AC, M (DP) ← M (DP)+11 1 Memory M (DP) contents incremented +1, and loaded to AC and M (DP).
DEC1 0 0 11 0 0 1AC, M (DP) ← M (DP)–11 1 Memory M (DP) contents decremented –1, and loaded to AC and M (DP).
ADC1 0 0 00 0 0 0AC ← (AC)+[M (DP)]+CF1 1 AC, memory M (DP) and CF contents are binary-added and the result loaded
ADC*1 0 0 01 0 0 0AC, M (DP) ← (AC)+[M (DP)]+CF1 1 AC, memory M (DP) and CF contents are binary-added and the result loaded
ADCI X1 0 0 10 0 0 0
– – – – X3X2X1X
SBC1 0 0 00 0 0 1AC ← (AC)+[M (DP)]+CF1 1 AC, memory M (DP) and CF contents are binary-subtracted, and the result
SBC*1 0 0 01 0 0 1AC, M (DP) ← (AC)+[M (DP)]+CF1 1 AC, memory M (DP) and CF contents are binary-subtracted, and the result
SBCI X1 0 0 10 0 0 1
– – – – X3X2X1X
ADD1 0 0 00 0 1 0AC ← (AC)+[M (DP)]1 1 AC and memory M (DP) contents are binary-added and the result loaded to
ADD*1 0 0 01 0 1 0AC, M (DP) ← (AC)+[M (DP)]1 1 AC and memory M (DP) contents are binary-added and the result loaded to
ADDI X1 0 0 10 0 1 0
– – – – X3X2X1X
SUB1 0 0 00 0 1 1AC ← (AC)+[M (DP)]+11 1 AC and memory M (DP) contents are binary-subtracted and the result loaded
SUB*1 0 0 01 0 1 1AC, M (DP) ← (AC)+[M (DP)]+11 1 AC and memory M (DP) contents are binary-subtracted and the result loaded
SUBI X1 0 0 10 0 1 1
– – – – X3X2X1X
ADN1 0 0 00 1 0 0AC ← (AC)+[M (DP)]1 1 AC and memory M (DP) contents are binary-added and the result loaded to
ADN*1 0 0 01 1 0 0AC, M (DP) ← (AC)+[M (DP)]1 1 AC and memory M (DP) contents are binary-added and the result loaded to
ADNI X1 0 0 10 1 0 0
– – – – X3X2X1X
AND1 0 0 00 1 0 1AC ← (AC) [M (DP)]1 1 AC and memory M (DP) contents are ANDed and the result loaded to AC.
AC ← (AC)+X+CF2 2 AC, immediate data and CF contents are binary-added, and the result loaded
0
AC ← (AC)+X+CF2 2 AC, immediate data and CF contents are binary-subtracted and the result
0
AC ← (AC)+X2 2 AC and immediate data contents are binary-added and the result loaded to
0
AC ← (AC)+X+12 2 AC and immediate data contents are binary-subtracted and the result loaded in
0
AC ← (AC)+X2 2 AC and immediate data contents are binary-added and the result loaded in AC.
0
, AC3 ← 01 1 Shifts the contents of the AC right and enter 0 into the MSB.
n+1
, AC3 ← 11 1 Shifts the contents of the AC right and enter 1 into the MSB.
n+1
, AC0 ← 01 1 Shifts the contents of the AC left and enter 0 into the LSB.
n–1
, AC0 ← 11 1 Shifts the contents of the AC left and enter 1 into the LSB.
n–1
to AC.
to AC, M (DP).
to AC.
loaded to AC.
loaded to AC and M (DP).
loaded to AC.
AC.
AC and M (DP).
AC.
to AC.
to AC and M (DP).
AC.
AC.
AC and M (DP).
CF
CF
CF
CF
CF
CF
CF
CF
CF
CF
CF
CF
AND*1 0 0 01 1 0 1AC, M (DP) ← (AC) [M (DP)]1 1 AC and memory M (DP) contents are ANDed and the result loaded to AC and
ANDI X1 0 0 10 1 0 1
– – – – X3X2X1X
EOR1 0 0 00 1 1 0AC ← (AC) ∨ [M (DP)]1 1 AC and memory M (DP) are exclusive ORed and the result loaded to AC.
EOR*1 0 0 01 1 1 0AC, M (DP) ← (AC) ∨ [M (DP)]1 1 AC and memory M (DP) are exclusive ORed, and the result loaded to AC and
EORI X1 0 0 10 1 1 0
– – – – X3X2X1X
OR1 0 0 00 1 1 1AC ← (AC) ∨ [M (DP)]1 1 AC and memory M (DP) are ORed and the result loaded to AC.
OR*1 0 0 01 1 1 1AC, M (DP) ← (AC) ∨ [M (DP)]1 1 AC and memory M (DP) are ORed and the result loaded to AC and M (DP).
ORI X1 0 0 10 1 1 1
– – – – X3X2X1X
AC ← (AC) X2 2 AC and immediate data contents are ANDed and the result loaded to AC.
0
AC ← (AC) ∨ X2 2 AC and immediate data are exclusive ORed and the result loaded to AC.
0
AC ← (AC) ∨ X2 2 AC and immediate data are ORed and the result loaded to AC.
0
M (DP).
M (DP).
Continued on next page.
No.4144–12/16
Page 13
LC573104A, 573102A
Continued from preceding page.
MnemonicInstruction codeFunction
Instruction
SDPL0 0 0 11 1 0 0DPL ← (AC)1 1 AC contents loaded to DPL.
SDPH0 0 0 11 1 0 1DPH ← (AC)1 1 AC contents loaded to DPH.
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.4144–16/16
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.