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. The sophisticated interrupt
structure recognizes up to eight interrupt levels. Each level can have one or more interrupt sources and vectors.
Fast interrupt processing (within a minimum six CPU clocks) can be assigned to specific interrupt levels.
KS88C4504 MICROCONTROLLER
The KS88C4504 single-chip microcontroller is fabricated using a highly advanced CMOS process. Its design is
based on the powerful SAM87RC CPU core. Stop and Idle power-down modes were implemented to reduce
power consumption. The size of the internal register file is logically expanded, increasing the addressable on-chip
register space to 1040 bytes. A flexible yet sophisticated external interface is used to access up to 64-Kbytes of
program and data memory. The KS88C4504 is a versatile microcontroller that is ideal for use in a wide range of
general-purpose applications such as CD-ROM/DVD-ROM drives.
Using the SAM87RC modular design approach, the following peripherals were integrated with the SAM87RC
CPU core:
— Five configurable 8-bit general I/O ports
— One 2-bit general I/O ports
— Full-duplex serial data port with one synchronous operating modes
— Two 8-bit timers with interval timer
— Two 16-bit timers/counters with PWM operating modes or capture modes
— One voltage level detector pin
— Four embedded chip selection pins (CS0–CS4) or normal I/O ports
— Two programmable 8-bit PWM modules with corresponding output pins
— A/D converter with 4 selectable input pins
OTP
The KS88C4504 microcontroller is also avaiable in OTP(One Time Programmable) version, KS88P4504
The KS88P4504 microcontroller has an on-chip 4K-byte one-time-programable EPROM instead of masked ROM.
The KS88P4504 is comparable To KS88C4504, both in function and in pin configuration.
1-1
PRODUCT OVERVIEWKS88C4504/P4504
FEATURES
CPU
•SAM87RC CPU core
Memory
•1040-byte internal register file
•4-Kbyte internal program memory
External Interface
•64K-byte external data memory
•64K-byte external program memory area
(ROMless)
•60K-byte external program memory and 4K-byte
internal program memory
ADC
•Can be used as a general input/output port
•8-bit resolution four channels
SIO
•8-bit transmit/receive mode
•8-bit receive mode
•LSB-first or MSB-first transmission selectable
•Internal or external clock mode
8-bit Timers
•Two 8-bit timers with interval timer mode
(Timer A and B)
P0.0–P0.7I/OBit programmable port; input or output mode
selected by software; normal input or push-pull
output with software assignable pull-up (P0.0–
P0.3) or pull-down (P0.4–P0.7). Alternately,
P0.4–P0.7 can be use as a ADC input port with
8-bit resolution.
P1.0–P1.7I/OBit programmable port; input or output mode
selected by software; normal input or push-pull
output with software assignable pull-up. P1.5–
P1.7 can be used as a synchronous SIO port
P1.5/SI
P1.6/SO
P1.7/SCK
P2.0–P2.7I/OGeneral I/O port with normal input or push-pull
output with software; assignable pull-up. Bit
programmable.
Alternately, P2.0–P2.7 can be used as inputs for
external interrupts, INT0–INT7 (with noise filter
and interrupt control). INT0/INT1 is level
interrupts.
P3.0–P3.7I/OGeneral I/O port with bit programmable pins.
Normal input or push-pull output with software
assignable pull-up. Input or output mode is
selectable by software. Respectively, each pin
can serve as (with noise filters):
P3.0/timer D clock input (TDCK)
P3.1/timer C clock input (TCCK)
P3.2/timer D capture input (TDCAP)
P3.3/timer C capture input (TCCAP)
P3.4/timer C out (TCOUT)/PWM out (TCPWM)
P3.5/timer D out (TDOUT)/PWM out (TDPWM)
P3.6/PWM0 output port
P3.7/PWM1 output port
P4.0–P4.7I/OGeneral I/O port with bit programmable pins.
Normal input or push-pull output with software
assignable pull-up. Input or output mode is
selectable by software. P4.0–P4.7 can alternately
be used as inputs for embedded chip selection
output.
P4.4/CS0
P4.5/CS1
P4.6/CS2
P4.7/CS3