M66004SP MITSUBISHI | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 14

Technical content

Datasheet sections

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER

DESCRIPTION

The M66004 is a 16-digit 5×7-segment vacuum fluorescent display (VFD) controller using the silicon gate CMOS tech- nology. It contains 160 ROM characters and 16 user-defined RAM characters and receives display character codes and various commands from MCU to control VFD.

FEATURES

  • Built in 5×7-dot segment character ROM (160 characters based on JIS-C-6220. Customization is possible.)
  • Built in character RAM for user definition (16 characters)
  • Display digit length can be changed. (from 9 to 16 digits)
  • One-digit display cycle setting can be changed. (2 cycles)
  • Dimmer is adjustable. (8 grades)
  • Cursor display ON or OFF is selectable. (SEG35 output)
  • Built in automatic display digit increment function
  • Auto increment of display digit
  • Built in simultaneous all-digit display ON/OFF command
  • Connection to MCU by three signal lines, CS, SCK and SDATA
  • Instruction execution with one byte*
  • 2 general purpose output ports
  • Positive supply voltage VCC =5V ± 10%
  • Pull-down voltage VP=V CC -40V typ. VCC -45V max. (peak) *: Except for character RAM setting APPLICATION AV equipments, vacuum fluorescent display controller for POS system, etc. FUNCTION The M66004 is a 16-digit 5×7-segment VFD (Vacuum Fluo- rescent Display) controller and contains 160 ROM characters based on JIS-C-6220 which can be customized and 16 RAM characters that user can define freely. Character display codes and various commands are re- ceived as 8-bit serial data from MCU. Main functions of this IC are display digit length setting, one- digit display cycle setting and dimmer adjustment. It has 36 segment output pins from SEG00 to SEG35 and uses 35 pins from SEG00 to SEG34 for character display. SEG 35 output, which is independent of other segment, is used for cursor display by inputting either cursor ON or OFF command. Once display data is fixed, display continues automatically until new data is input. Therefore, MCU can execute other jobs and is lightened of its load. Additionally, the IC can control other I/O elements because it contains two static operation output ports. Outline 64P4B 64P2G-A DIG11 DIG 1264 → DIG1363 → DIG1462 → DIG1561 VCC260 → SEG 0059 → SEG 0158 → SEG 0257 → SEG 0356 → SEG 0455 → SEG 0554 → SEG 0653 → SEG 0752 → SEG 0851 → SEG 0950 → SEG 1049 → SEG 1148 → SEG 1247 → SEG 1346 → SEG 1445 → SEG 1544 → SEG 1643 → SEG 1742 → SEG 1841 → SEG 1940 → SEG 2039 → SEG 2138 → SEG 2237 → SEG 2336 → SEG 2435 → SEG 2534 → SEG 2633 DIG10 ← DIG09 ← 3 DIG08 ← 4 DIG07 ← 5 DIG06 ← 6 DIG05 ← 7 DIG04 ← 8 DIG03 ← 9 DIG02 ← 10 DIG01 ← 11 DIG00 ← 12 RESET → 13 CS → 14 CSK → 15 SDATA → 16 P1 ← 17 P0 ← 18 VCC1 19 XOUT ← 20 XIN → 21 VSS 22 SEG 35 ← 23 SEG 34 ← 24 SEG 33 ← 25 SEG 32 ← 26 SEG 31 ← 27 SEG 30 ← 28 SEG 29 ← 29 SEG 28 ← 30 SEG 27 ← 31 VP 32 Digit outputs Chip select input Reset input Shift clock input Serial data input Segment outputs Digit output Segment outputs Output ports Clock output Clock input  M66004SP/FP MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER OPERATION FLOW The serial receive circuit receives 8-bit serial data, latches the data by an internal latch signal, and then masks inputs from the MCU. When the code/command circuit receives a command, it sets the display control register to the fixed state, and when it re- ceives a character code, it writes the code to one of 16 dis- play code registers which corresponds to the digit to display. The display controller outputs digit ON/OFF timing pulse to the digit output circuit and selects one character code to dis- play among display code registers. The selected character code is input to either CGROM decoder or CGRAM decoder and then converted into a 35-bit character pattern to input the segment output circuit. BLOCK DIAGRAM Serial receive circuit Display code register (8-bit × 16) Code / command control circuit code write Display control register Clock generator Display controller code select RAM write CGROM (35-bit × 160) Segment output circuit Output port (2 bits) Digit output circuit CS 15SCK 16SDATA 21XIN 20XOUTClock output Clock input Reset input Serial data input Shift clock input Chip select input RESET DecoderDecoder CGRAM (35-bit × 16)

