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.424µs
- On-chip R O M capaci ty
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-sourc e 10-vect o red interrupt system
- Integrated system clock generator and display clock generator
Only one X’tal 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
- 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 16×17 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 independentl y
Caption • Text mode / OSD mode 1 / OSD mode 2 (Quarter size) / Simplifed graphic mode
- Simplified Graphic Display
*1 Note : ran ge depends on display mode : r efer to the manual f o r details.
(4) Data Slicer (NTSC)
- Line 21 closed caption data and XDS data extraction
(5) Bus Cycle Time / Instruction-Cycle Time
Bus cycle time Instruction cycle time System clock oscillation Oscillation Frequency Voltage
0.424µs 0.848µs
7.5µs 15.0µs
183.1µs 366.2µs
(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)
8 bits for CGROM
×
9 bits (for CRT display)
×
Internal VCO
14.156MHz 4.5V to 5.5V
(Ref : X’tal 32.768kHz)
Internal RC 800kHz 4.5V to 5.5V
Crystal 32.768kHz 4.5V to 5.5V
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. The two data lines and two clock lines can be connected
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 o f 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 976µs, 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
- Interrupt prior ity 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
- X’tal 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 X’tal oscillations. This mode can be
released by the following conditions.
Pull the reset terminal (
•
Feed the selected level to either P70/INT0 or P71/INT1.
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
P06
P05
P04
403938
21
22
23
B
B
Package Dimension
(unit : mm)
3025B
P03
37
36
P02
35
P01
34
P00
33
NC
32
P73/INT3/T0IN
31
P72/INT2/T0IN
30
P71/INT1
29
P70/INT0
28
P63/SCLK1
27
P62/SDA1
26
P61/SCLK0
25
24
NC
P60/SDA0
SANYO : DIP-42S(600mil)
Package Dimension
(unit : mm)
3156
SANYO : QIP-48E
No.6693-6/20
LC863232/28/24/20/16A
Pin Description
Pin Description Table
Terminal I/O Function Description Option
VSS - Negative power supply
XT1 I Input terminal for crystal oscillator
XT2 O Output terminal for crystal oscillator
VDD - Positive power supply
RES
FILT O Filter t erminal for PLL
CVIN I Video signal input terminal
VS
HS
R O Red (R) output terminal of RGB image output
G O Gr een (G) output terminal of RGB image output
B O Blue (B) output terminal of RGB image output
I O Intensity ( I ) output terminal of RGB image output
BL O Fast blanking control signal
Port 0
P00 - P07
Port 1 •8-bit input/output port
P10 - P17
Port 6 •4-bit input/output port
P60 - P63
I Reset terminal
I Vertical synchronization signal input terminal
I Horizontal synchronization signal input termi nal
Switch TV image signal and caption/OSD image signal
I/O
•8-bit input/output port,
Input/output can be specified in nibble unit
•Other functions
HOLD release input
Pull-up resistor
provided/not provided
Output Format
CMOS/Nch-OD
Interrupt input
I/O
Input/output can be specified in a bit
Output Format
CMOS/Nch-OD
•Other functions
P10
SIO0 data output
SIO0 data input/bus input/output
P11
SIO0 clock input/output
P12
PWM1 output
P13
PWM2 output
P14
PWM3 output
P15
Timer1 (PWM) output
P17
I/O
Input/output can be specified for each bit
•Other functions
P60
P61
P62
P63
IIC0 data I/O
IIC0 clock output
IIC1 data I/O
IIC1 clock output
No.6693-7/20
LC863232/28/24/20/16A
Terminal I/O Function Description Option
Port 7 •4-bit input/output port
P70
•VIN=VDD
(including the off leak current of the
output Tr.)
•VIN=VDD 4.5 - 5.5 1
•Pull-up MOS
Tr. OFF
•VIN=VSS
(including the off leak current of the
output Tr.)
VIN=VSS 4.5 - 5.5 -1
IOH=-1.0mA 4.5 - 5.5 VDD-1 High level output
IOL=3.0mA 4.5 - 5.5 0.4
4.5 - 5.5 130
Output disable 4.5 - 5.5 0.1VDD
•Every other
terminals are
connected to VSS.
•Ta=25°C
Ratings
VDD[V] min. typ. max.
4.5 - 5.5 1
4.5 - 5.5 -1
VDD-0.5
4.5 - 5.5 10 pF
unit
µ
kΩ
A
V
Ω
V
No.6693-11/20
LC863232/28/24/20/16A
Y
Y
4. Serial Input/Output Cha racteristics at Ta=-10°C to +70°C, VSS=0V
Parameter Symbol Pins Conditions
Cycle
Low Level
tCKCY(1) 2
•SCK0
•SCLK0
tCKL(1) 1
Refer to figure 4. 4.5 - 5.5
Ratings
VDD[V] min. typ. max.
unit
tCYC
pulse width
High Level
Input clock
tCKH(1)
1
pulse width
Cycle
Serial clock
Low Level
tCKCY(2) 2
tCKL(2) 1/2tCKC
•SCK0
•SCLK0
pulse width
High Level
Output clock
pulse width
Data set up time
tCKH(2)
tICK 0.1
SI0 •Data set-up to
Data hold time
Serial input
tCKI
•Use pull-up
resistor (1kΩ)
when Nch open drain output.
•Refer to figure 4.
SCK0.
•Data hold from
SCK0.
•Refer to figure 4.
4.5 - 5.5
4.5 - 5.5
1/2tCKC
0.1
s
µ
Output delay time
(Using external
Output delay time
(Using internal
Serial output
tCKO(1) SO0 4.5 - 5.5 7/12tCYC
clock)
tCKO(2) SO0
clock)
•Data hold from
SCK0.
•Use pull-up
resistor (1kΩ)
when Nch open drain output.
+0.2
4.5 - 5.5 1/3tCYC
+0.2
•Refer to figure 4.
5. IIC Input/Output Conditions at Ta=-10°C to +70°C, VSS=0V
Parameter Symbol
Standard High speed
min. max. min. max.
unit
SCL Frequency fSCL 0 100 0 400 kHz
BUS free time between stop - start tBUF 4.7 - 1.3 HOLD time of start, restart condition tHD;STA 4.0 - 0.6 L time of SCL tLOW 4.7 - 1.3 H time of SCL tHIGH 4.0 - 0.6 Set-up time of restart condition tSU;STA 4.7 - 0.6 HOLD time of SDA tHD;DAT 0 - 0 0.9
µs
µ
µs
µ
µs
µ
s
s
s
Set-up time of SDA tSU;DAT 250 - 100 - ns
Rising time of SDA, SCL tR - 1000 20+0.1Cb 300 ns
Falling time of SDA, SCL tF - 300 20+0.1Cb 300 ns
Set-up time of stop condition tSU;STO 4.0 - 0.6 -
µs
Refer to figure 10
(Note) Cb : To tal capacitance of all BUS (unit : pF)
No.6693-12/20
LC863232/28/24/20/16A
6. Pulse Input Conditions at Ta=-10°C to +70°C, VSS=0V
Parameter Symbol Pins Conditions
High/low level
pulse width
tPIH(1)
tPIL(1)
tPIH(2)
tPIL(2)
•INT0, INT1
•INT2/T0IN
INT3/T0IN
(1/1 is sel ected for
•Interrupt acceptable
•Timer0-countable
•Interrupt acceptable
•Timer0-countable
Ratings
VDD[V] min. typ. max.
4.5 - 5.5 1
4.5 - 5.5 2
unit
tCYC
noise rejection
clock.)
tPIH(3)
tPIL(3)
INT3/T0IN
(1/16 is selected for
•Interrupt acceptable
•Timer0-countable
4.5 - 5.5 32
noise rejection
clock.)
tPIH(4)
tPIL(4)
INT3/T0IN
(1/64 is selected for
•Interrupt acceptable
•Timer0-countable
4.5 - 5.5 128
noise rejection
clock.)
tPIL(5)
tPIH(6)
tPIL(6)
RES
HS,VS
Reset acceptable 4.5 - 5.5 200
•Display position
4.5 - 5.5 8
controllable (Note)
s
µ
•The active edge of
HS
and VS must
be apart at least
1 tCYC.
•Refer to figure 6.
Rising/falling
time
tTHL
tTLH
HS
Refer to figure 6. 4.5 - 5.5 500 ns
7. AD Converter Characteristics at Ta= -10°C to + 70°C, VSS=0V
Parameter Symbol Pins Conditions
Resolution N 8 bit
Absolute
ET (Note 3) ±1.5 LSB
Ratings
VDD[V] min. typ. max.
4.5 – 5.5
unit
precision
ADCR2=0 (Note 4) 16 Conversion
tCYC
ADCR2=1 (Note 4) 32
time
Analog input
tCAD
VAIN VSS VDD V
AN4 - AN7
voltage range
input current
IAINH VAIN=VDD 1 Analog port
IAINL
VAIN=VSS
-1
µA
(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= -10°C to +70°C, 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 Conditions
Current dissipation
during basic
operation
(Note 3)
IDDOP(1) VDD •FmX’tal=32.768kHz
X’tal oscillation
•System clock :
VCO
Ratings
VDD[V] min. typ. max.
unit
4.5 - 5.5 19 32 mA
•VCO for OSD
operating
•Internal RC
oscillation stops
Current dissipation
in HALT mode
(Note 3)
IDDHALT(1) VDD •HALT mode
•FmX’tal=32.768kHz
X’tal oscillation
4.5 - 5.5 7 12 mA
•System clock :
VCO
•VCO for OSD stops
•Internal RC
oscillation stops
IDDHALT(2) VDD •HALT mode
4.5 - 5.5 300 1200
µA
•FmX’tal=32.768kHz
X’tal oscillation
•VCO for system
stops
•VCO for OSD stops
•System clock :
Internal RC
IDDHALT(3) VDD •HALT mode
4.5 - 5.5 50 200
•FmX’tal=32.768kHz
X’tal oscillation
•VCO for system
stops
•VCO for OSD stops
•System clock : X’tal
Current dissipation
in HOLD mode
IDDHOLD VDD •HOLD mode
•All oscillation stops.
4.5 - 5.5 0.05 20
µA
(Note 3)
(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 +70°C)
Frequency Manufacturer Oscillator
Recommended circuit parameters
C1 C2 Rf Rd
32.768kHz Seiko Epson C-002RX 18pF 18pF Open
390kΩ
Operating
supply voltage
range
Oscillation
stabilizing
time
typ. max
4.5 – 5.5V 1.00s 1.50s
Notes
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.
The sample oscillation circuit characteristics may differ applications. For further assistance, please contact with oscillator
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 -10°C
•
to +70°C. 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 microcontroller’s 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.
•
XT2 XT1
Rf
Rd
C1
C2
X’tal
Figure 1 Recommended oscillation circuit.
No.6693-15/20
LC863232/28/24/20/16A
n
n
Power supply
VDD
VDD limit
0V
RES
Reset timae
Internal RC
resonato
oscillatio
XT1,XT2
VCO for system
tmsVCO
stable
Operation mode
Unfixed Instruction executi on mode Reset
<Reset time and oscillation stabilizing time>
HOLD release signal
Valid
Internal RC
resonato
oscillatio
XT1,XT2
VCO for system
tmsVCO
stable
Operation mode
Instruction executi on mode HOLD
<HOLD release signal and oscillation stabilizing time>
Figure 2 Oscillation stabilizing time
No.6693-16/20
LC863232/28/24/20/16A
est load
V
CKO
C
CKC
VDD
RES
R
RES
RES
C
(Note) Determine the CRES, RRES value to
generate more than 200µs reset time.
Figure 3 Reset circuit
0.5VDD
<AC timing measurement point>
t
Y
tCKH tCKL
DD
SCK0
SCK1
SI0
SI1
SO0, SO1
SB0, SB1
1KΩ
t
KI tICK
t
50pF
< Timing >
< T
>
Figure 4 Serial input / output test condition
No.6693-17/20
LC863232/28/24/20/16A
tPIH (1)-(4) tPIL (1)-(5)
Figure 5 Pulse input timing condition – 1
HS
VS
tPIL(6)
0.75VDD
0.25VDD
tTLH
tPIL(6)
more than ±1tCYC
Figure 6 Pulse input timing condition - 2
10kΩ
C536 HS
LC863232A
HS
Figure 7 Recommended Interface circuit
No.6693-18/20
LC863232/28/24/20/16A
C-Video
Noise filter
200
Ω
1µF
CVIN
1000pF
Coupling capacitor
Output impedance of C-Video before Noise filter should be less then 100Ω.
Figure 8 CVIN recommended circuit
100
Ω
FILT
1M
Ω
+
-
2.2µF
33000pF
Figure 9 FILT recommended circuit
(Note) Place FILT parts on board as close to the microcontroller as possible.
P S Sr P
SDA
SCL
tBUF
tHD;STA
tR
tF
tHD;STA
tsp
tLOW
tHD;DAT
tHIGH
tSU;DAT tSU;STA
S : start condition tsp : Spike suppression Standard mode : not exist
P : stop condition High speed mode : less than 50ns
Sr : restart condition
Figure 10 IIC timing
tSU;STO
No.6693-19/20
memo:
LC863232/28/24/20/16A
No.6693-20/20
PS
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.