S3C9654/C9658/P9658
PRODUCT OVERVIEW
1
PRODUCT OVERVIEW
SAM88RCRI PRODUCT FAMILY
Samsung's SAM88RCRI family of 8-bit single-chip CMOS microcontrollers offer fast and efficient CPU, a wide
range of integrated peripherals, and supports OTP device.
A dual address/data bus architecture and bit- or nibble-configurable I/O ports provide a flexible programming
environment for applications with varied memory and I/O requirements. Timer/counters with selectable operating
modes are included to support real-time operations.
S3C9654/C9658/P9658 MICROCONTROLLER
The S3C9654/C9658/P9658 microcontroller with USB function can be used in a wide range of general purpose
applications. It is especially suitable for mouse or joystick controller and is available in 16, 18, 20-pin DIP and
SOP package.
The S3C9654/C9658/P9658 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is
built around the powerful SAM88RCRI CPU core.
Stop and Idle power-down modes were implemented to reduce power consumption. To increase on-chip register
space, the size of the internal register file was logically expanded. The S3C9654/C9658/P9658 has 4/8 Kbytes of
program memory on-chip (S3C9654/C9658), and 208 bytes of RAM including 16 bytes of working register.
Using the SAM88RCRI design approach, the following peripherals were integrated with the SAM88RCRI core:
— Three configurable I/O ports (14 pin, at 20 pin)
— 14-bit programmable pins for external interrupts (at 20 pin)
— 8-bit timer/counter with two operating modes
OTP
The S3C9654/C9658 microcontroller is also available in OTP (One Time Programmable) version. S3P9658
microcontroller has an on-chip 4/8 Kbyte one-time-programmable EPROM instead of masked ROM. The
S3P9658 is comparable to S3C9654/C9658, both in function and in pin configuration.
1-1
PRODUCT OVERVIEW
S3C9654/C9658/P9658
FEATURES
CPU
•
Timer/Counter
•
SAM88RCRI CPU core
Memory
•
•
•
•
One 8-bit basic timer for watchdog function and
programmable oscillation stabilization interval
generation function
One 8-bit timer/counter with Compare/Overflow
counter
4-K byte internal program memory
(ROM S3C9654)
8-K byte internal program memory
(ROM S3P9658/C9658)
208-byte RAM
16 bytes of working register
•
USB Serial Bus
•
•
Compatible to USB low speed (1.5 Mbps) device
1.0 specification.
Serial bus interface engine (SIE)
— Packet decoding/generation
— CRC generation and checking
— NRZI encoding/decoding and bit-stuffing
Instruction Set
•
•
41 instructions
IDLE and STOP instructions added for power-
down modes
•
Two 8-byte receive/transmit USB buffer
Instruction Execution Time
•
Operating Temperature Range
•
0.66
µs
at 6 MHz f
OSC
– 0
°
C to + 85
°
C
Interrupts
•
•
•
•
Operating Voltage Range
•
14 interrupt sources with one vector (20 pin)
12 interrupt sources with one vector (18 pin)
10 interrupt sources with one vector (16 pin)
One level, one vector interrupt structure
4.0 V to 5.25 V
Package Types
•
•
16, 18, 20 pin DIP
16, 18, 20 pin SOP
Oscillation Circuit Options
•
•
•
•
6 MHz crystal/ceramic oscillator
External clock source
RC oscillator
Embedded oscillation capacitor (XI, XO, 33pF)
Comparator
•
•
•
6-channel mode, 32 step resolution
5-channel mode, external reference
Low EMI design
General I/O
•
•
•
Low Voltage Reset
•
•
14 bit-programmable I/O pins (20 pin)
12 bit-programmable I/O pins (18 pin)
10 bit-programmable I/O pins (16 pin)
Low voltage Reset
Power on Reset
High Sink Current Pin for LED
•
Sub Oscillator
•
•
P0.0 (V
OL
: 0.4 V, 50mA)
Internal RC sub oscillator
Auto interrupt wake-up
1-2
S3C9654/C9658/P9658
PRODUCT OVERVIEW
BLOCK DIAGRAM
TEST
RESET
X
IN
OSC
X
OUT
Port I/O and
Interrupt Control
Port 1/
Compa
-rator
P1.0/CIN0/INT1
P1.1/CIN0/INT1
P1.2/CIN0/INT1
P1.3/CIN0/INT1
P1.4/CIN0/INT1
P1.5/CIN0/INT1
SUB
OSC
Basic
Timer
SAM88RCRI CPU
Port 0
P0.0/INT0
P0.1/INT0
P0.2/INT0
(note)
P0.3/INT0
(note)
P0.4/INT0
(note)
P0.5/INT0
(note)
Timer 0
LVR
8K (4K)
ROM
208 Byte
RAM
USB
SIE
P2.1/D+/INT2
P2.0/D-/INT2
NOTE:
16, 18, 20 DIP and SOP.
Figure 1-1. Block Diagram
1-3
PRODUCT OVERVIEW
S3C9654/C9658/P9658
PIN ASSIGNMENTS
P0.2/INT0
V
SS
P0.0/INT0
P1.0/COM0/INT1
P1.1/COM1/INT1
P1.2/COM2/INT1
P1.3/COM3/INT1
P1.4/COM4/INT1
P1.5/COM5/INT1
P0.4/INT0
1
2
3
4
5
6
7
8
9
10
20
19
18
17
P0.3/INT0
V
DD
P2.0/D-/INT2
P2.1/D+/INT2
RESET
X
IN
X
OUT
TEST
P0.1/INT0
P0.5/INT0
S3C9654/
S3C9658
16
15
14
13
12
11
Figure 1-2. Pin Assignment (20 Pin)
1-4
S3C9654/C9658/P9658
PRODUCT OVERVIEW
P0.2/INT0
V
SS
P0.0/INT0
P1.0/COM0/INT1
P1.1/COM1/INT1
P1.2/COM2/INT1
P1.3/COM3/INT1
P1.4/COM4/INT1
P1.5/COM5/INT1
1
2
3
4
5
6
7
8
9
18
17
16
P0.3/INT0
V
DD
P2.0/D-/INT2
P2.1/D+/INT2
RESET
X
IN
X
OUT
TEST
P0.1/INT0
S3C9654/
S3C9658
15
14
13
12
11
10
Figure 1-3. Pin Assignment (18 Pin)
V
SS
P0.0/INT0
P1.0/COM0/INT1
P1.1/COM1/INT1
P1.2/COM2/INT1
P1.3/COM3/INT1
P1.4/COM4/INT1
P1.5/COM5/INT1
1
2
3
4
5
6
7
8
16
15
14
V
DD
P2.0/D-/INT2
P2.1/D+/INT2
RESET
X
IN
X
OUT
TEST
P0.1/INT0
S3C9654/
S3C9658
13
12
11
10
9
Figure 1-4. Pin Assignment (16 Pin)
1-5