The KS57C5616/P5616 single-chip CMOS microcontroller is designed for high performance in the application for
Caller-ID, Telephone using Samsung's newest 4-bit CPU core, SAM47 (Samsung Arrangable Microcontrollers).
Featuring a DTMF generator, up-to-960-dot LCD direct drive capability, one 8-bit timer/counter and flexible two
8-bit timer/counters, and serial I/O interface, the KS57C5616/P5616 offer an excellent design solution for a wide
variety of applications requiring DTMF, LCD support.
Up to 43 (including COM/SEG) pins in the 100-pin QFP package can be dedicated to I/O. Nine vectored
interrupts provide a fast response to internal and external events. In addition the advanced CMOS technology a of
the KS57C5616/P5616 ensures low power consumption with a wide operating voltage range.
OTP
The KS57C5616 microcontroller is also available in OTP (One Time Programmable) version, KS57P5616.
KS57P5616 microcontroller has an on-chip 16K-byte one-time-programmable EPROM instead of masked ROM.
The KS57P5616 is comparable to KS57C5616, both in function and in pin configuration.
1-1
PRODUCT OVERVIEWKS57C5616/P5616
FEATURES SUMMARY
Memory
•16K × 8-bit ROM
•5,120 × 4-bit RAM (excluding LCD RAM)
I/O Pins
•Input only:4pins (Not including COM/SEG)
6pins (Including COM/SEG)
•I/O:15pins (Not including COM/SEG)
43pins (Including COM/SEG)
Memory-Mapped I/O Structure
•Data memory bank 15
8-bit Basic Timer
•Four interval timer functions
•Watchdog timer
8-bit Timer/Counter
•Programmable 8-bit timer
•External event counter
•Arbitrary clock frequency output
•External clock signal divider
16-Bit Timer/Counter
•Programmable 16-bit timer
•External event counter
•Arbitrary clock frequency output
•External clock signal divider
•Configurable as two 8-bit Timers
•Serial I/O interface clock generator
Watch Timer
•Time interval generation: 0.5 s, 3.9 ms
at 32.768 kHz
•4 frequency outputs to BUZ pin (0.5, 1, 2, 4 kHz)
at 32.768 kHz
Comparator
•4-channel mode: Internal reference (4-bit
resolution); 16-step variable reference voltage
•3-channel mode: External reference
DTMF Generator
•16 dual-tone for tone dialing
8-bit Serial I/O Interface
•8-bit transmit/receive mode
•8-bit receive mode
•LSB-first or MSB-first transmission selectable
LCD Controller/Driver
•60 SEG x 16 COM terminals
•8, 12 and 16 com selectable
•COM 8–15: shared with port
•SEG40–59: shared with port
•Two kinds of LCD bias resistor value
Bit Sequential Carrier
•Supports 16-bit serial data transfer in arbitrary
format
1-bit and 4-bit read/write and test is possible.
Individual pins are software configurable as input or
output.
SCK/K0
SO/K1
SI/K2
BUZ/K3
Individual pins are software configurable as open-drain or
push-pull output.
4-bit pull-up resistors are software assignable; pull-up
resistors are automatically disabled for output pins.
I4-bit input port.
1-bit and 4-bit read and test is possible.
4-bit pull-up resistors are software assignable.
INT0
INT1
INT2
INT4
I/OSame as port 0 except that port 2 is a 3-bit I/O port.CLO
VLC1
I/OSame as port 0.TCLO0
TCLO1
TCL0
TCL1
I/O4-bit I/O ports.
1-, 4-bit or 8-bit read/write and test is possible.
COM8–COM11
COM12–COM15
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/OSame as P4, P5.SEG59–
SEG56/K4-K7
P7.0–P7.3
SEG55/CIN0–
SEG52/CIN3
P8.0–P8.1I/OInput ports.
1-, 4-bit or 8-bit read and test is possible.
SEG51/LCDCK
SEG50/LCDSY
4-bit pull-up resistors are software assignable; pull-up
resistors are automatically disabled for output pins.
These pins can not be used as push-pull output. Refer to
the NOTES of Table 10-3. Port Mode Group Flags.
P8.2–P8.3
I/OSame as P4, P5.SEG49
SEG48
P9.0–P9.3
SEG47–SEG44
P10.0–P10.3I/OSame as P4, P5.SEG43–SEG40
SCK
I/OSerial I/O interface clock signal.P0.0/K0
SOI/OSerial data output.P0.1/K1
1-5
PRODUCT OVERVIEWKS57C5616/P5616
Table 1-1. KS57C5616 Pin Descriptions (Continued)
Pin NamePin TypeDescriptionShare Pin
SII/OSerial data input.P0.2/K2
BUZI/O0.5, 1, 2, or 4 kHz frequency output for buzzer sound.P0.3/K3
INT0, INT1IExternal interrupts. The triggering edge for INT0 and
P1.0, P1.1
INT1 is selectable.
INT2IQuasi-interrupt with detection of rising or falling edges.P1.2
INT4IExternal interrupt with a detection of rising and falling