KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01008/C01004/C01116/C01108/C01104
PRODUCT OVERVIEW
1 PRODUCT OVERVIEW
OVERVIEW
www.DataSheet4U.coSmamsung'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.
KS88C01016/C01008/C01004/C01116/C01108/C01104 MICROCONTROLLER
The KS88C01016/C01008/C01004/C01116/C01108/C01104 single-chip CMOS microcontroller is fabricated
using a highly advanced CMOS process and is based on Samsung's newest CPU architecture.
The KS88C01016/C01008/C01004/C01116/C01108/C01104 is the microcontroller which has mask-
programmable ROM.
The KS88P01016/P01008/P01004/P01116/P01108/P01104 is the microcontroller which has one-time-
programmable EPROM.
Using a proven modular design approach, Samsung engineers developed the
KS88C01016/C01008/C01004/C01116/C01108/C01104 by integrating the following peripheral modules with the
powerful SAM87 RC core:
— Three programmable I/O ports, including two 8-bit ports and one 3-bit port, for a total of 19 pins.
— Internal LVD circuit and eight 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 KS88C01016/C01008/C01004/C01116/C01108/C01104 is a versatile general-purpose microcontroller
which is especially suitable for use as remote transmitter controller. It is currently available in a 24-pin SOP and
SDIP package
1-1


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

PRODUCT OVERVIEW
KS88C01016/C01008/C01004/C01116/C01108/C01104
FEATURES
CPU
SAM87RC CPU core
Memory
Program memory (ROM)
- KS88C01016/C01116: 15,872-byte
(0000H-3E00H)
- KS88C01008/C01108: 8-Kbyte
www.DataSheet4U.com(0000H-1FFFH)
- KS88C01004/C01104: 4-Kbyte
(0000H-0FFFH)
Data memory: 256-byte RAM
Instruction Set
78 instructions
IDLE and STOP instructions added for power-
down modes
Instruction Execution Time
500 ns at 8-MHz fOSC (minimum)
Interrupts
13 interrupt sources with 10 vector.
5 level, 10 vector interrupt structure
I/O Ports
Two 8-bit I/O ports (P0-P1) and one 3-bit port
(P2) for a total of 19 bit-programmable pins
Eight input pins for external interrupts
Carrier Frequency Generator
One 8-bit counter with auto-reload function and
one-shot or repeat control (Counter A)
Back-up mode
When VDD is lower than VLVD, the chip enters
Back-up mode to block oscillation and reduce the
current consumption.
Timers and Timer/Counters
One programmable 8-bit basic timer (BT) for
oscillation stabilization control or watchdog timer
function
One 8-bit timer/counter (Timer 0) with two
operating modes; Interval mode and PWM mode.
One 16-bit timer/counter with one operating
modes; Interval mode
Low Voltage Detect Circuit
Low voltage detect for reset or Back-up mode.
Low level detect voltage
KS88C01016/C01008/C01004 :
2.20V (Typ) ± 200 mV
KS88C01116/C01108/C01104:
1.90V (Typ) ± 200 mV
Auto Reset Function
Reset occurs when stop mode is released by P0.
When a falling edge is detected at Port 0 during
Stop mode, system reset occurs.
Operating Temperature Range
• –40°C to + 85°C
Operating Voltage Range
1.7 V to 3.6 V at 4 MHz fOSC
2.0 V to 3.6 V at 8 MHz fOSC
Package Type
24-pin SOP/SDIP
1-2


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01008/C01004/C01116/C01108/C01104
BLOCK DIAGRAM
www.DataSheet4U.com
XIN
XOUT
LVD
TEST
Main
OSC
8-bit
Basic
Timer
P0.0-P0.7/INT0-INT4
P1.0-P1.7
Port 0(INTR)
Port 1
Internal Bus
Port I/O and Interrupt
Control
8-bit
Timer/
Counter
16-bit
Timer/
Counter
SAM87RI CPU
15-Kbyte ROM
256-Byte
Register File
PRODUCT OVERVIEW
Port 2
P2.0/T0PWM
P2.1/REM
P2.2
Carrier
Generator
(Counter A)
Figure 1-1. Block Diagram
1-3


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

