Samsung's SAM87 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. Important CPU features include:
— Efficient register-oriented architecture
— Selectable CPU clock sources
— Release of Idle and Stop power-down modes by interrupt
— Built-in basic timer circuit with watchdog function
A 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 of six CPU clocks) can be assigned to
specific interrupt levels.
KS88C8424/C8432/P8432 MICROCONTROLLERS
The KS88C8424 microcontroller has a 24-Kbyte on-chip program memory and the KS88C8432 has a 32-Kbyte.
Both chips have a 272-byte general-purpose internal register file. The interrupt structure has nine interrupt
sources with nine interrupt vectors. The CPU recognizes seven interrupt priority levels.
Using a modular design approach, the following peripherals were integrated with the SAM87 core to make the
KS88C8424/C8432/P8432 microcontrollers suitable for use in color television and other types of screen display
applications:
output pins)
— 4-bit resolution A/D converter (4 channels)
— 14-bit PWM output (Two channels: push-pull type, open-drain type)
— Basic timer (BT) with watchdog timer function
— One 8-bit timer/counter (T0) with interval timer and PWM mode
— One 8-bit general-purpose timer/counter (TA) with prescalers
— On-screen display (OSD) with a wide range of programmable features, including halftone control
signal output
The KS88C8424 and the KS88C8432 are available in versatile 42-pin SDIP package.
OTP
The KS88C8424/C8432 microcontrollers are also available in OTP (One Time Programmable) version, named
the KS88P8432. The KS88P8432 microcontroller has an on-chip 32-Kbyte one-time-programmable EPROM
instead of a masked ROM. The KS88P8432 is comparable to the KS88C8424/C8432, both in function and pin
configuration.
1-1
PRODUCT OVERVIEWKS88C8424/C8432/P8432
FEATURES
CPU
•SAM87 CPU core
Memory
•24-Kbyte (KS88C8424) or 32-Kbyte (KS88C8432)
internal program memory
•272-byte general-purpose register area
Instruction Set
•78 instructions
•IDLE and STOP instructions added for powerdown modes
Instruction Execution Time
•750 ns (minimum) with an 8 MHz CPU clock
Interrupts
•9 interrupt sources with 9 vectors
•7 interrupt levels
•Fast interrupt processing for select levels
General I/O
•Four I/O ports (26 pins total)
•Six open-drain pins for up to 6 V loads
•Four open-drain pins for up to 5 V loads
Pulse Width Modulation Module
•14-bit PWM with two-channel output (push-pull
type, open-drain type)
•8-bit PWM with four-channel, push-pull and opendrain
•PWM counter and data capture input pin
•Frequency: 5.859 kHz to 23.437 kHz with a 6 MHz
CPU clock
P0.0–P0.3I/OGeneral I/O port (4-bit), configurable for
digital input or n-channel open-drain, pushpull output.
Pins can withstand up to 5 V loads.
P0.4–P0.5General I/O port (2-bit), configurable for
digital input or push-pull output.
P0.6–P0.7General I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P0.6–P0.7 can withstand up to 5 V loads.
Multiplexed for alternative use as external
inputs, ADC2–ADC3.
P1.0–P1.3I/OGeneral I/O port (4-bit), configurable for
digital input or n-channel open-drain output.
P1.0–P1.3 can withstand up to 6 V loads.
Multiplexed for alternative use as external
interrupt inputs, INT0–INT3.
P1.4–P1.5General I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P1.4–P1.5 can withstand up to 6 V loads.
High current port(10mA)
P1.6–P1.7General I/O port (2-bit), configurable for
digital input or push-pull output.
Each pin has an alternative function.
P1.7: T0CK (Timer 0 clock input)
P2.0–P2.7I/OGeneral I/O port (8-bit). Input/output mode
or n-channel open-drain, push-pull output
mode are software configurable. Pins can
withstand up to 5 V loads.
Each pin has an alternative function.
P2.0: PWM5 (8-bit PWM output)
P2.1: PWM1 (14-bit PWM output)
P2.2: PWM2 (8-bit PWM output)
P2.3: PWM3 (8-bit PWM output)
P2.4: PWM4 (8-bit PWM output)
P2.5: PWM0 (14-bit PWM output)
P2.6: T0 (Timer 0 PWM and interval output)
P2.7: OSDHT (Halftone signal output)
P3.0–P3.1I/OGeneral I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P3.0–P3.1 can withstand up to 5 V loads.
Multiplexed for alternative use as external
inputs ADC0–ADC1.