59 SEG 00

33 SEG 26

12 DIG00

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER Function This pin is used to initialize the internal state of the M66004. In “L” state, communication with the MCU is possible. In “H” state, any instruction from the MCU is neglected. At the rising edge from “L” to “H”, input data is shifted. Character code or command data to display is input from MSB. This pin is used to connect a resistor and a capacitor externally to set oscillation frequency. (maximum oscillation frequency fosc(max)=1MHz) An external clock can be also connected. In this case, an external clock is connected to pin X IN, and pin XOUT is set to be in open state. These pins are used to connect to digit pins of VFD. Pins from DIG00 to DIG15 correspond to digits of VFD from the first digit to the 16th digit. These pins are used to connect to segment pins of VFD. Pins from SEG00 to SEG35 correspond to segment pins of VFD as shown in the table below. Output port (static operation) Positive power supply for internal logic Positive power supply for high-pressure-resistant output port GND Negative power supply for VFD drive Pin name Reset input Chip select input Shift clock input Serial data input Clock input Clock output Digit output Segment output PIN DESCRIPTIONS (Connection of segment output pins) Each in the table shows one-dot segment and each figure in shows the output segment pin number (from 00 to 35) to connect. 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Symbol RESET CS SCK SDATA X IN, XOUT DIG00~ DIG15 SEG 00~ SEG 35 P0, P1 VCC1 VCC2 VSS VP

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER However, in case of character RAM data setting, it is neces- sary to send 7-byte data continuously. DATA TRANSMISSION FORMAT The MCU transmits 8-bit serial data (MSB-first) to the M66004. In either case of command data or character code data, the M66004 operates by transmitting only one-byte data. (Transmission timing) Standard timing CS SCK SDATA D7 D6 (MSB) D5 D4 D1 D0 (LSB) CS SCK SDATA Command data tBUSY : Internal processing time Character code Character code tBUSY tBUSY Continuous data transmission timing (In the following example, command data is transmitted and then character codes are transmitted continuously.)

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER 4. All-digit display ON/OFF 6. Cursor ON (SEG35 output ON) 0001 D7 D6 D5 D4 D3 D2 D1 D0 Digit setting (Note 2) Operation Table 3 ON/OFF control ×: Don’t care All-digit display OFF (All-OFF) Normal operation mode setting All-digit/segment display ON (All-ON) 5. Cursor OFF (SEG35 output OFF) 2) One-digit display frequency (Tdsp) setting 1111 11 0 D7 D6 D5 D4 D3 D2 D1 D0 One-digit display frequency (Tdsp) 0: Tdsp=128/fOSC 1: Tdsp=256/fOSC 3. Display digit setting, setting and cancel of auto increment 1) Display digit setting 1110 D7 D6 D5 D4 D3 D2 D1 D0 Display digit (Note 1) 2) Setting and cancel of auto increment 1111 10 0 D7 D6 D5 D4 D3 D2 D1 D0 Setting and cancel of auto increment 1: Setting of auto increment 0: Cancel of auto increment Note 1: When the display digit is defined as N, N equals [decimal values to which D3, D2, D1 and D0 are converted + 1]. In case of (D3, D2, D1, D0)=(1, 0, 0, 0), N is 9. The first character code received after execut- ing this command is despoiled to the 9th digit. 2. Setting of dimmer value and one-digit display frequency(Tdsp) 1) Dimmer value setting 1111 0 0 D7 D6 D5 D4 D3 D2 D1 D0 See table 3. 1000 D7 D6 D5 D4 D3 D2 D1 D0 Digit setting (Note 2) Dimmer value (T dig/Tdsp) Table 2 Dimmer value Tdig : One-digit-ON pulse width Tdsp: One-digit display frequency Note 2: The digit to which the cursor to make display ON or OFF belongs is designated. When digit is defined as N, N equals [decimal values to which D3, D2, D1 and D0 are converted + 1]. In case of (D3, D2, D1, D0)=(1, 0, 0, 0), N is 9. ON/OFF control of the cursor which belongs to the 9th digit is possible. 00001 D7 D6 D5 D4 D3 D2 D1 D0 Dimmer value (See table 2.)

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER 7. Write to character RAM for user definition Segment ON/OFF data is written into the character RAM for user definition (35 bits). After write to RAM is declared at the first byte, RAM is selected at the second byte and ON/OFF data is transmitted at the 3rd to 7th byte. Therefore, write to RAM is executed by a 7-byte command. Character codes from RAM1 to RAM 16 are assigned to data from 9016 to 9F16 respectively. 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1st column 3rd column 5th column 2nd column 4th column (Segment number) Ex. In order to define “F” (see the figure) as character RAM 1, 7-byte data as shown in the following table should be transmitted in serial order. Remarks Declaration of write to RAM 1 Selection of RAM 1 Setting of 1st-column segment data Setting of 2nd-column segment data Setting of 3rd-column segment data Setting of 4th-column segment data Setting of 5th-column segment data Transmission data FC 16 0016 FE 16 9016 9016 9016 8016 All optional bits are set to “0”. 8. Output port setting 111110 D7 D6 D5 D4 D3 D2 D1 D0 P0 set/reset P1 set/reset Set (“H”): 1 Reset (“L”): 0 111111 ×× D7 D6 D5 D4 D3 D2 D1 D0 1st byte (Declaration of write to RAM) × ××× D7 D6 D5 D4 D3 D2 D1 D0 RAM selection 2nd byte (Selection of RAM) × : Don’t care × : Don’t care 00 05 10 15 20 25 30 × D7 D6 D5 D4 D3 D2 D1 D0 3rd byte (Data in 1st column) 01 06 11 16 21 26 31 ×4th byte (Data in 2nd column) 02 07 12 17 22 27 32 ×5th byte (Data in 3rd column) 03 08 13 18 23 28 33 ×6th byte (Data in 4th column) 04 09 14 19 24 29 34 ×7th byte (Data in 5th column) 0: corresponding segment OFF 1: corresponding segment ON

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER DESCRIPTION OF FUNCTION 1. Display digit length setting The display digit length can be set within the range from 9- digit to 16-digit according to the number of digits of VFD. In case that the display digit length is set to 12 when a 16- digit VFD is used, digits from 13 to 16 are displayed as blank. 2. Dimmer value and one-digit display frequency (T dsp) setting Regarding dimmer value, 8-stage setting is possible. One- digit display scan time (Tdsp) can be set to either Tdsp=128/ fOSC or Tdsp=256/fOSC . Scan cycle time T is set to T=Tdsp × N (N: display digit length). Ex. fOSC =455kHz, N=16 Tdsp=281µs, T=4.5ms (222Hz) or Tdsp=562µs, T=9.0ms (111Hz) DISPLAY TIMING T Tdsp TdigDigit N-1 Digit N (Most significant digit) Digit N-2 Digit 1 (Least significant digit) T: Scan cycle time T dig: One-digit-ON pulse width Tblk Tdsp: One-digit scan time Tblk : Blanking time

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER 3. Character display A character (refer to the character code table) which corre- sponds to the character code transmitted from the MCU is displayed as the designated digit. The display digit is designated by the display digit setting command. In case that the display digit designated by this command is set to increase automatically, the display digit is automatically increased by 1. After a character is displayed to the most significant digit, it is displayed to the least significant digit. When the auto increment setting is canceled, the display digit is fixed. Ex. In order to display a character A to digits 14, 15, 16, 1 and 2 in this order and characters A, B and C to digit 8 successively, 12-byte data must be transmitted in the following order. (Display digit length = 16) A (code 41 16) B (code 4216) C (code 4316) OPERATION AT RESET When a reset signal is input, the internal state is initialized as shown in Table 4. Table 4 Initial state

