ChipFind - документация

Электронный компонент: S3P9614

Скачать:  PDF   ZIP

Document Outline

S3C9614/P9614
PRODUCT OVERVIEW
1-1
1
PRODUCT OVERVIEW
SAM87RI PRODUCT FAMILY
Samsung's SAM87RI 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.
S3C9614/P9614 MICROCONTROLLER
The S3C9614/P9614 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 20-pin DIP and 24-pin
SOP package.
The S3C9614/P9614 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is built
around the powerful SAM87RI 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 S3C9614/P9614 has 4K-bytes of program
memory on-chip and 208 bytes of RAM including 16 bytes of working register.
Using the SAM87Ri design approach, the following peripherals were integrated with the SAM87Ri core:
-- Two configurable I/O ports (11 pins)
-- 7 bit-programmable pins for external interrupts
-- 8-bit timer/counter with two operating modes
OTP
The S3C9614 microcontroller is also available in OTP (One Time Programmable) version, S3P9614. S3P9614
microcontroller has an on-chip 4K-byte one-time-programmable EPROM instead of masked ROM. The S3P9614
is comparable to S3C9614, both in function and in pin configuration.
PRODUCT OVERVIEW
S3C9614/P9614
1-2
FEATURES
S3C9614/P9614
PRODUCT OVERVIEW
1-3
CPU
SAM87RI CPU core
Memory
4K-byte internal program memory (ROM)
208-byte RAM
16 bytes of working register
Instruction Set
41 instructions
IDLE and STOP instructions added for power-
down modes
Instruction Execution Time
1.0
s at 6 MHz f
OSC
Interrupts
12 interrupt sources with one vector
One level, one vector interrupt structure
Oscillation Circuit Options
6 MHz crystal/ceramic oscillator
External clock source
General I/O
11 bit-programmable I/O pins
Timer/Counter
One 8-bit basic timer for watchdog function and
programmable oscillation stabilization interval
generation function
One 8-bit timer/counter with Compare/Overflow
counter
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
Two 8-byte receive/transmit USB buffer
Operating Temperature Range
40
C to + 85
C
Operating Voltage Range
4.0 V to 5.25 V
Package Types
20-pin DIP
24-pin SOP
Comparator
4-channel mode, 4-bit resolution
3-channel mode, external reference
low EMI design
S3C9614/P9614
PRODUCT OVERVIEW
1-5
BLOCK DIAGRAM
I/O PORT AND
INTERRUPT CONTROL
USB
SIE
PORT 1/
COMPA-
RATOR
P0.0/INT0
P0.1/INT0
P0.2/INT0
D+
D-
3.3Vout
P1.0/CIN0/SCLK
P1.1/CIN1/SDAT
P1.2/CIN2
P1.3/CIN3
P1.4/INT1
P1.5/INT1
P1.6/INT1
P1.7/INT1
TIMER 0
BASIC
TIMER
OSC
RESET
TEST
X
IN
X
OUT
SAM87RI
CPU
208-BYTE
REGISTER
4-KB ROM
PORT 0
Figure 1-1. Block Diagram
PRODUCT OVERVIEW
S3C9614/P9614
1-6
PIN ASSIGNMENTS
S3C9614
20-DIP
(Top View)
V
DD
P1.0/CIN0
P1.1/CIN1
P1.2/CIN2
P1.3/CIN3
P1.4/INT1
P1.5/INT1
3.3 V
OUT
D+
D-
20
19
18
17
16
15
14
13
12
11
V
SS
X
OUT
X
IN
TEST
P0.0/INT0
P0.1/INT0
RESET
P0.2/INT0
P1.7/INT1
P1.6/INT1
1
2
3
4
5
6
7
8
9
10
Figure 1-2. Pin Assignment Diagram (20-Pin DIP Package)
S3C9614/P9614
PRODUCT OVERVIEW
1-7
S3C9614
24-SOP
(Top View)
V
DD
P1.0/CIN0
P1.1/CIN1
NC
P1.2/CIN2
P1.3/CIN3
P1.4/INT1
P1.5/INT1
NC
3.3 V
OUT
D+
D-
24
23
22
21
20
19
18
17
16
15
14
13
V
SS
X
OUT
X
IN
NC
TEST
P0.0/INT0
P0.1/INT0
RESET
NC
P0.2/INT0
P1.7/INT1
P1.6/INT1
1
2
3
4
5
6
7
8
9
10
11
12
Figure 1-3. Pin Assignment Diagram (24-Pin SOP Package)
PRODUCT OVERVIEW
S3C9614/P9614
1-8
PIN DESCRIPTIONS
Table 1-1. S3C9614/P9614 Pin Descriptions
Pin
Names
Pin
Type
Pin
Description
Circuit
Number
Pin
Numbers
Share
Pins
P0.0P0.2
I/O
Bit-programmable I/O port for Schmitt trigger
input or push-pull output. Pull-up resistors are
individually assignable to input pins by software
and are automatically disable for output pins.
Port0 can be individually configured as external
interrupt inputs.
D
5, 6, 8
INT0
P1.0P1.3
I/O
Bit-programmable I/O port for Schmitt trigger
input or push-pull output. Pull-up resistors are
individually assignable to input pins by software.
Port1.01.3 can be configured as comparator
input
F-8
1916
CIN0
CIN3
P1.4-P1.7
I/O
Bit-programmable I/O port for Schmitt trigger
input or push-pull output. Pull-up resistors are
individually assignable to input pins by software
and are automatically disabled for output pins.
Port1.41.7 can be individually configured as
external interrupt inputs.
D
15, 14, 10, 9
INT1
D+/D-
I/O
Only used as USB tranceive/receive port.
1211
3.3VOUT
O
Internal regulator 3.3 V output pin for referencing
the voltage
13
X
IN
, X
OUT
System clock input and output pin
(crystal/ceramic oscillator, or external clock
source)
32
INT0
I
External interrupt for bit-programmable port0.
D
5, 6, 8
Port0
INT1
I
External interrupt for bit-programmable port1
D
9, 10, 14, 15
Port1
RESET
I
RESET
signal input pin.
7
TEST
I
Test signal input pin (for factory use only; must
be connected to V
SS
)
4
V
DD
Power input pin
20
V
SS
V
SS
is a ground power for CPU core.
1
S3C9614/P9614
PRODUCT OVERVIEW
1-9
Pin Circuits
Table 1-2. Pin Circuit Assignments for the S3C9614/P9614
Circuit Number
Circuit Type
S3C9614/P9614 Assignments
C
O
D
I/O
Port0, Port1.41.7, INT0, INT1
F-8
I/O
Port1.01.3
NOTE: Diagrams of circuit types CD, and F-8 are presented below.
DATA
OUTPUT
DISABLE
OUT
V
DD
Figure 1-4. Pin Circuit Type C
PULL-UP
ENABLE
DATA
OUTPUT
DISABLE
IN/OUT
V
DD
CIRCUIT
TYPE C
Figure 1-5. Pin Circuit Type D
PRODUCT OVERVIEW
S3C9614/P9614
1-10
IN/OUT
V
DD
DATA
OUTPUT
DISABLE
PULL-UP
ENABLE
ANALOG/
EXTERNAL
VREF INPUT
V
DD
CIRCUIT
TYPE C
Figure 1-6. Pin Circuit Type F-8
S3C9614/P9614
PRODUCT OVERVIEW
1-11
C3
CON_B
5
4
3
2
1
C1
R3
C2
C4
R1
R2
Right Button
Button
1
2
3
Left Button
Button
1
2
3
1
2
3
+
1
2
1
2
3
+
1
2
5
4
3
2
1
V
DD
V
SS
X
OUT
V3.3
D-
D+
KS86P6104
P0.0/INT0
P0.1/INT0
P1.7/INT1
P1.3/CIN3
P1.2/CIN2
Array 4
P0.2/INT0
RESET
P1.1/CIN1
P1.0/CIN0
USB Cable
X
IN
Figure 1-7. USB Mouse Circuit Diagram
S3C9614
S3C9614/P9614
ELECTRICAL DATA
13-1
13
ELECTRICAL DATA
OVERVIEW
In this section, the following S3C9614/P9614 electrical characteristics are presented in tables and graphs:
-- Absolute maximum ratings
-- D.C. electrical characteristics
-- I/O capacitance
-- A.C. electrical characteristics
-- Input timing for
RESET
-- Oscillator characteristics
-- Operating voltage range
-- Oscillation stabilization time
-- Clock timing measurement points at X
IN
-- Data retention supply voltage in Stop mode
-- Stop mode release timing when initiated by a
RESET
-- Stop mode release timing when initiated by an external interrupt
-- Characteristic curves
-- Comparator Electrical Characteristics
ELECTRICAL DATA
S3C9614/P9614
13-2
Table 13-1. Absolute Maximum Ratings
(T
A
= 25
C)
Parameter
Symbol
Conditions
Rating
Unit
Supply voltage
V
DD
0.3 to + 6.5
V
Input voltage
V
IN
All in ports
0.3 to V
DD
+ 0.3
V
Output voltage
V
O
All output ports
0.3 to V
DD
+ 0.3
V
Output current high
I
OH
One I/O pin active
18
mA
All I/O pins active
60
Output current low
I
OL
One I/O pin active
+ 30
mA
Total pin current for ports 0, 1
+ 100
Operating
temperature
T
A
40 to +85
C
Storage
temperature
T
STG
65 to + 150
C
S3C9614/P9614
ELECTRICAL DATA
13-3
Table 13-2. D.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.0 V to 5.25 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input highvoltage
V
IH1
All input pins except V
IH2,
D+, D
0.8 V
DD
V
DD
V
V
IH2
X
IN
V
DD
0.5
V
DD
Input low voltage
V
IL1
All input pins except V
IL2,
D+, D
0.2 V
DD
V
V
IL2
X
IN
0.4
Output high voltage
V
OH
V
DD
= 4.5 V 5.5 V
I
OH
= 200 A
All output ports except D+, D
V
DD
1.0
V
Output low voltage
V
OL
V
DD
= 4.5 V 5.5 V
I
OL
= 2 mA
All output ports except D+, D
0.4
V
Input high leakage
current
I
LIH1
V
IN
= V
DD
All inputs except I
LIH2
except D+, D
3
A
I
LIH2
V
IN
= V
DD
X
IN
,
X
OUT
20
Input low leakage
current
I
LIL1
V
IN
= 0 V
All inputs except I
LIL2
except D+, D
3
A
I
LIL2
V
IN
= 0 V
X
OUT
,
X
IN
20
Output high leakage
current
I
LOH
V
OUT
= V
DD
All output pins except D+, D
3
A
Output low leakage
current
I
LOL
V
OUT
= 0 V
All output pins except D+, D
3
A
Pull-up resistors
R
L1
V
IN
= 0 V; V
DD
= 5.0 V,
25
50
100
K
R
L2
V
IN
= 0 V; V
DD
= 5.0 V,
RESET
only
100
220
400
Supply current
(note)
I
DD1
Normal operation mode
6-MHz CPU clock
6.5
15
mA
I
DD2
Idle mode;
6-MHz CPU clock
4
8
mA
I
DD3
Stop mode;
oscillator stop
150
300
A
NOTES:
1.
Supply current does not include current drawn through internal pull-up resistors or external output current load.
2.
This parameter is guaranteed, but not tested (include D+, D).
3.
Only in 4.2 V to 5.25 V, D+ and D satisfy the USB spec 1.0.
ELECTRICAL DATA
S3C9614/P9614
13-4
Table 13-3. Input/Output Capacitance
(T
A
= 40
C to + 85
C, V
DD
=
0 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input
capacitance
C
IN
f = 1 MHz; unmeasured pins
are connected to V
SS
10
pF
Output
capacitance
C
OUT
I/o capacitance
C
IO
Table 13-4. A.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.0 V to 5.25 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Noise filter
t
NF1H
, t
NF1L
P1 (RC delay)
100
200
ns
t
NF2
RESET
only (RC delay)
800
RESET
input
low width
t
RSL
Input
10
s
t
NF1H
0.2 V
DD
t
NF1L
t
NF2
0.5 V
DD
0.8 V
DD
RESET
t
RSL
0.5V
DD
Figure 13-1. Input Timing for
RESET
RESET
S3C9614/P9614
ELECTRICAL DATA
13-5
Table 13-5. Oscillator Characteristics
(T
A
= 40
C + 85
C)
Oscillator
Clock Circuit
Test Condition
Min
Typ
Max
Unit
Main crystal Main
ceramic
(f
OSC
)
C2
X
IN
X
OUT
C1
Oscillation frequency
V
DD
= 4.0 V 5.25 V
6.0
MHz
External clock
X
IN
X
OUT
Oscillation frequency
V
DD
= 4.0 V 5.25 V
6.0
Table 13-6. Oscillation Stabilization Time
(T
A
= 40
C + 85
C, V
DD
= 4.0 V to 5.25 V)
Oscillator
Test Condition
Min
Typ
Max
Unit
Main crystal
V
DD
= 4.5 V to 5.5 V, f
OSC
> 6.0 MHz
10
ms
Main ceramic
(Oscillation stabilization occurs when V
DD
is equal to
the minimum oscillator voltage range.)
Oscillator
stabilization wait
time
t
WAIT
stop mode release time by a reset
2
16
/f
OSC
t
WAIT
stop mode release time by an interrupt
NOTE: The oscillator stabilization wait time, t
WAIT
, when it is released by an interrupt, is determined by the setting in the
basic timer control register, BTCON.
ELECTRICAL DATA
S3C9614/P9614
13-6
X
IN
t
XL
t
XH
1 / f
OSC
V
DD
0.5 V
0.4 V
Figure 13-2. Clock Timing Measurement Points at X
IN
Table 13-7. Data Retention Supply Voltage in Stop Mode
(T
A
= 0
C to + 70
C)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Data retention
supply voltage
V
DDDR
Stop mode
2.0
6
V
Data retention
supply current
I
DDDR
Stop mode; V
DDDR
= 2.0 V
5
A
S3C9614/P9614
ELECTRICAL DATA
13-7
t
WAIT
V
DD
RESET
EXECUTION OF
STOP
V
DDDR
DATA RETENTION MODE
STOP MODE
INTERNAL
RESET
IDLE MODE
(BASIC TIMER
ACTIVE)
0.5 V
DD
NORMAL
OPERATING
MODE


Figure 13-3. Stop Mode Release Timing When Initiated by a
RESET
RESET
t
WAIT
V
DD
EXECUTION OF
STOP INSTRUCTION
V
DDDR
DATA RETENTION MODE
STOP MODE
IDLE MODE
(BASIC TIMER
ACTIVE)
0.8 V
DD
0.2 V
DD
NORMAL
OPERATING
MODE
EXTERNAL
INTERRUPT


Figure 13-4. Stop Mode Release Timing When Initiated by an External Interrupt
ELECTRICAL DATA
S3C9614/P9614
13-8
Table 13-8. Comparator Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.0 V to 5.25 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Conversion time
(1)
t
CON
4
2
4
or
4
2
7
F
CPU
Comparator input
voltage
V
ICN
V
SS
V
DD
V
Comparator input
impedance
R
CN
2
1000
M
Comparator
reference voltage
V
REF
1.8
V
DD
V
Comparator input
current
I
CIN
V
DD
= 5 V
3
3
A
Reference input
current
I
REF
V
DD
= 5 V
3
3
A
Comparator block
I
COM
V
DD
= 5.5 V
1
2
mA
current
(2)
V
DD
= 4.5 V
0.5
1
mA
V
DD
= 5 V
(when power down mode)
100
500
nA
NOTES:
1.
Conversion time is the time required from the moment a conversion operation starts until it ends.
2.
I
COM
is an operating current during conversion.
S3C9614/P9614
ELECTRICAL DATA
13-9
Table 13-9. Low Speed Source Electrical Characteristics (USB)
(T
A
= 40
C to + 85
C, Voltage Regulator Output V
33out
= 2.8 V to 3.5 V, typ 3,3 V)
Parameter
Symbol
Conditions
Min
Max
Unit
Transition Time:
Rise Time
Tr
CL = 50 pF
75
ns
CL = 350 pF
300
Fall Time
Tf
CL = 50 pF
75
CL = 350 pF
300
Rise/Fall Time Matching
Trfm
(Tr/Tf) CL = 50 pF
70
130
%
Output Signal Crossover Voltage
Vcrs
CL = 50 pF
1.3
2.0
V
Voltage Regulator Output Voltage
V33OUT
with V33OUT to GND 0.1
F
capacitor
2.8
3.5
V
MEASUREMENT
POINTS
90%
90%
Tr
Tf
10%
D.U.T
R1
S/W
2.8V
Test
Point
CL
R1 = 15 K
R2 = 1.5 K
CL = 50pF-350pF
DM: S/W ON
DP: S/W OFF
R2
10%
Figure 13-5. USB Data Signal Rise and Fall Time
Vcrs
MAX: 2.0 V
MIN: 1.3 V
3.3 V
0 V
DP
DM
Figure 13-6. USB Output Signal Crossover Point Voltage
S3C9614/P9614
MECHANICAL DATA
14-1
14
MECHANICAL DATA
OVERVIEW
This section contains the following information about the device package:
-- Package dimensions in millimeters
-- Pad diagram
NOTE: Dimensions are in millimeters.
0.51MIN
3.25
0.2
3.30
0.3
5.08MAX
26.40
0.2
26.80 MAX
(1.77)
1.52
0.1
0.46
0.1
20-DIP-300A
6.40
0.2
#1
#10
#20
#11
7.62
0-15
0.25
+0.1 0.05
2.54
Figure 14-1. 20-DIP0300A Package Dimensions
MECHANICAL DATA
S3C9614/P9614
14-2
NOTE: Dimensions are in millimeters.
7.50
0.2
0-8
0.85
0.20
9.53
0.15
+0.10
- 0.05
0.10 MAX
0.05MIN
2.30
0.2
2.70MAX
15.34
0.2
15.74 MAX
(0.69)
0.38
0.1
24-SOP-375
10.30
0.3
#1
#12
#24
#13
1.27
Figure 14-2. 24-SOP-375 Package Dimensions
S3C9614/P9614
S3P9614 OTP
15-1
15
S3P9614 OTP
OVERVIEW
The S3P9614 single-chip CMOS microcontroller is the OTP (One Time Programmable)
version of the S3C9614
microcontroller. It has an on-chip OTP ROM instead of masked ROM. The EPROM is accessed by serial data
format.
The S3P9614 is fully compatible with the S3C9614, both in function and in pin configuration. Because of its
simple programming requirements, the S3P9614 is ideal for use as an evaluation chip for the S3C9614.
S3P9614
20-DIP
(Top View)
V
DD/
V
DD
P1.0/CIN0/SCLK
P1.1/CIN1/SDAT
P1.2/CIN2
P1.3/CIN3
P1.4/INT1
P1.5/INT1
3.3 V
OUT
D+
D-
20
19
18
17
16
15
14
13
12
11
V
SS
/V
SS
X
OUT
X
IN
TEST/TEST
P0.0/INT0
P0.1/INT0
RESET
RESET
/
RESET
P0.2/INT0
P1.7/INT1
P1.6/INT1
1
2
3
4
5
6
7
8
9
10
Figure 15-1. S3P9614 Pin Assignments (20-DIP Package)
S3P9614 OTP
S3C9614/P9614
15-2
S3P9614
24-SOP
(Top View)
V
DD/
V
DD
P1.0/CIN0/SCLK
P1.1/CIN1/SDAT
NC
P1.2/CIN2
P1.3/CIN3
P1.4/INT1
P1.5/INT1
NC
3.3 V
OUT
D+
D-
24
23
22
21
20
19
18
17
16
15
14
13
V
SS
/V
SS
X
OUT
X
IN
NC
TEST/TEST
P0.0/INT0
P0.1/INT0
RESET
/
RESET
NC
P0.2/INT0
P1.7/INT1
P1.6/INT1
1
2
3
4
5
6
7
8
9
10
11
12
Figure 15-2. S3P9614 Pin Assignments (24-SOP Package)
S3C9614/P9614
S3P9614 OTP
15-3
Table 15-1. Descriptions of Pins Used to Read/Write the EPROM
Main Chip
During Programming
Pin Name
Pin Name
Pin No.
(20 DIP)
I/O
Function
P1.0 (Pin 18)
SDAT
18
I/O
Serial Data Pin (Output when reading, Input
when writing) Input and Push-pull Output Port
can be assigned
P1.1 (Pin 19)
SCLK
19
I/O
Serial Clock Pin (Input Only Pin)
TEST
V
PP
(TEST)
4
I
0V : OTP write and test mode
5V : Operating mode
RESET
RESET
7
I
Chip Initialization and EPROM Cell Writing
Power Supply Pin (Indicates OTP Mode
Entering) When writing 12.5V is applied and
when reading.
V
DD
/V
SS
V
DD
/V
SS
20/1
I
Logic Power Supply Pin.
Table 15-2. Comparison of S3P9614 and S3C9614 Features
Characteristic
S3P9614
S3C9614
Program Memory
4 K byte EPROM
4 K byte mask ROM
Operating Voltage (V
DD
)
4.0 V to 5.25 V
4.0 V to 5.25 V
OTP Programming Mode
V
DD
= 5 V, V
PP
(
RESET
)=12.5V
Pin Configuration
20 DIP/24 SOP
20 DIP/24 SOP
EPROM Programmability
User Program 1 time
Programmed at the factory
S3P9614 OTP
S3C9614/P9614
15-4
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the VPP (
RESET
) pin of the S3P9614, 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 14-3 below.
Table 15-3. Operating Mode Selection Criteria
V
DD
V
PP
(
RESET
RESET
)
REG/
MEM
MEM
Address
(A15-A0)
R/W
Mode
5 V
5 V
0
0000H
1
EPROM read
12.5 V
0
0000H
0
EPROM program
12.5 V
0
0000H
1
EPROM verify
12.5 V
1
0E3FH
0
EPROM read protection
NOTE: "0" means Low level; "1" means High level.
Table 15-4. D.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 4.0 V to 5.25 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Supply Current
(note)
I
DD1
Normal mode;
6 MHz CPU clock
6.5
15
mA
I
DD2
Idle mode;
6 MHz CPU clock
4
8
I
DD3
Stop mode;
oscillator stop
150
300
A
NOTE: Supply current does not include current drawn through internal pull-up resistors or external output current loads.
S3C9614/P9614
S3P9614 OTP
15-5
START
Address= First Location
V
DD
=5V, V
PP
=12.5V
x = 0
Program One 1ms Pulse
Increment X
x = 10
Verify 1 Byte
Last Address
V
DD
= V
PP
= 5 V
Compare All Byte
Device Passed
Increment Address
Verify Byte
Device Failed
PASS
FAIL
NO
FAIL
YES
FAIL
NO
Figure 15-3. OTP Programming Algorithm