KS88C01416/P01416/C01424/P01424 (Preliminary Spec)
PRODUCT OVERVIEW
1
PRODUCT OVERVIEW
KS88-SERIES MICROCONTROLLERS
Samsung's KS88 series 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.
KS88C01416/C01424 MICROCONTROLLER
The KS88C01416/C01424 single-chip CMOS
microcontroller is fabricated using a highly advanced
CMOS process, based on Samsung’s newest CPU
architecture.
The KS88C01416/C01424 is the microcontroller
which has 16/24-Kbyte mask-programmable ROM.
The KS88P01416/P01424 is the microcontroller
which has 16/24-Kbyte one-time-programmable
EPROM.
Using a proven modular design approach, Samsung
engineers developed the KS88C01416/C01424 by
integrating the following peripheral modules with the
powerful SAM87 core:
— Four programmable I/O ports, including three
8-bit ports and one 2-bit port, for a total of 26
pins.
— Internal LVD circuit and twelve bit-
programmable pins for external interrupts.
— One 8-bit basic timer for oscillation stabilization
and watchdog functions (system reset).
— One 8-bit timer/counter and one 16-bit
timer/counter with selectable operating modes.
— One 8-bit counter with auto-reload function and
one-shot or repeat control.
The KS88C01416/C01424 is a versatile general-
purpose microcontroller which is especially suitable
for use as unified remote transmitter controller. It is
currently available in a 32-pin SOP and SDIP
package for KS88C01416 and KS88C01424. And
available in 40 DIP package only for KS88C01424.
OTP
The KS88P01416/P01424 is an OTP (One Time Programmable) version of the KS88C01416/C01424
microcontroller. The KS88P01416/P01424 microcontroller has an on-chip 16/24-Kbyte one-time-programmable
EPROM instead of a masked ROM. The KS88P01416/P01424 is comparable to the KS88C01416/C01424, both
in function and in pin configuration.
1-1
PRODUCT OVERVIEW
KS88C01416/P01416/C01424/P01424 (Preliminary Spec)
FEATURES
CPU
•
SAM87 CPU core
Carrier Frequency Generator
•
One 8-bit counter with auto-reload function and
one-shot or repeat control (Counter A)
Memory
•
•
•
•
16-Kbyte internal program memory (ROM):
KS88C01416
24-Kbyte internal program memory (ROM):
KS88C01424
256-byte internal (RAM): 8000–80FFH
Data memory: 317-byte internal register file
Back-up mode
•
When reset pin is low level or when V
DD
is lower
than V
LVD
, the chip enters back-up mode to
reduce current consumption.
Low Voltage Detect Circuit
•
•
Low voltage detect for reset or back-up mode
input.
Low level detect voltage :
2.2 V (Typ) –100 mV/+ 200 mV
Instruction Set
•
•
78 instructions
IDLE and STOP instructions added for power-
down modes
Operating Temperature Range
•
– 40
°
C to + 85
°
C
Instruction Execution Time
•
750 ns at 8 MHz f
OSC
(minimum)
Operating Voltage Range
•
•
2.0 V to 5.5 V at 4 MHz f
OSC
2.1 V to 5.5 V at 8 MHz f
OSC
Interrupts
•
•
•
Six interrupt levels and 18 interrupt sources
15 vectors (14 sources have a dedicated vector
address and four sources share a single vector)
Fast interrupt processing feature (for one
selected interrupt level)
Package Type
•
•
•
32-pin SOP
32-pin SDIP
40-pin DIP
I/O Ports
•
•
Three 8-bit I/O ports (P0–P2) and one 2-bit port
(P3) for a total of 26 bit-programmable pins
Twelve input pins for external interrupts
Timers and Timer/Counters
•
One programmable 8-bit basic timer (BT) for
oscillation stabilization control or watchdog timer
(software reset) function
One 8-bit timer/counter (Timer 0) with three
operating modes; Interval, Capture, and PWM
One 16-bit timer/counter (Timer 1) with two
operating modes; Interval and Capture
•
•
1-2
KS88C01416/P01416/C01424/P01424 (Preliminary Spec)
PRODUCT OVERVIEW
BLOCK DIAGRAM
P0.00.7
(INT0NT4)
P1.01.7
RESET
PORT 0
PORT 1
TEST
V
DD
LVD
INTERNAL BUS
PORT2
P2.02.3
(INT5NT8)
P2.42.7
X
IN
X
OUT
MAIN
OSC
I/O PORT and INTERRUPT
CONTROL
P3.0/T0PWM/
T0CAP/T1CAP
8-BIT
BASIC
TIMER
SAM87
CPU
PORT 3
P3.1/REM/T0CK
8-BIT
TIMER/
COUNTER
PROGRAM
MEMORY
(16/24-Kbyte Program
Memory and 256-Byte
Program RAM)
317-BYTE
REGISTER
FILE
CARRIER
GENERATOR
(COUNTER A)
16-BIT
TIMER/
COUNTER
Figure 1-1. Block Diagram
1-3
PRODUCT OVERVIEW
KS88C01416/P01416/C01424/P01424 (Preliminary Spec)
PIN ASSIGNMENTS
V
SS
X
IN
X
OUT
TEST
P2.0/INT5
P2.1/INT6
P2.2/INT7
P2.3/INT8
P0.0/INT0
P0.1/INT1
P0.2/INT2
P0.3/INT3
P0.4/INT4
P0.5/INT4
P0.6/INT4
P0.7/INT4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
KS88C01416
KS88C01424
32-SOP/SDIP
(Top View)
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
V
DD
RESET/BACK-UP MODE
P3.1/REM/T0CK
P3.0/T0PWM/T0CAP/T1CAP
P2.7
P2.6
P2.5
P2.4
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.0
Figure 1-2. Pin Assignment (32-Pin SOP/SDIP Package)
VSS
XIN
XOUT
TEST
NC
NC
P2.0/INT5
P2.1/INT6
P2.2/INT7
P2.3/INT8
P0.0/INT0
P0.1/INT1
P0.2/INT2
P0.3/INT3
NC
NC
P0.4/INT4
P0.5/INT4
P0.6/INT4
P0.7/INT4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
KS88C01416
KS88C01424
40-DIP
(Top View)
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
VDD
RESET/BACK-UP MODE
P3.1/REM/T0CK
P3.0/T0PWM/T0CAP/T1CAP
NC
NC
P2.7
P2.6
P2.5
P2.4
P1.7
P1.6
P1.5
P1.4
NC
NC
P1.3
P1.2
P1.1
P1.0
Figure 1-3. Pin Assignment (40-Pin DIP Package)
1-4
KS88C01416/P01416/C01424/P01424 (Preliminary Spec)
PRODUCT OVERVIEW
Table 1-1. Pin Descriptions
Pin
Names
P0.0–P0.7
Pin
Type
I/O
Pin
Description
I/O port with bit-programmable pins.
Configurable to input or push-pull output
mode. Pull-up resistors are assignable by
software. Pins can be assigned individually
as external interrupt inputs with noise filters,
interrupt enable/disable, and interrupt
pending control.
I/O port with bit-programmable pins.
Configurable to C-MOS input mode or
output mode. Pin circuits are either push-
pull or n-channel open-drain type. Pull-up
resistors are assignable by software.
General-purpose I/O port with bit-
programmable pins. Configurable to C-MOS
input mode, push-pull output mode, or n-
channel open-drain output mode. Pull-up
resistors are assignable by software. Lower
nibble pins, P2.3–P2.0, can be assigned as
external interrupt inputs with noise filters,
interrupt enable/disable, and interrupt
pending control.
2-bit I/O port with bit-programmable pins.
Configurable to C-MOS input mode, push-
pull output mode, or n-channel open-drain
output mode. Pull-up resistors are
assignable by software. The two port 3 pins
have high current drive capability.
System clock input and output pins
System reset signal input pin and back-up
mode input pin. The pin circuit is a C-MOS
input.
Test signal input pin (for factory use only;
must be connected to V
SS
).
Power supply input pin
Ground pin
Circuit
Type
1
Pin No.
(32-pin)
9–16
Pin No.
(40-pin)
11–14,
17–20
Shared
Functions
INT0–INT4
P1.0–P1.7
I/O
2
17–24
21–24,
27–30
–
P2.0–P2.3
P2.4–P2.7
I/O
3
4
5–8,
25–28
7–10,
31–34
INT5–INT8
–
P3.0
P3.1
I/O
5
29
30
37
38
T0PWM/
T0CAP/
T1CAP/
REM/T0CK
X
IN
, X
OUT
RESET/
BACK-UP
MODE
TEST
V
DD
V
SS
–
I
–
6
2, 3
31
2, 3
39
–
–
I
–
4
4
–
–
–
–
–
32
1
40
1
–
–
1-5