The KS57C5532/P5532 single-chip CMOS microcontroller has been designed for high-performance using
Samsung's newest 4-bit CPU core, SAM47 (Samsung Arrangeable Microcontrollers). The KS57P5532 is a
microcontroller which has 32-kbyte one-time-programmable EPROM but its functions are same to KS57C5532.
With its DTMF generator, 8-bit serial I/O interface, and versatile 8-bit timer/counters, the KS57C5532/P5532
offers an excellent design solution for a wide variety of telecommunication applications.
Up to 55 pins of the 64-pin SDIP or QFP package can be dedicated to I/O. Seven vectored interrupts provide fast
response to internal and external events. In addition, the KS57C5532/P5532's advanced CMOS technology
provides for low power consumption and a wide operating voltage range.
DEVELOPMENT SUPPORT
The Samsung Microcontroller Development System, SMDS, provides you with a complete PC-based development environment for KS57-series microcontrollers that is powerful, reliable, and portable. In addition to its
window-based program development structure, the SMDS toolset includes versatile debugging, trace, instruction
timing, and performance measurement applications.
The Samsung Generalized Assembler (SAMA) has been designed specifically for the SMDS environment and
accepts assembly language sources in a variety of microprocessor formats. SAMA generates industry-standard
hex files that also contain program control data for SMDS compatibility.
1-1
PRODUCT OVERVIEWKS57C5532/P5532
FEATURES SUMMARY
Memory
•1 K × 4-bit RAM
•32 K × 8-bit ROM
55 I/O Pins
•Input only: 4 pins
•I/O: 43 pins
•N-channel open-drain I/O (S/W): 8 pins
Memory-Mapped I/O Structure
•Data memory bank 15
DTMF Generator
•16 dual-tone frequencies for tone dialing
8-bit Basic Timer
• Programmable internal timer
•Watchdog timer
Two 8-bit Timer/Counters
•Programmable interval timer
•External event counter function
• Timer/counters clock outputs to TCLO0 and
TCLO1 pins
• External clock signal divider
•Serial I/O interface clock generator
Bit Sequential Carrier
•Supports 8-bit serial data transfer in arbitrary
format
4-bit I/O port.
1-bit or 4-bit read/write and test is possible.
Individual pins are software configurable as input or
output.
4-bit pull-up resistors are software assignable; pull-up
resistors are automatically disabled for output pins.
I
4-bit input port.
1-bit and 4-bit read and test is possible.
4-bit pull-up resistors are assignable by software to
port 1.
I/OSame as port 0.
I/OSame as port 0.
I/O
4-bit I/O ports.
1-bit and 4-bit read/write and test is possible.
4-bit pull-up resistors are software assignable to input
pins and are automatically disable for output pins.
N-channel open-drain or push-pull output can be
selected by software. Port 4 and 5 can be paired to
support 8-bit data transfer.
I/O4-bit I/O ports.
1-bit or 4-bit read/write and test is possible.
Port 6 pins are individually software configurable as
input or output.
4-bit pull-up resistors are software assignable; pull-up
resistors are automatically disabled for output pins.
Ports 6 and 7 can be paired to enable 8-bit data
transfer.
4-bit I/O port.
1-bit or 4-bit read/write and test is possible.
4-bit pull-up resistors are software assignable; pull-up
resistors are automatically disabled for output pins.
15 (8)
14 (7)
13 (6)
12 (5)
1 (61)
2 (60)
3 (59)
4 (58)
11 (4)
10 (3)
9 (2)
8 (1)
34 (27)
33 (26)
29 (22)
28 (21)
38–35
(31–28)
42–39
(35–32)
51–48
(44–41)
55–52
(48–45)
(52–49)
63–60
(56–53)
SO
SI
BTCO
INT0
INT1
INT2
INT4
TCLO0
TCLO1
CLO
BUZ
TCL0
TCL1
(1)
SCLK
(1)
SDAT
–
KS0–KS3
KS4–KS7
–
–
NOTES
1. SCLK and SDAT are used for KS57P5532 only.
2. Parentheses indicate pin number for 64 QFP package.
Same as port 9.
Ports 10 and 11 can be paired to support 8-bit data
transfer.
19–16
(12–9)
23–20
–
(16–13)
P12.0–P12.3I/O
4-bit I/O port.
1-bit or 4-bit read/write and test is possible.
27–24
(20–17)
–
Individual pins are software configurable as input or
output.
4-bit pull-down resistors are software assignable;
pull-down resistors are automatically disabled for
output pins.
P13.0–P13.2I/O3-bit I/O port; characteristics are same as port 9.7–5