27-Bit Duplex/Triplex VFD Controller/Driver with Digital Dimming, ADC and Keyscan
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 (VDD): 8 to 18.5V (Built-in 5V regulator for logic)
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.
5V output pin for internal logic portion and external logic circuit.
Reference voltage (5V) output pin for A/D converter.
Segment (anode) signal output pins for a VFD tube.
These pins can be directly connected to the VFD tube. External circuit is not required.
O
IOH£–5 mA
Segment (anode) signal output pins for a VFD tube.
60 to 64,
These pins can be directly connected to the VFD tube. External circuit is not required.
2 to 4
SEG20 to 27
O
IOH£–10 mA
Inverted Grid signal output pins.
5, 6, 7O
GRID1 to 3
For pre-driver, the external circuit is requiend.
IOL£10 mA
29I
CS
Chip Select input pin.
Data input/output operation is valid when this pin is set at a High level.
28I
27I/O
CLOCK
DATA I/O
Serial clock input pin.
Data is input and/or output through the DATA I/O pin at the rising edge of the serial clock.
Serial data input/output pin.
Data is input to / comes out from the shift register at the rising edge of the serial clock.
Interrupt signal output to microcontroller. When any key of key matrix is pressed
22O
INT
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.
Duplex/Triplex operation select input pin.
23I
DUP/TRI
Duplex (1/2 duty) operation is selected when this pin is set at a V
Triplex (1/3 duty) operation is selected when this pin is set at a GND level.
34 to 39ICH1 to 6
Analog voltage input pin for the 8-bit A/D converter.
Input pin for the encoder type rotary switch. Each input has chattering
20, 21
A1, B1
O
absorption function of 620ns typical.
CC
level.
14 to 18I
9 to 13O
COL1 to 5
ROW1 to 5
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.
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.
4/24
Page 5
¡ Semiconductor
MSM9223
PinTypeDescription
32O
Symbol
DIM OUT
Dimming pulse output.
Connect this pin to the slave side DIM IN pin.
Synchronous signal input.
30, 31O
SYNC OUT 1, 2
Connect these pins to the SYNC IN1 and SYNC IN2 pins
of a slave side.
RC oscillator connecting pins.
25I/O
OSC0
Connect a resistor (R2) between the V
and OSC0 pins,
CC
and a capacitor (C2) between the OSC0 pin and the GND,
and a capacitor (C3) between the V
and the GND. C3 is for VCC stabilization.
CC
V
CC
OSC0
C
3
R
2
C
2
5/24
Page 6
¡ Semiconductor
ABSOLUTE MAXIMUM RATINGS
ParameterSymbolConditionRatingUnit
V
DD
V
IN
Ta = 85°CmWPower Dissipation
SEG1 to 19mA
SEG20 to 27mA
GRID1 to 3mA
Output Current
T
P
STG
I
O1
I
O2
I
O3
I
O4
D
DIM OUT, SYNC OUT1, SYNC OUT2mA
RECOMMENDED OPERATING CONDITIONS
MSM9223
—VSupply Voltage
—VInput Voltage
—°CStorage Temperature
–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
ParameterSymbol
Driver Supply Voltage
High Level Input Voltage
Low Level Input Voltage
Clock Frequency
Oscillation Frequency
Frame Frequency
Operating Temperature
V
V
V
f
f
OSC
f
T
FR
DD
IH
IL
C
OP
ConditionMin.Typ.Max.Unit
—8.013.018.5V
All inputs except OSC03.8—5.5V
All inputs except OSC00.0—0.8V
———1.0MHz
R2 = 10kW±5%, C2 = 27pF±5%
R2 = 10kW±5%
= 27pF±5%
C
2
1/3 Duty211269325Hz
1/2 Duty317403488Hz
2.63.34.0MHz
—–40—+85°C
6/24
Page 7
¡ Semiconductor
ELECTRICAL CHARACTERISTICS
DC Characteristics
MSM9223
V
V
I
IH1
I
IH2
I
IL1
I
IL2
OH1
OH2
OH3
OH4
OL1
OL2
OL3
OL4
IH
IL
DD
L
Applied pin
*1)
*1)
*2)
*3)
*2)
*3)
SEG1 to 19
SEG20 to 27
GRID1 to 3
*4)
SEG1 to 19
SEG20 to 27
GRID1 to 3
*5)
V
DD
V
CC
V
V
C3=0.01mF±10%, IO=0 to –10mA
ParameterSymbol
High Level Input Voltage
Low Level Input Voltage
High Level Input Current
Low Level Input Current
V
V
High Level Output Voltage
V
V
V
V
Low Level Output Voltage
V
V
Supply Currentf
Supply Voltage for Logic
(Ta=–40 to +85°C, V
=8.0 to 18.5V)
DD
ConditionMin.Max.Unit
—3.85.5V
—0.00.8V
=3.8V–5.0+5.0mA
V
IH
VIH=3.8V–100–5.0mA
=0.0V–5.0+5.0mA
V
IL
=0.0V–300–70mA
V
IL
–0.8V
V
DD
–0.8V
V
DD
–0.8V
V
DD
4.05.5V
4.55.5V
—2.0V
—2.0V
—2.0V
—0.8V
—10mAI
=9.5V
DD
=9.5V
DD
=3.3MHz, no load
OSC
I
=–5mA
OH1
=–10mA
I
OH2
=–5mA
I
OH3
=–200mA
I
OH4
Output Open
I
=500mA
OL1
=500mA
I
OL2
=10mA
I
OL3
=300mA
I
OL4
4.55.5VV
DD
DD
DD
V
V
V
*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
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 MODEOPERATING MODE
FUNCTION DATA
M0M1M2
0000Segment Data for GRID1-3 Input
1001Segment Data for GRID1 Input
0102Segment Data for GRID2 Input
1103Segment Data for GRID3 Input
0014Digital Dimming Data Input
1015Keyscan Stop
0116Switch Data Output
1117A/D Data Output
13/24
Page 14
¡ Semiconductor
MSM9223
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.
• 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
Bit
Input Data
28M029M130
M2
Mode Data
(3bits)
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
Bit
28M029M130
Input Data
[Output Data Format]
Output Data: 29 bits
5¥5 push swithc Data : 25 bits
Encoder switch Data : 4 bits
Bit
Output Data
Bit
Output Data
M2
Mode Data
(3bits)
1
2
3
4
5
6
S11
S12
S13
S14
S15
S21
S22
16
17
18
19
20
21
22
S41
S42
S43
S44
S45
S51
S52
Sij : i=ROW1 to 5, j=COL1 to 5
Sij=1 : Switch ON
Sij=0 : Switch OFF
7
8
9
10
11
12
13
14
15
S23
S24
S25
S31
S32
S33
S34
S35
23
24
25
26
27
28
29
S53
S54
S55
R1
Q1
Q2
Q3
16/24
Page 17
¡ Semiconductor
MSM9223
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
Bit
28M029M130
Input Data
[Output Data Format]
Output Data: 48 bits
A/D Data: 48 bits
Bit
Output Data
A/D
Output Data
A/D
Output Data
A/D
Mode Data
(3bits)
1
2
A11
A123A134A14
(LSB)
17 18
A31
A3219A3320A34
(LSB)
33 34
A51
A5235A5336A54
(LSB)
M2
5
A156A167A178A18
CH1
21
A3522A3623A37
CH3
37
A5538A5639A57
CH5
9
A21
(MSB)
(LSB)
24 25 26
A38
A41
(MSB)
(LSB)
40 41 42
A58
A61
(MSB)
(LSB)
10
A2211A2312A24
A4227A4328A44
A6243A6344A64
13
A2514A2615A2716A28
CH2
29
A4530A4631A47
CH4
45
A6546A6647A67
CH6
(MSB)
32Bit
A48
(MSB)
48Bit
A68
(MSB)
17/24
Page 18
¡ Semiconductor
MSM9223
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.
A
Phase Detection
UPDOWN
UP/DOWN Counter
Q3 Q2 Q1
P-in/S-out Shift Registor
B
Interrupt
Generation
Direction Latch
R1
for INT
Output data
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.
A
B
UP (internal)
INT
chattering absorption time
Fig.2 The Input and Output Timing in Case of Clockwise.
18/24
Page 19
¡ Semiconductor
MSM9223
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.
A
chattering absorption time
B
DOWN (internal)
INT
Fig.3 The Input and Output Timing in Case of Counter Clockwise.
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".
A
B
Q3, Q2, Q1
001010011100101110111111
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".
A
B
R1
Q1, Q2, Q3
010100100100000010
Fig.5
19/24
Page 20
¡ Semiconductor
MSM9223
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".
CS
Data I/O
CLOCK
INT
C2C1C4 C5C3
ROW1
When CS goes L, the up/down counter is reset and the INT goes "L".
C2C1C4 C5C3
ROW2
Fig.6
C2C1C4 C5C3
ROW5
Q1R1Q3Q2
Rotary
20/24
Page 21
¡ Semiconductor
MSM9223
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]
ROW 0
ROW 1
ROW 2
ROW 3
ROW 4
1 Cycle
INT
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.
DepressDepressRelease
INT
CS
KeyscanKeyscan
MODE5
MODE5 : Keyscan stop
MODE5MODE5
21/24
Page 22
¡ 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
Page 23
¡ 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
Page 24
¡ Semiconductor
PACKAGE DIMENSIONS
QFP64-P-1420-1.00-BK
Mirror finish
MSM9223
(Unit : mm)
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.
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).
24/24
Page 25
E2Y0002-29-62
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
Loading...
+ 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.