LC863224A
LC863224A
LC863224A
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) : 32768 8 bits / 28672 8 bits / 24576 8 bits 20480 8 bits / 16384 8 bits for program 16128 8 bits for CGROM 512 8 bits (including 128 bytes for ROM correction function) 352 9 bits (for CRT display)
(3) OSD functions - Screen display : 36 characters 16 lines (by software) - RAM : 352 words (9 bits per word) Display area : 36 words 8 lines Control area : 8 words 8 lines - Characters Up to 252 kinds of 16 32 dot character fonts (4 characters including 1 test character are not programmable) Each font can be divided into two parts and used as two fonts : a 1617 dot and 8 9 dot character font At least 111 characters need to be divide to display the caption fonts. - Various character attributes Character colors : 16 colors Character background colors : 16 colors Fringe / shadow colors : 16 colors Full screen colors : 16colors Rounding Underline Italic character (slanting) - Attribute can be changed without spacing - Vertical display start line number can be set for each row independently (Rows can be overlapped) - Horizontal display start position can be set for each row independently - Horizontal pitch (bit 9 - 16)*1 and vertical pitch (bit-32) can be set for each row independently - Different display modes can be set for each row independently Caption Text mode / OSD mode 1 / OSD mode 2 (Quarter size) / Simplifed graphic mode - Ten character sizes *1 Horez. Vert. = (1 1), (1 2), (2 2), (2 4), (0.5 0.5) (1.5 1), (1.5 2), (3 2), (3 4), (0.75 0.5) - Shuttering and scrolling on each row - Simplified Graphic Display *1 Note : range depends on display mode : refer to the manual for details. (4) Data Slicer (NTSC) - Line 21 closed caption data and XDS data extraction (5) Bus Cycle Time / Instruction-Cycle Time Bus cycle time 0.424s 7.5s 183.1s Instruction cycle time 0.848s 15.0s 366.2s System clock oscillation Internal VCO (Ref : Xtal 32.768kHz) Internal RC Crystal Oscillation Frequency 14.156MHz 800kHz 32.768kHz Voltage 4.5V to 5.5V 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 (9) PWM output - 3 channels 7-bit PWM (10) Timer - Timer 0 : 16-bit timer/counter With 2-bit prescaler + 8-bit programmable prescaler Mode 0 : Two 8-bit timers with a programmable prescaler Mode 1 : 8-bit timer with a programmable prescaler + 8-bit counter Mode 2 : 16-bit timer with a programmable prescaler Mode 3 : 16-bit counter The resolution of timer is 1 tCYC. - Timer 1 : 16-bit timer/PWM Mode 0 : Two 8-bit timers Mode 1 : 8-bit timer + 8-bit PWM Mode 2 : 16-bit timer Mode 3 : Variable bit PWM (9 to 16 bits) In mode0/1,the resolution of Timer1/PWM is 1 tCYC In mode2/3,the resolution is selectable by program; tCYC or 1/2 tCYC - Base timer Generate every 500ms overflow for a clock application (using 32.768kHz crystal oscillation for the base timer clock) Generate every 976s, 3.9ms, 15.6ms, 62.5ms overflow (using 32.768kHz crystal oscillation for the base timer clock) Clock for the base timer is selectable from 32.768kHz crystal oscillation, system clock or programmable prescaler output of Timer 0 (11) Remote control receiver circuit (connected to the P73/INT3/T0IN terminal) - Noise rejection function - Polarity switching (12) Watchdog timer External RC circuit is required Interrupt or system reset is activated when the timer overflows (13) ROM correction function Max 128 bytes / 2 addresses (14) Interrupts - 16 sources 10 vectored interrupts 1. External Interrupt INT0 2. External Interrupt INT1 3. External Interrupt INT2, Timer/counter T0L (Lower 8 bits) 4. External Interrupt INT3, base timer 5. Timer/counter T0H (Upper 8 bits) 6. Timer T1H,T1L 7. SIO0 8. Data slicer 9. Vertical synchronous signal interrupt ( VS ), horizontal line ( HS ), AD 10. IIC, Port 0
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
PLA
Standby Control
ROM
RC VCO
Clock Generator
Xtal
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
Port 8
RAR
RAM
No.6693-5/20
LC863232/28/24/20/16A
Pin Assignment
DIP42S
P10/SO0 P11/SI0 P12/SCK0 P13/PWM1 P14/PWM2 P15/PWM3 P16 P17/PWM VSS XT1 XT2 VDD P84/AN4 P85/AN5 P86/AN6 P87/AN7 RES FILT CVIN VS HS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 P07 P06 P05 P04 P03 P02 P01 P00 P73/INT3/T0IN P72/INT2/T0IN P71/INT1 P70/INT0 P63/SCLK1 P62/SDA1 P61/SCLK0 P60/SDA0 I BL B G R
SANYO : DIP-42S(600mil)
QIP48E
P14/PWM2 P13/PWM1 P12/SCK0 P10/SO0 P11/SI0
P07
P06
P05
P04
P03
NC
NC
48
47
46
45
44
43
42
41
40
39
38 23
P15/PWM3 P16 P17/PWM VSS XT1 XT2 VDD NC P84/AN4 P85/AN5 P86/AN6 P87/AN7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24
37
SANYO : QIP-48E
FILT CVIN RES VS NC HS BL G R B I NC
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
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 4-bit input/output port Input/output can be specified for each bit Other functions P60 IIC0 data I/O P61 IIC0 clock output P62 IIC1 data I/O P63 IIC1 clock output
Option
Pull-up resistor provided/not provided Output Format CMOS/Nch-OD Output Format CMOS/Nch-OD
I/O
No.6693-7/20
LC863232/28/24/20/16A Terminal Port 7 P70 P71 - P73 I/O I/O 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
I/O
NC
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 Port 0 Port 1 I/O I I Pull-up resistor status at selecting pull-up option Pull-up resistor OFF, ON after reset release Programmable pull-up resistor OFF
No.6693-8/20
LC863232/28/24/20/16A 1. Absolute Maximum Ratings at VSS=0V and Ta=25C Parameter Supply voltage Input voltage Output voltage Input/output voltage High Peak level output output current current Total output current Symbol VDDMAX VI(1) VO(1) VIO IOPH(1) IOPH(2) IOAH(1) IOAH(2) IOAH(3) Low level output current Peak output current Total output current IOPL(1) IOPL(2) IOPL(3) IOAL(1) IOAL(2) IOAL(3) Maximum power dissipation Operating temperature range Storage temperature range Pdmax Topr Pins VDD RES , HS , VS , CVIN R, G, B, I, BL, FILT Ports 0, 1, 6, 7, 8 Ports 0, 1, 7, 8 R, G, B, I, BL Ports 0, 1 Ports 7, 8 R, G, B, I, BL Ports 0, 1, 6, 8 Port 7 R, G, B, I, BL Ports 0, 1 Ports 6, 7, 8 R, G, B, I, BL DIP42S QIP48E Conditions Ratings typ. unit V
VDD[V]
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
mA
mW C
-10
Tstg
-55
+125
No.6693-9/20
VDD[V]
VIH(1) VIH(2)
Port 0 (Schumitt) Ports 1,6 (Schumitt) Port 7 (Schumitt) port input/interrupt HS , VS , RES (Schumitt) Port 70 Watchdog timer input Port 8 port input Port 0 (Schumitt) Ports 1,6 (Schumitt) Port 7 (Schumitt) port input/interrupt HS , VS , RES (Schumitt) Port 70 Watchdog timer input Port 8 port input CVIN
0.6VDD
0.75VDD
VDD VDD
VDD-0.5
tCYC(3)
FmRC
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
4.5 - 5.5
0.844
400
4.5 - 5.5
0.4
0.8
3.0
MHz
No.6693-10/20
min.
max. 1
RES HS , VS Ports 0, 1, 6, 7, 8
IIL(2) High level output voltage Low level output voltage VOH(1) VOH(2) VOL(1) VOL(2) VOL(3) VOL(4) VOL(5) Rpu RBS
RES 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 P60-P62 P61-P63
4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5 4.5 - 5.5
-1 VDD-1
VDD-0.5
Pull-up MOS Tr. resistance Bus terminal short circuit resistance (SCL0-SCL1, SDA0-SDA1) Hysteresis voltage Input clump votage Pin capacitance
13
38
VHIS
Output disable
4.5 - 5.5
0.1VDD
VCLMP CP
5.0 f=1MHz Every other terminals are connected to VSS. Ta=25C 4.5 - 5.5
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 Cycle Input clock Low Level pulse width High Level pulse width Cycle Symbol Pins Conditions Refer to figure 4. Ratings typ. unit tCYC
tCKCY(1) SCK0 SCLK0 tCKL(1) tCKH(1) tCKCY(2) SCK0 SCLK0 tCKL(2) tCKH(2) tICK SI0
min. 2 1 1
max.
Serial clock
Low Level pulse width High Level pulse width Data set up time Serial input
Output clock
Use pull-up resistor (1k) when Nch opendrain output. Refer to figure 4. Data set-up to SCK0. Data hold from SCK0. Refer to figure 4. Data hold from SCK0. Use pull-up resistor (1k) when Nch opendrain output. Refer to figure 4.
4.5 - 5.5
2 1/2tCKCY 1/2tCKCY
4.5 - 5.5
0.1
tCKI
0.1
Output delay time tCKO(1) (Using external clock) Output delay time tCKO(2) (Using internal clock)
SO0
4.5 - 5.5
Serial output
SO0
4.5 - 5.5
5. IIC Input/Output Conditions at Ta=-10C to +70C, VSS=0V Parameter SCL Frequency BUS free time between stop - start HOLD time of start, restart condition L time of SCL H time of SCL Set-up time of restart condition HOLD time of SDA Set-up time of SDA Rising time of SDA, SCL Falling time of SDA, SCL Set-up time of stop condition (Note) Symbol 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
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)
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) Pins 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.)
RES HS , VS
min. 1 2
Ratings typ.
max.
unit tCYC
tPIH(3) tPIL(3)
4.5 - 5.5
32
tPIH(4) tPIL(4)
4.5 - 5.5
128
Rising/falling time
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.
200 8
4.5 - 5.5
500
ns
7. AD Converter Characteristics at Ta= -10C to + 70C, VSS=0V Parameter Resolution Absolute precision Conversion time Analog input voltage range Analog port input current Symbol N ET tCAD VAIN IAINH IAINL AN4 - AN7 VAIN=VDD VAIN=VSS Pins Conditions (Note 3) ADCR2=0 (Note 4) ADCR2=1 (Note 4) VSS 16 32 VDD 1 -1 Ratings typ. 8 unit bit LSB tCYC V A
min.
max. 1.5
(Note 3) Absolute precision does not include quantizing error (1/2LSB). (Note 4) Conversion time is the time till the complete digital conversion value for analog input value is set to a register after the instruction to start conversion is sent.
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 Pins 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 unit mA
min.
max. 32
4.5 - 5.5
12
mA
IDDHALT(2) VDD
4.5 - 5.5
300
1200
IDDHALT(3) VDD
4.5 - 5.5
50
200
VDD
4.5 - 5.5
0.05
20
(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 Recommended circuit parameters C1 18pF C2 18pF Rf Open Rd 390k Operating supply voltage range 4.5 5.5V Oscillation stabilizing time typ. max 1.00s 1.50s Notes
32.768kHz Notes
Seiko Epson
C-002RX
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.
The sample oscillation circuit characteristics may differ applications. manufacturer with the following notes in your mind.
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 Xtal
C2
Figure 1
No.6693-15/20
LC863232/28/24/20/16A
Power supply
RES
Internal RC
resonato oscillation
Operation mode
Unfixed
Reset
Valid
Internal RC
resonato oscillation
Operation mode
HOLD
Figure 2
No.6693-16/20
LC863232/28/24/20/16A
VDD
RRES
RES CRES
(Note)
Determine the CRES, RRES value to generate more than 200s reset time.
Figure 3
Reset circuit
0.5VDD
tCKCY tCKL SCK0 SCK1 tICK SI0 SI1 tCKO SO0, SO1 SB0, SB1 50pF tCKI tCKH
VDD
1K
No.6693-17/20
LC863232/28/24/20/16A
tPIL (1)-(5)
tPIH (1)-(4)
Figure 5
Figure 6
Figure 7
No.6693-18/20
LC863232/28/24/20/16A
Output impedance of C-Video before Noise filter should be less then 100. Figure 8 CVIN recommended circuit
1M
33000pF
Figure 9 (Note)
Sr
SDA
tBUF tHD;STA tR tF tHD;STA tsp
SCL
tLOW tHD;DAT
Standard mode : not exist High speed mode : less than 50ns
Figure 10
IIC timing
No.6693-19/20
LC863232/28/24/20/16A memo:
PS No.6693-20/20
This datasheet has been download from: www.datasheetcatalog.com Datasheets for electronics components.