SANYO LC65F1306A Datasheet

Ordering number : ENN*6829
LC65F1306A
4-Bit Single-Chip CMOS Microcont roller for
Small-Scale Control Applications
Preliminary Overview
The LC65F1306A belongs to our 4-bit single-chip microcontroller LC6500 series fabricated using CMOS process technology. They are ideally suited for use in small-scale control applications. Their basic architecture and instruction set are the same. These microcontrollers include an 8-input 8-bit A/D converter and are appropriate for use in a wide range of applications. That range includes applications with a small number of control circuits that were previously implemented in standard logic, and applications with a larger scale such as home appliances, automotive equipment, communications equipment, office equipment, and audio equipment such as decks and players. This microcontroller, with some exceptions, has identical functions to the LC651306A, 1304A, 1302A and 1301A mask ROM version microcontrollers. It can also be used as an OTP version microcontroller. Further, through a rewrite operation on the FLASH memory, the LC65F1306A can be used in applications where previously microcontrollers of this type could not have been implemented.
Features
1) CMOS technology for a low-power consumption operation (A standby function that can be invoked under program control is also provided.)
2) Flash ROM/RAM
LC65F1306A Flash ROM : 6K × 8 bits, RAM : 256 × 4 bits
3) Instruction set : 81 instructions common to all microcontrollers of the LC6500 series
4) Wide operating voltage range : 3.0 V to 5.5 V
5) Instruction cycle time : 0.92 µs
6) On-chip serial I/O port
CMOS IC
Ver.1.01 62600
N3000 RM (IM) TY No.6829-1/22
LC65F1306A
7) Flexible I/O port
• Number of ports : 5 ports / 18 pins (max.)
• All ports : Input / output common Input / output capacity voltage 15V max. (open-drain specification C and D only) Output current 20 mA max. sink curren t (Ca n drive an L ED directly)
• Support option for system specification
Output level in the reset mode : high/low level for port C and D specified in 4-bit unit
8) Interrupt function Interrupt by timer overflow (can be tested under program control)
Interrupt by the state of the
pin or completion of transmission/reception at serial I/O port (can be tested under
INT
program control)
9) Stack level : 8 levels (common use with interrupt)
10) Timer : 4-bit variable prescaler + 8-bit programmable counter
11) Clock oscillation options for user’s intended system
• Oscillator circuit options : two-pin RC oscillator
two-pin ceramic osci llator
• Divider circuit options : No divider
built-in divide by 3 built-in divide by 4
12) Continuous square wave output (64 times of the cycle time)
13) AD converter (successive approximation)
• Precise conversion (expressed in 8 bits), 8 input channels
14) Watchdog timer
• RC circuit time constant
• Watchdog timer reset function can be assigned to an external pin by the option.
15) Low voltage detection circuit
• Can be implemented by the option.
16) Factory shipment
• DIP24S, MFP24S
17) Flash Memory
• Rewrite block size : 128 bytes / page
• Erase / write voltage : 3.0 to 5.5V
• Rewritable limit : 10000 times (target number, to be decided after evaluation)
• Operating temperature : 0 to +85°C (when writing to the flash m emory)
-20 to +85°C (when reading from the flash memory)
No.6829-2/22
LC65F1306A
Function Table
Parameter LC651306A/04A/02A/01A LC65F1306A
Memory
On-chip functions
I/O ports
Characteristics
Oscillator
Other items
Note: The above oscillator and oscillator circuit constants are tentative. They will be announced as the recommended circuits
for these microcontrollers are determined. Please confirm the progress of these developments periodically.
ROM
RAM
Instruction set 81 81 Instructions Table reference Supported Supported Interrupt 1 external, 1 internal 1 external, 1 internal Timer 4-bit variable prescaler + 8-bit
Stack level 8 8 Standby function Standby mode by the HALT
Port number 18 I/O port pins 22 I/O port pins Serial port Input and output in 4 or 8 bit
I/O voltage capacity Output current 10 mA typ. 20 mA max. 10 mA typ. 20 mA max. I/O circuit type Open drain (N-channel) or
Output level at reset Square wave output Supported Supported Minimum cycle time Operating temperature
Supply voltage 2.5 to 6 V 3.0 to 5.5 V Supply current 1.5 mA typ. 3 mA typ. Oscillator RC (800 kHz typ.)
Divider circuit option Package DIP24S MFP24S SSOP24 DIP24S MFP24S Watchdog timer Supported Supported OTP Only DIP24S MFP24S -
6144 × 8 bits (1306A) 4096 × 8 bits (1304A) 2048 × 8 bits (1302A) 1024 × 8 bits (1301A)
256 × 4 bits
(1306A/04A/02A/01A)
4-bit variable prescaler + 8-bit
timers
instruction supported
units
15 V max. 15 V max.
pull-up resistor output option can be specified in 1- bit unit. High or low level output can be selected in port unit (ports C and D
only)
0.92 µs (VDD ≥ 2.5 V) 0.92 µs (VDD ≥ 3.0 V)
-40°C to +85°C 0°C to +85°C (when writing)
-20°C to +85°C (when reading)
Ceramic (400k, 800k,1MHz,
4MHz)
1/1, 1/3, 1/4 1/1, 1/3, 1/4
6144 × 8 bits
256 × 4 bits
timers
Standby mode by the HALT
instruction supported
Input and output in 4 or 8 bit
units
Open drain (N-channel)
RC (800 kHz typ.)
Ceramic (400k, 800k,1MHz,
4MHz)
No.6829-3/22
LC65F1306A
Pin Assignment
DIP24S, MFP24S
/
RES
A0/A7/PF1/SO/AD5
A1/A8/PF2/
A2/A9/PF3/
A3/A10/PA0/AD0 A4/A11/PA1/AD1 A5/A12/PA2/AD2
CE
/PE0/SQR
OE
/PE1/WDR
WE
ALE/PF0/SI/AD4
SCK
INT
A6/PA3/AD3
/AD6 /AD7
VDD
1 2 3 4 5 6 7 8
9 10 11 12
OSC1
24
OSC2
23
TEST/EPMOD
22
VSS
21
PD3/D7
20
PD2/D6
19
PD1/D5
18
PD0/D4
17
PC3/D3
16
PC2/D2
15
PC1/D1
14
PC0/D0
13
: Pin function names used when writing data to on-chip Flash ROM with the PROM writer
Pin Functions
OSC1, OSC2 : Ceramic Oscillator fo r OSC, RC TEST : Test
: Reset AD0-AD7 : AD converter analog input
RES PA0-3 : Common I/O port A0-3 SQR : Square wave output PC0-3 : Common I/O port C0-3 WDR : Watch Dog Reset pin
PD0-3 : Common I/O port D0-3 PE0-1 : Common I/O port E0-1 SI : Serial Input pin
PF0-3 : Common I/O port F0-3 SO : Serial Output pin
Notes: SQR and WDR are common with PE0 and PE1 respectively.
SI, SO,
SCK
, and
are common with PF0 to PF3 respectively.
INT
: Interrupt Request pin
INT
: Serial Clock input/output pin
SCK
No.6829-4/22
Package Dimension
(unit : mm)
3067A
Package Dimension
(unit : mm)
3112A
LC65F1306A
SANYO : DIP24S(300mil)
SANYO : MFP24S(30 0 mil)
No.6829-5/22
LC65F1306A
g
g
System Bl ock Diagram
LC65F1306A
PF1/SO
Shared with port F
PF0/SI
PF2/SCK
PA0-3
AD0-3
PF0-3
AD4-7
PC0-3
PD0-3
4/8 bit
4 bit
Port A
8-BIT
ADC
Port F
Port C
Port D
Serial
shift
register
lower di
Serial
shift
register
hi
4/8 bit
it
her digit
RAM
I/O Buffer
E AC
Serial
mode
register
Port E
PE0-1
WDR
F WR
Serial mode
register
I/O Bus
DP
System Bus
ALU
PC
STACK 1
to
STACK 8
CF
CSF ZSF
STS
ZF
FLASH
ROM
IR
EXTF TMF
PF3/INT
RAM : Data Memory FLASH ROM : Program Memory F : Flag PC : Program Counter WR : Working Register INT : Interrupt control AC : Accumulator IR : Instruction Register ALU : Arithmetic an d L og ic Unit I.DEC : Instruction Decoder DP : Data Pointer CF, CSF : Carry Flag, Carry Save Flag E : E register ZF, ZSF : Zero Flag, Ze r o Save Flag CTL : Control register EXTF : External Interrupt Request Flag OSC : Oscillation Circuit TMF : Internal Interrupt Request Flag TM : Timer STS : Status register
I.DEC
TM CTL
INT
OSC
OSC1 OSC2
RES TEST VDD VSS
No.6829-6/22
LC65F1306A
k
P
P
P
Development Support
The following are currently in the development stage and will soon be available to the user for the development of the LC65F1306A.
1. User’s manual Refer to the “LC65F1306A/LC651300 series user’s manual.”
2. Development tool manual Refer to the “EVA86000 Development Tool Manual for 4-bit microcontrollers.”
3. Software manual “LC65/66 Series Software Manual”
4. Development tool a. For program development (EVA86000 system) b. For program evaluation Microcontroller with Flash ROM (LC65F1306)
Pin Functions
Symbol
VDD 1 - Power supply - - ­VSS 1 - OSC1 1 Input
OSC2 1 Output
PA0-PA3/ AD0-AD3
PC0-PC3 4 I/O •I/O port C0 to C3
PD0-PD3 4 I/O •I/O port D0 to D3
Number
of pins
I/O Function Option At reset
Pins for connecting system cloc
oscillation RC or ceramic resonator.
Leave OSC2 open when OSC1 is
used for an external clock input
4 I/O • I/O port A0 to A3
Input in 4-bit unit (IP instruction) Output in 4-bit unit (OP instruction) Testing in 1-bit unit (BP, BNP instructions) Set and reset in 1-bit unit (SPB, RPB instructions)
PA3 is used for standby mode
control.
Chattering should not be occurred
on the PA3 during HALT instruction execution.
All four pins have shared
function. PA0/AD0:AD converter input AD0 PA1/AD1:AD converter input AD1 PA2/AD2:AD converter input AD2 PA3/AD3: converter input AD3
The port functions are identical to
those of PA0 to PA3 (See note).
The output during a reset can be
selected to be either high or low as
an option. Note: This port has no standby
mode control function.
The port functions and options are
identical to those of PC0 to PC3.
(1) Two-pin RC oscillator,
external clock (2) Two-pin ceramic oscillator (3) Divider option
1. No divider
2. Divide by 3
3. Divide by 4
Open-drain output only High-level
Open-drain output only (1) High level output during reset. (2) Low level output during reset.
(1) and (2) are specified
4 bits at a time
Same as PC0 to PC3. Same as PC0 to
- -
output (The output N-channel transistor s in the off state.)
High-level
output.
Low-level
output.
(Depending
on options
selected)
C3.
Handling
when unused
Select the open-drain output option and connect to VSS.
Same as PA0 to
A3.
Same as PA0 to
A3.
No.6829-7/22
Loading...
+ 15 hidden pages