ChipFind - документация

Электронный компонент: KS88P6116

Скачать:  PDF   ZIP
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
1-1
1
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 on-
chip program ROM.
Following Samsung's modular design approach, the
following peripherals were integrated with the SAM8
core:
-- 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)
-- 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.
Figure 1-1. KS88C6108/C6116/P6116
Microcontrollers
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
1-2
FEATURES
CPU
SAM8 CPU core
Memory
8/16-Kbyte internal program memory (ROM)
272-byte general-purpose register area
Instruction Set
78 instructions
IDLE and STOP instructions added for power-
down modes
Instruction Execution Time
500 ns minimum (with 12 MHz CPU clock)
Interrupts
Nine interrupt sources
Nine interrupt vectors
Six interrupt levels
Fast interrupt processing for a select level
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
Timer/Counters
One 8-bit general-purpose timer/counter with
programmable operating modes and the following
clock source options:
-- Two selectable internal clock frequencies
One 8-bit timer with interval operating mode
One 8-bit counter with the following clock source
options:
-- Two selectable internal clock frequencies
-- Hsync (or Csync) input from the sync
processor block
-- External clock source
Pulse Width Modulator
Seven 8-bit PWM modules:
-- 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.
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)
Pseudo sync signal output
Programmable clamp signal output
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
Interval Max. 12MHz CPU clock
Operating Temperature Range
40
C to + 85
C
Operating Voltage Range
4.5 V to 5.5 V
Package Types
42-pin SDIP, 44-pin QFP
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
1-3
BLOCK DIAGRAM
RESET
P1.0
k
1.3
X
IN
X
OUT
MAIN
OSC
P3.0
k
3.7
INTERNAL BUS
P2.0
k
2.7
PORT 0
P0.0
k
0.7/INT0-INT2
PORT 2
8-BIT
PWM
(7-CH)
SYNC
PRO-
CESSOR
TIMER 0
PORT 1
PORT3
PWM0
PWM1
PWM6
Vsync-I
Hsync-I
Csync-I
Vsync-O
Hsync-O
Clamp-O
T0CAP
8-blt
Counter
(TIMER 1)
T1CK
DDC and
Multi master
IIC-bus
SCL
SDA
INT0-INT2
TEST
Interval
timer
(TIMER 2)
SAM8 CPU
8/16-KBYTE MASK ROM
272-BYTE REGISTER FILE
I/O PORT and INTERRUPT
CONTROL
Figure 1-2. Block Diagram
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
1-4
PIN ASSIGNMENTS
P3.1
P3.0
P0.0 / INT0
P0.1 / INT1
P0.2 / INT2
P0.3
P0.4 / T0CAP
P0.5 / T1CK
VDD
P0.6
P0.7
P1.0
P1.1
P1.2
P1.3
P2.0 / PWM0
P2.1 / PWM1
P2.2 / PWM2
P2.3 / PWM3
P2.4 / PWM4
P2.5 / PWM 5
KS88C6108/
KS88C6116
42-SDIP
(Top View)
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
P3.2
VSS2
P3.3
P3.4
P3.5
P3.6
P3.7
RESET
XOUT
XIN
VSS1
P2.7 / Csync-I
Hsync-I
Vsync-I (VCLK)
Clamp-O
Hsync-O
Vsync-O
SCL
SDA
TEST
P2.6 / PWM6
Figure 1-3. Pin Assignment Diagram (42-SDIP Package)
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
1-5
PIN ASSIGNMENTS
(Cont.)
P2.0 / PWM0
P1.3
P1.2
P1.1
P1.0
P0.7
P0.6
VDD
P0.5 / T1CK
P0.4 / T0CAP
P0.3
P2.1 / PWM1
P2.2 / PWM2
P2.3 / PWM3
P2.4 / PWM4
P2.5 / PWM5
N.C.
P2.6 / PWM6
TEST
SDA
SCL
Vsync-O
P0.2 / INT2
P0.1 / INT1
P0.0 / INT0
P3.0
P3.1
NC
P3.2
VSS2
P3.3
P3.4
P3.5
Hsync-O
Clamp-O
Vsync-I
Hsync-I
P2.7 / Csync-I
VSS1
XIN
XOUT
RESET
P3.7
P3.6
34
35
36
37
38
39
40
41
42
43
44
22
21
20
19
18
17
16
15
14
13
12
KS88C6108/
KS88C6116
44-QFP
(Top View)
1
2
3
4
5
6
7
8
9
10
11
33
32
31
30
29
28
27
26
25
24
23
Figure 1-4. Pin Assignment Diagram (44-QFP Package)
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
1-6
PIN DESCRIPTIONS
Table 1-1. KS88C6108/C6116/P6116 Pin Descriptions
Pin
Names
Pin
Type
Pin
Description
Circuit
Type
SDIP Pin
Numbers
Shared
Functions
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
I/O
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
T0CAP
T1CK
P1.0P1.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
1215
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.0P3.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,
4036
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
V
DD
V
SS1
, V
SS2
Power supply pins
9
32, 41
X
IN
, X
OUT
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.
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
1-7
PIN CIRCUITS
Vss
Vdd
Figure 1-5. Pin Circuit Type A
Vdd
Noise Filter
280 K
RESET
Figure 1-6. Pin Circuit Type B (
RESET
)
Output
Vss
Vdd
Output
Disable
Data or
Other
function
Digital Input
or TTL Input
Figure 1-7. Pin Circuit Type D-1
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
1-8
Typical
47-K
Data
Vdd
Output
Pull-up
enable
Input
Vss
Open drain
Output
Disable
Vdd
Figure 1-7. Pin Circuit Type E
Output
Disable
Data
IN/OUT
Input
Vss
Open drain
Vdd
Figure 1-8. Pin Circuit Type E-1
KS88C6108/C6116/P6116 MICROCONTROLLERS
PRODUCT OVERVIEW
1-9
Data
Output
Input
Vss
Figure 1-9. Pin Circuit Type G-3
PRODUCT OVERVIEW
KS88C6108/C6116/P6116 MICROCONTROLLERS
1-10
NOTES
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
16-1
16
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
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
16-2
Table 16-1. Absolute Maximum Ratings
(T
A
= 25
C)
Parameter
Symbol
Conditions
Rating
Unit
Supply voltage
V
DD
0.3 to + 7.0
V
Input voltage
V
I1
Type C (n-channel, open-drain)
0.3 to
+ 10
V
V
I2
All port pins except V
I1
0.3 to V
DD
+ 0.3
Output voltage
V
O
All output pins
0.3 to V
DD
+ 0.3
V
Output current
High
I
O H
One I/O pin active
10
mA
All I/O pins active
60
Output current
Low
I
O L 1
One I/O pin active
+ 30
mA
I
O L 2
Total pin current except port 3
+ 100
I
O L 3
Sync-processor I/O pins and IIC-bus
clock and data pins
+ 150
Operating
temperature
T
A
40 to + 85
C
Storage
temperature
T
STG
65 to + 150
C
Table 16-2. D.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.5 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input High
voltage
V
IH1
All input pins except V
IH2
and V
IH3
0.8 V
DD
V
DD
V
V
IH2
X
IN
, X
OUT
V
DD
0.5
V
DD
V
IH3
TTL input (HsyncI, VsyncI and CsyncI)
2.0
V
DD
Input Low
voltage
V
IL1
All input pins except V
IL2
and V
IL3
0.2 V
DD
V
V
IL2
X
IN
, X
OUT
0.4
V
IL3
TTL input (HsyncI, VsyncI and CsyncI)
0.8
Output High
voltage
V
OH1
V
DD
= 4.5 V to 5.5 V
I
OH
= 8 mA Port 1 only
V
DD
1.0
V
V
OH2
V
DD
= 4.5 V to 5.5 V
I
OH
= 2 mA Ports 0, 2, ClampO, H
and VsyncO
V
DD
1.0
V
OH3
V
DD
= 4.5 V to 5.5 V
I
OH
= 6 mA, Port 3
V
DD
1.0
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
16-3
Table 16-2. D.C. Electrical Characteristics (Continued)
(T
A
= 40
C to + 85
C, V
DD
= 4.5 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Output Low
voltage
V
OL1
V
DD
= 4.5 V to 5.5 V
I
OL
= 8 mA, port 1 only
0.4
V
V
OL2
I
OL
= 2 mA
Port 0, 2, ClampO, HsyncO and
VsyncO
0.4
V
OL3
I
OL
= 6 mA
Port 3, SCL and SDA
0.4
Input High
leakage current
I
LIH1
V
IN
= V
DD
All input pins except X
in,
X
out
3
A
I
LIH2
V
IN
= V
DD
X
OUT
only
20
I
LIH3
V
IN
= V
DD
X
IN
only
2.5
6
20
Input Low
leakage current
I
LIL1
V
IN
= 0 V
All input pins except X
in,
X
out
and
RESET
3
A
I
LIL2
V
IN
= 0 V; X
OUT
only
20
I
LIL3
V
IN
= 0 V; X
IN
only
2.5
6
20
Output High
leakage current
I
LOHL
V
OUT
= V
DD
All output pins except port 1
3
A
Output Low
leakage current
I
LOL
V
OUT
= 0 V
3
A
Pull-up resistor
R
L1
V
IN
= 0 V;
V
DD
= 4.5 V to 5.5 V
Port 3
20
47
80
k
R
L2
V
IN
= 0 V;
V
DD
= 4.5 V to 5.5 V
RESET
only
150
280
480
Supply current
(NOTE)
I
DD1
V
DD
= 4.5 V to 5.5 V
12 MHz CPU clock
15
30
mA
I
DD2
Idle mode;
V
DD
= 4.5 V to 5.5 V
12 MHz CPU clock
5
10
I
DD3
Stop mode; V
DD
= 5.0 V
1
10
A
NOTE: Supply current does not include drawn internal pullup resistors and external loads of output.
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
16-4
Table 16-3. Data Retention Supply Voltage in Stop Mode
(T
A
= 40
C to + 85
C)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Data retention
supply voltage
V
DDDR
Stop mode
2
6
V
Data retention
supply current
I
DDDR
Stop mode, V
DDDR
= 2.0 V
5
A
NOTES:
1. During the oscillator stabilization wait time (t
WAIT
), all CPU operations must be stopped.
2. Supply current does not include drawn through internal pullup resistors and external output current loads.
V
DD
RESET
EXECUTION OF
STOP INSTRUCTION
V
DDDR
DATA RETENTION MODE
STOP MODE
RESET
OCCURS
NORMAL
OPERATING
MODE
OSCILLATION
STABILIZATION
TIME
t
WAIT
NOTE:
t
WAIT
is the same as 4096
32
1 / f
OSC
.
Figure 16-1. Stop Mode Release Timing When Initiated by a Reset
Table 16-4. Input/Output Capacitance
(T
A
= 40
C to + 85
C, V
DD
=
0 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input
capacitance
C
IN
f = 1 MHz; unmeasured pins
are connected to V
SS
10
pF
Output
capacitance
C
OUT
I/O capacitance
C
IO
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
16-5
Table 16-5. A.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.5 V to 5.5V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Noise Filter
t
NF1H,
t
NF1L
P0.2P0.0, T0CAP and
T1CK (RC delay)
300
ns
t
NF2
RESET
only (RC delay)
800
1
t
CPU
t
NF1L
t
NF1H
0.8 V
DD
t
NF2
0.2 V
DD
NOTE:
The unit t
CPU
means one CPU clock period.
Figure 16-2. Input Timing Measurement Points for P0.0P0.2, T0CAP and T1CK
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
16-6
Table 16-6. Oscillation Characteristics
(T
A
= 40
C + 85
C)
Oscillator
Clock Circuit
Conditions
Min
Typ
Max
Unit
Main crystal or
ceramic
C2
C1
X
IN
X
OUT
V
DD
= 4.5 V to 5.5 V
6
12
MHz
External clock
(main)
X
IN
X
OUT
V
DD
= 4.5 V to 5.5 V
6
12
MHz
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
(T
A
= 40
C + 85
C, V
DD
= 4.5 V to 5.5 V)
Oscillator
Test Condition
Min
Typ
Max
Unit
Crystal
V
DD
= 4.5 V to 5.5 V
20
ms
Ceramic
V
DD
= 4.5 V to 5.5V
10
External clock
X
IN
input High and Low level width
(t
XH
, t
XL
)
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.
X
IN
t
XL
t
XH
1 /
f
OSC
V
DD
=
0.5 V
0.4 V
Figure 16-3. Clock Timing Measurement Points for X
IN
KS88C6108/C6116/P6116 MICROCONTROLLERS
ELECTRICAL DATA
16-7
V
DD
V
SS
Vout
A
B
C
D
Vin
A : 0.2 V DD
B : 0.4 V DD
C : 0.6 V DD
D : 0.8 V DD
Figure 16-4. Schmitt Trigger Characteristics (Normal Port; except TTL Input)
ELECTRICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
16-8
NOTES
KS88C6108/C6116/P6116 MICROCONTROLLERS
MECHANICAL DATA
17-1
17
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).
NOTE: Dimensions are in millimeters.
42-SDIP-600
14.00
=
0.2
0.50
=
0.1
39.10
=
0.2
0 ~ 15
0.25
+0.1
=
0.05
#1
21
42
22
15.24
(1.77)
1.00
=
0.1
1.778
0.51MIN
3.50
=
0.2
3.30
=
0.3
5.08MAX
Figure 17-1. 42-Pin SDIP Package Mechanical Data (42-SDIP-600)
MECHANICAL DATA
KS88C6108/C6116/P6116 MICROCONTROLLERS
17-2
NOTE: Dimensions are in millimeters.
44-QFP-1010B
13.20
=
0.3
#44
(1.00)
#1
13.20
=
0.3
0.35
+0.10
- 0.05
0.10 MAX
0~8
0.05 MIN
2.05
=
0.10
2.30 MAX
0.80
=
.20
0.15
+0.10
- 0.05
10.00
=
0.2
10.00
=
0.2
0.80
Figure 17-2. 44-Pin QFP Package Mechanical Data (44-QFP-1010B)
KS88C6108/C6116/P6116 MICROCONTROLLERS
KS88P6116 OTP
18-1
18
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.2
VSS2 /VSS
P3.3
P3.4
P3.5
P3.6
P3.7
RESET
/
RESET
XOUT
XIN
VSS1/VSS
P2.7/Csync-1
Hsync-1
Hsync-1 (VCLK)
Clamp-O
Hsync-O
Vsync-O
SLC
SDA
TEST/VPP
P2.6/PWM6
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
KS88P6116
42-SDIP
(Top View)
P3.1
P3.0
P0.0/INT0
P0.1/INT1
P0.2/INT1
P0.3
P0.4/T0CAP
P0.5/T1CK
VDD/VDD
P0.6
P0.7
SCLK/P1.0
SDAT/P1.1
P1.2
P1.3
P2.0/PWM0
P2.1/PWM1
P2.2/PWM2
P2.3/PWM3
P2.4/PWM4
P2.5/PWM5
NOTE: The bolds indicate an OTP pin name.
Figure 18-1. KS88P6116 Pin Assignments (42-SDIP Package)
KS88P6116 OTP
KS88C6108/C6116/P6116 MICROCONTROLLERS
18-2
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
P2.1 / PWM1
P2.2 / PWM2
P2.3 / PWM3
P2.4 / PWM4
P2.5 / PWM5
N.C.
P2.6 / PWM6
VPP/TEST
SDA
SCL
Vsync-O
P0.2 / INT2
P0.1 / INT1
P0.0 / INT0
P3.0
P3.1
NC
P3.2
VSS2 / VSS
P3.3
P3.4
P3.5
Hsync-O
Clamp-O
Vsync-I
Hsync-I
P2.7 / Csync-I
VSS
/ VSS1
XIN
XOUT
RESET
/ RESET
P3.7
P3.6
KS88P6116
44-QFP
(Top View)
34
35
36
37
38
39
40
41
42
43
44
1
2
3
4
5
6
7
8
9
10
11
22
21
20
19
18
17
16
15
14
13
12
33
32
31
30
29
28
27
26
25
24
23
NOTE: The bolds indicate an OTP pin name.
Figure 18-2. KS88P6116 Pin Assignments (44-QFP Package)
KS88C6108/C6116/P6116 MICROCONTROLLERS
KS88P6116 OTP
18-3
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
V
PP
(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
V
DD
/ V
SS1
/
V
SS2
V
DD
/ V
SS
/
V
SS
9 / 32 / 41
(*26 / 6 / 15)
I
Logic Power Supply Pin. V
DD
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 (V
DD
)
4.5 V to 5.5 V
4.5 V to 5.5V
OTP Programming Mode
V
DD
= 5 V, V
PP
(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
5 V
5 V
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.
KS88P6116 OTP
KS88C6108/C6116/P6116 MICROCONTROLLERS
18-4
D.C. ELECTRICAL CHARACTERISTICS
Table 18-4. D.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.5 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input High
leakage current
I
LIH1
V
IN
= V
DD;
All input pins except X
in,
X
out
3
A
I
LIH2
V
IN
= V
DD;
X
OUT
only
20
I
LIH3
V
IN
= V
DD;
X
IN
only
2.5
6
20
Input Low
leakage current
I
LIL1
V
IN
= 0 V;
All input pins except X
in,
X
out
and
RESET
3
A
I
LIL2
V
IN
= 0 V; X
OUT
only
20
I
LIL3
V
IN
= 0 V; X
IN
only
2.5
6
20
Output High
leakage current
I
LOH1
V
OUT
= V
DD
3
A
Output Low
leakage current
I
LOL1
V
OUT
= 0 V
3
A
Supply current
I
DD1
Normal operating mode;
12 MHz CPU clock
15
30
mA
I
DD2
IDLE mode;
12 MHz CPU clock
5
10
I
DD3
Stop mode; V
DD
= 5.0 V
1
10
A
Data retention
supply voltage
VDDDR
Stop mode
2
6
V
Data retention
supply voltage
IDDDR
Stop mode; VDDDR = 2V
5
A
KS88C6108/C6116/P6116 MICROCONTROLLERS
KS88P6116 OTP
18-5
START
Address= First Location
V
DD
=5V, V
PP
=12.5V
x = 0
Program One 1ms Pulse
Increment X
x = 10
Verify 1 Byte
Last Address
V
DD
= V
PP
= 5 V
Compare All Byte
Device Passed
Increment Address
Verify Byte
Device Failed
PASS
FAIL
NO
FAIL
YES
FAIL
NO
Figure 18-3. OTP Programming Algorithm
KS88P6116 OTP
KS88C6108/C6116/P6116 MICROCONTROLLERS
18-6
NOTE