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.