KS88C0716/P0716
PRODUCT OVERVIEW
1
PRODUCT OVERVIEW
SAM8 PRODUCT FAMILY
Samsung's SAM87 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 of six CPU clocks) can be assigned to
specific interrupt levels.
KS88C0716/P0716 MICROCONTROLLERS
KS88C0716/P0716 single-chip 8-bit microcontrollers are based on the powerful SAM87 CPU architecture. The
internal register file is logically expanded to increase the on-chip register space. The KS88C0716 has 16-Kbyte
mask-programmable ROM. The KS88P0716 has 16-Kbyte one-time-programmable EPROM.
Following Samsung's modular design approach, the following peripherals are integrated with the SAM87 core:
— Seven programmable I/O ports (total 56 pins)
— One 8-bit basic timer for oscillation stabilization and watchdog functions
— One synchronous operating mode and three full-duplex asynchronous UART modes
— Two 8-bit timers with interval timer and PWM modes
— Two 16-bit general-purpose timer/counters
OTP
The KS88C0716 microcontroller is also available in OTP (One Time Programmable) version, KS88P0716.
KS88P0716 microcontroller has an on-chip 16-Kbyte one-time-programmable EPROM instead of masked ROM.
The KS88P0716 is comparable to KS88C0716, both in function and in pin configuration.
1-1
PRODUCT OVERVIEW
KS88C0716/P0716
FEATURES
CPU
•
SAM87 CPU core
General I/O
•
•
Memory
•
•
•
272-byte general purpose register area
16-Kbyte internal program memory
ROM-less operating mode
Timers
•
External Interface
•
•
64-Kbyte external data memory area
64-Kbyte external program memory area (ROM-
less mode)
Two 8-bit timers with interval timer and PWM
modes
•
Four nibble-programmable ports
One bit-programmable port
Two bit-programmable ports for external
interrupts
Timer/Counters
•
Two 16-bit general-purpose timer/counters
Instruction Set
•
•
78instructions
IDLE and STOP instructions for power-down
mode
Basic Timer
•
One 8-bit basic timer (BT) for oscillation
stabilization control and watch dog timer function.
Serial Port
•
One synchronous operating mode and three full-
duplex asynchronous UART modes
Instruction Execution Time
•
500 ns at 12 MHz f
CPU
(Min.)
Operating Temperature Range
Interrupts
•
•
•
•
17 interrupt sources
17 interrupt vectors
Eight interrupt levels
Fast interrupt processing
Package Types
•
64-pin SDIP, 64-pin QFP
•
– 40
°
C to + 85
°
C
Operating Voltage Range
•
2.7 V to 5.5 V
1-2
KS88C0716/P0716
PRODUCT OVERVIEW
Table 1-1. Comparison Table
Feature
Core
ROM
RAM
I/O
Port 6
I/O option
Timer
SAM8
16 K bytes
272 bytes
54
Open drain (9 V drive)
None
8-bit back-up timer
Timer A, B
— 8-bit
— Interval/PWM mode
— Timer A match interrupt
Timer C, D
— Gate function
— Timer/counter
Watchdog timer
SIO
None
UART
— 8-bit/9-bit UART
— SIO
External
×
12
— P2.4–P2.7, P4.0–P4.7
Internal
×
6
— Timer A, C, D, SI, SO, Back-up
Power down
Oscillator
CPU clock divider
Execution time (Min.)
Operating frequency
Operating voltage
OTP/MTP
Pin assignment
Package
Start address
P5CON, P6CON
Interrupt pending bit clear
64SDIP/64QFP
0020h
BANK0
Write "1"
Stop/idle
Crystal, ceramic
1/2
0.6
µs
at 20 MHz (f
CPU
= 10 MHz)
Max. 20 MHz (f
CPU
= 10 MHz)
4.5–5.5 V
MTP
–
KS88C0116
SAM87
Same
Same
56 (add two pins)
Normal C-MOS output
Same
None
Same
(some differ in interval mode,
see manual)
Same
KS88C0716
Watchdog timer (with BT)
Same
Interrupt
Same
Internal
×
5
— Timer A, C, D, SI, SO
Same
Same
1/1, 1/2, 1/8, 1/16
0.5
µs
at 12 MHz (f
CPU
= 12 MHz)
Max. 12 MHz (at 4.5 V)
(2)
Max. 4 MHz (at 2.7 V)
2.7–5.5 V at 4 MHz
4.5–5.5 V at 12 MHz
OTP
Different
Same
0100h
BANK1
Write "0"
NOTES:
1. The KS88C0716 can replace the KS88C0116. Their functions are mostly the same, but there are some differences.
Table 1-1 shows the comparison of KS88C0716 and KS88C0116.
1-3
PRODUCT OVERVIEW
KS88C0716/P0716
2.
Operating frequency is maximum CPU clock; the maximum oscillation frequency is 22.1184 MHz.
BLOCK DIAGRAM
P0.0–P0.7
(A8–A15)
P1.0–P1.7
(AD0–AD7)
P2.0–P2.3,
P2.4/INT0–P2.7/INT3
RESET
EA
PORT 0
PORT 1
PORT 2
X
IN
X
OUT
MAIN
OSC
SAM87 BUS
PORT 3
PORT I/O and
INTERRUPT CONTROL
P4.0/INT4 (TCG)
P4.1/INT5 (TDG)
P4.2/INT6–
P4.7/INT11
P3.0–P3.7
BASIC
TIMER
PORT 4
TA
TB
TIMERS
A and B
SAM87 CPU
PORT 5
TCCK
TDCK
TIMERS
C and D
P5.0–P5.3
P5.4–P5.7
RxD
TxD
SERIAL
PORT
16-KB ROM
272-BYTE
REGISTER FILE
PORT 6
P6.0–P6.7
Figure 1-1. KS88C0716 Block Diagram
1-4
KS88C0716/P0716
PRODUCT OVERVIEW
P0.6/A14
P0.5/A13
P0.4/A12
P0.3/A11
P0.2/A10
P0.1/A9
P0.0/A8
P4.7/INT11
P4.6/INT10
P4.5/INT9
P4.4/INT8
P4.3/INT7
P4.2/INT6
P4.1/INT5/TDG
P4.0/INT4/TCG
V
DD1
V
SS1
X
OUT
X
IN
EA
P5.6
P5.7
RESET
P3.7/RxD
P3.6/TxD
P3.5/TB
P3.4/TA
P3.3
P3.2
P3.1/TDCK
P3.0/TCCK
P6.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
KS88C0716
64-SDIP
(Top View)
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
P0.7/A15
P1.0/AD0
P1.1/AD1
P1.2/AD2
P1.3/AD3
P1.4/AD4
P1.5/AD5
P1.6/AD6
P1.7/AD7
P5.5
P5.4
P5.3
P5.2
P5.1
P5.0
V
DD2
V
SS2
P2.0/
AS
P2.1/
DS
P2.2/R/
W
P2.3/
DM
P2.4/INT0/
WAIT
P2.5/INT1
P2.6/INT2
P2.7/INT3
P6.7
P6.6
P6.5
P6.4
P6.3
P6.2
P6.1
Figure 1-2. KS88C0716 Pin Assignments (64-SDIP)
1-5