Samsung'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.
KS88C0916/P0916 MICROCONTROLLER
The KS88C0916/P0916 single-chip CMOS
microcontroller is fabricated using a highly advanced
CMOS process and is based on Samsung’s newest
CPU architecture.
The KS88C0916 is the microcontroller which has 16Kbytes mask-programmable ROM.
The KS88P0916 is the microcontroller which has 16Kbytes one-time-programmable EPROM.
— 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 KS88C0916 is a versatile general-purpose
microcontroller. It is currently available in a 32-pin
SOP and SDIP package.
Using a proven modular design approach, Samsung
engineers developed the KS88C0916/P0916 by
integrating the following peripheral modules with the
powerful SAM87 core:
— Four programmable I/O ports, including three
8-bit ports and one 2-bit port, for a total of 26
pins.
— Twelve bit-programmable pins for external
interrupts.
— One 8-bit basic timer for oscillation stabilization
and watchdog functions (system reset).
Figure 1-1. KS88C0916 Microcontroller
1-1
PRODUCT OVERVIEWKS88C0916/P0916 MICROCONTROLLER
FEATURES
CPU
•SAM87 CPU core
Memory
•16-Kbyte internal program memory (ROM)
•317-byte internal register file
Instruction Set
•78 instructions
•IDLE and STOP instructions added for powerdown modes
Instruction Execution Time
•750 ns at 8-MHz f
(minimum)
OSC
Interrupts
•Six interrupt levels and 18 interrupt sources
•15 vectors (14 sources have a dedicated vector
address and four sources share a single vector)
•Fast interrupt processing feature (for one
selected interrupt level)
I/O Ports
•Three 8-bit I/O ports (P0–P2) and one 2-bit port
(P3) for a total of 26 bit-programmable pins
Timers and Timer/Counters
•One programmable 8-bit basic timer (BT) for
oscillation stabilization control or watchdog timer
(software reset) function
•One 8-bit timer/counter (Timer 0) with three
operating modes; Interval, Capture and PWM
•One 16-bit timer/counter (Timer 1) with two
operating modes; Interval and Capture
Carrier Frequency Generator
•One 8-bit counter with auto-reload function and
one-shot or repeat control (Counter A)
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.
P1.0–P1.7I/OI/O port with bit-programmable pins.
Configurable to Schmitt trigger input mode
or output mode. Pin circuits are either pushpull or n-channel open-drain type. Pull-up
resistors are assignable by software.
P2.0–P2.3
P2.4–P2.7
I/OGeneral-purpose I/O port with bit-
programmable pins. Configurable to Schmitt
trigger input mode, push-pull output mode,
or n-channel open-drain output mode. Pullup resistors are assignable by software.
Lower nibble pins, P2.3–P2.0, can be
assigned as external interrupt inputs with
noise filters, interrupt enable/disable, and
interrupt pending control.
Circuit
Type
Pin No.Shared
Functions
19–16INT0–INT4
317–24—
2
3
5–8,
25–28
INT5–INT8
—
P3.0
P3.1
I/O2-bit I/O port with bit-programmable pins.
Configurable to Schmitt trigger input mode,
push-pull output mode, or n-channel opendrain output mode. Pull-up resistors are
assignable by software. The two port 3 pins
have high current drive capability.
XIN, X
RESET
OUT
—System clock input and output pins—2, 3—
ISystem reset signal input pin with schmitt
trigger circuit.
TESTITest signal input pin (for factory use only;
must be connected to V
V
DD
V
SS
—Power supply input pin—32—
—Ground pin—1—
SS
).
42930T0PWM/
T0CAP/
T1CAP/
REM/T0CK
531 —
—4 —
1-5
PRODUCT OVERVIEWKS88C0916/P0916 MICROCONTROLLER
PIN CIRCUITS
V
DD
PULL-UP
RESISTOR
(Typical
PULL-UP
ENABLE
DATA
OUTPUT
DISABLE
V
DD
50 ΚΩ)
INPUT /
OUTPUT
INTERRUPT INPUT
IRQ6,7 (INT0 -4)
NORMAL
INPUT
NOISE
FILTER
Figure 1-4. Pin Circuit Type 1 (Port 0)
V
SS
1-6
KS88C0916/P0916 MICROCONTROLLERPRODUCT OVERVIEW
PIN CIRCUITS
(Cont.)
PULL-UP
ENABLE
OPEN-DRAIN
OUTPUT DISABLE
NORMAL INPUT
DATA
V
DD
PULL-UP
RESISTOR
(Typical 50
V
DD
V
SS
ΚΩ)
IN / OUT
EXTERNAL
INTERRUPT
IRQ5 (INT5-8)
NOISE
FILTER
Figure 1–5. Pin Circuit Type 2 (Ports 2.0–2.3)
1-7
PRODUCT OVERVIEWKS88C0916/P0916 MICROCONTROLLER
PIN CIRCUITS (
Cont
.)
PULL-UP
ENABLE
DATA
OPENDRAIN
OUTPUT
DISABLE
V
DD
PULL-UP
RESISTOR
(Typical 50
V
DD
IN / OUT
V
SS
ΚΩ)
NORMAL INPUT
Figure 1-6. Pin Circuit Type 3 (Ports 1 and P2.4–P2.7)
1-8
KS88C0916/P0916 MICROCONTROLLERPRODUCT OVERVIEW
PIN CIRCUITS
ALTERNATIVE
NORMAL INPUT
(Cont.)
PULL-UP
ENABLE
PORT 3
DATA
OUTPUT
OPENDRAIN
SELECT
M
U
X
OUTPUT
DISABLE
DATA
V
DD
PULL-UP
RESISTOR
Typical
(
V
DD
50 Κ
Ω)
IN / OUT
V
SS
ALTERNATIVE
INPUT
NOISE FI LTER
Figure 1-7. Pin Circuit Type 4 (Port 3)
RESET
Figure 1-8. Pin Circuit Type 5 (RESET)
1-9
PRODUCT OVERVIEWKS88C0916/P0916 MICROCONTROLLER
NOTES
1-10
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.