SANYO LC863332A, LC863332, LC863328A, LC863324, LC863320A Datasheet

...
Ordering number : ENN*6695
CMOS IC
LC863332/28/24/20/16A
8-Bit Single Chip Microcontroller
Preliminary Overview
The LC863332/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
- Five 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
- 15-source 9-vectored interrupt system
- Integrated system clock generator and display clock generator X’tal oscillator (32.768kHz) for PLL reference is used for TV control.
All of the above functions are fabricated on a single chip.
Ver.1.01 N1798
91400 RM (IM) HS No.6695-1/20
LC863332/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
(2) Random Access Memory (RAM) : 512 × 8 bits (including 128 bytes for ROM correction function) 352
(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 16 × 17 dot and 8 × 9 dot character font
- 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
- 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 : ran ge depends on display mode : r efer to the manual f o r details.
(4) 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
(5) 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)
- Input port : 1 port (1 terminal)
8 bits for CGROM
×
9 bits (for CRT display)
×
Internal VCO
14.156MHz 4.5V to
(Ref : X’tal 32.768kHz)
Internal RC 800kHz 4.5V to
Crystal 32.768kHz 4.5V to
5.5V
5.5V
5.5V
No.6695-2/20
LC863332/28/24/20/16A
(6) AD converter
- 5 channels × 8-bit AD converters (7) 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
(8) PWM output
- 3 channels × 7-bit PWM
(9) 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
(10) Remote control receiver circuit (connected to the P73/INT3/T0IN terminal)
- Noise rejection function
- Polarity switching
(11) Watchdog timer
External RC circuit is required Interrupt or system reset is activated when the timer overflows
(12) ROM correction function
Max 128 bytes / 2 addresses
(13) Interrupts
- 15 sources 9 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. Vertical synchronous signal interrupt (
), horizontal line (
VS
HS
), AD
9. IIC, Port 0
No.6695-3/20
LC863332/28/24/20/16A
- Interrupt prior ity control Three interrupt priorities are supported (low, high and highest) and multi-level nesting is possible. Low or high priori ty can b e a ssigne d to the int err upt s from 3 to 9 list ed a bo ve. For the exte rna l int err upt INT 0 and IN T1 , high or highest priority can be set.
(14) Sub-routine stack level
- A maximum of 128 levels (stack is built in the internal RAM)
(15) Multiplication/division instruction
- 16 bits × 8 bits (7 instruction cycle times)
- 16 bits / 8 bits (7 instruction cycle times)
(16) 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
(17) 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.
Input the interrupt condition to Port 0.
) to low level.
RES
(18) Package
- DIP42S
- QIP48E
(19) Development tools
- Flash EEPROM: LC86F3348A
- Evaluation chip: LC863096
- Emulator: EVA86000 (main) + ECB863200 (evaluation chip board)
+ POD863300 (pod: DIP42S) or POD863301 (QIP48E)
No.6695-4/20
System Bl ock Diagram
IIC
SIO0
Timer 0
Timer 1
Base Timer
ADC
INT0-3
Noise Rejection Filter
PWM
Interrupt Control
Standby Control
X’tal
RC
VCO
PLL
LC863332/28/24/20/16A
Clock
Generator
ROM Correct Control
XRAM
Bus Interface
Port 1
Port 6
Port 7
Port 8
OSD Control Circuit
CGROM
VRAM
IR PLA
ROM
PC
ACC
B Register
C Register
ALU
PSW
RAR
RAM
Stack Pointer
Port 0
Watch Dog Timer
No.6695-5/20
Pin Assignment
R
G
L
I
• DIP42S
P10/SO0
P11/SI0
P12/SCK0 P13/PWM1 P14/PWM2 P15/PWM3
P17/PWM
VDD P84/AN4 P85/AN5 P86/AN6 P87/AN7
P83/AN3
• QIP48E
P15/PWM3
P17/PWM
VSS
XT1
XT2
VDD
P84/AN4 P85/AN5 P86/AN6 P87/AN7
P16
VSS XT1 XT2
RES
FILT
VS HS
P16
NC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
NC
48
1 2 3 4 5 6 7 8 9 10 11 12
13
RES
P14/PWM2
47
14
FILT
P13/PWM1
46
15
P83/AN3
P12/SCK0
45
16
NC
P11/SI0
44
17
VS
P10/SO0
43
18
HS
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22
NC
42
19
P07
41
20
LC863332/28/24/20/16A
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
40
39
21
22
B
B
Package Dimensi on
(unit : mm)
3025B
P04
P03
38
37
36 35 34 33 32 31 30 29 28 27 26 25
23
24
NC
P02 P01 P00 NC P73/INT3/T0IN P72/INT2/T0IN P71/INT1 P70/INT0 P63/SCLK1 P62/SDA1 P61/SCLK0 P60/SDA0
SANYO : DIP-42S(600mil)
Package Dimension
(unit : mm)
3156
SANYO : QIP-48E
No.6695-6/20
Loading...
+ 14 hidden pages