The KS57C3316 single-chip CMOS microcontroller has been designed for high performance using Samsung's
newest 4-bit CPU core, SAM47 (Samsung Arrangeable Microcontrollers).
With features such as LCD direct drive capability, 4-channel A/D converter, 8-bit timer/counter, watch timer and
PLL frequency synthesizer, it offers you an excellent design solution for a wide variety of applications that require
LCD functions and audio applications.
Up to 56 pins of the 80-pin QFP package, it can be dedicated to I/O. Eight vectored interrupts provide fast
response to internal and external events. In addition, the KS57C3316's advanced CMOS technology provides for
low power consumption and a wide operating voltage range.
OTP
The KS57C3316 microcontroller is also available in OTP (One Time Programmable) version, KS57P3316. The
KS57P3316 microcontroller has an on-chip 16-Kbyte one-time-programmable EPROM instead of masked ROM.
The KS57P3316 is comparable to KS57C3316, both in function and in pin configuration.
1-1
PRODUCT OVERVIEWKS57C3316/P3316
FEATURES
Memory
•512-nibble RAM
•16K-byte ROM
I/O Pins
•Input only: 4 pins
•Output only: 28 pins
•I/O: 24 pins
LCD Controller/Driver
•Maximum 14-digit LCD direct drive capability
•28 segment x 4 common signals
•Display modes: Static, 1/2 duty (1/2 bias)
1/3 duty (1/2 or 1/3 bias), 1/4 duty (1/3 bias)
8-Bit Basic Timer
•Programmable interval timer functions
•Watch-dog timer function
8-Bit Timer/Counter
•Programmable 8-bit timer
•External event counter
•Arbitrary clock frequency output
•External clock signal divider
•Serial I/O interface clock generator
Watch Timer
•Time interval generation
: 0.5 s, 3.9 ms at 32.768 kHz
•Frequency outputs to BUZ pin
•Clock source generation for LCD
8-Bit Serial I/O Interface
•8-bit transmit/receive mode
•8-bit receive mode
•Data direction selectable (LSB-first or MSB-first)
1-bit or 4-bit read, write, and test are possible.
Pull-up resistors can be configured by software.
I4-bit input port.
1-bit or 4-bit read and test are possible.
Pull-up resistors can be configured by software.
I/O4-bit I/O ports.
1-bit, 4-bit or 8-bit read, write and test are possible.
Pull-up resistors can be configured by software.
Ports 2 and 3 can be paired to support 8-bit data
transfer.
I/O4-bit I/O ports.
1-bit, 4-bit or 8-bit read, write and test are possible.
Pull-up resistors can be configured by software.
I/OPorts 4 and 5 can be paired to support 8-bit data
transfer.
I/O4-bit I/O port.
1-bit, 4-bit or 8-bit read, write and test are possible.
Pull-up resistors can be configured by software.
In this section, information on KS57C3316 electrical characteristics is presented as tables and graphics. The
information is arranged in the following order:
Standard Electrical Characteristics
— Absolute maximum ratings
— D.C. electrical characteristics
— System clock oscillator characteristics
— I/O capacitance
— A.C. electrical characteristics
— Operating voltage range
Miscellaneous Timing Waveforms
— A.C timing measurement point
— Clock timing measurement at X
— Clock timing measurement at XT
— Input timing for RESET
— Input timing for external interrupts and Quasi-Interrupts
Stop Mode Characteristics and Timing Waveforms
— RAM data retention supply voltage in stop mode
— Stop mode release timing when initiated by RESET
— Stop mode release timing when initiated by an interrupt request
IN
IN
17-1
KS57C3316/P3316KS57P3316 OTP
18KS57P3316 OTP
OVERVIEW
The KS57P3316 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
KS57C3316 microcontroller. It has an on-chip EPROM instead of masked ROM. The EPROM is accessed by a
serial data format.
The KS57P3316 is fully compatible with the KS57C3316, both in function and in pin configuration. Because of its
simple programming requirements, the KS57P3316 is ideal for use as an evaluation chip for the KS57C3316.
Table 18-1. Pin Descriptions Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
P6.2SDAT10I/OSerial data pin. Output port when reading and input port
when writing. Can be assigned as a Input or push-pull
output port.
P6.3SCLK11I/OSerial clock pin. Input only pin.
V
TEST
PP
(TEST)
16IPower supply pin for EPROM cell writing (indicates that
OTP enters into the writing mode). When 12.5 V is
applied, OTP is in writing mode and when 5 V is applied,
OTP is in reading mode.
RESETRESET
V
DD
/ V
SS
VDD / V
SS
19IChip initialization
12/13I
Logic power supply pin. VDD should be tied to +5 V during
programming.
Table 18-2. Comparison of KS57P3316 and KS57C3316 Features
CharacteristicKS57P3316KS57C3316
Program Memory16K bytes EPROM16K bytes mask ROM
Operating Voltage (VDD)
OTP Programming Mode
1.8 V to 5.5 V
2.5 V to 3.5 V or 4.0 V to 5.5 V
at PLL/IFC operation
VDD = 5 V, VPP (TEST) = 12.5 V
1.8 V to 5.5 V
2.5 V to 3.5 V or 4.0 V to 5.5 V
at PLL/IFC operation
–
Pin Configuration80 QFP80 QFP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the Vpp (TEST) pin of the KS57P3316, the EPROM programming mode is entered.
The operating mode (read, write, or read protection) is selected according to the input signals to the pins listed in
Table 17-3 below.