Samsung's SAM87Ri 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.
A address/data bus architecture and a large number of bit-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.
S3C9404/C9414 MICROCONTROLLER
The S3C9404/C9414 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is built
around the powerful SAM87Ri CPU core. The S3C9404/C9414 is a versatile microcontroller, with its A/D
converter and a zero-crossing detection capability it can be used in a wide range of general purpose applications.
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 S3C9404/C9414 has 4-Kbytes of program
memory on-chip (ROM) and 208-bytes of general purpose register area RAM.
Using the SAM87Ri design approach, the following peripherals were integrated with the SAM87Ri core:
— Four configurable I/O ports (S3C9404: 22 pins, S3C9414: 16 pins)
— Six interrupt sources with one vector and one interrupt level
— Two 8-bit timer/counter with various operating modes
— Analog to digital converter (S3C9404: 8-bit, 8-channel, S3C9414: 10-bit, 5-channel)
— One zero cross detection module
The S3C9404/C9414 microcontroller is ideal for use in a wide range of electronic applications requiring simple
timer/counter, PWM, ADC, ZCD and capture functions. S3C9404 is available in a 30-pin SDIP and a 32-pin SOP
package. S3C9414 is available in a 24-pin SDIP and a 24-pin SOP package.
OTP
The S3P9404/P9414 is an OTP (one time programmable) version of the S3C9404/C9414 microcontroller. The
S3P9404/P9414 has on-chip 4-Kbyte one-time programmable EEPROM instead of masked ROM. The
S3P9404/P9414 is fully compatible with the S3C9404/C9414, in function, in D.C. electrical characteristics and in
pin configuration.
1-1
PRODUCT OVERVIEWS3C9404/P9404/C9414/P9414
FEATURES
CPU
•SAM87Ri CPU core
Memory
•4-Kbyte internal program memory (ROM)
•208-byte general purpose register area (RAM)
Instruction Set
•41 instructions
•IDLE and STOP instructions added for
power-down modes.
Instruction Execution Time
•600 ns at 10 MHz f
OSC
(minimum)
Interrupts
•6 interrupt sources with one vector and one level
interrupt structure
Oscillation Frequency
Timer/Counter
•One 8-bit basic timer for watchdog function
•One 8-bit timer/counter with three operating
modes (10-bit PWM 1ch)
•One 8-bit timer/counter for the zero-crossing
detection circuit
Zero-Crossing Detection Circuit
•Zero-crossing detection circuit that generates a
digital signal in synchronism with an AC signal
input
push-pull, open-drain output. Pull-up resistors are
assignable by software.
Bit-programmable I/O port for Schmitt trigger
input or push-pull output. Pull-up resistors are
assignable by software. Port 1 pins can also be
used as alternative functions.
Bit-programmable I/O port for Schmitt trigger
input or push-pull, open drain output. Pull up
F
D
D
D
E
E-1
ZCD
BUZ
T0(PWM)
CLO
INT0–INT1
ADC6–ADC7
resistors are assignable by software. Port 2 can
also be used as external interrupt, A/D input.
Bit-programmable I/O port for Schmitt trigger
FADC0–ADC5
input or push-pull output. Pull-up resistors are
assignable by software. Port 3 pins can also be
used as A/D converter input.
–
Crystal/ceramic, or RC oscillator signal for system
––
clock.
External interrupt input.
I
System RESET signal input pin.
Test signal input pin (for factory use only: must be
EP2.0–P2.1
B–
––
connected to VSS)
V
DD, VSS
AV
REF,
AV
SS
ZCDI
BUZO
–
–
Voltage input pin and ground
A/D converter reference voltage input and ground
Zero crossing detector input
200 Hz–20 kHz frequency output for buzzer
sound
T0I/O
CLOO
ADC0–ADC7I
NOTE: Port 0.7, P1.3, P2.1–P2.3 and P3.5 is not available in S3C9414/P4104 .
Timer 0 capture input or 10-bit PWM output
System clock output port
A/D converter input
––
––
FP1.0
DP1.1
DP1.2
DP1.3
F
E-1
P3.0–P3.5
P2.2–P2.3
1-6
S3C9404/P9404/C9414/P9414PRODUCT OVERVIEW
PIN CIRCUITS
V
VDD
DD
P-CHANNEL
IN
N-CHANNEL
Figure 1-6. Pin Circuit Type A
V
DD
PULL-UP
RESISTOR
DATA
OUTPUT
DISABLE
RESISTOR
ENABLE
P-CHANNEL
N-CHANNEL
Figure 1-8. Pin Circuit Type C
V
DD
PULL-UP
RESISTOR
P-CHANNEL
OUT
IN
Figure 1-7. Pin Circuit Type B
DATA
OUTPUT
DISABLE
DATA
CIRCUIT
TYPE C
Figure 1-9. Pin Circuit Type D
IN/OUT
1-7
PRODUCT OVERVIEWS3C9404/P9404/C9414/P9414
PNE
DATA
OUTPUT
DISABLE
INPUT
V
V
DD
DD
P-CH
N-CH
Figure 1-10. Pin Circuit Type E
PULL-UP
RESISTOR
PULL-UP
ENABLE
IN/OUT
PNE
DATA
OUTPUT
DISABLE
INPUT
V
V
DD
DD
P-CH
N-CH
Figure 1-10. Pin Circuit Type E-2
PULL-UP
RESISTOR
PULL-UP
ENABLE
IN/OUT
PNE
DATA
OUTPUT
DISABLE
DIGITAL INPUT
ANALOG INPUT
Figure 1-11. Pin Circuit Type E-1
V
DD
P-CH
N-CH
V
DD
PULL-UP
RESISTOR
PULL-UP
ENABLE
IN/OUT
PULL-UP
ENABLE
DATA
OUTPUT
DISABLE
DIGITAL
INPUT
ANALOG
INPUT
V
DD
V
DD
CIRCUIT
TYPE C
Figure 1-12. Pin Circuit Type F
PULL-UP
RESISTOR
IN/OUT
1-8
S3C9404/P9404/C9414/P9414ELECTRICAL DATA
13ELECTRICAL DATA
OVERVIEW
In this section, the following S3C9404/C9414 electrical characteristics are presented in tables and graphs:
— Absolute maximum ratings
— D.C. electrical characteristics
— A.C. electrical characteristics
— Oscillator characteristics
— Oscillation stabilization time
— Operating Voltage Range
— Schmitt trigger input characteristics
— Data retention supply voltage in Stop mode
— Stop mode release timing when initiated by a RESET
— A/D converter electrical characteristics
— Zero-crossing detector
— Zero Crossing Waveform Diagram
13-1
ELECTRICAL DATAS3C9404/P9404/C9414/P9414
Table 13-1. Absolute Maximum Ratings
(TA = 25°C)
ParameterSymbolConditionsRatingUnit
Supply voltage
Input voltage
Output voltage
Output current
V
DD
I
V
V
OH
I
O
All input ports
All output ports
One I/O pin active– 18mA
–– 0.3 to + 6.5V
– 0.3 to V
DD
+ 0.3
– 0.3 to VDD + 0.3
V
V
highAll I/O pins active– 60
Output current
I
OL
One I/O pin active+ 30mA
lowTotal pin current for ports 1, 2, 3+ 100
Total pin current for ports 0+ 200
Operating
T
A
–– 40 to + 85
°
C
temperature
Storage
T
STG
–– 65 to + 150
°
C
temperature
Table 13-2. DC Electrical Characteristics
(T
= – 40°C to + 85°C, VDD = 2.7 V to 5.5 V)
A
ParameterSymbolConditionsMinTypMaxUnit
Input high
voltage
Input low
voltage
Output high
voltage
Output low
voltage
V
IH1
V
IH2
V
IH3
V
IL1
V
IL2
V
IL3
V
OH
V
OL1IOL
V
OL2IOL
Ports 1,2,3, and
RESET
Port 0
X
and X
IN
OUT
Ports 1,2,3, and
RESET
Port 0
X
and X
IN
OUT
IOH = – 1 mA
ports 0, 1, 2, 3
= 15 mA
port 0
= 4 mA
VDD= 2.7 to 5.5 V0.8 V
0.7 V
VDD –0.1
VDD= 2.7 to 5.5 V
VDD= 4.5 to 5.5 VV
VDD= 4.5 to 5.5 V
––
DD
–0.42.0V
VDD= 4.5 to 5.5 V
DD
DD
– 1.0
–
V
DD
0.2 V
0.3 V
DD
DD
0.1
––V
0.42.0
port 1,2,3
V
V
13-2
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.