The KS57C5204/C5208/C5304/C5308/C5312 single-chip CMOS microcontroller has been designed for highperformance using SAM 47 (Samsung Arrangeable Microcontrollers). SAM 47, Samsung's newest 4-bit CPU core
is notable for its low energy consumption and low operating voltage.
You can select from three ROM sizes: 4K, 8K, or 12K bytes.
Except for the difference in ROM size, the features and functions of the KS57C5204 and the KS57C5208 are
identical and the KS57C5304, KS57C5308, and the KS57C5312 are identical.
With it's DTMF generator, watchdog timer function, and versatile 8-bit timer/counters, the KS57C5204/C5208
/C5304/C5308/C5312 offers an excellent design solution for a wide variety of telecommunication applications.
Up to 35 pins of the available 42-pin SDIP or 44-pin QFP package for the KS57C5204/C5208, and up to 23 pins
of the available 30-pin SDIP or 32-pin SOP package for the KS57C5304/C5308/C5312 can be assign to I/O. Six
vectored interrupts for KS57C5204/C5208 and four vectored interrupts for KS57C5304/C5308/C5312 provide fast
response to internal and external events. In addition, the KS57C5204/C5208/C5304/C5308/C5312's advanced
CMOS technology provides for low power consumption and a wide operating voltage range.
OTP
The KS57C5204/C5208 microcontroller is also available in OTP (One Time Programmable) version, KS57P5208.
The KS57C5304/C5308/C5312 microcontroller is also available in OTP (One Time Programmable) version,
KS57P5308/P5312. The KS57P5208/P5308/P5312 microcontroller has an on-chip 8K-byte (P5208/P5308) or
12K-byte (P5312) one-time-programable EPROM instead of masked ROM. The KS57P5208 is comparable to
KS57C5204/C5208, both in function and in pin configuration. Also, the KS57P5308/P5312 is comparable to the
KS57C5304/C5308/C5312, both in function and in pin configuration.
1-bit and 4-bit read and test is possible.
Each pull-up resistors are assignable by software.
I/OI4-bit I/O port.
1-bit and 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 to input
pins and are automatically disabled for output pins.
Ports 2 and 3 can be paired to enable 8-bit data
transfer.
I/OI4-bit I/O ports.
1-bit and 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 to input
pins and are automatically disabled for output pins.
N-channel open-drain or push-pull output can be
selected by software (1-bit unit)
Ports 4 and 5 can be paired to support 8-bit data
transfer.
I/OI4-bit I/O ports.
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 to input
pins and are automatically disabled for output pins.
Ports 6 and 7 can be paired to enable 8-bit data
transfer.
I/OI4-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 to input
pins and are automatically disabled for output pins.
Ports 8 and 9 can be paired to enable 8-bit data
transfer.
1-bit and 4-bit read and test is possible.
Each bit pull-up resistors are assignable.
P2.0
P2.1
P2.2
P2.3
I/O4-bit I/O port.
1-bit and 4-bit read/write and test is possible.
Each individual pin can be assignable as input or
output. 4-bit pull-up resisters are software assignable to
input pins and are automatically disabled for output
pins.
P3.0
P3.1
P4.0
P4.1
P4.2
P4.3
P5.0-P5.3
Ports 2 and 3 can be paired to enable 8-bit data
transfer.
I/O4-bit I/O ports.
1-bit and 4-bit read/write and test is possible.
Each individual pin can be assignable as input or
output. 4-bit pull-up resisters are software assignable to
input pins and are automatically disabled for output
pins.
The N-channel open-drain or push-pull output can be
selected by software (1-bit unit).
Ports 4 and 5 can be paired to enable 8-bit data
transfer.
P6.0-P6.3
I/O4-bit I/O ports.
1-bit and 4-bit read/write and test is possible.
P7.0-P7.3
Each individual pin can be assignable as input or
output. 4-bit pull-up resisters are software assignable to
input pins and are automatically disabled for output
pins.
Ports 6 and 7 can be paired to enable 8-bit data
transfer.
The triggering edge for INT0 is selectable.
TCLO0I/OTimer/counter 0 clock output24 (26)P2.0D-2
TCLO1I/OTimer/counter 1 clock output25 (27)P2.1D-2
CLOI/OClock output26 (28)P2.2D-2
BUZI/O2 kHz, 4 kHz, 8 kHz, or 16 kHz frequency output at the
27 (29)P2.3D-2
watch timer clock frequency of 4.19 MHz for buzzer
sound
TCL0I/OExternal clock input for timer/counter 028 (30)P3.0D-4
TCL1I/OExternal clock input for timer/counter 129 (31)P3.1D-4
BTCOI/OBasic timer clock output5 (5)P4.0E-2
V
V
X
X
DD
SS
IN
OUT
–Power supply30 (32)––
–Ground1 (1)––
–Crystal, or ceramic oscillator signal for main system
clock. (For external clock input, use XIN and input XIN's
reverse phase to X
OUT
)
3 (3)
2 (2)
––
NC–No connection(9, 24)––
TEST–Chip test input pin, Hold GND when the device is
4 (4)––
operating.
RESET
KS0-KS3
KS4-KS7
–RESET signal7 (7)–B
I/OQuasi-interrupt inputs with falling edge detection14-17
(15-18)
P6.0-P6.3
P7.0-P7.3
18-21
D-4
(19-22)
NOTE: Parentheses indicate the pin number for 32-SOP package.