SAMSUNG KS88C6108

KS88C6108/C6116/P6116 MICROCONTROLLERS
1
PRODUCT OVERVIEW
PRODUCT OVERVIEW
SAM8 PRODUCT FAMILY
Samsung's SAM8 family of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU, a wide range
of integrated peripherals, and various mask-programmable ROM sizes. Important CPU features include:
— Efficient register-oriented architecture
— Selectable CPU clock sources
— Idle and Stop power-down mode release by interrupt
— Built-in basic timer with watchdog function
A sophisticated interrupt structure recognizes up to eight interrupt levels. Each level can have one or more
interrupt sources and vectors. Fast interrupt processing (within a minimum six CPU clocks) can be assigned to
specific interrupt levels.
KS88C6108/C6116/P6116 MICROCONTROLLERS
The KS88C6108/C6116/P6116 single-chip 8-bit
microcontroller is based on the powerful SAM8 CPU
architecture. The internal register file is logically
expanded to increase the on-chip register space. The
KS88C6108/C6116/P6116 have 8/16 K bytes of onchip program ROM.
Following Samsung's modular design approach, the
following peripherals were integrated with the SAM8
core:
— Multi master IIC-bus with DDC support.
The KS88C6108/C6116/P6116 are a versatile
microcontroller that is ideal for use in multi-sync
monitors or in general-purpose applications that
require sophisticated timer/counter, PWM, sync signal
processing, and multi-master IIC-bus support with
DDC. It is available in a 42-pin SDIP or a 44-pin QFP
package.
— Four programmable I/O ports (total 28 pins)
— One 8-bit basic timer for oscillation stabilization
and watchdog functions
— One 8-bit general-purpose timer/counter with
selectable clock sources
— One 8-bit counter with selectable clock sources,
including Hsync or Csync input
— One 8-bit timer for interval mode
— PWM block with seven 8-bit PWM circuits
— Sync processor block (for Vsync and Hsync I/O,
Csync input, and Clamp signal output)
Figure 1-1. KS88C6108/C6116/P6116
Microcontrollers
1-1
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
FEATURES
CPU
— Two selectable internal clock frequencies
•
— Hsync (or Csync) input from the sync
processor block
SAM8 CPU core
Memory
•
8/16-Kbyte internal program memory (ROM)
•
272-byte general-purpose register area
— External clock source
Pulse Width Modulator
•
Instruction Set
•
78 instructions
•
IDLE and STOP instructions added for powerdown modes
— 8-bit basic frame
— Four push-pull and three n-channel,
open-drain output channels
— Selectable clock frequencies: 46.875 kHz at
12 MHz fosc.
Instruction Execution Time
•
500 ns minimum (with 12 MHz CPU clock)
Interrupts
Seven 8-bit PWM modules:
Sync Processor
•
Detection of sync input signals (Vsync-I, Hsync-I,
and Csync-I)
•
Sync signal separation and output (Hsync-O,
Vsync-O, and Clamp-O)
•
Nine interrupt sources
•
Nine interrupt vectors
•
Six interrupt levels
•
Pseudo sync signal output
•
Fast interrupt processing for a select level
•
Programmable clamp signal output
General I/O
•
Four I/O ports (total 28 pins):
8-Bit Basic Timer
•
•
Programmable timer for oscillation stabilization
interval control or watchdog timer functions
Three selectable internal clock frequencies
DDC and Multi-Master IIC-Bus
•
Serial peripheral interface
•
Support for display data channel (DDC)
Oscillator Frequency
•
6 MHz to 12 MHz external crystal oscillator
Timer/Counters
•
Interval Max. 12MHz CPU clock
•
One 8-bit general-purpose timer/counter with
programmable operating modes and the following
clock source options:
Operating Temperature Range
— Two selectable internal clock frequencies
Operating Voltage Range
•
One 8-bit timer with interval operating mode
•
•
One 8-bit counter with the following clock source
options:
Package Types
1-2
•
•
– 40°C to + 85°C
4.5 V to 5.5 V
42-pin SDIP, 44-pin QFP
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
BLOCK DIAGRAM
k0.7/INT0-INT2
k2.7
P0.0
P2.0
RESET
INT0-INT2
XIN
XOUT
PWM0
PWM1
•
•
•
PWM6
Vsync-I
Hsync-I
Csync-I
Vsync-O
Hsync-O
Clamp-O
PORT 0
MAIN
OSC
PORT 2
INTERNAL BUS
k1.3
PORT 1
P1.0
PORT3
P3.0
I/O PORT and INTERRUPT
CONTROL
8-BIT
PWM
(7-CH)
SAM8 CPU
SYNC
PROCESSOR
k3.7
8/16-KBYTE MASK ROM
272-BYTE REGISTER FILE
T0CAP
TEST
DDC and
Multi master
IIC-bus
SCL
SDA
TIMER 0
8-blt
Counter
(TIMER 1)
Interval
timer
(TIMER 2)
T1CK
Figure 1-2. Block Diagram
1-3
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
PIN ASSIGNMENTS
P3.1
1
42
P3.2
P3.0
2
41
VSS2
P0.0 / INT0
3
40
P3.3
P0.1 / INT1
4
39
P3.4
P0.2 / INT2
5
38
P3.5
P0.3
6
37
P3.6
P0.4 / T0CAP
7
36
P3.7
P0.5 / T1CK
8
35
RESET
VDD
9
34
XOUT
P0.6
10
33
XIN
P0.7
11
32
VSS1
P1.0
12
31
P2.7 / Csync-I
P1.1
13
30
Hsync-I
P1.2
14
29
Vsync-I (VCLK)
KS88C6108/
KS88C6116
42-SDIP
(Top View)
P1.3
15
28
Clamp-O
P2.0 / PWM0
16
27
Hsync-O
P2.1 / PWM1
17
26
Vsync-O
P2.2 / PWM2
18
25
SCL
P2.3 / PWM3
19
24
SDA
P2.4 / PWM4
20
23
TEST
P2.5 / PWM5
21
22
P2.6 / PWM6
Figure 1-3. Pin Assignment Diagram (42-SDIP Package)
1-4
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
P2.0 / PWM0
P1.3
P1.2
P1.1
P1.0
P0.7
P0.6
VDD
P0.5 / T1CK
P0.4 / T0CAP
P0.3
33
32
31
30
29
28
27
26
25
24
23
PIN ASSIGNMENTS (Cont.)
34
22
P0.2 / INT2
P2.2 / PWM2
35
21
P0.1 / INT1
P2.3 / PWM3
36
20
P0.0 / INT0
P2.4 / PWM4
37
19
P3.0
P2.5 / PWM5
38
18
P3.1
17
NC
16
P3.2
VSS2
P2.1 / PWM1
N.C.
39
P2.6 / PWM6
40
KS88C6108/
KS88C6116
44-QFP
(Top View)
P3.6
9
11
8
XOUT
RESET
10
7
P3.7
6
P3.5
XIN
12
VSS1
44
5
Vsync-O
P2.7 / Csync-I
P3.4
4
43
Vsync-I
SCL
Hsync-I
P3.3
13
3
14
2
42
Clamp-O
SDA
1
41
Hsync-O
TEST
15
Figure 1-4. Pin Assignment Diagram (44-QFP Package)
1-5
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
PIN DESCRIPTIONS
Table 1-1. KS88C6108/C6116/P6116 Pin Descriptions
Pin
Names
Pin
Type
Pin
Description
Circuit
Type
SDIP Pin
Numbers
Shared
Functions
General-purpose, 8-bit I/O port. Share
functions include three external interrupt
inputs, I/O for timers 0 and 1. You can
selectively configure port 0 pins to input or
output mode.
D-1
3
4
5
6
7
8
10
11
INT0
INT1
INT2
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
I/O
P1.0–P1.3
I/O
General purpose, 8-bit I/O port. You can
selectively configure port 1 pins to input or
push-pull output mode.
D-1
12–15
–
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
I/O
General purpose, 8-bit I/O port. You can
selectively configure port 2 pins to input or
output mode. The port 2 pin circuit are
designed to push-pull PWM output and
Csync signal input.
D-1
D-1
D-1
D-1
E-1
E-1
E-1
D-1
16
17
18
19
20
21
22
31
PWM0
PWM1
PWM2
PWM3
PWM4
PWM5
PWM6
Csync-I
P3.0–P3.7
I/O
General-purpose, 8-bit I/O port. You can
selectively configure port 3 pins to input or
output mode.
E
2, 1, 42,
40–36
–
Hsync-I
Vsync-I
Clamp-O
Hsync-O
Vsync-O
SCL
SDA
I
I
O
O
O
I/O
I/O
The pins are sync processor signal I/O and
IIC-bus clock and data I/O
A
A
A
A
A
G-3
G-3
30
29
28
27
26
25
24
–
T0CAP
T1CK
VDD
VSS1, VSS2
–
Power supply pins
–
9
32, 41
–
XIN, XOUT
–
System clock input and output pins
–
33, 34
–
RESET
I
System reset pin
B
35
–
TEST
I
Factory test pin input
0 V: normal operation
5 V: factory test mode
–
23
–
NOTE: See ‘Pin Circuit Diagrams’ on next two pages for detailed information on circuit types A, B, D-1, E, E-1,and G-3.
1-6
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
PIN CIRCUITS
Vdd
Vss
Figure 1-5. Pin Circuit Type A
Vdd
280 KΩ
Noise Filter
RESET
Figure 1-6. Pin Circuit Type B (RESET)
Vdd
Data or
Other
function
Output
Output
Disable
Vss
Digital Input
or TTL Input
Figure 1-7. Pin Circuit Type D-1
1-7
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
Vdd
Typical
47-KΩ
Pull-up
enable
Vdd
Data
Output
Open drain
Output
Disable
Vss
Input
Figure 1-7. Pin Circuit Type E
Vdd
Data
IN/OUT
Open drain
Output
Disable
Vss
Input
Figure 1-8. Pin Circuit Type E-1
1-8
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
Output
Data
Vss
Input
Figure 1-9. Pin Circuit Type G-3
1-9
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
NOTES
1-10
KS88C6108/C6116/P6116 MICROCONTROLLERS
16
ELECTRICAL DATA
ELECTRICAL DATA
OVERVIEW
In this section, KS88C6108/C6116 electrical characteristics are presented in tables and graphs. The information
is arranged in the following order:
— Absolute maximum ratings
— D.C. electrical characteristics
— I/O capacitance
— A.C. electrical characteristics
— Oscillation characteristics
— Oscillation stabilization time
— Schmitt trigger characteristics
16-1
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
Table 16-1. Absolute Maximum Ratings
(TA = 25°C)
Parameter
Symbol
Conditions
Rating
Unit
Supply voltage
VDD
–
– 0.3 to + 7.0
V
Input voltage
VI1
Type C (n-channel, open-drain)
– 0.3 to + 10
V
VI2
All port pins except VI1
– 0.3 to VDD + 0.3
Output voltage
VO
All output pins
– 0.3 to VDD + 0.3
Output current
High
IOH
One I/O pin active
– 10
All I/O pins active
– 60
IOL1
One I/O pin active
+ 30
IOL2
Total pin current except port 3
+ 100
IOL3
Sync-processor I/O pins and IIC-bus
clock and data pins
+ 150
Output current
Low
V
mA
mA
Operating
temperature
TA
–
– 40 to + 85
°C
Storage
temperature
TSTG
–
– 65 to + 150
°C
Table 16-2. D.C. Electrical Characteristics
(TA = – 40°C to + 85°C, VDD = 4.5 V to 5.5 V)
Parameter
Input High
voltage
Input Low
voltage
Output High
voltage
16-2
Symbol
Conditions
Min
Typ
Max
Unit
0.8 VDD
–
VDD
V
VIH1
All input pins except VIH2 and VIH3
VIH2
XIN, XOUT
VIH3
TTL input (HsyncI, VsyncI and CsyncI)
VIL1
All input pins except VIL2
and VIL3
VIL2
XIN, XOUT
0.4
VIL3
TTL input (HsyncI, VsyncI and CsyncI)
0.8
VDD – 0.5
VDD
2.0
VDD
–
VOH1
VDD= 4.5 V to 5.5 V
IOH = – 8 mA Port 1 only
VDD – 1.0
VOH2
VDD = 4.5 V to 5.5 V
IOH = – 2 mA Ports 0, 2, ClampO, H
and VsyncO
VDD – 1.0
VOH3
VDD = 4.5 V to 5.5 V
IOH = – 6 mA, Port 3
VDD – 1.0
–
–
0.2 VDD
–
V
V
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
Table 16-2. D.C. Electrical Characteristics (Continued)
(TA = – 40°C to + 85°C, VDD = 4.5 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
–
–
0.4
V
VOL1
VDD = 4.5 V to 5.5 V
IOL = 8 mA, port 1 only
VOL2
IOL = 2 mA
Port 0, 2, ClampO, HsyncO and
VsyncO
0.4
VOL3
IOL = 6 mA
Port 3, SCL and SDA
0.4
ILIH1
VIN = VDD
All input pins except Xin, Xout
–
–
3
ILIH2
VIN = VDD
XOUT only
–
–
20
ILIH3
VIN = VDD
XIN only
2.5
6
20
ILIL1
VIN = 0 V
All input pins except Xin, Xout
and RESET
–
–
–3
ILIL2
VIN = 0 V; XOUT only
–
–
– 20
ILIL3
VIN = 0 V; XIN only
– 2.5
–6
– 20
Output High
leakage current
ILOHL
VOUT = VDD
All output pins except port 1
–
–
3
µA
Output Low
leakage current
ILOL
VOUT = 0 V
–
–
–3
µA
Pull-up resistor
RL1
VIN = 0 V;
VDD = 4.5 V to 5.5 V
Port 3
20
47
80
kΩ
RL2
VIN = 0 V;
VDD = 4.5 V to 5.5 V
RESET only
150
280
480
IDD1
VDD = 4.5 V to 5.5 V
12 MHz CPU clock
–
15
30
IDD2
Idle mode;
VDD = 4.5 V to 5.5 V
12 MHz CPU clock
5
10
IDD3
Stop mode; VDD = 5.0 V
1
10
Output Low
voltage
Input High
leakage current
Input Low
leakage current
Supply current
(NOTE)
µA
µA
mA
µA
NOTE: Supply current does not include drawn internal pull–up resistors and external loads of output.
16-3
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
Table 16-3. Data Retention Supply Voltage in Stop Mode
(TA = – 40 °C to + 85 °C)
Parameter
Symbol
Data retention
supply voltage
VDDDR
Data retention
supply current
IDDDR
Conditions
Min
Typ
Max
Unit
Stop mode
2
–
6
V
Stop mode, VDDDR = 2.0 V
–
–
5
µA
NOTES:
1. During the oscillator stabilization wait time (tWAIT ), all CPU operations must be stopped.
2. Supply current does not include drawn through internal pull–up resistors and external output current loads.
OSCILLATION
STABILIZATION
TIME
≈
RESET
OCCURS
NORMAL
OPERATING
MODE
STOP MODE
DATA RETENTION MODE
≈
VDD
VDDDR
EXECUTION OF
STOP INSTRUCTION
RESET
NOTE:
t WAIT is the same as 4096 × 32 × 1 / fOSC .
tWAIT
Figure 16-1. Stop Mode Release Timing When Initiated by a Reset
Table 16-4. Input/Output Capacitance
(TA = –40°C to + 85°C, VDD = 0 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input
capacitance
CIN
f = 1 MHz; unmeasured pins
are connected to VSS
–
–
10
pF
Output
capacitance
COUT
I/O capacitance
16-4
CIO
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
Table 16-5. A.C. Electrical Characteristics
(TA = – 40°C to + 85°C, VDD = 4.5 V to 5.5V)
Parameter
Noise Filter
Symbol
Conditions
Min
Typ
Max
Unit
ns
tNF1H,
tNF1L
P0.2–P0.0, T0CAP and
T1CK (RC delay)
300
–
–
tNF2
RESET only (RC delay)
800
–
–
1 tCPU
t NF1L
tNF1H
tNF2
0.8 VDD
0.2 VDD
NOTE:
The unit tCPU means one CPU clock period.
Figure 16-2. Input Timing Measurement Points for P0.0–P0.2, T0CAP and T1CK
16-5
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
Table 16-6. Oscillation Characteristics
(TA = – 40°C + 85°C)
Oscillator
Main crystal or
ceramic
Clock Circuit
Conditions
C1
XIN
Min
Typ
Max
Unit
VDD = 4.5 V to 5.5 V
6
–
12
MHz
VDD = 4.5 V to 5.5 V
6
–
12
MHz
XOUT
C2
External clock
(main)
XIN
XOUT
NOTE: The maximum oscillator frequency is 12 MHz. If you use an oscillator frequency higher than 12 MHz, you cannot
select a non-divided CPU clock using CLKCON settings. That is, you must select one of the divide-by values.
Table 16-7. Oscillation Stabilization Time
(TA = – 40°C + 85°C, VDD = 4.5 V to 5.5 V)
Oscillator
Test Condition
Min
Typ
Max
Unit
ms
Crystal
VDD = 4.5 V to 5.5 V
–
–
20
Ceramic
VDD = 4.5 V to 5.5V
–
–
10
External clock
XIN input High and Low level width
(tXH, tXL)
25
–
500
ns
NOTE: Oscillation stabilization time is the time required for the CPU clock to return to its normal oscillation frequency after
a power-on occurs, or when Stop mode is released.
1 / fOSC
t XL
t XH
VDD
XIN
0.4 V
Figure 16-3. Clock Timing Measurement Points for XIN
16-6
=0.5 V
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
Vout
VDD
A : 0.2 V DD
B : 0.4 V DD
C : 0.6 V DD
D : 0.8 V DD
VSS
Vin
A
B
C
D
Figure 16-4. Schmitt Trigger Characteristics (Normal Port; except TTL Input)
16-7
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
NOTES
16-8
KS88C6108/C6116/P6116 MICROCONTROLLERS
17
MECHANICAL DATA
MECHANICAL DATA
OVERVIEW
The KS88C6116 microcontroller is available in a 42-pin SDIP package (Samsung part number 42-SDIP-600) and
a 44-QFP package (Samsung part number 44-QFP-1010B).
22
=0.1
1.00
=0.1
1.778
0.51MIN
=
0.25 +0.1
0.05
3.50
(1.77)
=0.3
=0.2
3.30
39.10
5.08MAX
21
=0.2
14.00
42-SDIP-600
#1
0.50
0 ~ 15 °
15.24
=0.2
42
NOTE: Dimensions are in millimeters.
Figure 17-1. 42-Pin SDIP Package Mechanical Data (42-SDIP-600)
17-1
MECHANICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
=0.3
10.00
=0.2
0~8°
0.15
+0.10
- 0.05
=0.3
10.00 =0.2
=
0.80 .20
13.20
13.20
44-QFP-1010B
0.10 MAX
#44
0.05 MIN
2.05
#1
0.80
=0.10
+0.10
0.35 - 0.05
(1.00)
2.30 MAX
NOTE: Dimensions are in millimeters.
Figure 17-2. 44-Pin QFP Package Mechanical Data (44-QFP-1010B)
17-2
KS88C6108/C6116/P6116 MICROCONTROLLERS
18
KS88P6116 OTP
KS88P6116 OTP
OVERVIEW
The KS88P6116 single-chip CMOS microcontroller is the OTP (One Time Programmable) version of the
KS88C6108/C6116 microcontrollers. It has an on-chip EPROM instead of masked ROM. The EPROM is
accessed by serial data format.
The KS88P6116 is fully compatible with the KS88C6108/C6116, both in function and in pin configuration.
Because of its simple programming requirements, the KS88P6116 is ideal for use as an evaluation chip for the
KS88C6108/C6116.
P3.1
1
42
P3.2
P3.0
2
41
V SS2 /V SS
P0.0/INT0
3
40
P3.3
P0.1/INT1
4
39
P3.4
P0.2/INT1
5
38
P3.5
P0.3
6
37
P3.6
P0.4/T0CAP
7
36
P0.5/T1CK
8
35
P3.7
RESET /RESET
V DD/VDD
9
34
XOUT
33
XIN
32
V SS1/V SS
31
P2.7/Csync-1
KS88P6116
42-SDIP
(Top View)
P0.6
10
P0.7
11
SCLK/P1.0
12
SDAT/P1.1
13
30
Hsync-1
P1.2
14
29
Hsync-1 (VCLK)
P1.3
15
28
Clamp-O
P2.0/PWM0
16
27
Hsync-O
P2.1/PWM1
17
26
Vsync-O
P2.2/PWM2
18
25
SLC
P2.3/PWM3
19
24
SDA
P2.4/PWM4
20
23
TEST/V PP
P2.5/PWM5
21
22
P2.6/PWM6
NOTE: The bolds indicate an OTP pin name.
Figure 18-1. KS88P6116 Pin Assignments (42-SDIP Package)
18-1
P2.0 / PWM0
P1.3
P1.2
P1.1 / SDAT
P1.0 / SCLK
P0.7
P0.6
VDD / VDD
P0.5 / T1CK
P0.4 / T0CAP
P0.3
32
31
30
29
28
27
26
25
24
23
KS88C6108/C6116/P6116 MICROCONTROLLERS
33
KS88P6116 OTP
P2.1 / PWM1
34
22
P0.2 / INT2
P2.2 / PWM2
35
21
P0.1 / INT1
P2.3 / PWM3
36
20
P0.0 / INT0
P2.4 / PWM4
37
19
P3.0
P2.5 / PWM5
38
18
P3.1
N.C.
39
17
NC
P2.6 / PWM6
40
16
P3.2
VPP/TEST
41
15
VSS2 / VSS
SDA
42
14
P3.3
SCL
43
13
P3.4
Vsync-O
44
12
P3.5
5
6
7
8
9
P2.7 / Csync-I
VSS / VSS1
XIN
XOUT
RESET/ RESET
11
4
Hsync-I
P3.6
3
Vsync-I
10
2
Clamp-O
NOTE:
P3.7
1
Hsync-O
KS88P6116
44-QFP
(Top View)
The bolds indicate an OTP pin name.
Figure 18-2. KS88P6116 Pin Assignments (44-QFP Package)
18-2
KS88C6108/C6116/P6116 MICROCONTROLLERS
KS88P6116 OTP
Table 18-1. Descriptions of Pins Used to Read/Write the EPROM
Main Chip
During Programming
Pin Name
Pin Name
Pin No.
I/O
Function
P1.1
SDAT
13 (*30)
I/O
Serial DATa Pin (Output when reading, Input
when writing) Input & Push-pull Output Port can
be assigned
P1.0
SCLK
12 (*29)
I
Serial CLocK Pin (Input Only Pin)
TEST
VPP(TEST)
23 (*41)
I
EPROM Cell Writing Power Supply Pin
(Indicates OTP Mode Entering) When writing
12.5V is applied and when reading 5V is
applied.(Option)
RESET
RESET
35 (*9)
I
Chip Initialization
VDD / VSS1 /
VSS2
VDD / VSS /
VSS
9 / 32 / 41
(*26 / 6 / 15)
I
Logic Power Supply Pin. VDD should be tied to
5V during programming.
NOTE: * means the 44-QFP OTP pin number.
Table 18-2. Comparison of KS88P6116 and KS88C6108/C6116 Features
Characteristic
KS88P6116
KS88C6108/C6116
Program Memory
16 K byte EPROM
16 K byte mask ROM
Operating Voltage (VDD)
4.5 V to 5.5 V
4.5 V to 5.5V
OTP Programming Mode
VDD = 5 V, VPP(TEST)=12.5V
Pin Configuration
42SDIP, 44QFP
42SDIP, 44QFP
EPROM Programmability
User Program 1 time
Programmed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the VPP(TEST) pin of the KS88P6116, the EPROM programming mode is entered.
The operating mode (read, write, or read protection) is selected according to the input signals to the pins listed in
Table 16-3 below.
Table 18-3. Operating Mode Selection Criteria
VDD
VPP
(TEST)
REG/
MEM
ADDRESS
(A15-A0)
R/W
MODE
5V
5V
0
0000H
1
EPROM read
12.5 V
0
0000H
0
EPROM program
12.5 V
0
0000H
1
EPROM verify
12.5 V
1
0E3FH
0
EPROM read protection
NOTE: "0" means Low level; "1" means High level.
18-3
KS88P6116 OTP
KS88C6108/C6116/P6116 MICROCONTROLLERS
D.C. ELECTRICAL CHARACTERISTICS
Table 18-4. D.C. Electrical Characteristics
(TA = – 40 °C to + 85 °C, VDD = 4.5 V to 5.5 V)
Parameter
Symbol
Conditions
Input High
leakage current
ILIH1
VIN = VDD;
All input pins except Xin, Xout
ILIH2
VIN = VDD;
XOUT only
ILIH3
VIN = VDD;
XIN only
ILIL1
Min
Typ
Max
Unit
–
–
3
µA
20
2.5
6
20
VIN = 0 V;
All input pins except Xin, Xout
and RESET
–
–
–3
ILIL2
VIN = 0 V; XOUT only
–
–
– 20
ILIL3
VIN = 0 V; XIN only
– 2.5
–6
– 20
Output High
leakage current
ILOH1
VOUT = VDD
–
–
3
µA
Output Low
leakage current
ILOL1
VOUT = 0 V
–
–
–3
µA
Supply current
IDD1
Normal operating mode;
–
15
30
mA
5
10
–
1
10
µA
Input Low
leakage current
µA
12 MHz CPU clock
IDD2
IDLE mode;
12 MHz CPU clock
IDD3
Stop mode; VDD = 5.0 V
Data retention
supply voltage
VDDDR Stop mode
2
–
6
V
Data retention
supply voltage
IDDDR
–
–
5
µA
18-4
Stop mode; VDDDR = 2V
KS88C6108/C6116/P6116 MICROCONTROLLERS
KS88P6116 OTP
START
Address= First Location
VDD =5V, V PP=12.5V
x= 0
Program One 1ms Pulse
Increment X
YES
x = 10
NO
FAIL
Verify Byte
Verify 1 Byte
Last Address
FAIL
NO
Increment Address
VDD = V PP= 5 V
FAIL
Compare All Byte
PASS
Device Failed
Device Passed
Figure 18-3. OTP Programming Algorithm
18-5
KS88P6116 OTP
KS88C6108/C6116/P6116 MICROCONTROLLERS
NOTE
18-6