LC 863532 C
LC 863532 C
LC 863532 C
Note : This product includes the IIC bus interface circuit. If you intend to use the IIC bus interface, please notify us of this in
advance of our receiving your program ROM code order.
Purchase of SANYO IIC components conveys a license under the Philips IIC Patents Rights to use these components in
an IIC system, provided that the system conforms to the IIC Standard Specification as defined by Philips.
Trademarks
IIC is a trademark of Philips Corporation.
Any and all SANYO Semiconductor 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 Semiconductor representative
nearest you before usingany SANYO Semiconductor products described or contained herein in such
applications.
SANYO Semiconductor 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 Semiconductor
products described or contained herein.
OSD functions
• Screen display : 36 characters × 8 lines (by software)
• RAM : 176 words (9-bits per word)
Display area : 36 words × 4 lines
Control area : 8 words × 4 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 (Ex. 16 × 16 dot character font × 2)
• Various character attributes
Character colors : 16 colors (analog mode : l Vp-p output) /8 colors (digital mode)
Character background colors : 16 colors (analog mode : l Vp-p output) /8 colors (digital mode)
Fringe/shadow colors : 16 colors (analog mode : l Vp-p output) /8 colors (digital mode)
Full screen colors : 16 colors (analog mode : l Vp-p output) /8 colors (digital mode)
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 (9 to 16 dots) *1 and vertical pitch (1 to 32 dots) 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) /Simplified 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.
Ports
• Input/Output Ports : 4 ports (24 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 : 3 ports (16 terminals)
AD converter
• 4-channels × 6-bit AD converters
No.A0118-2/17
LC863548C/40C/32C/28C/24C/20C/16C
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.
PWM output
• 3-channels × 7-bit PWM
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 : A variable-bit PWM (9 to 16 bits)
In mode 0/1, the resolution of timer/PWM is 1 tCYC
In mode 2/3, the resolution of timer/PWM 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
Watchdog timer
External RC circuit is required
Interrupt or system reset is activated when the timer overflows
Interrupts
• 13 sources 8 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, Timer T1L
7. Vertical synchronous signal interrupt (VS), horizontal line (HS)
8. IIC, Software
• 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 8 listed above.
For the external interrupt INT0 and INT1, low or highest priority can be set.
No.A0118-3/17
LC863548C/40C/32C/28C/24C/20C/16C
Sub-routine stack level
• A maximum of 128 levels (stack is built in the internal RAM)
Multiplication/division instruction
• 16-bits × 8-bits (7 instruction cycle times)
• 16-bits ÷ 8-bits (7 instruction cycle times)
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
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.
1. Pull the reset terminal (RES) to low level.
2. Feed the selected level to either P70/INT0 or P71/INT1.
Package
• MFP36SDJ (Lead-free type)
• DIP36S (Lead-free type)
Development tools
• Flash EEPROM : LC86F3548A
• Evaluation chip : LC863096
• Emulator : EVA86000 (main) + ECB863200A (evaluation chip board)
+ SUB863400A (sub board)
+ POD36-CABLE (cable)
+ POD36-DIP (for DIP36S)
or POD36-MFP (for MFP36SDJ)
No.A0118-4/17
LC863548C/40C/32C/28C/24C/20C/16C
Package Dimensions
unit : mm
3263
15.2
36 19
10.5
7.9
0.65
1 18
0.8 0.3 0.25
(0.8)
2.45max
0.1 (2.25)
SANYO : MFP36SDJ(375mil)
Package Dimensions
unit : mm
3170A
32.4
36 19
10.16
8.6
1 18
0.25
0.95
3.0 3.95max
(3.25)
0.51min
0.48
1.78
(1.1)
SANYO : DIP36S(400mil)
No.A0118-5/17
LC863548C/40C/32C/28C/24C/20C/16C
Pin Assignment
P10/SDA0 1 36 P03
P11/SCLK0 2 35 P02
P12/SDA1 3 34 P01
P13/SCLK1 4 33 P00
VSS 5 32 P17/PWM
XT1 6 31 P16/PWM3
XT2 7 30 P15/PWM2
LC863548C
VDD 8 LC863540C 29 P14/PWM1
P04/AN4 9 LC863532C 28 P73/INT3/T0IN
P05/AN5 10 LC863528C 27 P72/INT2/T0IN
P06/AN6
LC863524C P71/INT1
11 26
LC863520C
P07/AN7 12 LC863516C 25 P70/INT0
RES 13 24 P32
FILT 14 23 P31
P33 15 22 BL
P30 16 21 B
VS 17 20 G
HS 18 19 R
Top view
No.A0118-6/17
LC863548C/40C/32C/28C/24C/20C/16C
System Block Diagram
X’tal
Generator
Clock
RC
VCO
PC
PLL
XRAM B Register
Timer 1 Port 1
ALU
INT0 to 3 RAR
Noise Rejection Filter
PWM RAM
CGROM
OSD
Control Stack Pointer
Circuit VRAM
Port 0
No.A0118-7/17
LC863548C/40C/32C/28C/24C/20C/16C
Pin Description
Pin name I/O Function Option
VSS - Negative power supply
XT1 I Input terminal for crystal oscillator
XT2 O Output terminal for crystal oscillator
VDD - Positive power supply
RES I Reset terminal
FILT O Filter terminal for PLL
VS I Vertical synchronization signal input terminal
HS I Horizontal synchronization signal input terminal
R O Red (R) output terminal of RGB image output
G O Green (G) output terminal of RGB image output
B O Blue (B) output terminal of RGB image output
BL O Fast blanking control signal
Switch TV image signal and caption/OSD image signal
Port 0 I/O • 8-bit input/output port Pull-up resistor
P00 to P07 Input/output can be specified in nibble unit provided/not provided
(If the N-ch open drain output is selected by option, the corresponding port data can be Output Format
read in output mode.) CMOS/Nch-OD
• Other functions
AD converter input port (P04 to P07 : 4-channels)
Port 1 I/O • 8-bit input/output port Output Format
P10 to P17 Input/output can be specified for each bit CMOS/Nch-OD
(programmable pull-up resister provided)
• Other functions
P10 IIC0 data I/O
P11 IIC0 clock output
P12 IIC1 data I/O
P13 IIC1 clock output
P14 PWM1 output
P15 PWM2 output
P16 PWM3 output
P17 Timer 1 (PWM) output
Note : A capacitor of at least 10µF must be inserted between VDD and VSS when using this IC.
Continued on next page.
No.A0118-8/17
LC863548C/40C/32C/28C/24C/20C/16C
Continued from preceding page.
• Output form and existence 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.
No.A0118-9/17
LC863548C/40C/32C/28C/24C/20C/16C
Continued from preceding page.
Limits
Parameter Symbol Pins Conditions
VDD [V] min typ max unit
Low level input VIL(1) Port 0 Output disable 4.5 to 5.5 VSS 0.2VDD
voltage VIL(2) • Ports 1, 3 (Schumitt) Output disable
• Port 7 (Schumitt)
port input/interrupt 4.5 to 5.5 VSS 0.25VDD
V
• RES, HS, VS
(Schumitt)
VIL(3) Port 70 Output disable
4.5 to 5.5 VSS 0.6VDD
Watchdog timer input
Operation cycle time tCYC(1) • All functions operating 4.5 to 5.5 0.844 0.848 0.852
µs
tCYC(2) • OSD is not operating 4.5 to 5.5 0.844 400
Oscillation FmRC Internal RC oscillation
4.5 to 5.5 0.4 0.8 3.0 MHz
frequency range
No.A0118-10/17
LC863548C/40C/32C/28C/24C/20C/16C
IIC Input/Output Conditions / Ta = -10°C to +70°C, VSS = 0V
Standard High speed
Parameter Symbol unit
min max min max
SCL Frequency fSCL 0 100 0 400 kHz
BUS free time between stop to start tBUF 4.7 - 1.3 - µs
HOLD time of start, restart condition tHD ; STA 4.0 - 0.6 - µs
L time of SCL tLOW 4.7 - 1.3 - µs
H time of SCL tHIGH 4.0 - 0.6 - µs
Set-up time of restart condition tSU ; STA 4.7 - 0.6 - µs
HOLD time of SDA tHD ; DAT 0 - 0 0.9 µ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 7
Note : Cb : Total capacitance of all BUS (unit : pF)
No.A0118-11/17
LC863548C/40C/32C/28C/24C/20C/16C
Analog Mode RGB Characteristics / Ta = -10°C to +70°C, VSS = 0V
Limits
Parameter Symbol Pins Conditions
VDD [V] min typ max unit
Analog output R. G. B Low level output 0.45 0.5 0.55
voltage Analog output mode Intensity output 0.90 1.0 1.10 V
5.0
Hi level output 1.35 1.5 1.65
Time setting R. G. B 70% 10pf load 50 ns
No.A0118-12/17
LC863548C/40C/32C/28C/24C/20C/16C
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.
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
-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.
XT1 XT2
Rf
Rd
C1 C2
X’tal
No.A0118-13/17
LC863548C/40C/32C/28C/24C/20C/16C
VDD
Power supply VDD limit
0V
Reset time
RES
Internal RC
resonator
oscillation
XT1, XT2
tmsVCO
Internal RC
resonator
oscillation
XT1, XT2
tmsVCO
No.A0118-14/17
LC863548C/40C/32C/28C/24C/20C/16C
tPIL(6)
HS
0.75VDD
0.25VDD
tTLH
VS tPIL(6)
LC863548C
10kΩ
HS
HS C536
No.A0118-15/17
LC863548C/40C/32C/28C/24C/20C/16C
100Ω
FILT
+
1MΩ 2.2µF 33000pF
-
P S Sr P
SDA
tBUF
SCL
tLOW
I ≈ 1mA ↓ I ↓ I ↓
PAD
R ≈ 500Ω
No.A0118-16/17
LC863548C/40C/32C/28C/24C/20C/16C
Specifications of any and all SANYO Semiconductor 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 Semiconductor 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 Semiconductor 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 Semiconductor 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 Semiconductor 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 Semiconductor 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 May, 2006. Specifications and information herein are subject
to change without notice.
PS No.A0118-17/17