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 Microcontroller
with Built-in EPROM and LCD Drivers
Ordering number:ENN3410C
LC58E68
SANYO Electric Co.,Ltd. Semiconductor Company
TOKYO OFFICE Tokyo Bldg., 1-10, 1 Chome, Ueno, Taito-ku, TOKYO, 110-8534 JAPAN
Overview
The LC58E68 is a 4-bit microcontroller with built-in 16
Kbytes of EPROM, 1 Kbit of RAM and LCD drivers. It
can perform most of the functions of the LC586X series
single-chip microcontroller, making it ideal for prototyping
systems based on these devices.
The LC58E68 features an additional 224 bytes of EPROM
containing the configuration option data. Configuration
options include input and output configurations and osillator
selection. Input configuration are LOW-level hold transistor, HIGH-level hold transistor and no hold transistor enabled, and pull-up and pull-down input transistors. Output
configuration options are LCD driver and CMOS, p-channel open-drain and n-channel open-drain general-purpose
outputs.The osillator options are ceramic filter, crystal, and
both ceramic filter and crystal.
The LC58E68’s UV-erasable EPROM can be reprogrammed using a general-purpose PROM programmer and
an adapter board.
The LC58E68 operates from a 3 or 5 V supply and is available in 80-pin QIPs.
Features
• Compatible with the LC586X series mask ROM devices
The oscillator options are ceramic filter, crystal, and
both ceramic filter and crystal. When the crystal oscillator is used, the oscillator frequency options are 32,
38 or 65 kHz. The ceramic filter and crystal oscillator
options are shown in figures 7 and 8, respectively.
Ports S, K, P, SO and A input options are hold transistor and input transistor configurations as shown in f igure 9. The hold transistor options are LOW-level hold
transistor, HIGH-lev el hold transistor and no hold transistor enabled, The input options are pull-up and pulldown transistors enabled.
Figure 9. Ports S, K, P, SO and A input circuit
Note : Cofiguration data determines switch settings.
LB58E68
Figure 11. n-channel output
The output latch state of all LCD drivers and generalpurpose outputs can be reset in standby mode. The options are reset and no change.
Port N
Port N outputs are n-channel open-drain as shown in figure 12.
Outputs
SEG1 to SEG35
The SEG1 to SEG35 options are LCD driver or generalpurpose outputs, LCD driver bias and duty configiration,
general-purpose output configuration and output latch
state in STOP mode. The LCD driver and general-purpose output function selection is hard coded in the PLA
and, therefore, cannot be selected by software.
The LCD driver bias and duty configuration is set for all
LCD drivers. The configuration options are follows.
• Static
• 1/2-bias and 1/2-duty
• 1/2-bias and 1/3-duty
• 1/2-bias and 1/4-duty
• 1/3-bias and 1/3-duty
• 1/3-bias and 1/4-duty
The general-purpose output configuration is set for individual outputs. The options are CMOS, p-channel opendrain and n-channel open-drain. The p-channel and nchannel output equivalent circuits are shown in figures
10 and 11, respectively.
Figure 12. Ports N open-drain outputs
Serial Data Clock
The SO3 clock divider ratio options are 1/1, 1/2 and 1/4.
Interrupt Request
The interrupt request input options are hold transistor,
input transistor and interrupt request trigger configurations. The input hold transistor and input transistor options are the same as for the port inputs. The interrupt
request trigger options are rising-edge and falling-edge
triggering.
Figure 10. p-channel output
No.3410–11/16
Design Information
Development Process
The LC5860 series software development tools,
EC5868.EXE software and a general-purpose PROM
programmer with a W58E68Q adapter board are re-
LB58E68
quired for LC58E68 program development. The de velopment flowchart is shown in figure 13.
Figure 13. Development flowchart
No.3410–12/16
LC586X series software development tools
These tools are used on an MS-DOS computer to create programs and option data. See the LC586X series
development tools manual for further infomation.
EC5868.EXE
This program combines an LC586X series program with
the configuration option data generated by the option
LC5862H, 63H, 64HLC5866H, 68H
LB58E68
data software and converts the result to LC58E68 EPR OM
downloading format as shown in figure 14.
Figure 14. Conversion to EPROM format
No.3410–13/16
LB58E68
For example, to con v ert the ROMSAMP.HXE program
file and the PLASAMP.HEX option data file into the
EP-SAMP.HEX download-format file, enter one of the
following commands at the command line:
A : >EC5868 ROMSAMP.HEX PLASAMP.HEX EP–SAMP.HEX ↵
or
A : >EC5868 B:ROMSAMP.HEX B:PLASAMP.HEX C:EP–SAMP.HEX ↵
or
A : >EC5868↵
****************************************************************
* LC58E68 PROGRAM & MASK OPTION CONVERSION Ver XXXX *
****************************************************************
A : ROM PROGRAM NAME : B:ROMSAMP.HEX ↵
A : PLA PROGRAM NAME : B:PLASAMP.HEX ↵
A : EP ROM WRITE NAME : B:EP-SAMP.HEX ↵
A program completion message is output at the end of
conversion.
If an error occurs, the program will issue one of the
following error messagees.
Note that the programmer provided with the EVA-520
and EVA-850 development tools cannot be used. Set the
programmer for a 256 Kbyte PROM, V
gram addresses 0000H to 40FFH.
The W58E68Q adapter board, shown in figure 15, is
• Error ON filename.HEX, FILE NOT FOUND
The file filename.HEX was not found or the f ile name
placed in the PROM programmer socket and the
LC58E68 to be programmed, in the W58E68Q adapter.
was incorrect.
• Error ON, MAKE LC5864H, 63H, 62H
The ROM data and option data are not consistent.The
cross assembler and option data software used should
be for the same device.
• Error ON filename.HEX, EOF NOT DETECTED
The file filename.HEX does not have a record end
marker or the file is corrupted.
• Error ON filename.HEX, ILLEGAL CHARACTER
The file filename.HEX contains a non-hexadecimal
character.
• Error ON filename.HEX, ADDRESS OVER
An address in the file filename.HEX exceeds the address limit.
• Error ON filename.HEX, ILLEGAL FILE HDR.
The file filename.HEX does not have the correct
LC586X series header or there is an error in the hex
Figure 15. W58E68Q adapter board
file.
• Error ON command line input, INVALID NUMBER
OF PARAMETERS
Affix an opaque seal to the window of the programmed
LC58E68 when not programming the EPROM.
The number of parameters entered on the command
line is incorrect.
• Error ON ILLEGAL, MASK OPTION DATA
The mask option data is incorrect.
Erasing the EPROM
The EPROM data can be erased with a standard UV
EPROM eraser.
=21V and pro-
P–P
PROM programmer and W58E68Q adapter
board
Programming the LC58E68 requires a general-purpose
PROM programmer and a W58E68Q adapter board.
Soldering
Do not use the solder-dip process for soldering the
LC58E68.
No.3410–14/16
LB58E68
Reset Timing
The reset state is released following a HIGH-to-LOW
transition on RES. Configuration options and the segment output control PLA are initialized during the next
256 clock cycles. The program counter is then reset and
Ordering Information
T ypically, a mask ROM LC586X series de vice is ordered
after a system has been prototyped with the LC58E68.
However, a programmed LC58E68 or an LC58E68-format hex file cannot be used to specify the mask ROM
device.
When ordering, provide three EPROMs each containing
the mask ROM program generated using a standard as-
Table 1. Electrical characteristics comparison
retemaraPlobmySsnoitidnoC86E85CLseiresX685CLtinU
erutarepmetgnitarepOrpoT04ot0107ot03–°C
egatlovylppuSV
tnerrucylppusedom-tlahlacipyTI
DD
V
V
DD
V
V
V
program execution begins. Configuration options are invalid and segment outputs are held at VSS from when
RES goes HIGH until the options are initialized.
sembler and another three EPROMs each containing the
option data generated using the option specification tool.
A comparison of LC58E68 characteristics with those of
LC586X series mask ROM devices is shown in tables 1
and 2.
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.
No.3410–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.