Contents

Display (characters and cursor) Display digit length, dimmer value, display digit, one-digit display frequency, user character RAM state, auto incre- ment setting Serial receive circuit Output port setting Setting after reset All digits: OFF Values immediately before reset are held. Reset Set Remarks Setting of auto increment Display digit is set to the 14th digit. Transmission of character code Cancel of auto increment setting Display digit is set to the 8th digit. Transmission of character code Display digit Transmission data F516 ED 16 4116 4116 4116 4116 4116 F416 E716 4116 4216 4316 4. All-digit display ON/OFF All digits are simultaneously lighted or put off by inputting all- digit display ON command or all-digit display OFF command. When all-digit display ON command is transmitted, all digits including a cursor and all segments are lighted. Therefore, this command can be used for the lamp test. When all-digit display ON setting is canceled (normal opera- tion mode is selected), all digits are displayed according to the setting before all-digit display ON operation. It is also possible to set the next character to the designated digit dur- ing the all-digit display ON operation. When all-digit display OFF command is transmitted, all digits including a cursor are put off. When all-digit display OFF set- ting is canceled (normal operation mode is selected), all dig- its are displayed according to the setting before all-digit display OFF operation. It is also possible to set the next char- acter to the designated digit in the all-digit display OFF state.

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER ABSOLUTE MAXIMUM RATINGS Conditions (Note 3) Any external circuits are not connected to the IC. T a=25°C (Note 4) The IC is mounted on a board. Ta=25°C (Note 5) Ratings –0.3 ~ + 7 VCC –45 ~ VCC + 0.3 –0.3 ~ VCC + 0.3 –0.3 ~ VCC + 0.3 1.6 1.4 –65 ~ 150 Symbol VCC VP VI VO Pd Tstg Parameter Supply voltage Pull-down voltage Input voltage Output voltage Maximum power dissipation Storage temperature Unit V V V V W VCC1 , VCC2 XOUT , P0, P1 SP FP Notes 3: Frequency of pulse waveform exceeding VCC -40V:450µs or above, pulse width: 30µs or below, output load: CL≤ 200pF 4: When Ta is 25°C or above, derating (12.8mW/°C) should be conducted. 5: When Ta is 25°C or above, derating (11.2mW/°C) should be conducted. Unit V V V V Symbol VCC VP VSS VI Topr Parameter Supply voltage Pull-down voltage Supply voltage Input voltage Operating temperature Limits Min. 4.5 VCC –40 –10 Typ. Max. 5.5 VCC VCC VCC1 , VCC2 RECOMMENDED OPERATIONAL CONDITIONS (Ta=–10 ~ 70°C unless otherwise noted) Conditions SDATA RESET CS SCK, X IN DIG output SEG output P0, P1 P0, P1 DIG, SEG V CC1 , VCC2 VP Symbol VIH VIL VT+ VT– IIH IIL VOH VOL IO ICC IP Parameter Limits Max. 0.3VCC 0.7VCC 0.55VCC 0.55 850 100 –40 Min. 0.7VCC 0.35VCC 0.2VCC VCC –2 VCC –2 VCC –0.8 250 Unit V V V V µA µA V V µA µA mA mA DC CHARACTERISTICS (Ta = –10 ~ 70°C, VCC = 5V ± 10%, VSS = 0V) Typ. 2.8 500 Conditions VI=VCC VI=0V IOH =–20mA IOH =–5mA IOH =–2mA IOL =2mA VP=VCC –40V, VO =V CC VI=0V, Output pin: open VP=VCC –40V Output pin: open Output “H”, clock stop V P=VCC –40V Output pin: open Output “H”, clock stop V P=VCC –40V (Note 6) “H” input voltage “L” input voltage Positive direction threshold voltage Negative direction threshold voltage “H” input current “L” input current “H” output voltage “L” output voltage Output pull-down current Positive supply current Negative supply current Note 6: Total of current at pin VCC1 and current at pin VCC2 .

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER Parameter Clock cycle time Clock cycle pulse width Clock low pulse width SDATA setup time SDATA hold time CS setup time CS hold time Internal processing time TIMING CONDITIONS (Ta = –10 ~ 70°C, VCC = 5V ± 10%, VSS = 0V) Unit ns ns ns ns ns ns ns 1/f OSC Limits Min. 500 1000 230 460 230 460 130 100 130 Typ. Max. Conditions SCK XIN SCK X IN SCK X IN Parameter Oscillation frequency OSCILLATION CHARACTERISTICS (Ta = –10 ~ 70°C, VCC = 5V ± 10%, VSS = 0V) Unit kHz Symbol fOSC Limits Min. Typ. 500 Max.Conditions C=100pF, R=27kΩ TIMING WAVEFORM (Reference voltage: 0.3VCC , 0.7VCC ) CS tsu(CS) SCK SDATA SCK th(CS)tWL tsu(D) th(D) tBUSY nth byte (n+1)th byte tWH tC Symbol tC tWH tWL tsu(D) th(D) tsu(CS) th(CS) tBUSY (Note 7) Note 7: This shows the internal operation time after receiving the serial data. Next data is prohibited in this period. Next data is available after 6T of the operation clock.

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER OPERATION FLOWCHART (Initial setting operation) START PUT OFF ALL- DIGIT DISPLAY SET DISPLAY DIGIT LENGTH SET DIMMER VALUE AND ONE-DIGIT DISPLAY FREQUENCY TRANSMIT RAM WRITE COMMAND TRANSMIT RAM BIT DATA BIT DATA TRANSMISSION COMPLETED WRITE TO RAM COMPLETED SET AUTO INCREMENT, SET DISPLAY DIGIT TRANSMIT DISPLAY CHARACTER CODE TRANSMISSION OF ALL DIGITS COMPLETED SET TO NORMAL OPERATION MODE END YES YES YES NO NO NO

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER CHARACTER CODE LIST (conforming to JIS-C-6220) Note: Character codes which can be defined by users are 160 codes from 2016 to 7F16 and from A016 to DF16. Codes except those from 2016 to 7F16 and from 9016 to DF16 are command codes. Lower codes Upper codes 0000 (016) 0011 (316) 0010 (216) SPASE 0001 (116) 0100 (416) 1011 (B16) 1110 (E16) 1101 (D16) 1100 (C16) 1111 (F16) 0110 (616) 1001 (916) RAM1 RAM2 RAM3 RAM4 RAM5 RAM6 RAM7 RAM8 RAM9 RAM10 RAM11 RAM12 RAM13 RAM14 RAM15 RAM16 1000 (816) 0111 (716) 1010 (A16) SPASE 0101 (516) 0000 (016) 0001 (116) 0010 (216) 0011 (316) 0100 (416) 0101 (516) 0110 (616) 0111 (716) 1000 (816) 1001 (916) 1010 (A16) 1011 (B16) 1100 (C16) 1101 (D16) 1110 (E16) 1111 (F16)

MITSUBISHI 〈DIGITAL ASSP 〉 M66004SP/FP 16-DIGIT 5×7-SEGMENT VFD CONTROLLER APPLICATION EXAMPLE VFD Heater GRID (DIGIT) ANODE (SEGMENT) Power on reset +5V VCC MCU VSS Serial bus CR oscillator 35V VPXOUTXIN M66004SP/FP VSS CS SCK SDATA Cutoff bias voltage Heater transformer RESET VCC SEG 00 SEG 35 DIG00 DIG15~~