OKI MSM6641

¡ Semiconductor
MSM6641/6641E-xx
¡ Semiconductor
MSM6641/6641E-xx
Built-in Remote Control Transmission Circuit 4-Bit Microcontroller
GENERAL DESCRIPTION
The MSM6641, powered by a single battery, is a 4-bit microcontroller fabricated in OKI’s lowvoltage CMOS technology. A remote-control output generator built into this device provides
remote-control output.
The MSM6641 is best suited to remote-control applications.
FEATURES
• Operating range
Operating voltage
Operating frequency
Operating temperature
• Memory space
ROM
RAM
• Minimum instruction execution time
• I/O port
Input port
: 1.5 V (MSM6641)
3.0 V (MSM6641E)
: 1 MHz
: –20 to +70°C
5
: 4096 words × 17 bits
: 64 words × 4 bits
: 16 µs
: 2 ports ¥ 4 bits
1 port ¥ 1 bit
Output port
: 2 ports ¥ 4 bits
1 port ¥ 1 bit
• Remote-control output port
: 1
The remote-control output circuit consists of a carrier generator, a guide pulse and data
pulse generator, and an output waveform controller.
The remote control output can be provided by setting the control registers.
• Key-On Wake-Up function
Oscillation can be stopped to turn off microcontroller operation.
Application of predetermined input levels to the input ports turns on oscillation and
microcontroller operation.
• Halt release timers
: 4
Timer frequencies are selectable.
• Watchdog timers
: 2
• Clock
: 1 MHz ceralock resonator
• Power supply voltage
: 1.5 V/3.0 V (mask option)
• Package:
24-pin plastic SOP (SOP24-P-430-K) (Product name : MSM6641-¥¥GS-K, MSM6641E-xxGS-K)
Chip
¥¥ indicates the code number.
225
226
PROGRAM COUNTER
HRTMR
PORT3
INSTRUCTION
DECODER
INSTRUCTION
REG(IR)
ADDER
ALU
PORT CONTROL
PCHZO PCHZX
D-Bus (4 bits)
D-Bus (4 bits)
FLAG
WDOG1 WDOG0
WATCHDOG TIMER
XTB
PORT4
WORK
XTSTP
PROGRAM
ROM
4096 ¥ 17 bits
D-Bus (4 bits)
RCCON
RCOUT
ADRS
XT
PORT5
P4.0
P4.1
P4.2
P4.3
P3.0
P3.1
P3.2
P3.3
P2.0
P1.0
P1.1
P1.2
P1.3
P0.0
P0.1
P0.2
P0.3
P5.0
RCWRHRCWRL
5
RCDH RCDLRCHLRHRCHLRL
CARRIER GENERATOR
64 ¥ 4
bits
RAM
MSM6641/6641E-xx
¡ Semiconductor
BLOCK DIAGRAM
PAGE
STACK
TIME BASE COUNTER
TMOUT SYSTEM CLOCK
GENERATOR
OSC
¡ Semiconductor
MSM6641/6641E-xx
PIN CONFIGURATION (TOP VIEW)
P1.1
1
24
P1.2
P1.0
2
23
P1.3
P0.3
3
22
P2.0
P0.2
4
21
P3.0
P0.1
5
20
P3.1
P0.0
6
19
P3.2
RCOUT
7
18
P3.3
VDD
8
17
P4.0
XT
9
16
P4.1
XTB 10
VSS 11
15
14
P4.2
P4.3
RESET 12
13
P5.0
5
24-Pin Plastic SOP
227
MSM6641/6641E-xx
¡ Semiconductor
PIN DESCRIPTIONS
Pin
Symbol
Type
8
VDD
–
Power supply pin (1.5 V/3.0 V)
11
VSS
–
Ground pin
9
XT
I
Oscillation input pin: a ceramic oscillator is connected.
10
XTB
O
Oscillation output pin: a ceramic oscillator is connected.
7
RCOUT
O
Remote control output pin: This pin outputs the remote control
output set by the program. A "L" level is output at the time of reset.
12
RESET
I
6
5
4
3
5
PORT 0
P0.0
P0.1
P0.2
P0.3
PORT 1
P1.0
P1.1
P1.2
P1.3
PORT 2
P2.0
PORT 3
P3.0
P3.1
P3.2
P3.3
17
16
15
14
PORT 4
P4.0
P4.1
P4.2
P4.3
O
13
PORT 5
P5.0
O
2
1
24
23
22
21
20
19
18
228
I
I
I
O
Description
System reset input pin: when a "L" level is applied to this pin, the
microcontroller's internal state is initialized and the program starts from
ROM address 000H.
4-bit input port: normally used as the input of key matrix. A pull-down
resistor or high impedance can be selected for each bit by the input
pull-down control register (PCHZO) of PORT0.
4-bit input port: normally used as the input of key matrix. A pull-down
resistor or high impedance for PORT1 can be selected by bit 0 of input
pull-down control register (PCHZX) of PORTS1 and 2.
1-bit input port: normally used as the input of key matrix. A pull-down
resistor or high impedance for P2.0 can be selected by bit 1 of input
pull-down control register (PCHZX) of PORTS1 and 2.
4-bit output port: normally used as the key return signal source of key
matrix.
4-bit output port: normally used as the key return signal source of key
matrix.
1-bit output port: normally used as the key return signal source of key
matrix.
¡ Semiconductor
MSM6641/6641E-xx
ABSOLUTE MAXIMUM RATINGS (MSM6641)
Parameter
Power Supply Voltage
Input Voltage
Output Voltage
Storage Temperature
Symbol
VSS=0 V
Condition
Rating
VDD
VIN
Unit
–0.3 to +6.0
–0.3 to V DD+0.3
Ta=25°C
V
–0.3 to VDD+0.3
VO
—
TSTG
–55 to +125
°C
RECOMMENDED OPERATING CONDITIONS (MSM6641)
VSS=0 V
Parameter
Symbol
Condition
Range
Unit
VDD
—
+1.2 to +3.5
V
Operating Temperature
Top
—
–20 to +70
°C
Oscillation Frequency
fOSC
—
0.9 to 1.1
MHz
Power Supply Voltage
5
ELECTRICAL CHARACTERISTICS (MSM6641)
DC Characteristics
(VDD=1.5 V, VSS=0 V, fOSC=1 MHz, Ta=25°C)
Symbol
Condition
Operating Current
Consumption
Parameter
IDD
At remote control output
*1
Static Current Consumption
IDDS
Oscillation Start Voltage
VOSC
–IOH1
Output Current 1
Output Current 2
IOL1
–IOH2
IOL2
Input Current 1
IIH1
Input Leakage Current
| IIL |
Input Current 2
–IIL2
Input Voltage
VIH
VIL
Min. Typ. Max. Unit Applied Pin
—
300
600
mA
—
—
—
1
mA
—
—
150
—
—
1.2
—
V
—
VO=1.0 V
VO=0.5 V
VO=1.0 V
VO=0.5 V
150
500
2
—
—
—
—
—
—
mA
PORT3 to
PORT5 *2
mA
mA
RCOUT
VI=1.5 V, input state,
with pull-down resistor
3.75
7.5
15
mA
PORT0 to
PORT2 *3
—
—
1
mA
PORT0 to
PORT2 *3
75
150
300
mA
RESET
1.2
—
—
—
—
0.3
V
All input
pins
During standby
(XTSTP="1")
—
VI=1.5 V/0 V, input state,
without pull-down resistor
VI=0 V, with pull-up
resistor
—
*1 The frequency is 333 kHz, in carrier-through state
*2 PORT3=P3.0 to P3.3, PORT4=P4.0 to P4.3, PORT5=P5.0
*3 PORT0=P0.0 to P0.3, PORT1=P1.0 to P1.3, PORT2=P2.0
229
MSM6641/6641E-xx
¡ Semiconductor
ABSOLUTE MAXIMUM RATINGS (MSM6641E)
VSS=0 V
Parameter
Power Supply Voltage
Input Voltage
Output Voltage
Storage Temperature
Symbol
VDD
VIN
Condition
Rating
Unit
–0.3 to +6.0
–0.3 to V DD+0.3
Ta=25°C
V
–0.3 to VDD+0.3
VO
—
TSTG
–55 to +125
°C
RECOMMENDED OPERATING CONDITIONS (MSM6641E)
VSS=0 V
Parameter
5
Symbol
Condition
Range
Unit
Power Supply Voltage
VDD
—
+2.0 to +3.5
V
Operating Temperature
Top
—
–20 to +70
°C
Oscillation Frequency
fOSC
—
0.9 to 1.1
MHz
ELECTRICAL CHARACTERISTICS (MSM6641E)
DC Characteristics
(VDD=3.0 V, VSS=0 V, fOSC=1 MHz, Ta=25°C)
Parameter
Symbol
Condition
Operating Current
Consumption
IDD
At remote control output
*1
Static Current Consumption
IDDS
Oscillation Start Voltage
VOSC
–IOH1
Output Current 1
Output Current 2
IOL1
–IOH2
IOL2
Input Current 1
IIH1
Input Leakage Current
| IIL |
Input Current 2
–IIL2
Input Voltage
VIH
VIL
—
1
2
mA
—
—
—
1
mA
—
—
500
—
—
2.0
—
V
—
VO=2.5 V
VO=0.5 V
VO=2.5 V
VO=0.5 V
500
1.5
6
—
—
—
—
—
—
mA
PORT3 to
PORT5 *2
mA
RCOUT
VI=3.0 V, input state,
with pull-down resistor
25
50
100
mA
PORT0 to
PORT2 *3
—
1
mA
PORT0 to
PORT2 *3
300
600
mA
RESET
—
—
—
0.5
V
All input
pins
During standby
(XTSTP="1")
—
VI=3.0 V/0 V, input state,
—
without pull-down resistor
VI=0 V, with pull-up
150
resistor
2.5
—
—
*1 The frequency is 333 kHz, in carrier-through state
*2 PORT3=P3.0 to P3.3, PORT4=P4.0 to P4.3, PORT5=P5.0
*3 PORT0=P0.0 to P0.3, PORT1=P1.0 to P1.3, PORT2=P2.0
230
Min. Typ. Max. Unit Applied Pin