Samsung's new SAM87RC 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.
Timer/counters with selectable operating modes are included to support real-time operations. Many SAM87RC
microcontrollers have an external interface that provides access to external memory and other peripheral devices.
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
one interrupt level at a time.
KS88C4708/C4716 MICROCONTROLLER
The KS88C4708/C4716 single-chip 8-bit microcontroller is designed for useful 10-bit resolution A/D converter,
UART, PWM application field. Its powerful SAM87RC CPU architecture includes. The internal register file is
logically expanded to increase the on-chip register space.
The KS88C4708/C4716 has 8/16 K bytes of on-chip program ROM. Following Samsung's modular design
approach, the following peripherals are integrated with the SAM87RC core:
— Large number of programmable I/O ports (42 SDIP: 34 pins, 44 QFP: 36 pins)
— One asynchronous UART module
— Analog-to-digital converter with eight input channels and 10-bit resolution
— One 8-bit basic timer for watchdog function
— One 8-bit timer/counter with three operating modes (Timer 0)
— One general-purpose 16-bit timer/counters with three operating modes (Timer 1)
The KS88C4708/C4716 is a versatile general-purpose microcontroller that is ideal for use in a wide range of
electronics applications requiring complex timer/counter, PWM, capture, and UART.
It is available in a 42-pin SDIP or 44-pin QFP package.
OTP
The KS88P4716 is an OTP (One Time Programmable) version of the KS88C4708/C4716 microcontroller. The
KS88P4716 microcontroller has an on-chip 16-Kbyte one-time-programmable EPROM instead of a masked
ROM. The KS88P4716 is comparable to the KS88C4708/C4716, both in function in D.C. electrical characteristics
and in pin configuration.
CPU clock = 1/n x oscillator frequency (n = 4, 8 or 64)
(Divided by 4)
Figure 14-2. Operating Voltage Range
Table 14-5. Oscillation Stabilization Time
(T
= – 40 °C + 85 °C, VDD = 1.8 V to 5.5 V)
A
OscillatorTest ConditionMinTypMaxUnit
f
Main Crystal
Main Ceramic
> 1.0 kHz;
OSC
Oscillation stabilization occurs when VDD is equal
––20ms
––10ms
to the minimum oscillator voltage range.
External Clock
XIN input High and Low width (tXH, tXL)
25–500ns
(Main System)
Oscillator
Stabilization
Wait Time
NOTES:
1. f
2. The duration of the oscillator stabilization wait time, t
is the oscillator frequency.
OSC
settings in the basic timer control register, BTCON.
t
when released by a reset
WAIT
t
when released by an interrupt
WAIT
(1)
(2)
, when it is released by an interrupt is determined by the
WAIT
–
216/f
OSC
–
–
–ms
–ms
14-6
Page 15
KS88C4708/C4716/P4716 (Preliminary Spec)ELECTRICAL DATA
Table 14-6. UART Timing Characteristics in Mode 0 (10 MHz)
(T
= – 40°C to + 85°C, V
A
= 1.8 V to 5.5 V, Load capacitance = 80 pF)
DD
ParameterSymbolMinTypMaxUnit
Serial port clock cycle time
Output data setup to clock rising edge
Clock rising edge to input data valid
Output data hold after clock rising edge
Input data hold after clock rising edge
Serial port clock High, Low level width
NOTES:
1. All timings are in nanoseconds (ns) and assume a 10-MHz CPU clock frequency.
2. The unit t
means one CPU clock period.
CPU
t
SCK
t
S1
t
S2
t
H1
t
H2
t
HIGH, tLOW
500
300
t
CPU
t
CPU
× 6
× 5
––300
t
– 50t
CPU
CPU
0––
200
t
CPU
× 3
700ns
–
–
400
0.8 V
DD
t
HIGH
0.2 V
DD
t
LOW
t
SCK
Figure 14-3. Waveform for UART Timing Characteristics
The KS88P4716 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
KS88C4708/C4716 microcontroller. It has an on-chip OTP ROM instead of a masked ROM. The EPROM is
accessed by serial data format.
The KS88P4716 is fully compatible with the KS88C4708/C4716, both in function in D.C. electrical characteristics
and in pin configuration. Because of its simple programming requirements, the KS88P4716 is ideal as an
evaluation chip for the KS88C4708/C4716.
Table 16-1. Descriptions of Pins Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
P4.3SDAT9(3)I/OSerial data pin. Output port when reading and
input port when writing. Can be assigned as a
Input/push-pull output port.
P4.2SCLK10(4)ISerial clock pin. Input only pin.
TESTV
PP
14(16)IPower supply pin for EPROM cell writing
(indicates that OTP enters into the writing mode).
When 12.5 V is applied, OTP is in writing mode
and when 5 V is aplied, OTP is in reading mode.
(Option)
RESETRESET
VDD/V
SS
VDD/V
SS
18(12)IChip Initialization
11(5)/12(6)–Logic power supply pin. V
should be tied to
DD
+5 V during programming.
NOTE: ( ) means 44 QFP package.
Table 16-2. Comparison of KS88P4716 and KS88C4708/C4716 Features
CharacteristicKS88P4716KS88C4708/C4716
Program Memory16-Kbyte EPROM8/16-Kbyte mask ROM
Operating Voltage (VDD)1.8 V to 5.5 V1.8 V to 5.5 V
OTP Programming ModeVDD = 5 V, V
(EA) = 12.5 V
PP
Pin Configuration42 SDIP/44 QFP42 SDIP/44 QFP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the VPP (TEST) pin of the KS88P4716, 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