PRODUCT OVERVIEW
PIN ASSIGNMENTS
KS88C01016/C01008/C01004/C01116/C01108/C01104
www.DataSheet4U.com
VSS
XIN
XOUT
TEST
P0.0/INT0/INTR
P0.1/INT1/INTR
RESET/P0.2/INT2/INTR
P0.3/INT3/INTR
P0.4/INT4/INTR
P0.5/INT4/INTR
P0.6/INT4/INTR
P0.7/INT4/INTR
1 24
2 23
3 22
4 KS88C01016/C01008 21
5
6
/C01004/C01116
20
19
7 /C01108/C01104 18
8 17
9
24-SOP/SDIP
16
10 (TOP VIEW) 15
11 14
12 13
VDD
P2.2
P2.1/REM/ SCLK
P2.0/T0PWN/T0CK/ SDAT
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.0
Figure 1-2. Pin Assignment Diagram (24-Pin SOP/SDIP Package)
1-4


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01008/C01004/C01116/C01108/C01104
PRODUCT OVERVIEW
PIN DESCRIPTIONS
Pin
Names
P0.0-P0.7
www.DataSheet4U.com
P1.0-P1.7
P2.0
P2.1
P2.2
XIN, XOUT
TEST
VDD
VSS
Table 1-1. Pin Descriptions
Pin
Type
Pin
Description
Circuit
Type
I/O 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. Interrupt with
Reset(INTR) is assigned to Port 0.
1
I/O I/O port with bit-programmable pins.
Configurable to input mode or output
mode. Pin circuits are either push-pull or n-
channel open-drain type. Pull-up resistors
are assignable by software.
2
I/O 3-bit I/O port with bit-programmable pins.
Configurable to input mode, push-pull
output mode, or n-channel open-drain
output mode. Input mode with pull-up
resistors are assignable by software. The
two pins of port2 have high current drive
capability.
3
4
5
– System clock input and output pins
I Test signal input pin (for factory use only;
must be connected to VSS).
– Power supply input pin
– Ground pin
24- Pin
Number
5-12
13-20
21-23
2,3
4
24
1
Shared
Functions
INT0 – INT4/INTR
REM/T0CK
1-5


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

PRODUCT OVERVIEW
KS88C01016/C01008/C01004/C01116/C01108/C01104
PIN CIRCUITS
www.DataSheet4U.com
Pull-up
Enable
Data
Output
Disable
External
Interrupt
VDD
Pull-up
Resistor
VDD
Input/Output
Noise
filter
VSS
Stop
INTR (Interrupt with RESET)
Figure 1-3. Pin Circuit Type 1 (Port 0)
NOTE
Interrupt with reset (INTR) is assigned to port 0 of KS88C01016/C01008/C01004/C01116/C01108
/C01104. It is designed to release stop status with reset. When the falling/rising edge is detected at any
pin of Port 0 during stop status, non vectored interrupt INTR signal occurs, after then system reset
occurs automatically. It is designed for a application which are using “stop mode” like remote controller.
If stop mode is not used, INTR do not operates and it can be discarded.
1-6


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01008/C01004/C01116/C01108/C01104
PRODUCT OVERVIEW
PIN CIRCUITS (Continued)
www.DataSheet4U.com
Pull-up
Enable
Data
VDD
Pull-up
Resistor
VDD
Open-drain
Output Disable
Input/Output
Normal
Input
Noise
filter
VSS
Figure 1-4. Pin Circuit Type 2 (Port 1)
1-7


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

PRODUCT OVERVIEW
PIN CIRCUITS (Continued)
KS88C01016/C01008/C01004/C01116/C01108/C01104
www.DataSheet4U.com
Pull-up
Enable
Port 2.0 Data
T0_PWN
P2CON.0
M Data
U
X
Open-drain
Output
Disable
P2.0 Input
VDD
Pull-up Resistor
(Typical 21K)
VDD
P2.0/T0PWN
VSS
Figure 1-5. Pin Circuit Type 3 (P2.0)
1-8


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01008/C01004/C01116/C01108/C01104
PIN CIRCUITS (Continued)
PRODUCT OVERVIEW
www.DataSheet4U.com
Pull-up
Enable
P2CON.1
Port 2.1 Data
CAOF(CACON.0)
Carrier On/Off (P2.5)
M
U
X
Data
Open-Drain
Output
Disable
P2.1 Input
T0CK
Noise filter
VDD
Pull-up
Resistor
(Typical 21K )
VDD
P2.1/REM/T0CK
VSS
Figure 1-6. Pin Circuit Type 4 (P2.1)
1-9


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

PRODUCT OVERVIEW
PIN CIRCUITS (Continued)
www.DataSheet4U.com
Pull-up
Enable
Data
Open-drain
Output
Disable
Normal Input
KS88C01016/C01008/C01004/C01116/C01108/C01104
VDD
Pull-up Resistor
(Typical 21K )
VDD
In/Out
VSS
Figure 1-7. Pin Circuit Type 5 (P2.2)
1-10


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01018/C01004/C01116/C01108/C01104
ELECTRICAL DATA
13 ELECTRICAL DATA
OVERVIEW
In this section, KS88C01016/C01008/C01004/C01116/C01108/C01104 electrical characteristics are presented
www.DataSheet4U.coinmtables and graphs. The information is arranged in the following order:
— Absolute maximum ratings
— D.C. electrical characteristics
— Data retention supply voltage in Stop mode
— Stop mode release timing when initiated by a Reset
— I/O capacitance
— A.C. electrical characteristics
— Input timing for external interrupts (port 0)
— Oscillation characteristics
— Oscillation stabilization time
13-1


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

