Académique Documents
Professionnel Documents
Culture Documents
CMOS IC
LC863232/28/24/20/16A
8-Bit Single Chip Microcontroller
Preliminary
Overview
The LC863232/28/24/20/16A are 8-bit single chip microcontrollers with the following on-chip functional blocks:
- CPU : Operable at a minimum bus cycle time of 0.424s
- On-chip ROM capacity
Program ROM : 32K/28K/24K/20K/16K bytes
CGROM : 16K bytes
- On-chip RAM capacity : 512 bytes
- OSD RAM : 352 9 bits
- Closed-Caption TV controller and the on-screen display controller
- Closed-Caption data slicer
- Four channels 8-bit AD Converter
- Three channels 7-bit PWM
- Two 16-bit timer/counters, 14-bit base timer
- 8-bit synchronous serial interface circuit
- IIC-bus compliant serial interface circuit (Multi-master type)
- ROM correction function
- 16-source 10-vectored interrupt system
- Integrated system clock generator and display clock generator
Only one Xtal oscillator (32.768kHz) for PLL reference is used for both generators
TV control and the Closed Caption function
All of the above functions are fabricated on a single chip
Ver.1.01
N1798
LC863232/28/24/20/16A
Features
(1) Read-Only Memory (ROM) :
7.5s
183.1s
15.0s
366.2s
Oscillation Frequency
14.156MHz
Voltage
4.5V to 5.5V
800kHz
32.768kHz
4.5V to 5.5V
4.5V to 5.5V
(6) Ports
- Input / Output Ports
: 5 ports (28 terminals)
Data direction programmable in nibble units
: 1 port (8 terminals)
(If the N-ch open drain output is selected by option, the corresponding port data can be read in output mode.)
Data direction programmable for each bit individually
: 4 ports (20 terminals)
No.6693-2/20
LC863232/28/24/20/16A
(7) AD converter
- 4 channels 8-bit AD converters
(8) Serial interfaces
- IIC-bus compliant serial interface (Multi-master type)
Consists of a single built-in circuit with two I/O channels.
internally.
- Synchronous 8-bit serial interface
The two data lines and two clock lines can be connected
No.6693-3/20
LC863232/28/24/20/16A
- Interrupt priority control
Three interrupt priorities are supported (low, high and highest) and multi-level nesting is possible. Low or high
priority can be assigned to the interrupts from 3 to 10 listed above. For the external interrupt INT0 and INT1, high
or highest priority can be set.
(15) Sub-routine stack level
- A maximum of 128 levels (stack is built in the internal RAM)
(16) Multiplication/division instruction
- 16 bits 8 bits (7 instruction cycle times)
- 16 bits / 8 bits (7 instruction cycle times)
(17) 3 oscillation circuits
- Built-in RC oscillation circuit used for the system clock
- Built-in VCO circuit used for the system clock and OSD
- Xtal oscillation circuit used for base timer, system clock and PLL reference
(18) Standby function
- HALT mode
The HALT mode is used to reduce the power dissipation. In this operation mode, the program execution is
stopped. This mode can be released by the interrupt request or the system reset.
- HOLD mode
The HOLD mode is used to stop the oscillations; RC (internal), VCO, and Xtal oscillations. This mode can be
released by the following conditions.
Pull the reset terminal ( RES ) to low level.
Feed the selected level to either P70/INT0 or P71/INT1.
Input the interrupt condition to Port 0.
(19) Package
- DIP42S
- QIP48E
(20) Development tools
- Flash EEPROM:
- Evaluation chip:
- Emulator:
LC86F3248A
LC863096
EVA86000 (main) + ECB863200 (evaluation chip board)
+ POD863200 (pod: DIP42S) or POD863201 (QIP48E)
No.6693-4/20
LC863232/28/24/20/16A
Interrupt Control
IR
Xtal
RC
VCO
ROM
Clock
Generator
Standby Control
PLA
PC
PLL
IIC
ACC
SIO0
XRAM
B Register
Timer 0
Bus Interface
C Register
Timer 1
Port 1
ALU
Base Timer
Port 6
ADC
Port 7
PSW
INT0-3
Noise Rejection Filter
Port 8
RAR
PWM
RAM
CGROM
Data Slicer
OSD
Control
Circuit
Stack Pointer
VRAM
Port 0
No.6693-5/20
LC863232/28/24/20/16A
Pin Assignment
DIP42S
P10/SO0
42
P07
P11/SI0
41
P06
P12/SCK0
40
P05
P13/PWM1
39
P04
P14/PWM2
38
P03
Package Dimension
(unit : mm)
P15/PWM3
37
P02
3025B
P16
36
P01
P17/PWM
35
P00
VSS
34
P73/INT3/T0IN
XT1
10
33
P72/INT2/T0IN
XT2
11
32
P71/INT1
VDD
12
31
P70/INT0
P84/AN4
13
30
P63/SCLK1
P85/AN5
14
29
P62/SDA1
P86/AN6
15
28
P61/SCLK0
P87/AN7
16
27
P60/SDA0
RES
17
26
FILT
18
25
BL
CVIN
19
24
VS
20
23
HS
21
22
SANYO : DIP-42S(600mil)
NC
P14/PWM2
P13/PWM1
P12/SCK0
P11/SI0
P10/SO0
NC
P07
P06
P05
P04
P03
48
47
46
45
44
43
42
41
40
39
38
37
QIP48E
Package Dimension
(unit : mm)
3156
P15/PWM3
36
P02
P16
35
P01
P17/PWM
34
P00
VSS
33
NC
XT1
32
P73/INT3/T0IN
XT2
31
P72/INT2/T0IN
VDD
30
P71/INT1
25
P60/SDA0
24
12
23
P87/AN7
22
P61/SCLK0
21
P62/SDA1
26
20
27
11
19
10
P86/AN6
18
P85/AN5
17
P63/SCLK1
16
P70/INT0
28
15
29
14
13
NC
P84/AN4
NC
BL
HS
VS
NC
FILT
CVIN
RES
SANYO : QIP-48E
No.6693-6/20
LC863232/28/24/20/16A
Pin Description
Pin Description Table
Terminal
I/O
VSS
XT1
I
XT2
O
VDD
I
RES
FILT
O
CVIN
I
I
VS
I
HS
R
O
G
O
B
O
I
O
BL
O
Port 0
P00 - P07
I/O
Port 1
P10 - P17
I/O
Port 6
P60 - P63
I/O
Function Description
Negative power supply
Input terminal for crystal oscillator
Output terminal for crystal oscillator
Positive power supply
Reset terminal
Filter terminal for PLL
Video signal input terminal
Vertical synchronization signal input terminal
Horizontal synchronization signal input terminal
Red (R) output terminal of RGB image output
Green (G) output terminal of RGB image output
Blue (B) output terminal of RGB image output
Intensity ( I ) output terminal of RGB image output
Fast blanking control signal
Switch TV image signal and caption/OSD image signal
8-bit input/output port,
Input/output can be specified in nibble unit
Other functions
HOLD release input
Interrupt input
8-bit input/output port
Input/output can be specified in a bit
Other functions
P10 SIO0 data output
P11 SIO0 data input/bus input/output
P12 SIO0 clock input/output
P13 PWM1 output
P14 PWM2 output
P15 PWM3 output
P17 Timer1 (PWM) output
Option
Pull-up resistor
provided/not provided
Output Format
CMOS/Nch-OD
Output Format
CMOS/Nch-OD
No.6693-7/20
LC863232/28/24/20/16A
Terminal
Port 7
P70
P71 - P73
Port 8
P84 - P87
I/O
I/O
I/O
NC
Function Description
4-bit input/output port
Input or output can be specified for each bit
Other function
P70 INT0 input/HOLD release input/
Nch-Tr. output for wachdog timer
P71 INT1 input/HOLD release input
P72 INT2 input/Timer 0 event input
P73 INT3 input (noise rejection filter
connected)/
Timer 0 event input
Interrupt receiver format, vector addresses
rising falling rising/ H level L level vector
falling
INT0 enable enable disable enable enable 03H
INT1 enable enable disable enable enable 0BH
INT2 enable enable enable disable disable 13H
INT3 enable enable enable disable disable 1BH
4-bit input/output port
Input or output can be specified for each bit
Other function
AD converter input port (4 lines)
Unused terminal
Leave open
Option
Output form and existance of pull-up resistor for all ports can be specified for each bit.
Programmable pull-up resistor is always connected regardless of port option, CMOS or N-ch open drain output in port 1.
Port status in reset
Terminal
I/O
Port 0
Port 1
I
I
No.6693-8/20
LC863232/28/24/20/16A
1. Absolute Maximum Ratings at VSS=0V and Ta=25C
Parameter
Symbol
Supply voltage
Input voltage
VDDMAX
VI(1)
Output voltage
VO(1)
Input/output
voltage
High
Peak
level
output
output
current
current
Total
output
current
VIO
Low
level
output
current
Peak
output
current
Total
output
current
Maximum power
dissipation
Operating
temperature
range
Storage
temperature
range
Pins
IOPH(1)
VDD
RES , HS , VS ,
CVIN
R, G, B, I, BL,
FILT
Ports 0, 1, 6, 7,
8
Ports 0, 1, 7, 8
IOPH(2)
R, G, B, I, BL
IOAH(1)
Ports 0, 1
IOAH(2)
Ports 7, 8
IOAH(3)
R, G, B, I, BL
IOPL(1)
IOPL(2)
IOPL(3)
IOAL(1)
Ports 0, 1, 6, 8
Port 7
R, G, B, I, BL
Ports 0, 1
IOAL(2)
Ports 6, 7, 8
IOAL(3)
R, G, B, I, BL
Pdmax
DIP42S
QIP48E
Conditions
CMOS output
For each pin.
CMOS output
For each pin.
The total of all
pins.
The total of all
pins.
The total of all
pins.
For each pin.
For each pin.
For each pin.
The total of all
pins.
The total of all
pins.
The total of all
pins.
Ta=-10 to +70C
VDD[V]
min.
-0.3
-0.3
Ratings
typ.
max.
+7.0
VDD+0.3
-0.3
VDD+0.3
-0.3
VDD+0.3
-4
unit
V
mA
-5
-20
-10
-15
20
15
5
40
40
15
Topr
-10
800
400
+70
Tstg
-55
+125
mW
C
No.6693-9/20
LC863232/28/24/20/16A
2. Recommended Operating Range at Ta=-10C to +70C, VSS=0V
Parameter
Symbol
VDD(1)
Pins
Operating
supply voltage
range
VDD(2)
Hold voltage
VHD
VDD
VIH(1)
Port 0 (Schumitt)
VIH(2)
VIH(3)
VIH(4)
Low level input
voltage
VIL(1)
VIL(2)
VIL(3)
VIL(4)
CVIN
VCVIN
Operation
cycle time
tCYC(1)
tCYC(2)
tCYC(3)
Oscillation
frequency range
FmRC
VDD
Conditions
0.844s tCYC
0.852s
4s tCYC
400s
RAMs and the
registers data are
kept in HOLD
mode.
Output disable
VDD[V]
min.
4.5
Ratings
typ.
max.
5.5
4.5
5.5
2.0
5.5
4.5 - 5.5
0.6VDD
VDD
Output disable
4.5 - 5.5
0.75VDD
VDD
Output disable
4.5 - 5.5
VDD-0.5
VDD
Output disable
4.5 - 5.5
0.7VDD
VDD
Output disable
Output disable
4.5 - 5.5
4.5 - 5.5
VSS
VSS
0.25VDD
Output disable
4.5 - 5.5
VSS
0.6VDD
Output disable
4.5 - 5.5
VSS
0.3VDD
5.0
4.5 - 5.5
1Vp-p
-3dB
0.844
4.5 - 5.5
0.844
30
4.5 - 5.5
0.844
400
4.5 - 5.5
0.4
All functions
operating
AD converter
operating
OSD and Data
slicer are not
operating
OSD, AD
converter and
Data slicer are not
operating
Internal RC
oscillation
unit
V
0.2VDD
1Vp-p
0.848
0.8
1Vp-p
+3dB
0.852
3.0
Vp-p
*
MHz
No.6693-10/20
LC863232/28/24/20/16A
3. Electrical Characteristics at Ta=-10C to +70C, VSS=0V
Parameter
High level input
current
Pull-up MOS
Tr. resistance
Bus terminal
short circuit
resistance
(SCL0-SCL1,
SDA0-SDA1)
Hysteresis
voltage
Input clump
votage
Pin capacitance
Symbol
Pins
IIH(1)
Ports 0, 1, 6, 7, 8
IIH(2)
RES
IIL(1)
HS , VS
Ports 0, 1, 6, 7, 8
IIL(2)
RES
VOH(1)
VOH(2)
VOL(1)
VOL(2)
VOL(3)
VOL(4)
VOL(5)
Rpu
HS , VS
CMOS output of
ports 0,1,71-73,8
R, G, B, I, BL
Ports 0,1,71-73,8
Ports 0,1,71-73,8
R, G, B, I, BL
Port 6
Port 6
Port 70
Ports 0, 1, 7, 8
RBS
P60-P62
P61-P63
VHIS
Ports 0, 1, 6, 7
RES
VCLMP
HS , VS
CVIN
CP
All pins
Conditions
Output disable
Pull-up MOS Tr.
OFF
VIN=VDD
(including the offleak current of the
output Tr.)
VIN=VDD
VDD[V]
4.5 - 5.5
min.
Ratings
typ.
4.5 - 5.5
4.5 - 5.5
-1
4.5 - 5.5
-1
IOH=-1.0mA
4.5 - 5.5
VDD-1
IOH=-0.1mA
IOL=10mA
IOL=1.6mA
IOL=3.0mA
4.5 - 5.5
4.5 - 5.5
4.5 - 5.5
4.5 - 5.5
VDD-0.5
IOL=6.0mA
IOL=1mA
VOH=0.9VDD
4.5 - 5.5
4.5 - 5.5
4.5 - 5.5
f=1MHz
Every other
terminals are
connected to VSS.
Ta=25C
1.5
0.4
0.4
13
4.5 - 5.5
4.5 - 5.5
38
4.5 - 5.5
5.0
unit
Output disable
Pull-up MOS
Tr. OFF
VIN=VSS
(including the offleak current of the
output Tr.)
VIN=VSS
Output disable
max.
1
0.6
0.4
80
130
0.1VDD
2.3
2.5
10
2.7
pF
No.6693-11/20
LC863232/28/24/20/16A
4. Serial Input/Output Characteristics at Ta=-10C to +70C, VSS=0V
Parameter
Input clock
Output clock
Serial clock
Cycle
Low Level
pulse width
High Level
pulse width
Cycle
Serial output
Serial input
Low Level
pulse width
High Level
pulse width
Data set up time
Symbol
Pins
tCKCY(1) SCK0
SCLK0
tCKL(1)
Conditions
Refer to figure 4.
VDD[V]
4.5 - 5.5
max.
unit
tCYC
tCKCY(2) SCK0
SCLK0
tCKL(2)
tCKH(2)
SI0
tCKI
Ratings
typ.
tCKH(1)
tICK
min.
2
SO0
SO0
Use pull-up
resistor (1k)
when Nch opendrain output.
Refer to figure 4.
4.5 - 5.5
Data set-up to
SCK0.
Data hold from
SCK0.
Refer to figure 4.
4.5 - 5.5
4.5 - 5.5
7/12tCYC
+0.2
4.5 - 5.5
1/3tCYC
+0.2
2
1/2tCKCY
1/2tCKCY
s
0.1
0.1
Symbol
fSCL
tBUF
tHD;STA
tLOW
tHIGH
tSU;STA
tHD;DAT
tSU;DAT
tR
tF
tSU;STO
Refer to figure 10
Cb : Total capacitance of all BUS (unit : pF)
Standard
min.
max.
0
100
4.7
4.0
4.7
4.0
4.7
0
250
1000
300
4.0
-
High speed
min.
max.
0
400
1.3
0.6
1.3
0.6
0.6
0
0.9
100
20+0.1Cb
300
20+0.1Cb
300
0.6
-
unit
kHz
s
s
s
s
s
s
ns
ns
ns
s
No.6693-12/20
LC863232/28/24/20/16A
6. Pulse Input Conditions at Ta=-10C to +70C, VSS=0V
Parameter
High/low level
pulse width
Symbol
tPIH(1)
tPIL(1)
tPIH(2)
tPIL(2)
Conditions
VDD[V]
4.5 - 5.5
min.
1
4.5 - 5.5
Interrupt acceptable
Timer0-countable
4.5 - 5.5
32
INT0, INT1
INT2/T0IN
INT3/T0IN
(1/1 is selected for
noise rejection
clock.)
INT3/T0IN
(1/16 is selected for
noise rejection
clock.)
INT3/T0IN
(1/64 is selected for
noise rejection
clock.)
Interrupt acceptable
Timer0-countable
Interrupt acceptable
Timer0-countable
Interrupt acceptable
Timer0-countable
4.5 - 5.5
128
tPIL(5)
tPIH(6)
tPIL(6)
RES
4.5 - 5.5
4.5 - 5.5
200
8
tTHL
tTLH
HS
Reset acceptable
Display position
controllable (Note)
The active edge of
HS and VS must
be apart at least
1 tCYC.
Refer to figure 6.
Refer to figure 6.
tPIH(3)
tPIL(3)
tPIH(4)
tPIL(4)
Rising/falling
time
Pins
HS , VS
Ratings
typ.
max.
unit
tCYC
4.5 - 5.5
500
ns
Symbol
Pins
N
ET
IAINH
IAINL
VDD[V]
4.5 5.5
min.
Ratings
typ.
8
(Note 3)
tCAD
VAIN
Conditions
1.5
ADCR2=0 (Note 4)
ADCR2=1 (Note 4)
AN4 - AN7
16
32
VSS
VAIN=VDD
VAIN=VSS
max.
unit
bit
LSB
tCYC
VDD
-1
No.6693-13/20
LC863232/28/24/20/16A
8. Sample Current Dissipation Characteristics at Ta= -10C to +70C, VSS=0V
The sample current dissipation characteristics is the measurement result of Sanyo provided evaluation board when the
recommended circuit parameters shown in the sample oscillation circuit characteristics are used externally. The currents
through the output transistors and the pull-up MOS transistors are ignored.
Parameter
Symbol
Current dissipation
IDDOP(1)
during basic
operation
(Note 3)
Pins
VDD
Current dissipation
IDDHALT(1) VDD
in HALT mode
(Note 3)
IDDHALT(2) VDD
IDDHALT(3) VDD
Current dissipation
IDDHOLD
in HOLD mode
(Note 3)
VDD
Conditions
FmXtal=32.768kHz
Xtal oscillation
System clock :
VCO
VCO for OSD
operating
Internal RC
oscillation stops
HALT mode
FmXtal=32.768kHz
Xtal oscillation
System clock :
VCO
VCO for OSD stops
Internal RC
oscillation stops
HALT mode
FmXtal=32.768kHz
Xtal oscillation
VCO for system
stops
VCO for OSD stops
System clock :
Internal RC
HALT mode
FmXtal=32.768kHz
Xtal oscillation
VCO for system
stops
VCO for OSD stops
System clock : Xtal
HOLD mode
All oscillation stops.
Ratings
typ.
19
max.
32
4.5 - 5.5
12
mA
4.5 - 5.5
300
1200
4.5 - 5.5
50
200
4.5 - 5.5
0.05
20
VDD[V]
4.5 - 5.5
min.
unit
mA
(Note 3) The currents through the output transistors and the pull-up MOS transistors are ignored.
No.6693-14/20
LC863232/28/24/20/16A
Recommended Oscillation Circuit and Sample Characteristics
The sample oscillation circuit characteristics in the table below is based on the following conditions:
Recommended circuit parameters are verified by an oscillator manufacturer using a Sanyo provided oscillation evaluation
board.
Sample characteristics are the result of the evaluation with the recommended circuit parameters connected externally.
Recommended oscillation circuit and sample characteristics (Ta = -10 to +70C)
Frequency
Manufacturer
Oscillator
32.768kHz
Seiko Epson
C-002RX
Notes
C2
18pF
Rf
Open
Rd
390k
Operating
supply voltage
range
4.5 5.5V
Oscillation
stabilizing
time
typ.
max
1.00s 1.50s
Notes
The oscillation stabilizing time period is the time until the VCO oscillation for the internal system becomes stable
after the following conditions. (Refer to Figure 2.)
1. The VDD becomes higher than the minimum operating voltage after the power is supplied.
2. The HOLD mode is released.
Since the oscillation frequency precision is affected by wiring capacity of the application board, etc., adjust the
oscillation frequency on the production board.
The above oscillation frequency and the operating supply voltage range are based on the operating temperature of -10C
to +70C. For the use with the temperature outside of the range herein, or in the applications requiring high reliability
such as car products, please consult with oscillator manufacturer.
When using the oscillator which is not shown in the sample oscillation circuit characteristics, please consult with Sanyo
sales personnel.
Since the oscillation circuit characteristics are affected by the noise or wiring capacity because the circuit is designed with low
gain in order to reduce the power dissipation, refer to the following notices.
The distance between the clock I/O terminal (XT1 terminal XT2 terminal) and external parts should be as short as
possible.
The capacitors VSS should be allocated close to the microcontrollers GND terminal and be away from other GND.
The signal lines with rapid state changes or with large current should be allocated away from the oscillation circuit.
XT1
XT2
Rf
Rd
C1
C2
Xtal
Figure 1
No.6693-15/20
LC863232/28/24/20/16A
VDD
VDD limit
0V
Power supply
Reset timae
RES
Internal RC
resonato
oscillation
XT1,XT2
tmsVCO
VCO for system
Operation mode
stable
Unfixed
Reset
Valid
Internal RC
resonato
oscillation
XT1,XT2
tmsVCO
stable
Operation mode
HOLD
Figure 2
No.6693-16/20
LC863232/28/24/20/16A
VDD
RRES
(Note)
RES
CRES
Figure 3
Reset circuit
0.5VDD
tCKCY
tCKL
VDD
tCKH
SCK0
SCK1
1K
tICK
tCKI
SI0
SI1
tCKO
50pF
SO0, SO1
SB0, SB1
No.6693-17/20
LC863232/28/24/20/16A
tPIL (1)-(5)
Figure 5
tPIH (1)-(4)
tPIL(6)
HS
0.75VDD
0.25VDD
tTLH
VS
tPIL(6)
Figure 6
LC863232A
10k
HS
HS
C536
Figure 7
No.6693-18/20
LC863232/28/24/20/16A
Noise filter
1F
C-Video
CVIN
200
1000pF
Coupling capacitor
Output impedance of C-Video before Noise filter should be less then 100.
Figure 8
100
FILT
+
2.2F
-
1M
Figure 9
(Note)
33000pF
Sr
SDA
tBUF
tHD;STA
tR
tF
tHD;STA
tsp
SCL
tLOW
tHIGH
tHD;DAT
S : start condition
P : stop condition
Sr : restart condition
tSU;DAT
Figure 10
tSU;STA
tSU;STO
IIC timing
No.6693-19/20
LC863232/28/24/20/16A
memo:
PS No.6693-20/20