Samsung KS88P4716, KS88C4716, KS88C4708 Datasheet

KS88C4708/C4716/P4716 (Preliminary Spec) PRODUCT OVERVIEW
1 PRODUCT OVERVIEW
SAM87RC PRODUCT FAMILY
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.
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.
1-1
PRODUCT OVERVIEW KS88C4708/C4716/P4716 (Preliminary Spec)
FEATURES
CPU
SAM87RC CPU core
Memory
272-byte general purpose register area
8/16-Kbyte internal program memory
Instruction Set
79 instructions
IDLE and STOP instructions added for power-down modes
Instruction Execution Time
333 ns at 12 MHz f
(minimum)
OSC
Interrupts
14 interrupt sources and 14 vectors
Eight interrupt levels
Fast interrupt processing
General I/O
Five I/O ports (total 36 pins)
Four bit-programmable ports
Two n-channel open-drain output port
Timer/Counters
One 8-bit basic timer for watchdog function
One 8-bit timer/counter with three operating modes (timer 0)
One 16-bit general-purpose timer/counters with three operation modes (timer 1)
UART
One UART module
Full duplex serial I/O interface with three UART modes
A/D Converter
Eight analog input pins
10-bit conversion resolution
20 µs conversion time (10 MHz CPU clock)
Buzzer Frequency Output
200 Hz to 20 kHz signal can be generated
Oscillator Frequency
1 MHz to 12 MHz external crystal oscillator
Maximum 12 MHz CPU clock
Operating Temperature Range
– 40°C to + 85°C
Operating Voltage Range
1.8 V to 5.5 V
Package Types
42-pin SDIP, 44-pin QFP
1-2
KS88C4708/C4716/P4716 (Preliminary Spec) PRODUCT OVERVIEW
BLOCK DIAGRAM
P1.0-P1.5
T0, T1CK, T1,
P0.0-P0.7
BUZ, RxD, TxD
X
X
OUT
T0(CAP)
T0(PWM)
T1(CAP)
T1(PWM)
ADC0-ADC7
P1.4/RxD
P1.5/TxD
P1.3/BUZ
Basic Timer
IN
OSC
Timer 0
Timer 1
ADC
UART
BUZ
Port 0
Port I/O and Interrupt
Control
SAM87RC CPU
8/16-Kbyte
ROM
Port 1
272-byte Register
File
Port 2
Port 3
Port 4
P2.0-P2.7 INT0-INT7
P3.0-P3.7 ADC0-ADC7
P4.0-P4.3
P4.4-P4.5
Figure 1-1. Block Diagram
1-3
PRODUCT OVERVIEW KS88C4708/C4716/P4716 (Preliminary Spec)
PIN ASSIGNMENTS
P1.0/T0
P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0 P4.3 P4.2
V
DD
V
SS
X
OUT
X
TEST
P4.1 P4.0
RESET
P2.0/INT0 P2.1/INT1 P2.2/INT2
1 2 3 4 5 6 7 8 9 10 11 12 13
IN
14 15 16 17 18 19 20 21
KS88C4708 KS88C4716
(42-SDIP-600)
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22
P1.1/T1CK P1.2/T1 P1.3/BUZ P1.4/RxD P1.5/TxD P3.7/ADC7 P3.6/ADC6 P3.5/ADC5 P3.4/ADC4 P3.3/ADC3 P3.2/ADC2 P3.1/ADC1 P3.0/ADC0 AV
SS
AV
REF
P2.7/INT7 P2.6/INT6 P2.5/INT5 P2.4/INT4 P2.3/INT3
1-4
Figure 1-2. Pin Assignment Diagram (42-Pin SDIP Package)
KS88C4708/C4716/P4716 (Preliminary Spec) PRODUCT OVERVIEW
P2.0/INT0
P2.1/INT1
P2.2/INT2
P2.3/INT3
P2.4/INT4
P2.5/INT5
P2.6/INT6
P2.7/INT7
P4.4
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0/T0(CAP/PWM)
P1.1/T1CK
P1.2/T1(CAP/PWM)
P1.3/BUZ
4443424140393837363534
P1.4/RxD
P0.1 P0.0 P4.3 P4.2
V
DD
V
SS
X
OUT
X
TEST
P4.1 P4.0
1 2 3 4 5 6 7
IN
8 9 10 11
KS88C4708 KS88C4716
(44-QFP-1010)
1213141516171819202122
33 32 31 30 29 28 27 26 25 24 23
P1.5/TxD P3.7/ADC7 P3.6/ADC6 P3.5/ADC5 P3.4/ADC4 P3.3/ADC3 P3.2/ADC2 P3.1/ADC1 P3.0/ADC0 AV
SS
P4.5
RESET
AVREF
Figure 1-3. Pin Assignment Diagram (44-Pin QFP Package)
1-5
PRODUCT OVERVIEW KS88C4708/C4716/P4716 (Preliminary Spec)
Table 1-1. KS88C4708/C4716 Pin Descriptions
Pin
Name
P0.0–P0.7 I/O Nibble-programmable I/O port for Schmitt trigger
P1.0–P1.5 I/O Bit-programmable I/O port for Schmitt trigger input
Pin
Type
Pin Description Circuit
input or push-pull, open-drain output. Pull-up resistors are assignable by software.
or push-pull output. Pull-up resistors are assignable by software. Port 1 pin can also by used as
Number
E 8-1
D 42-37
Pin
Number
(2-1,
43-38)
(37-32)
Share
Pins
T0, T1CK,
T1, BUZ,
RxD, TxD
alternative function (T0, T1CK, T1, BUZ, RxD, TxD)
P2.0–P2.7 I/O Bit-programmable I/O port for Schmitt trigger input
or push-pull output. Pull-up resistors are assignable
D 19-26
(13-20)
INT0-
INT7 by software. Port 2 pins can also be used as external interrupt.
P3.0–P3.7 I/O Bit-programmable I/O port for Schmitt trigger input
or push-pull output. Pull-up resistors are assignable
F 29-36
(24-31)
ADC0-
ADC7 by software. Port 3 pins can also be used as A/D converter by software.
P4.0–P4.3 I/O Bit-programmable I/O port for Schmitt trigger input
or push-pull, open-drain output. Pull-up resistors are assingable by software.
E 17-16,
10-9
(11-10,
4-3) P4.4–P4.5 O Push-pull output only C (44, 21) – X
IN, XOUT
Crystal or ceramic oscillator signal for system clock. 14, 13
(8, 7)
RESET
TEST I Test signal input pin (for factory use only; muse be
I System reset signal input pin. B 18 (12)
15 (9)
connected to VSS)
AV
REF,
AV
SS
V
DD, VSS
A/D converter reference voltage input and ground 27, 28
(22, 23)
Voltage input pin and ground 11, 12
(5, 6) T0 I/O Timer 0 capture input or PWM output pin D 42 (37) P1.0 T1CK I Timer 1 external clock input pin D 41 (36) P1.1 T1 I/O Timer 1 capture input or PWM output pin D 40 (35) P1.2 BUZ O 200 Hz-20 KHz frequency output for buzzer sound D 39 (34) P1.3 RxD I/O UART receive and transmit input or output D 38 (33) P1.4 TxD O UART transmit output D 37 (32) P1.5 INT0-INT7 I External interrupt input E 19-26
P2.0-P2.7
(13-20)
ADC0­ADC7
I A/D converter input F 29-36
(24-31)
P3.0-P3.7
NOTE: Pin numbers shown in parentheses "( )" are for the 44-pin QFP package.
1-6
KS88C4708/C4716/P4716 (Preliminary Spec) PRODUCT OVERVIEW
PIN CIRCUIT DIAGRAMS
V
DD
DD
V
P-Channel
In
N-Channel
Figure 1-4. Pin Circuit Type A
V
DD
Pull-Up Resistor
In
Schmitt Trigger
Data
Output
DIsable
Pull-up Enable
Data
Output
DIsable
Data
P-Channel
N-Channel
Figure 1-6. Pin Circuit Type C
V
DD
Circuit
Type C
Out
In/Out
Figure 1-5. Pin Circuit Type B
Figure 1-7. Pin Circuit Type D
1-7
PRODUCT OVERVIEW KS88C4708/C4716/P4716 (Preliminary Spec)
V
DD
Data
Output
DIsable
PNE
Schmitt Trigger
Figure 1-8. Pin Circuit Type E
V
DD
47 K
Pull-up Enable
P-CH
In/Out
N-CH
V
DD
1-8
Pull-up
Enable
Data
Output
Circuit
Type C
DIsable
Data
TO ADC
Figure 1-9. Pin Circuit Type F
In/Out
Loading...
+ 18 hidden pages