ELECTRICAL DATA
KS88C01016/C01018/C01004/C01116/C01108/C01104
(TA = 25°C)
Parameter
Supply voltage
Input voltage
Output voltage
Output current High
www.DataSheet4U.com
Output current Low
Operating
temperature
Storage
temperature
Table 13-1. Absolute Maximum Ratings
Symbol
VDD
VIN
VO
I OH
I OL
TA
Conditions
All output pins
One I/O pin active
All I/O pins active
One I/O pin active
Total pin current for ports 0, 1, and 2
Total pin current for port 3
Rating
– 0.3 to + 6.5
– 0.3 to VDD + 0.3
– 0.3 to VDD + 0.3
– 18
– 60
+ 30
+ 100
+ 40
– 40 to + 85
TSTG
– 65 to + 150
Unit
V
V
V
mA
mA
°C
°C
Table 13-2. D.C. Electrical Characteristics
(TA = – 40°C to + 85°C, VDD = 2.0 V to 3.6 V)
Parameter
Symbol
Conditions
Operating Voltage VDD fOSC =8MHz
(Instruction clock = 1.33 MHz)
fOSC = 4MHz
(Instruction clock = 0.67 MHz)
Input High
voltage
VIH1
All input pins except VIH2
and VIH3
VIH2
XIN
Input Low voltage
VIL1 All input pins except VIL2
and VIL3
VIL2
XIN
Output High
voltage
VOH1
VDD= 2.4 V, IOH = – 6 mA
Port 2.1 only, TA = 25°C
VOH2
VDD = 2.4 V, IOH = – 2.2mA
Port 2.0, 2.2, TA = 25°C
VOH3
VDD = 2.4 V, IOH = – 1 mA
All output pins except Port2,
TA = 25°C
Min
2.0
1.7
0.8 VDD
VDD – 0.3
0
VDD – 0.7
VDD - 0.7
VDD - 1.0
Typ
Max
3.6
3.6
VDD
VDD
0.2 VDD
0.3
Unit
V
V
V
V
13-2


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01018/C01004/C01116/C01108/C01104
ELECTRICAL DATA
Table 13-2. D.C. Electrical Characteristics (Continued)
(TA = – 40°C to + 85°C, VDD = 2.0 V to 3.6 V)
Parameter Symbol
Conditions
Output Low
voltage
VOL1
VDD = 2.4 V, IOL = 12 mA, port
2.1 only, TA = 25°C
VOL2
VDD = 2.4 V, IOL = 5 mA
Port 2.0,2.2, TA = 25°C
www.DataSheet4U.com
VOL3
IOL = 1 mA
Ports 0 and 1, TA = 25°C
Input High
leakage current
ILIH1
VIN = VDD
All input pins except XIN and
XOUT
ILIH2 VIN = VDD, XIN and XOUT
Input Low
leakage current
ILIL1 VIN = 0 V
All input pins except XIN, XOUT
ILIL2
VIN = 0 V
XIN and XOUT
Output High
leakage current
ILOH
VOUT = VDD
All output pins
Output Low
leakage current
ILOL VOUT = 0 V
All output pins
Pull-up resistors RL1 VDD = 2.4V, VIN = 0 V;
TA = 25°C , Ports 0-2
Supply current
(note)
IDD1 VDD = 3.6 V ± 10%
8-MHz crystal
4-MHz crystal
IDD2
Idle mode;
VDD = 3.6 V ± 10%
8-MHz crystal
4-MHz crystal
IDD3
Stop mode;
VDD = 3.6 V
Min
-
44
-
-
Typ Max Unit
0.4 0.5
0.4 0.5
0.4 1.0
– 1 µA
20
– – 1 µA
– 20
– 1 µA
– – 1 µA
55 95 K
5 9 mA
2.6 5
1.0 2.5
0.7 2.0
1 6 uA
NOTE: Supply current does not include current drawn through internal pull-up resistors or external output current loads.
13-3


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

