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

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

Скачать:  PDF   ZIP
Semiconductor
MSM9223
1/24
GENERAL DESCRIPTION
The MSM9223 is a full CMOS controller/driver for Duplex or Triplex vacuum fluorescent
display tube. It conststs of 27-segment driver outputs and 3-grid pre-driver outputs, so that it
can drive directly up to 81-segment VFD.
MSM9223 features a digital dimming function, a 6-ch ADC, a 5 5 keyscan circuit and an encoder
type switch interface.
MSM9223 provides an interface with a microcontroller only by three signal lines: DATA I/O,
CLOCK and CS.
FEATURES
Supply voltage (V
DD
)
: 8 to 18.5V (Built-in 5V regulator for logic)
Duplex/Triplex selectable
Applicable VFD tube
: 2 Grids 27 Anodes VFD tube
: 3 Grids 27 Anodes VFD tube
27-segment driver outputs
: I
OH
=5mA at V
OH
=V
DD
0.8V (SEG1 to 19)
I
OH
=10mA at V
OH
=V
DD
0.8V (SEG20 to 27)
3-grid pre-driver outputs
: I
OL
=10mA at V
OL
=2V
Built-in digital dimming circuit (10-bit resolution)
Built-in 6-ch A/D converter
Built-in 5 5 keyscan circuit
Interface circuit for an encoder type rotary switch
Built-in oscillation circuit (external R and C)
Built-in Power-On-Reset circuit
Package:
64-pin plastic QFP (QFP64-P-1420-1.00-BK)
Product name: MSM9223GS-BK
Semiconductor
MSM9223
27-Bit Duplex/Triplex VFD Controller/Driver with Digital Dimming, ADC and Keyscan
E2C0044-19-96
This version: Sep. 1999
Previous version: Aug. 1999
Semiconductor
MSM9223
2/24
BLOCK DIAGRAM
Timing Generator
DIM OUT
SYNC OUT1
SYNC OUT2
DUP/TRI
OSC
Control
Out1-27
27bit Shift Register
in1-10
Dimming Latch
Out1-10
10bit Digital
Dimming
POR
CS
CLOCK
DATA I/O
Out1-3
3bit Shift Register
POR
POR
POR
4H
Out1-27
Segment Latch
3
in1-27
0H
3H
POR
Out1-27
Segment Latch
2
in1-27
0H
2H
POR
Out1-27
Segment Latch
1
in1-27
0H
1H
POR
Mode Select
in1-3
POR
0H
7H
5V
Regulator
&
Power On
Reset
V
CC
(5V)
L-GND
POR
Out1-27
81 to 27 Segment Control
in1-27
in1-27
in1-27
27 Segment Driver
D-GND
V
DD
3 Grid pre Driver
GRID2 GRID3
GRID1
SEG27
SEG1
VREG
(5V)
5 5 Key Scan and Encoder Switch Interface
INT
6ch, 8bit
A/D Converter
OSCO
CH1
CH6
COL1
COL5
ROW1
ROW5
A1
B1
5H
6H
7H
Semiconductor
MSM9223
3/24
PIN CONFIGURATION (TOP VIEW)
15
16
17
18
19
SEG17
SEG22
SEG23
SEG24
L-GND
4
3
2
1
5
6
7
8
9
10
11
12
13
14
20
A1
21
B1
22
INT
23
DUP/
TRI
24
V
CC
25
OSCO
26
27
28
29
30
31
32
48
49
50
51
47
46
45
44
43
42
41
40
39
38
64
63
62
61
60
59
58
57
56
55
54
53
52
SEG16
SEG18
SEG19
SEG21
SEG20
SEG15
SEG14
SEG13
SEG12
DATA I/O
CLOCK
CS
SYNC OUT2
SYNC OUT1
DIM OUT
37
36
35
34
33
SEG10
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
CH6
CH5
SEG9
CH4
CH3
CH2
CH1
VREG
V
DD
SEG11
COL2
COL3
COL4
COL5
NC
V
DD
SEG25
SEG26
SEG27
GRID1
GRID2
GRID3
D-GND
ROW1
ROW2
ROW3
ROW4
ROW5
COL1
NC: No connection
64-pin Plastic QFP
Semiconductor
MSM9223
4/24
PIN DESCRIPTIONS
Pin
Type
Description
1, 51
--
Power supply pins.
Pin1 and pin51 should be connected externally.
8
--
26
--
40 to 50,
52 to 59
O
D-GND is ground pin for the VFD driver circuit. L-GND is ground pin for the
logic circuit. Pins 8 and 26 should be connected externally.
Segment (anode) signal output pins for a VFD tube.
These pins can be directly connected to the VFD tube. External circuit is not required.
I
OH
5 mA
60 to 64,
2 to 4
O
Segment (anode) signal output pins for a VFD tube.
These pins can be directly connected to the VFD tube. External circuit is not required.
I
OH
10 mA
5, 6, 7
O
Inverted Grid signal output pins.
For pre-driver, the external circuit is requiend.
I
OL
10 mA
29
I
Chip Select input pin.
Data input/output operation is valid when this pin is set at a High level.
28
I
Serial clock input pin.
Data is input and/or output through the DATA I/O pin at the rising edge of the serial clock.
27
I/O
Serial data input/output pin.
Data is input to / comes out from the shift register at the rising edge of the serial clock.
23
I
Duplex/Triplex operation select input pin.
Duplex (1/2 duty) operation is selected when this pin is set at a V
CC
level.
Triplex (1/3 duty) operation is selected when this pin is set at a GND level.
Symbol
V
DD
D-GND
L-GND
SEG1 to 19
SEG20 to 27
GRID1 to 3
CS
CLOCK
DATA I/O
DUP/TRI
24
O
V
CC
5V output pin for internal logic portion and external logic circuit.
33
O
V
REG
Reference voltage (5V) output pin for A/D converter.
22
O
Interrupt signal output to microcontroller. When any key of key matrix is pressed
or released, key scanning is started. After the completion of the one cycle, this pin
goes to high level and keeps the high level until keyscan stop mode is selected.
INT
20, 21
O
Input pin for the encoder type rotary switch. Each input has chattering
absorption function of 620ns typical.
A1, B1
34 to 39
I
CH1 to 6
Analog voltage input pin for the 8-bit A/D converter.
14 to 18
I
Return inputs from the key matrix.
These pins are active low. When key matrix are in the inactive sate, these
pins are at high level through the internal pull-up resistors. All the inputs do
not have the cahttering absorption function for the keyscans.
COL1 to 5
9 to 13
O
Key switch scanning outputs.
Normally low level is output through these pin. When any switch of key matrix
is depressed or released, key scanning is started and is continued until
keyscan stop mode is selected. When keyscan stop mode is selected, all
outputs of ROW1 to 5 go back to low level.
ROW1 to 5
Semiconductor
MSM9223
5/24
Pin
Type
Description
30, 31
O
Synchronous signal input.
Connect these pins to the SYNC IN1 and SYNC IN2 pins
of a slave side.
Symbol
SYNC OUT 1, 2
25
I/O
RC oscillator connecting pins.
Connect a resistor (R2) between the V
CC
and OSC0 pins,
and a capacitor (C2) between the OSC0 pin and the GND,
and a capacitor (C3) between the V
CC
and the GND. C
3
is for V
CC
stabilization.
OSC0
V
CC
OSC0
R
2
C
3
C
2
32
O
Dimming pulse output.
Connect this pin to the slave side DIM IN pin.
DIM OUT
Semiconductor
MSM9223
6/24
ABSOLUTE MAXIMUM RATINGS
RECOMMENDED OPERATING CONDITIONS
Parameter
Symbol
V
DD
Driver Supply Voltage
V
IH
High Level Input Voltage
V
IL
Low Level Input Voltage
f
C
Clock Frequency
T
OP
Operating Temperature
Condition
Min.
Typ.
Max.
Unit
--
8.0
13.0
18.5
V
All inputs except OSC0
3.8
--
5.5
V
All inputs except OSC0
0.0
--
0.8
V
--
--
--
1.0
MHz
--
40
--
+85
C
f
OSC
Oscillation Frequency
R
2
= 10kW5%, C
2
= 27pF5%
2.6
3.3
4.0
MHz
f
FR
Frame Frequency
1/3 Duty
211
269
325
Hz
1/2 Duty
317
403
488
Hz
R
2
= 10kW5%
C
2
= 27pF5%
Parameter
Symbol
Condition
Rating
Unit
V
DD
--
V
Supply Voltage
V
IN
--
V
Input Voltage
P
D
Ta = 85C
mW
Power Dissipation
T
STG
--
C
Storage Temperature
I
O1
SEG1 to 19
mA
I
O2
SEG20 to 27
mA
Output Current
I
O3
GRID1 to 3
mA
I
O4
DIM OUT, SYNC OUT1, SYNC OUT2
mA
0.3 to +20
0.3 to +6.0
590
55 to +150
10.0 to +2.0
20.0 to +2.0
7.0 to +20.0
2.0 to +2.0
Semiconductor
MSM9223
7/24
ELECTRICAL CHARACTERISTICS
DC Characteristics
Parameter
Symbol
V
IH
High Level Input Voltage
V
IL
Low Level Input Voltage
I
IH1
High Level Input Current
I
IL1
Low Level Input Current
V
OH1
V
OH2
V
OH3
High Level Output Voltage
Condition
Min.
Max.
Unit
--
3.8
5.5
V
--
0.0
0.8
V
V
IH
=3.8V
5.0
+5.0
m
A
V
IL
=0.0V
5.0
+5.0
m
A
V
DD
0.8
V
DD
V
V
DD
0.8
V
DD
V
V
DD
0.8
V
DD
V
4.0
5.5
V
V
DD
=9.5V
Applied pin
*1)
*1)
*2)
*2)
SEG1 to 19
SEG20 to 27
GRID1 to 3
V
OH4
*4)
I
OH1
=5mA
I
OH2
=10mA
I
OH3
=5mA
I
OH4
=200mA
V
OL1
V
OL2
V
OL3
Low Level Output Voltage
--
2.0
V
--
2.0
V
--
2.0
V
--
0.8
V
V
DD
=9.5V
SEG1 to 19
SEG20 to 27
GRID1 to 3
V
OL4
*5)
I
OL1
=500mA
I
OL2
=500mA
I
OL3
=10mA
I
OL4
=300mA
--
10
mA
I
DD
V
DD
Supply Current
f
OSC
=3.3MHz, no load
(Ta=40 to +85C, V
DD
=8.0 to 18.5V)
4.5
5.5
V
V
L
V
CC
Supply Voltage for Logic
C
3
=0.01mF10%, I
O
=0 to 10mA
4.5
5.5
V
Output Open
I
IH2
I
IL2
V
IH
=3.8V
100
5.0
m
A
V
IL
=0.0V
300
70
m
A
*3)
*3)
*1) CS, CLOCK, DATA I/O DUP/TRI, A1, B1, COL1 to 5
*2) CS, CLOCK, DATA I/O DUP/TRI, A1, B1
*3) COL1 to 5
*4) DATA I/O, INT, DIM OUT, SYNC OUT1, SYNC OUT2
*5) DATA I/O, INT, DIM OUT, SYNC OUT1, SYNC OUT2, ROW1 to 5
Semiconductor
MSM9223
8/24
AC Characteristics
Parameter
Symbol
f
C
Clock Frequency
t
CW
Clock Pulse Width
t
DS
Data Setup Time
t
DH
Data Hold Time
t
CSL
CS Off Time
t
CSS
t
R
t
PRZ
CS Setup Time
(CS-Clock)
Output Slew Rate Time
V
DD
Rise Time
Condition
Min.
Max.
Unit
--
--
1.0
MHz
--
400
--
ns
--
400
--
ns
--
400
--
ns
R2=10kW5%, C2=27pF5%
20
--
m
s
--
400
--
ns
t
R
=20% to 80%
--
4.0
m
s
t
F
=80% to 20%
--
4.0
m
s
Mounted in a unit
--
100
m
s
C
L
=100pF
t
CSH
CS Hold Time
(Clock-CS)
--
400
--
ns
t
POF
V
DD
Off Time
Mounted in a unit, V
DD
=0.0V
5.0
--
ms
t
PD
DATA Output Delay Time
(Clock-DATA I/O)
--
--
1.0
m
s
t
F
(Ta=40 to +85C, V
DD
=8.0 to 18.5V)
t
RSOFF
CS Wait Time
--
400
--
m
s
Semiconductor
MSM9223
9/24
TIMING DIAGRAM
Data Input Timing
3.8V
0.8V
3.8V
0.8V
3.8V
0.8V
CS
CLOCK
DATA I/O
(INPUT)
t
DS
t
DH
t
CSS
1/f
C
t
CW
t
CW
t
CSH
t
CSL
VALID
VALID
VALID
VALID
Reset Timing
t
POF
t
PRZ
V
DD
CS
t
RSOFF
0.8V
DD
0.0V
3.8V
0.0V
0.8V
DD
0.2V
DD
SEG1-27, GRID1-3
t
R
t
F
Data Output Timing
3.8V
0.8V
3.8V
0.8V
3.8V
0.8V
CS
CLOCK
DATA I/O
(OUTPUT)
t
PD
t
CSS
t
CSH
Driver Output Timing
Semiconductor
MSM9223
10/24
A/D Converter Characteristics
Keyscan Characteristics
Keyscan Timing
Parameter
A/D Conversion Accuracy
Condition
Typ.
Max.
Unit
--
--
1
LSB
Reference Voltage (V
REG
)
--
5.0
5.5
V
Output Current
--
--
10
mA
Input Voltage Range
--
--
V
REG
V
Conversion Time/Channel
R2 = 10kW5%, C2 = 27pF5%
310
Min.
--
4.5
--
GND
256
394
m
s
(Ta = 40 to +85C, V
DD
= 8.0 to 18.0 V)
Parameter
Keyscan Cycle Time
Condition
Typ.
Max.
Unit
R2 = 10kW5%, C2 = 27pF5%
194
246
m
s
Keyscan Pulse Width
R2 = 10kW5%, C2 = 27pF5%
39
Min.
160
32
49
m
s
(Ta = 40 to +85C, V
DD
= 8.0 to 18.0 V)
ROW1
ROW5
ROW2
ROW3
ROW4
Keyscan Cycle Time
Keyscan Pulse
Width
Semiconductor
MSM9223
11/24
Output Timing (Duplex Operation)
*1bit time=4/f
OSC
(The dimming data is 1016/1024)
GRID1
V
DD
D-GND
GRID2
V
DD
D-GND
GRID3
SEG1-27
V
DD
D-GND
DIM OUT
5 V
L-GND
SYNC OUT1
5 V
L-GND
SYNC OUT2
5 V
L-GND
V
DD
D-GND
2048bit times (1 display cycle)
1016bit times
1016bit times
1016bit times
1019bit times
1019bit times
1019bit times
1019bit times
1019bit times
1019bit times
1029bit times
1019bit times
1019bit times
1019bit times
1029bit times
1029bit times
5bit times
5bit times
5bit times
3bit times
8bit times
8bit times
8bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
Output Timing (Triplex Operation)
*1bit time=4/f
OSC
(The dimming data is 1016/1024)
GRID1
V
DD
D-GND
GRID2
V
DD
D-GND
GRID3
SEG1-27
V
DD
D-GND
DIM OUT
5 V
L-GND
SYNC OUT1
5 V
L-GND
SYNC OUT2
5 V
L-GND
V
DD
D-GND
3072bit times (1 display cycle)
1016bit times
1016bit times
1019bit times
1019bit times
1019bit times
1019bit times
1019bit times
1019bit times
1029bit times
1019bit times
1019bit times
1019bit times
1029bit times
5bit times
5bit times
5bit times
3bit times
8bit times
8bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
5bit times
1019bit times
1016bit times
8bit times
Semiconductor
MSM9223
12/24
Output Timing (Duplex Operation)
*1bit time=4/f
OSC
(The dimming data is 64/1024)
GRID1
V
DD
D-GND
GRID2
V
DD
D-GND
GRID3
SEG1-27
V
DD
D-GND
DIM OUT
5 V
L-GND
SYNC OUT1
5 V
L-GND
SYNC OUT2
5 V
L-GND
V
DD
D-GND
2048bit times (1 display cycle)
64bit times
960bit times
960bit times
960bit times
64bit times
64bit times
957bit times
67bit times
957bit times
67bit times
957bit times
67bit times
3bit times
957bit times
67bit times
957bit times
67bit times
957bit times
67bit times
957bit times
1981bit times
1981bit times
957bit times
67bit times
957bit times
957bit times
67bit times
957bit times
1981bit times
957bit times
67bit times
Output Timing (Triplex Operation)
*1bit time=4/f
OSC
(The dimming data is 64/1024)
GRID1
V
DD
D-GND
GRID2
V
DD
D-GND
GRID3
SEG1-27
V
DD
D-GND
DIM OUT
5 V
L-GND
SYNC OUT1
5 V
L-GND
SYNC OUT2
5 V
L-GND
V
DD
D-GND
3072bit times (1 display cycle)
64bit times
960bit times
960bit times
64bit times
957bit times
67bit times
957bit times
67bit times
957bit times
67bit times
3bit times
960bit times
64bit times
957bit times
67bit times
957bit times
67bit times
957bit times
67bit times
957bit times
1981bit times
957bit times
67bit times
67bit times
957bit times
957bit times
67bit times
957bit times
1981bit times
957bit times
67bit times
Semiconductor
MSM9223
13/24
FUNCTIONAL DESCRIPTION
Power-on Reset
When power is turned on, MSM9223 is initialized by the internal power-on reset circuit.
The status of the internal circuit after initialization is as follows:
The contents of the shift registers and latches are set to "0".
The digital dimming duty cycle is set to "0".
All segment outputs are set to Low level.
All grid outputs are set to High level.
All the ROW outputs are set to Low level.
INT output is set to Low level.
Data Input and Output
Data input and output through the DATA-I/O pin is valid only when the CS pin is set at a High
level.
The input data to DATA I/O pin is shifted into the shift register at the rising edge of the serial
clock. The data is automatically loaded to the latches when the CS pin is set at a Low level.
10-bit dimming data (D1 to D10) and 27-bit segment data (S1 to S27) are used for inputting of
dimming data and display data. To transfer these two data, the mode data (M0 to M2) must be
sent after each of these data succeddingly.
The output data from the DATA I/O pin is output from the shift register at the rising edge of the
serial clock.
MSM9223 outputs 48-bit (6ch 8bits) A/D data (A11 to A68) and 29-bit key data (S11 to S55, R1
and Q1 to Q3). To receive these data, the mode data (M0 to M2) mast be sent first and then CS
must be set once to Low level and set again to High level.
Then inputting serial clocks, these data are output from the DATA I/O pin.
When the CS pin is set at a Low level, the DATA I/O pin returns to an input pin.
To stop the keyscan, the only mode data (M0 to M2) must be sent. After the mode data transfer,
the key scanning is stopped immediately.
Mode Data
MSM9223 has the seven function modes. The function mode is selected by the mode data (M0 to
M2). The relation between function mode and mode data (M0 to M2) is as follows:
FUNCTION MODE
OPERATING MODE
FUNCTION DATA
M0
M1
M2
0
0
0
0
Segment Data for GRID1-3 Input
1
0
0
1
Segment Data for GRID1 Input
0
1
0
2
Segment Data for GRID2 Input
1
1
0
3
Segment Data for GRID3 Input
0
0
1
4
Digital Dimming Data Input
1
0
1
5
Keyscan Stop
0
1
1
6
Switch Data Output
1
1
1
7
A/D Data Output
Semiconductor
MSM9223
14/24
Segment Data Input [Function Mode: 0 to 3]
MSM9223 receives the segment data when function mode 0 to 3 are selected.
The same segment data is transferred to the 3 segment data latch correspond to GRID 1 to 3 at
the same time when the function mode 0 is selected.
The segment data is transferred to only one segment data latch that is selected by mode data,
when the function mode is 1, 2 or 3 is selected.
Segment output (SEG1 to 27) becomes High level when the segment data (S1 to 27) is High level.
[Data Format]
Input Data
: 30 bits
Segment Data : 27 bits
Mode Data
: 3 bits
1
S1
2
S2
3
S3
4
S4
24
S24
25
S25
26
S26
27
S27
28
M0
29
M1
30
M2
Bit
Input Data
Segment Data (27bits)
Mode Data
(3bits)
[Bit correspondence between segment output and segment data]
1
S1
17
S17
2
S2
18
S18
3
S3
19
S19
4
S4
20
S20
5
S5
21
S21
6
S6
22
S22
7
S7
23
S23
8
S8
24
S24
9
S9
25
S25
10
S10
26
S26
11
S11
27
S27
12
S12
13
S13
14
S14
15
S15
16
S16
SEG n
Segment data
SEG n
Segment data
Semiconductor
MSM9223
15/24
Digital Dimming Data Input [Function Mode: 4]
MSM9223 receives the digital dimming data when function mode 4 is selected.
The output duty changes in the range of 0/1024 (0%) to 1016/1024 (99.2%) for each grid.
The 10-bit digital dimming data is input from LSB.
[Data Format]
Input Data
: 13 bits
Digital Dimming Data: 10 bits
Mode Data
: 3 bits
1
D1
2
D2
3
D3
4
D4
7
D7
8
D8
9
D9
10
D10
11
M0
12
M1
13
M2
Bit
Input Data
Digital Dimming Data (10bits)
Mode Data
(3bits)
5
D5
6
D6
D10
0
0
1
1
1
1
D9
0
0
1
1
1
1
D8
0
0
1
1
1
1
D7
0
0
1
1
1
1
D6
0
0
1
1
1
1
D5
0
0
1
1
1
1
D4
0
0
0
1
1
1
D3
0
0
1
0
0
1
D2
0
0
1
0
0
1
D1
0
1
1
0
1
1
Dimming Data
(MSB)
(LSB)
Duty Cycle
0/1024
1/1024
1015/1024
1016/1024
1016/1024
1016/1024
LSB
MSB
Semiconductor
MSM9223
16/24
Keyscan Stop [Function Mode: 5]
MSM9223 stops a key scanning when function mode 5 are selected.
To select this mode, the only mode data (M0 to M2) is needed.
The actual time lag range between receipt of the keyscan stop command and the ceasing of
scanning is 2.4ms to 3.6ms
[Input Data Format]
Input Data
: 3 bits
Mode Data
: 3 bits
Switch Data Output [Function Mode: 6]
MSM9223 output the switch data when function mode 6 is selected.
To select this mode, the only mode data (M0 to M2) is needed.
When MSM9223 recieves this mode, the DATA I/O pin is changed to an output pin.
29-bit switch data come out from the DATA I/O pin synchronizing with the rise edge of the
clock.
When the CS pin is set at the low level, the DATA I/O pin returns to an input pin.
R1=0, implies Right rotation of the knob (Clockwise)
R1=1, implies Left rotation of the knob (Counter Clockwise)
Contact Count bits are Q1 (LSB) to Q3 (MSB)
[Input Data Format]
Input Data
: 3 bits
Mode Data
: 3 bits
[Output Data Format]
Output Data
: 29 bits
55 push swithc Data : 25 bits
Encoder switch Data : 4 bits
28
M0
29
M1
30
M2
Bit
Input Data
Mode Data
(3bits)
28
M0
29
M1
30
M2
Bit
Input Data
Mode Data
(3bits)
1
S11
16
S41
2
S12
17
S42
3
S13
18
S43
4
S14
19
S44
5
S15
20
S45
6
S21
21
S51
7
S22
22
S52
8
S23
23
S53
9
S24
24
S54
10
S25
25
S55
11
S31
26
R1
12
S32
27
Q1
13
S33
28
Q2
14
S34
29
Q3
15
S35
Bit
Output Data
Bit
Output Data
Sij : i=ROW1 to 5, j=COL1 to 5
Sij=1 : Switch ON
Sij=0 : Switch OFF
Semiconductor
MSM9223
17/24
A/D Data Output [Function Mode: 7]
MSM9223 output the A/D data when function mode 7 is selected.
To select this mode, the only mode data (M0 to M2) is needed.
When MSM9223 recieves this mode, the DATA I/O pin is changed to an output pin.
48-bit A/D data come out from the DATA I/O pin synchronizeing with the rise edge of the
clock.
When the CS pin is set at the low level, the DATA I/O pin returns to an input pin.
[Input Data Format]
Input Data
: 3 bits
Mode Data
: 3 bits
[Output Data Format]
Output Data
: 48 bits
A/D Data
: 48 bits
28
M0
29
M1
30
M2
Bit
Input Data
Mode Data
(3bits)
1
A11
(LSB)
2
A12
3
A13
4
A14
CH1
5
A15
6
A16
7
A17
8
A18
(MSB)
9
A21
(LSB)
10
A22
11
A23
12
A24
CH2
13
A25
14
A26
15
A27
16
A28
(MSB)
A31
(LSB)
A38
(MSB)
A41
(LSB)
A48
(MSB)
A51
(LSB)
A58
(MSB)
A61
(LSB)
A68
(MSB)
Bit
Output Data
A/D
17 18
A32
19
A33
20
A34
CH3
21
A35
22
A36
23
A37
24 25 26
A42
27
A43
28
A44
CH4
29
A45
30
A46
31
A47
32
Bit
Output Data
A/D
33 34
A52
35
A53
36
A54
CH5
37
A55
38
A56
39
A57
40 41 42
A62
43
A63
44
A64
CH6
45
A65
46
A66
47
A67
48
Bit
Output Data
A/D
Semiconductor
MSM9223
18/24
The rotary encoder switch function.
As figure 1 shows, the rotary encoder switch circuit is consisted of Phase detection, Interrupt
generation, Up/down counter, Direction latch and Parallel-in serial-out shift register.
Fig.1 The Rotary Encoder Switch Circuit
1) Phase detection
1-1) Clockwise
The input A and B have a chattering absorption circuit of 620ns (typ.). When signal A and B input
as fig. 2, the phase detection circuit outputs UP signal after the chattering absorption period. At
this time, the output INT also goes to high level, so this signal can be used as an interrupt. The
INT stays High level until the switch data-output mode is selected.
Fig.2 The Input and Output Timing in Case of Clockwise.
Phase Detection
UP
DOWN
B
Q3 Q2 Q1
A
UP/DOWN Counter
P-in/S-out Shift Registor
R1
Direction Latch
Interrupt
Generation
for INT
Output data
UP (internal)
B
A
INT
chattering absorption time
Semiconductor
MSM9223
19/24
2) UP/DOWN COUNTER
When the UP/DOWN COUNTER is input UP, it counts up and when it is input DOWN, it counts
down.
But if overcounte of "111" occurs the UP/DOWN COUNTER stays "111".
Fig.4
3) Direction latch
When the Direction latch is input DOWN the output R goes "1". But if the UP pulse is input and
the counts value change to plus value, the output R goes to "0".
Fig.5
Fig.3 The Input and Output Timing in Case of Counter Clockwise.
DOWN (internal)
B
A
INT
chattering absorption time
B
Q3, Q2, Q1
A
001
010
011
100
101
110
111
111
B
Q1, Q2, Q3
A
010
100
100
100
000
010
R1
1-2) counter clockwise
When signal A and B input as fig. 3, the phase detection circuit outputs Down signal after the
chattering absorption period. At this time, the output INT also goes to High level. The INT stays
High level until the switch data-output mode is selected.
Semiconductor
MSM9223
20/24
4) P-in/S-out shift resistor
When the switch data output mode is selected and SC goes L, all the key data send to the shift
resistor, and the up/down counter is reset and the INT signal goes "L".
Fig.6
CS
Data I/O
CLOCK
When CS goes L, the up/down counter is reset and the INT goes "L".
INT
C2
C1
C4 C5
C3
ROW1
C2
C1
C4 C5
C3
ROW2
C2
C1
C4 C5
C3
ROW5
Q1
R1
Q3
Q2
Rotary
Semiconductor
MSM9223
21/24
Keyscan
Keyscanning is started only when depression or release of any key is detected in order to
minimize noise caused by scanning signal. Then, keyscanning is continued until the keyscan
stop mode is sent from a microcomputer. The INT pin goes to the high level at the completion
of 1-cycle scanning after the keyscan start, so the (high level) signal sent from the INT pin can be
used as an interrupt signal.
[Keyscan Timing]
1 Cycle
INT
ROW 4
ROW 3
ROW 2
ROW 1
ROW 0
Depress/Release
Keyscan stop mode
is selected.
Note: Keyscanning cannot be stopped by selecting the keyscan stop mode only once if:
- keyscanning is started after depression or release of any key is detected, and then
- a key is depressed or released again before the keyscan stop mode is selected.
To stop keyscanning, it is required to select the keyscan stop mode once again.
Depress
Depress
Release
Keyscan
Keyscan
INT
CS
MODE5
MODE5
MODE5
MODE5 : Keyscan stop
Semiconductor
MSM9223
22/24
APPLICATION CIRCUITS
1. Circuit for the duplex VFD tube with 118 segments (2 Grid
59 Anode)
MSM9223
V
DD
V
CC
L-GND
OSC0
V
CC
CLOCK
DATA I/O
CS
VREG
DUP/TRI
DIM OUT
SYNC OUT 1
SYNC OUT 2
GRID2
GRID1
GRID3
SEG1
SEG27
MSM9210
(SLAVE)
V
DISP
V
DD
L-GND
OSC 0
OSC 1
CLOCK
DATA IN
CS
DIM IN
SYNC IN 1
SYNC IN 2
DIM OUT
SYNC OUT 1
SYNC OUT 2
GRID2
GRID1
GRID3
SEG1
SEG32
Duplex VFD Tube
S57 S58 S59
S1 S2 S3
G1
G2
Microcontroller
V
DISP
M/S
GND
DUP/TRI
Ef
GND
GND
GND
GND
CH1 to 6
ROW1 to 5
COL1 to 5
5 5
Key matrix
Semiconductor
MSM9223
23/24
2. Circuit for the triplex VFD tube with 177 segments (3 Grid
59 Anode)
MSM9223
V
DD
V
CC
L-GND
CLOCK
DATA I/O
CS
DIM OUT
SYNC OUT 1
SYNC OUT 2
GRID2
GRID1
GRID3
SEG1
SEG27
MSM9210
(SLAVE)
V
DISP
V
DD
L-GND
OSC 0
OSC 1
CLOCK
DATA IN
CS
DIM IN
SYNC IN 1
SYNC IN 2
M/S
DUP/TRI
DIM OUT
SYNC OUT 1
SYNC OUT 2
GRID2
GRID1
GRID3
SEG1
SEG32
Triplex VFD Tube
S57 S58 S59
S1 S2 S3
G1
G2
Microcontroller
V
DISP
GND
Ef
GND
GND
GND
OSC0
V
CC
GND
CH1 to 6
ROW1 to 5
COL1 to 5
5 5
Key matrix
VREG
G3
DUP/TRI
Semiconductor
MSM9223
24/24
(Unit : mm)
PACKAGE DIMENSIONS
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki's responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
QFP64-P-1420-1.00-BK
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
1.25 TYP.
Mirror finish
NOTICE
1.
The information contained herein can change without notice owing to product and/or
technical improvements. Before using the product, please make sure that the information
being referred to is up-to-date.
2.
The outline of action and examples for application circuits described herein have been
chosen as an explanation for the standard action and performance of the product. When
planning to use the product, please ensure that the external conditions are reflected in the
actual circuit, assembly, and program designs.
3.
When designing your product, please use our product below the specified maximum
ratings and within the specified operating ranges including, but not limited to, operating
voltage, power dissipation, and operating temperature.
4.
Oki assumes no responsibility or liability whatsoever for any failure or unusual or
unexpected operation resulting from misuse, neglect, improper installation, repair, alteration
or accident, improper handling, or unusual physical or electrical stress including, but not
limited to, exposure to parameters beyond the specified maximum ratings or operation
outside the specified operating range.
5.
Neither indemnity against nor license of a third party's industrial and intellectual property
right, etc. is granted by us in connection with the use of the product and/or the information
and drawings contained herein. No responsibility is assumed by us for any infringement
of a third party's right which may result from the use thereof.
6.
The products listed in this document are intended for use in general electronics equipment
for commercial applications (e.g., office automation, communication equipment,
measurement equipment, consumer electronics, etc.). These products are not authorized
for use in any system or application that requires special or enhanced quality and reliability
characteristics nor in any system or application where the failure of such system or
application may result in the loss or damage of property, or death or injury to humans.
Such applications include, but are not limited to, traffic and automotive equipment, safety
devices, aerospace equipment, nuclear power control, medical equipment, and life-support
systems.
7.
Certain products in this document may need government approval before they can be
exported to particular countries. The purchaser assumes the responsibility of determining
the legality of export of these products and will take appropriate and necessary steps at their
own expense for these.
8.
No part of the contents contained herein may be reprinted or reproduced without our prior
permission.
9.
MS-DOS is a registered trademark of Microsoft Corporation.
Copyright 1999 Oki Electric Industry Co., Ltd.
Printed in Japan
E2Y0002-29-62