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 OVERVIEWKS88C0716/P0716
FEATURES
CPU
•SAM87 CPU core
Memory
•272-byte general purpose register area
•16-Kbyte internal program memory
•ROM-less operating mode
External Interface
•64-Kbyte external data memory area
•64-Kbyte external program memory area (ROMless mode)
Instruction Set
•78instructions
•IDLE and STOP instructions for power-down
mode
Instruction Execution Time
•500 ns at 12 MHz f
CPU
(Min.)
Interrupts
•17 interrupt sources
•17 interrupt vectors
•Eight interrupt levels
•Fast interrupt processing
General I/O
•Four nibble-programmable ports
•One bit-programmable port
•Two bit-programmable ports for external
interrupts
Timers
•Two 8-bit timers with interval timer and PWM
modes
Timer/Counters
•Two 16-bit general-purpose timer/counters
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 fullduplex asynchronous UART modes
Operating Temperature Range
•– 40°C to + 85°C
Operating Voltage Range
•2.7 V to 5.5 V
Package Types
•64-pin SDIP, 64-pin QFP
1-2
KS88C0716/P0716PRODUCT OVERVIEW
Table 1-1. Comparison Table
FeatureKS88C0116KS88C0716
CoreSAM8SAM87
ROM16 K bytesSame
RAM272 bytesSame
I/O5456 (add two pins)
Port 6Open drain (9 V drive)Normal C-MOS output
I/O optionNoneSame
Timer8-bit back-up timerNone
Power downStop/idleSame
OscillatorCrystal, ceramicSame
CPU clock divider1/21/1, 1/2, 1/8, 1/16
Execution time (Min.)
Operating frequency
0.6 µs at 20 MHz (f
Max. 20 MHz (f
CPU
= 10 MHz)0.5 µs at 12 MHz (f
CPU
= 10 MHz)
Max. 12 MHz (at 4.5 V)
CPU
= 12 MHz)
(2)
Max. 4 MHz (at 2.7 V)
Operating voltage4.5–5.5 V2.7–5.5 V at 4 MHz
4.5–5.5 V at 12 MHz
OTP/MTPMTPOTP
Pin assignment–Different
Package64SDIP/64QFPSame
Start address0020h0100h
P5CON, P6CONBANK0BANK1
Interrupt pending bit clearWrite "1"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 OVERVIEWKS88C0716/P0716
2. Operating frequency is maximum CPU clock; the maximum oscillation frequency is 22.1184 MHz.
RxDI/OBi-directional serial data input pin–24P3.7
TxDI/OSerial data output pin–25P3.6
TA, TBI/OTimer A and B output pins427, 26P3.4, P3.5
TCCK, TDCKI/OTimer C and D external clock input pinsD-130, 31P3.0, P3.1
INT0–INT3I/OExternal interrupts. I/O pin 2.4 (share pin
with INT0) is also configurable as a WAIT
signal input pin for the external interface.
Table 14-7. Main Oscillator Clock Stabilization Time (t
ST1
)
(TA = – 20°C + 85°C, VDD = 4.5 V to 5.5 V)
OscillatorTest ConditionMinTypMaxUnit
CrystalVDD = 4.5 V to 5.5 V––20ms
CeramicStabilization occurs when VDD is equal to the minimum
––10ms
oscillator voltage range.
NOTE: Oscillation stabilization time (t
frequency after a power-on occurs, or when Stop mode is released by a RESET signal.
CPU clock
12 MHz
4 MHz
) is the time required for the CPU clock to return to its normal oscillation
ST1
14-8
1 MHz
23456712.74.5
Figure 14-5. Frequency vs. Voltage
5.5
V
DD
KS88C0716/P0716MECHANICAL DATA
MECHANICAL DATA
15MECHANICAL DATA
OVERVIEW
The KS88C0716 microcontroller is available in a 64-pin SDIP package (64-SDIP-750) and a 64-pin QFP package
(64-QFP-1420F).
#64#33
± 0.2
17.00
#1
(1.34)
: Dimensions are in millimeters .
NOTE
64-SDIP-75 0
58.20 MAX
57.80 ± 0.2
0.45 ± 0.1
1.00
± 0.1
1.778
#32
19.05
± 0.2
0.51MIN4.10
5.08MAX
± 0.3
3.30
+0.1
0.25
0−15
– 0.05
°
Figure 15-1. 64-SDIP-750 Package Dimensions
15-1
MECHANICAL DATAKS88C0716/P0716
13.20
10.00
± 0.3
± 0.2
0-8°
0.15
+0.10
- 0.05
0.80±0.20
± 0.3
13.20
± 0.2
10.00
44-QFP-1010B
0.10 MAX
#44
0.80
: Dimensions are in millimeters.
NOTE
Figure 15-2. 64-QFP-1420F Package Dimensions
#1
0.35
+0.10
- 0.05
(1.00)
0.05 MIN
2.05
± 0.10
2.30 MAX
15-2
KS88C0716/P0716KS88P0716 OTP
16KS88P0716 OTP
OVERVIEW
The KS88P0716 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
KS88C0716 microcontrollers. It has an on-chip EPROM instead of masked ROM. The EPROM is accessed by
serial data format.
KS88P0716 is fully compatible with KS88C0716, both in function and in pin configuration. As it has simple
programming requirements, KS88P0716 is ideal for use as an evaluation chip for the KS88C0716.