ELECTRICAL DATA
KS88C01016/C01018/C01004/C01116/C01108/C01104
Table 13-3. Characteristics of Low Voltage Detect circuit
(TA = – 40 °C to + 85 °C)
Parameter
Hysteresys Voltage of LVD
(Slew Rate of LVD)
Low level detect voltage
(KS88C01016/C01008/C01004)
Low level detect voltage
www.DataSheet4U.(cKoSm88C01116/C01108/C01104)
Symbol
V
VLVD
VLVD
Conditions
Min
-
– 2.0
– 1.70
Typ
30
2.20
1.90
Max Unit
300 mV
2.40 V
2.1 V
Table 13-4. Data Retention Supply Voltage in Stop Mode
(TA = – 40 °C to + 85 °C)
Parameter
Data retention supply
voltage
Data retention supply
current
Symbol
VDDDR
IDDDR
Conditions
VDDDR = 1.0 V
Stop mode
Min Typ
1.0 –
––
Max Unit
3.6 V
1 µA
Table 13-5. Input/Output Capacitance
(TA = – 40°C to + 85°C, VDD = 0 V)
Parameter
Symbol
Conditions
Input
capacitance
CIN f = 1 MHz; unmeasured pins
are connected to VSS
Output
capacitance
COUT
I/O capacitance
CIO
Min
Typ
(TA = – 40°C to + 85°C)
Parameter
Symbol
Interrupt input,
High, Low width
tINTH,
tINTL
Table 13-6. A.C. Electrical Characteristics
Conditions
Min Typ
P0.0–P0.7, VDD =3.6 V 200 300
Max
10
Max
Unit
pF
Unit
ns
13-4


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01018/C01004/C01116/C01108/C01104
ELECTRICAL DATA
tINTL
tINTH
0.8 VDD
0.2 VDD
NOTE: The unit t CPU means one CPU clock period.
www.DataSheet4U.com
Figure 13-1. Input Timing for External Interrupts (Port 0)
Table 13-7. Oscillation Characteristics
(TA = – 40°C + 85°C)
Oscillator
Clock Circuit
Crystal
C1
XIN
Conditions
CPU clock oscillation
frequency
Min Typ Max Unit
1 – 8 MHz
Ceramic
C2
C1
C2
External clock
External
Clock
Open Pin
XOUT
CPU clock oscillation
XTIN frequency
XTOUT
XIN XIN input frequency
XOUT
1 – 8 MHz
1 – 8 MHz
13-5


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

ELECTRICAL DATA
KS88C01016/C01018/C01004/C01116/C01108/C01104
Table 13-8. Oscillation Stabilization Time
(TA = – 40°C + 85°C, VDD = 3.6 V)
Oscillator
Test Condition
Main crystal fOSC > 400 kHz
Main ceramic Oscillation stabilization occurs when VDD is equal
to the minimum oscillator voltage range.
External clock XIN input High and Low width (tXH, tXL)
(main system)
Oscillator
www.DataSheet4U.sctoambilization
wait time
tWAIT when released by a reset (1)
tWAIT when released by an interrupt (2)
Min
25
Typ Max
– 20
– 10
216/
fOSC
500
Unit
ms
ms
ns
ms
ms
NOTES:
1. fOSC is the oscillator frequency.
2. The duration of the oscillation stabilization time (tWAIT) when it is released by an interrupt is determined by the setting
in the basic timer control register, BTCON.
Instruction
Clock
1.33 MHz
1.00 MHz
670 kHz
500 kHz
250 kHz
B
A
Instruction
Clock
8 MHz
6 MHz
4 kHz
8.32 kHz
400 kHz
1234567
Supply Voltage (V)
Instruction Clock = 1/6n x oscillator frequency (n = 1, 2, 8, 16)
A 1.7 V: 4 MHz
b 2.0 V: 8 MHz
Figure 13-2. Operating Voltage Range of KS88C01016/C01008/C01004/C01116/C01108/C01104
13-6


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

KS88C01016/C01018/C01004/C01116/C01108/C01104
MECHANICAL DATA
14 MECHANICAL DATA
OVERVIEW
www.DataSheet4U.coTmhe KS88C01016/C01008/C01004/C01116/C01108/C01104 microcontroller is currently available in a 24-pin
SOP and SDIP package.
0-8
#24 #13
24-SOP-375
#1 #12
15.74 MAX
15.34 ± 0.20
(0.69)
+ 0.10
0.38 - 0.05
1.27
+ 0.10
0.15 - 0.05
0.10 MAX
NOTE: Dimensions are in millimeters.
Figure 14-1. 24-Pin SOP Package Mechanical Data
14-1


KS88C01104 (Samsung semiconductor)
(KS88C01004 - KS88C01116) KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU

No Preview Available !

Click to Download PDF File for PC

MECHANICAL DATA
KS88C01016/C01018/C01004/C01116/C01108/C01104
www.DataSheet4U.com
#24 #13
24-SDIP-300
#1 #12
23.35 MAX
22.95 ± 0.20
0-15
(1.70)
0.46 ±
0.10
0.89 ±
0.10
1.778
NOTE: Dimensions are in millimeters.
Figure 14-2. 24-Pin SDIP Package Mechanical Data
14-2




KS88C01104.pdf
Click to Download PDF File