To all our customers Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp. The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.) Accordingly, although Mitsubishi Electric, Mitsubishi Electric Corporation, Mitsubishi Semiconductors, and other Mitsubishi brand names are mentioned in the document, these names have in fact all been changed to Renesas Technology Corp. Thank you for your understanding. Except for our corporate trademark, logo and corporate statement, no changes whatsoever have been made to the contents of the document, and these changes do not constitute any alteration to the contents of the document itself. Note : Mitsubishi Electric will continue the business operations of high frequency & optical devices and power devices. Renesas Technology Corp. Customer Support Dept. April 1, 2003 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DESCRIPTION FEATURES • Screen composition ................ 24 characters ✕ 12 lines ✕ 2 pages • Number of characters displayed .................. 288 (Max.) ✕ 2 pages • Character composition ..................................... 12 ✕ 18 dot matrix • Characters available ................................ page 0 : 256 characters • • • • • • • • • • APPLICATION CRT display, Liquid crystal display, Plasma display REV.1.2 1 20 VDD2 VSS2 2 19 VERT AC 3 18 HOR TEST 4 17 P5/B SCL 5 16 P4 SDA 6 15 P3/G TCK 7 14 P2 VDD1 8 13 P1/R P6 9 P7 10 CPOUT 12 P0/BLNK0 11 VSS1 Outline 20P4B CPOUT 1 20 VDD2 VSS2 2 19 VERT AC 3 18 HOR TEST 4 17 P5/B SCL 5 16 P4 SDA 6 15 P3/G TCK 7 14 P2 VDD1 8 13 P1/R P6 9 P7 10 M35070 - XXXFP • page 1 : 256 characters Character sizes available ................... 4 (vertic al) ✕ 2 (horizontal) Display locations available Horizontal direction .............................................. 2007 locations Vertical direction .................................................. 1023 locations Blinking .................................................................. Character units Cycle : division of vertical synchronization signal into 32 or 64 Duty : 25%, 50%, or 75% Data input ............................. By the I2C-BUS serial input function Coloring Character color ..................................................... Character unit Background coloring ............................................. Character unit Border (shadow) coloring ........................ 8 colors (RGB output) Specified by register Raster coloring ........................................ 8 colors (RGB output) Specified by register Blanking Character size blanking Border size blanking Matrix-outline blanking All blanking (all raster area) Output ports 4 shared output ports (toggled between RGB output) 4 dedicated output ports Display RAM erase function Display input frequency range ............... FOSC = 20MHz to 90MHz Horizontal synchronous input frequency ........................................................ H.sync = 15 kHz to 130 kHz Display oscillation stop function PIN CONFIGURATION (TOP VIEW) M35070 - XXXSP The M35070-XXXSP/FP is a character pattern display control IC can display on the CRT display the liquid crystal display and the plasma display. It can display 2 pages (24 characters ✕ 12 lines per 1 page) at the same time. It uses a silicon gate CMOS process and it housed in a 20-pin shrink DIP package (M35070-XXXSP) or a 20-pin shrink SOP package (M35070-XXXFP). For M35070-002SP/FP that is a standard ROM version of M35070XXXSP/FP respectively, the character pattern is also mentioned. 12 P0/BLNK0 11 VSS1 Outline 20P2Q-A MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PIN DESCRIPTION Pin Number Symbol Pin name Input/ Output 1 CPOUT Filter output Output 2 VSS2 Earthing pin – Function Filter output. Connect loop filter to this pin. Connect to GND. __ 2 3 AC Auto-clear input Input When “L”, this pin resets the internal IC circuit. Hysteresis input. Built-in pull-up resistor. 4 TEST Test input Input Test pin. Connect to +5V. 5 SCL Clock input Input SDA pin serial data is taken in when SCL rises. Hysteresis input. 6 SDA Data I/O 7 TCK External clock 8 VDD1 Power pin 9 P6 Port P6 output Output This is the output port. 10 P7 Port P7 output Output This is the output port. 11 VSS1 Earthing pin 12 P0/BLNK0 Port P0 output Output This pin can be toggled between port pin output and BLNK0 signal output. 13 P1/R Port P1 output Output This pin can be toggled between port pin output and R signal output. 14 P2 Port P2 output Output This is the output port. 15 P3/G Port P3 output Output This pin can be toggled between port pin output and G signal output. 16 P4 Port P4 output Output This is the output port. 17 P5/B Port P5 output Output This pin can be toggled between port pin output and B signal output. 18 HOR Horizontal synchronous signal input Input This pin inputs the horizontal synchronous signal. Hysteresis input. 19 VERT Vertical synchronous signal input Input This pin inputs the vertical synchronous signal. Hysteresis input. 20 VDD2 Power pin I/O Input – – – This is the pin for serial input of display control register and display RAM data. Also, this pin output acknowledge signal. Hysteresis input. Nch opendrain output. This is the pin for external clock input. Please connect to +5V with the power pin. Please connect to GND using circuit earthing pin. Please connect to +5V with the power pin. 6 8 SDA VDD1 2 3 4 VSS2 AC TEST VSS1 11 Address control circuit Display RAM 1 (page 1) Display character ROM 1 (page 1) Display RAM 0 (page 0) Display character ROM 0 (page 0) Display control register Data control circuit Input control circuit VDD2 20 5 SCL BLOCK DIAGRAM 1 7 Blinking circuit Display control circuit Display location detection circuit H counter Synchronous signal switching circuit Port output control circuit 19 VERT Polarity switching circuit 18 HOR Polarity switching circuit Shift register Reading address control circuit Timing generator Clock oscillation circuit display CPOUT TCK P6 10 P7 9 16 P4 14 P2 17 P5/B 15 P3/G 13 P1/R 12 P0/BLNK0 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 3 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS MEMORY CONSTITUTION pages : page 0 memory and page 1 memory (their addresses are common), page controlled by DAF bit of each address when writing data. For detail, see “Data input”. Memory constitution is shown in Figure 1 and 2. Address 00016 to 11F16 are assigned to the display RAM, address 12016 to 12816 are assigned to the display control registers. The internal circuit is reset and all display control registers (address 12016 __ to 12816) are set to “0” when the AC pin level is “L”. And then, RAM is not erased and be undefinited. This memory is consisted of 2 DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 00016 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 00116 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 Blinking Character color ……… DAF ……… Addresses Background coloring 11E16 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 11F16 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 12016 0 EXCK0 VJT DIV9 DIV8 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 12116 0 RSEL0 PTD7 PTD6 PTD5 PTD4 PTD3 PTD2 PTD1 PTD0 PTC5 PTC4 PTC3 PTC2 PTC1 PTC0 12216 0 RSEL1 SPACE2 SPACE1 SPACE0 HP10 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 12316 0 EXCK1 TEST3 TEST2 TEST1 TEST0 VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 12416 0 TEST9 TEST5 TEST4 DSP11 DSP10 DSP9 DSP8 DSP7 DSP6 DSP5 DSP4 DSP3 DSP2 DSP1 DSP0 12516 0 TEST10 VSZ1H1 VSZ1H0 VSZ1L1 VSZ1L0 V1SZ1 V1SZ0 LIN9 12616 0 POPUP VSZ2H1 VSZ2H0 VSZ2L1 VSZ2L0 V18SZ1 V18SZ0 LIN17 LIN16 LIN15 LIN14 LIN13 LIN12 LIN11 LIN10 12716 0 MODE0 TEST12 HSZ20 TEST11 HSZ10 BETA14 TEST8 TEST7 TEST6 12816 0 MODE1 BLINK2 BLINK1 BLINK0 DSPON STOP RAMERS SYAD BLK1 DIVS1 DIVS0 DIV10 Fig. 1 Memory constitution (page 0 memory) 4 Character code LIN8 LIN7 FB LIN6 FG LIN5 FR LIN4 RB BLK0 POLH POLV VMASK LIN3 LIN2 RG RR B/F BCOL MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 00016 1 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 00116 1 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 Blinking Character color Background coloring ……… DAE ……… DAF ……… Addresses Character code 11E16 1 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 11F16 1 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 12016 1 – – – – – – – – – – – – – – – 12116 1 – – – – – – – – – – – – – – – 12216 1 – SPACE2 SPACE1 SPACE0 HP10 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 12316 1 – TEST3 TEST2 TEST1 TEST0 VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 12416 1 – 12516 1 – VSZ1H1 VSZ1H0 VSZ1L1 VSZ1L0 V1SZ1 V1SZ0 LIN9 12616 1 – VSZ2H1 VSZ2H0 VSZ2L1 VSZ2L0 V18SZ1 V18SZ0 LIN17 LIN16 LIN15 LIN14 LIN13 LIN12 LIN11 LIN10 12716 1 – TEST12 HSZ20 TEST11 HSZ10 BETA14 TEST8 TEST7 TEST6 FB FG FR RB RG RR 12816 1 – BLINK2 BLINK1 BLINK0 DSPON TEST13 RAMERS SYAD BLK1 BLK0 – – – – BCOL – TEST4 DSP11 DSP10 DSP9 DSP8 DSP7 DSP6 DSP5 DSP4 DSP3 DSP2 DSP1 DSP0 LIN8 LIN7 LIN6 LIN5 LIN4 LIN3 LIN2 Fig. 2 Memory constitution (page 1 memory) Note: Page 0 and page 1 registers are found in their respective pages. For example, HP10 to HP0 of the page 0 memory sets the horizontal display start position of page 0, whereas HP10 to HP0 (same register name) of the page 1 memory sets the horizontal display start position of page 1. Also, registers common to both page 0 and page 1 are found only in the page 0 memory. For example, PTC0 is the control register of the P0 pin and is found only in the page 0 memory. 5 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS SCREEN CONSTITUTION The screen lines and rows are determined from each address of the display RAM (page 0 and page 1 are common). The screen constitution is shown in Figure 3. Row Line 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 00016 00116 00216 00316 00416 00516 00616 00716 00816 00916 00A16 00B16 00C16 00D16 00E16 00F16 01016 01116 01216 01316 01416 01516 01616 01716 01816 01916 01A16 01B16 01C16 01D16 01E16 01F16 02016 02116 02216 02316 02416 02516 02616 02716 02816 02916 02A16 02B16 02C16 02D16 02E16 02F16 03016 03116 03216 03316 03416 03516 03616 03716 03816 03916 03A16 03B16 03C16 03D16 03E16 03F16 04016 04116 04216 04316 04416 04516 04616 04716 04816 04916 04A16 04B16 04C16 04D16 04E16 04F16 05016 05116 05216 05316 05416 05516 05616 05716 05816 05916 05A16 05B16 05C16 05D16 05E16 05F16 06016 06116 06216 06316 06416 06516 06616 06716 06816 06916 06A16 06B16 06C16 06D16 06E16 06F16 07016 07116 07216 07316 07416 07516 07616 07716 07816 07916 07A16 07B16 07C16 07D16 07E16 07F16 08016 08116 08216 08316 08416 08516 08616 08716 08816 08916 08A16 08B16 08C16 08D16 08E16 08F16 09016 09116 09216 09316 09416 09516 09616 09716 09816 09916 09A16 09B16 09C16 09D16 09E16 09F16 0A016 0A116 0A216 0A316 0A416 0A516 0A616 0A716 0A816 0A916 0AA16 0AB16 0AC16 0AD16 0AE16 0AF16 0B016 0B116 0B216 0B316 0B416 0B516 0B616 0B716 0B816 0B916 0BA16 0BB16 0BC16 0BD16 0BE16 0BF16 0C016 0C116 0C216 0C316 0C416 0C516 0C616 0C716 0C816 0C916 0CA16 0CB16 0CC16 0CD16 0CE16 0CF16 0D016 0D116 0D216 0D316 0D416 0D516 0D616 0D716 0D816 0D916 0DA16 0DB16 0DC16 0DD16 0DE16 0DF16 0E016 0E116 0E216 0E316 0E416 0E516 0E616 0E716 0E816 0E916 0EA16 0EB16 0EC16 0ED16 0EE16 0EF16 0F016 0F116 0F216 0F316 0F416 0F516 0F616 0F716 0F816 0F916 0FA16 0FB16 0FC16 0FD16 0FE16 0FF16 10016 10116 10216 10316 10416 10516 10616 10716 10816 10916 10A16 10B16 10C16 10D16 10E16 10F16 11016 11116 11216 11316 11416 11516 11616 11716 11816 11916 11A16 11B16 11C16 11D16 11E16 11F16 ✽ The hexadecimal numbers in the boxes show the display RAM address. Fig. 3 Screen constitution 6 15 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY RAM Address 00016 to 11F16 Contents DA Register Remarks Status Function 0 0 Set the displayed ROM character code. C0 Set display character 1 0 1 C1 1 0 2 To write data into page 0 (Note 2), select the data from the ROM characters (256 types) for page 0 and set the character code. To write data into page 1, do the same from the ROM characters (256 types) for page 1. C2 1 0 3 C3 1 0 4 C4 1 0 5 C5 1 0 6 C6 1 0 7 C7 1 0 8 R 1 0 9 G 1 0 A B 1 B 0 Do not blink. 1 Blinking BR 1 0 D BG 1 0 E G 0 0 1 1 0 0 1 1 R 0 1 0 1 0 1 0 1 Color Black Red Green Yellow Blue Magenta Cyan White BB 1 BB 0 0 0 0 1 1 1 1 BG 0 0 1 1 0 0 1 1 Set character color (character unit) Set blinking See register BLINK2 to BLINK0 (address12816) BLINK 0 C B 0 0 0 0 1 1 1 1 BR 0 1 0 1 0 1 0 1 Color Black Red Green Yellow Blue Magenta Cyan White Set character background (character unit) ____ Notes 1. The display RAM is undefined state at the AC pin. 2. The display RAM consists of 2 pages, page 0 and page 1 (common address). The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 7 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS REGISTERS DESCRIPTION (1) Address 12016 Contents DA Register Remarks Status 0 0 DIV0 (Note 3) Function Set division value (multiply value) of horizontal oscillation frequency. 1 0 1 DIV1 (Note 3) 2 10 Σ (DIVn × 2n) 1 N1 = 0 N1 : division value (multiply value) n=0 Also, set the display frequency range by registers DIVS0, DIVS1(address 120 16), RSEL0(address 121 16) and RSEL1(address 12216) in accordance with the display frequency. DIV2 (Note 3) 1 0 3 DIV3 (Note 3) 1 Any of this settings above is required only when EXCK1 = 0, EXCK0 = 1 and EXCK1 = 1, EXCK0 = 1. 0 4 Set display frequency by division value (multiply value) setting. For details, see REGISTER SUPPLYMENTARY DESCRIPTION (1). DIV4 (Note 3) 1 0 5 DIV5 (Note 3) 1 0 6 DIV6 (Note 3) 1 0 7 DIV7 (Note 3) 1 0 8 DIV8 (Note 3) 1 0 9 DIV9 (Note 3) 1 0 A DIV10 (Note 3) 1 0 B DIVS0 (Note 3) 1 For setting, see REGISTER SUPPLYMENTARY DESCRIPTION (2). Set display frequency range. 0 C DIVS1 (Note 3) D 1 0 It is used to "0", normally. 1 Alleviates continuous vertical jitters. VJT (Note 3) 0 E EXCK0 (Note 3) 1 EXCK1 EXCK0 Display clock input 0 0 External synchronous (external clock) 0 1 Internal synchronous 1 0 Do not set 1 1 External synchronous (internal clock) Display clock setting See REGISTER SUPPLYMENTARY DESCRIPTION (1) EXCK1 : address12316 ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 8 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Address 12116 Contents DA Register Remarks Status 0 PTC0 Function 0 P0 output (port P0). 1 BLNK0 output. 0 P1 output (port P1). 1 R signal output. 0 P2 output (port P2). 1 Can not be used. 0 P3 output (port P3). 1 G signal output. 0 P4 output (port P4). 1 Can not be used. 0 P5 output (port P5). 1 B signal output. 0 “L” output or negative polarity output (BLNK0 output). 1 “H” output or positive polarity output (BLNK0 output). 0 “L” output or negative polarity output (R signal output). 1 “H” output or positive polarity output (R signal output). 0 “L” output. 1 “H” output. 0 “L” output or negative polarity output (G signal output). 1 “H” output or positive polarity output (G signal output). 0 “L” output. 1 “H” output. 0 “L” output or negative polarity output (B signal output). 1 “H” output or positive polarity output (B signal output). 0 “L” output. 1 “H” output. 0 “L” output. 1 “H” output. 0 For setting, see REGISTER SUPPLYMENTARY DESCRIPTION (2). P0 pin output control. (Note 3) 1 PTC1 (Note 3) 2 PTC2 (Note 3) 3 PTC3 (Note 3) 4 PTC4 (Note 3) 5 PTC5 (Note 3) 6 7 PTD0 (Note 3) PTD1 (Note 3) 8 PTD2 (Note 3) 9 PTD3 (Note 3) A PTD4 (Note 3) B PTD5 (Note 3) C PTD6 (Note 3) D E PTD7 (Note 3) RSEL0 (Note 3) P1 pin output control. P2 pin output control. P3 pin output control. P4 pin output control. P5 pin output control. P0 pin data control. P1 pin data control. P2 pin data control. P3 pin data control. P4 pin data control. P5 pin data control. P6 pin data control. P7 pin data control. Set display frequency range. 1 ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 9 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (3) Address 12216 DA Register 0 HP0 Contents 0 1 Remarks Function Status If HS is the horizontal display start location, 10 HS = T × (Σ 2nHPn Horizontal display start location is specified using the 11 bits from HP10 to HP0. HP10 to HP0 = (000000000002) and (000001001112) setting is forbidden. + 6) n=0 1 0 T : Period of display frequency 1 2007 settings are possible. HP1 0 2 HP2 1 HOR 0 3 HP3 1 0 4 VS HP4 1 HS* VERT 0 5 HP5 Display area 1 HS* (shown left) shows horizontal __ display start location that is register B/F (address 12816) = 0 is set. 0 6 HP6 1 0 7 HP7 1 0 8 HP8 1 0 9 HP9 1 0 A HP10 1 0 B SPACE0 1 0 C SPACE1 1 0 D SPACE2 1 0 E RSEL1 (Note 3) 1 2 0 0 0 0 1 1 1 1 SPACE 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 Leave one line worth of space in the vertical direction. For example, 6 (S) 6 indicates two sets of 6 lines with a line of spaces between lines 6 and 7. A line is 18 × N horizontal scan lines. N is determined by the character size in the vertical direction Number of Lines and Space <(S) represents space> 12 1 (S) 10 (S) 1 2 (S) 8 (S) 2 3 (S) 6 (S) 3 4 (S) 4 (S) 4 5 (S) 2 (S) 5 6 (S) 6 6 (S)(S) 6 (S) represents one line worth of spac For setting, see REGISTER SUPPLYMENTARY DESCRIPTION (2). Set display frequency range. ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 10 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (4) Address 12316 DA Register 0 VP0 Contents 0 1 Remarks Function Status If VS is the vertical display start location, The vertical start location is specified using the 10 bits from VP9 to VP0. VP9 to VP0 = (00000000002) setting is forbidden. 9 VS = H × Σ 2nVPn n=0 1 0 H: Cycle with the horizontal synchronizing pulse 1 1023 settings are possible. VP1 0 2 VP2 1 HOR 0 3 VP3 1 VS 0 4 VP4 0 5 VP5 VERT 1 HS* Display area HS* (shown left) shows horizontal __ display start location that is register B/F (address 12816) = 0 is set. 1 0 6 VP6 1 0 7 VP7 1 0 8 VP8 1 0 9 VP9 1 A B C D E 0 It should be fixed to “0”. 1 Can not be used. 0 It should be fixed to “0”. 1 Can not be used. 0 It should be fixed to “0”. 1 Can not be used. 0 It should be fixed to “0”. 1 Can not be used. 0 For setting, see Register EXCK0 (address 12016). TEST0 TEST1 TEST2 TEST3 Display clock setting EXCK1 (Note 3) 1 ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 11 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (5) Address 12416 DA Contents Register 0 DSP0 0 1 1 DSP1 0 Remarks Function Status The display mode (blanking mode) for line n on the display screen is set line-by-line, using DSPn (n = 0 to 11). Sets the display mode of line 1. The display mode is determined by the combination of registers BLK1 and BLK0 (address 12816). Settings are given below. Sets the display mode of line 2. 1 2 DSP2 0 1 3 DSP3 0 BLK1 0 0 1 1 BLK0 0 1 0 1 DSPn= “0” Matrix-outline border Character Border Matrix-outline DSPn= “1” Matrix-outline Border Matrix-outline Character Sets the display mode of line 3. Sets the display mode of line 4. (At register BCOL = “0”) 1 4 DSP4 0 For detail, see DISPLAY FORM1(1). Sets the display mode of line 5. 1 5 DSP5 0 Sets the display mode of line 6. 1 6 DSP6 0 Sets the display mode of line 7. 1 7 DSP7 0 Sets the display mode of line 8. 1 8 DSP8 0 Sets the display mode of line 9. 1 9 DSP9 0 Sets the display mode of line 10. 1 A DSP10 0 Sets the display mode of line 11. 1 B DSP11 0 Sets the display mode of line 12. 1 C D TEST4 It should be fixed to “0”. 1 Can not be used. 0 It should be fixed to “0”. 1 Can not be used. 0 Can not be used. 1 It should be fixed to “1”. TEST5 (Note 3) E 0 TEST9 (Note 3) ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 12 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (6) Address 12516 DA Contents Register 0 1 0 Remarks Function Status 1 The vertical dot size for line n in the character dot lines (18 vertical lines) is set using LINn (n = 2 to 17). Character size setting in the vertical direction for the 2nd line. 0 Dot size can be selected between 2 types for each dot line. Character size setting in the vertical direction for the 3rd line. LIN2 LIN3 1 2 0 LIN4 For dot size, see the below registers. Line 1 and lines 2 to 12 can be set independent of one another. 1 3 0 LIN5 1 4 LINn = “0” 1st line Refer to VSZ1L0 and VSZ1L1 LINn = “1” Refer to VSZ1H0 and VSZ1H1 Character size setting in the vertical direction for the 5th line. 2nd to 12th Refer to VSZ2L0 Refer to VSZ2H0 and VSZ2H1 and VSZ2L1 line 0 Character size setting in the vertical direction for the 6th line. LIN6 1 5 0 Character size setting in the vertical direction for the 7th line. LIN7 1 6 0 Character size setting in the vertical direction for the 8th line. LIN8 1 7 0 Character size setting in the vertical direction for the 9th line. LIN9 1 8 0 V1SZ0 1 9 0 V1SZ1 1 A 0 VSZ1L0 B C H: Cycle with the horizontal synchronizing pulse H: Cycle with the horizontal synchronizing pulse 1 VSZ1H1 VSZ1H0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot 0 It should be fixed to “0”. 1 Can not be used. VSZ1H1 Character size setting in the vertical direction for the 1st line. (display monitor 1 to 12 line) Vertical direction size 1H/dot 2H/dot 3H/dot 4H/dot 0 VSZ1H0 0 E V1SZ1 V1SZ0 0 0 0 1 1 0 1 1 1 0 VSZ1L1 1 D H: Cycle with the horizontal synchronizing pulse VSZ1L1 VSZ1L0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot 1 Character size setting in the vertical direction for the 4th line. Character size setting in the vertical direction (display monitor 1 line) at “0” state in register LIN2 to LIN17 (address 12516, 12616). Character size setting in the vertical direction (display monitor 1 line) at “1” state in register LIN2 to LIN17 (address 12516, 12616). TEST10 (Note 3) ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 13 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (7) Address 12616 DA Contents Register 0 0 LIN10 1 1 Remarks Function Status The vertical dot size for line n in the character dot lines (18 vertical lines) is set using LINn (n = 2 to 17). 0 LIN11 Character size setting in the vertical direction for the 11th line. Dot size can be selected between 2 types for each dot line. 1 2 LIN12 0 For dot size, see the below registers. Line 1 and lines 2 to 12 can be set independent of one another. 1 3 0 LIN13 1st line 1 4 0 LINn = “0” LINn = “1” Refer to VSZ1L0 and VSZ1L1 Refer to VSZ1H0 and VSZ1H1 2nd to 12th Refer to VSZ2L0 Refer to VSZ2H0 and VSZ2L1 and VSZ2H1 line Character size setting in the vertical direction for the 14th line. LIN14 LIN15 0 Character size setting in the vertical direction for the 15th line. 1 6 0 Character size setting in the vertical direction for the 16th line. LIN16 1 7 0 Character size setting in the vertical direction for the 17th line. LIN17 1 8 9 A V18SZ0 0 H: Cycle with the horizontal synchronizing pulse 1 1 V18SZ1 V18SZ0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot 0 H: Cycle with the horizontal synchronizing pulse 0 V18SZ1 VSZ2L0 1 VSZ2L1 VSZ2L0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot 0 H: Cycle with the horizontal synchronizing pulse 1 B C VSZ2L1 0 VSZ2H0 1 VSZ2H1 VSZ2H0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot 0 Page 1 priority display 1 Page 0 priority display 1 0 D E VSZ2H1 POPUP (Note 3) Character size setting in the vertical direction for the 12th line. Character size setting in the vertical direction for the 13th line. 1 5 Character size setting in the vertical direction for the 10th line. Character size setting in the vertical direction for the 18th line. (display monitor 1 to 12 line) Character size setting in the vertical direction (display monitor for 2 to 12 line) at “0” state in register LIN2 to LIN17 (address 12516, 12616). Character size setting in the vertical direction (display monitor for 2 to 12 line) at “0” state in register LIN2 to LIN17 (address 12516, 12616). Sets the priority page for when 2 pages are displayed at the same time. The setting is effective only when the standard display mode is set as MODE0 = "0" , MODE1 = "0". See "DISPLAY FORM 2" . ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 14 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (8) Address 12716 DA Contents Register 0 0 RR 1 1 0 RG 1 2 0 RB Remarks Function Status RB 0 0 0 0 1 1 1 1 RG 0 0 1 1 0 0 1 1 RR 0 1 0 1 0 1 0 1 Color Black Red Green Yellow Blue Magenta Cyan White Sets the raster color of all blankings. FB 0 0 0 0 1 1 1 1 FG 0 0 1 1 0 0 1 1 FR 0 1 0 1 0 1 0 1 Color Black Red Green Yellow Blue Magenta Cyan White Sets the blanking color of the Border size, or the shadow size. 1 3 0 FR 1 4 0 FG 1 5 0 FB 1 6 7 8 9 A 0 It should be fixed to “0”. 1 Can not be used. 0 It should be fixed to “0”. 1 Can not be used. 0 It should be fixed to “0”. 1 Can not be used. 0 Matrix-outline display (12 × 18 dot) 1 Matrix-outline display (14 × 18 dot) TEST6 TEST7 TEST8 BETA14 0 HSZ10 1 B C E Character size setting in the horizontal direction for the first line. T : Display frequency cycle Horizontal direction size 1T/dot 2T/dot 0 It should be fixed to “0”. 1 Can not be used. TEST11 0 HSZ20 1 D HSZ10 0 1 TEST12 MODE0 (Note 3) HSZ20 0 1 Horizontal direction size 1T/dot 2T/dot 0 It should be fixed to “0”. 1 Can not be used. 0 1 MODE1 0 0 1 1 MODE0 0 1 0 1 Character size setting in the horizontal direction for the 2nd line to 12th line. T : Display frequency cycle Display mode Standard.(Note4) AND EXOR OR Sets the display mode for when 2 pages are displayed at the same time. See “DISPLAY FORM 2”. MODE1(address12816) . ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 4. 2 way settings are available by POPUP (address 12616). 15 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (9) Address 12816 DA Contents Register 0 1 __ All raster blanking 0 Synchronize with the leading edge of horizontal synchronization. 1 Synchronize with the trailing edge of horizontal synchronization. 0 Do not mask by VERT input signal 1 Mask by VERT input signal 0 VERT pin is negative polarity 1 VERT pin is positive polarity 0 HOR pin is negative polarity 1 HOR pin is positive polarity 0 1 6 0 BLK1 1 7 8 9 A B E Set HOR pin polarity. BLINK0 0 0 1 1 0 1 0 1 Set blanking mode. See “DISPLAY SHAPE 2”. Blanking mode Matrix-outline size Character size Border size Matrix-outline size (When DSPn (address 12416) = “0”) 0 1 Shadow display of character 0 RAM not erased 1 RAM erased 0 Oscillation of clock for display 1 Stop the oscillation of clock for display 0 Display OFF 1 Display ON See “DISPLAY FORM1 (2)”. SYAD There is no need to reset because there is no register for this bit. RAMERS It is a test bit (TEST13) in the page 1 register, therefore fix it to “0”. STOP DSPON 0 BLINK0 0 BLINK1 1 D BLINK1 Border display of character 1 C Set VERT pin polarity. POLH BLK0 Synchronize with the front porch or back porch of the horizontal synchronazation signal. Set mask at phase comparison operating. POLV (Note 3) 5 1 Sets all raster blanking VMASK (Note 3) 4 Blanking of BLK0, BLK1 B/F (Note 3) 3 0 BCOL (Note 3) 2 Remarks Function Status BLINK 1 0 0 1 1 0 0 1 0 1 Set blinking duty ratio. Duty Blinking OFF 25% 50% 75% 0 Divided into 64 of vertical synchronous signal 1 Divided into 32 of vertical synchronous signal 0 For setting, see MODE0 (address 12716). Set blinking frequency. BLINK2 Sets the display mode for when 2 pages are displayed at the same time. MODE1 (Note 3) 1 ____ Notes 1. The mark around the status value means the reset status by the "L" level is input to AC pin. 2. The page in which data is written is controlled by the DAF bit. When set to "0", data is written into page 0, whereas when set to "1", data is written into page 1. 3. Registers marked with (Note 3) are found only in page 0, therefore the register value does not change when the DAF bit is set to "1". 16 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS REGISTER SUPPLEMENTARY DESCRIPTION (1) Setting external clock input and display frequency mode Setting external clock input and display frequency mode (by use of EXCK0 (12016), EXCK1 (12316) and DIV10 to DIV0 (12016), as explained here following. (a) When (EXCK1, EXCK0) = (0, 0) ......External synchronous 1 (External clock display) … Fosc = 20 to 70 MHz Input from the TCK pin a constant-period continuous external clock that synchronizes with the horizontal synchronous signal. And input from HOR pin a constant period continuous horizontal synchronous signal. Never stop inputting the clock while displaying. Do not have to set a display frequency because the clock just as it is entered from outside is used as the display clock. (b) When (EXCK1, EXCK0) = (0, 1) ......Internal synchronous… Fosc = 20 to 90 MHz Clock input from the TCK pin is unnecessary. The multiply clock of the internally generated horizontal synchronous signal is used as the display clock. The display frequency is set by setting the multiply value of the horizontal synchronous frequency (of the display frequency) in DIV10 to DIV0 (address 12016). Also, set the display frequency range. (See the next page.) Display frequency is calculated using the below expression. (c) When (EXCK1, EXCK0) = (1, 0) ......… Setting disabled (d) When (EXCK1, EXCK0) = (1, 1) ......External synchronous 2 (Internal oscillation clock display) … Fosc = 20 to 90 MHz Input from the TCK pin a constant-period continuous external clock that synchronizes with the horizontal synchronous signal. And input from HOR pin a constant-period continuous horizontal synchronous signal. Never stop inputting the clock while displaying. An internal clock which is in sync with the external input clock is used as the display clock. Because the display frequency equals the external clock frequency, set N1 (division value) that satisfies the below expressions to DIV10 to DIV0 (address 12016) for make the display frequency is equal to the external clock frequency. N1 = external clock frequency / horizontal synchronous frequency 10 N1 = Σ n=0 2nDIVn Also, set the display frequency range. (See the next page.) Display frequency = Horizontal synchronous frequency x Multiply value Horizontal synchronous signal 1H External clock Number of clock (N1) Fig. 4 Example of external clock input 17 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) To set display frequency range Whenever setting display frequency (when EXCK1 = "0", EXCK0 = "1", or EXCK1 = "1", EXCK0 = "1"), always set the display frequency range in accordance with the display frequency. This range is set from DIVS0, DIVS1 (address 12016), RSEL0 address 12116) and RSEL1 (address 12216). Frequency ranges are given here below. RSEL1 RSEL0 DIVS1 DIVS0 Display frequency range (MHz) 1 1 0 0 87.0 to 90.0 1 0 0 0 67.0 to 87.0 0 1 0 0 54.0 to 67.0 1 0 0 1 47.0 to 54.0 0 0 0 0 40.0 to 47.0 1 0 1 0 34.0 to 40.0 0 0 0 1 30.0 to 34.0 0 1 1 0 26.0 to 30.0 1 0 1 1 23.0 to 26.0 0 0 1 0 20.0 to 23.0 (3) Notes on setting display frequency To change external clock (display) frequency or horizontal synchronization frequency, always use the following procedures. To set EXCK1 = "0", EXCK0 = "1" (a) Turn the display OFF. … DSPON (address 12816) = "0" (b) Set the display frequency. … Set from DIV10 to DIV0, DIVS0, DIVS1 (address 12016), RSEL0 (address 12116) and RSEL1 (address 12216). (c) Wait 20 ms while the horizontal synchronization signal is being input. (d) Turn the display ON. … DSPON (address 12816) = "1" To set EXCK1 = "1", EXCK0 = "1" (a) Turn the display OFF. … DSPON (address 12816) = "0" (b) Set the display frequency. … Set from DIV10 to DIV0, DIVS0, DIVS1 (address 12016), RSEL0 (address 12116) and RSEL1 (address 12216). (c) Wait 20 ms while the horizontal synchronization signal and external clock are being input. (d) Turn the display ON. … DSPON (address 12816) = "1" 18 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY FORM 1 Matrix-outline size : Blanking the background 12 × 18 dot. All blanking size : When set register BCOL to “1”, all raster area is blanking. M35070-XXXSP/FP has the following four display forms. (1) Blanking mode Character size : Blanking same as the character size. Border size : Blanking the background as a size from character. The display mode and blanking mode can be set line-by-line, as follows, from registers BCOL, BLK1, BLK0 (address 12816), DSP0 to DSP11 (address 12416). Line of DSPn = “0” BCOL BLK1 BLK0 0 0 1 Line of DSPn = “1” Display mode Blanking mode Display mode Blanking mode 0 All matrix-outline border display All matrix-outline size All matrix-outline display All matrix-outline size 0 1 Character display Character size Border display Border size 1 0 Border display Border size All matrix-outline display All matrix-outlinesize 1 1 All matrix-outline display All matrix-outline size Character display Character size 0 0 All matrix-outline border display 0 1 Character display 1 0 Border display 1 1 All matrix-outline display <Register BCOL=“0”> All matrix-outline display Border display All blanking size All matrix-outline display All blanking size Character display (Note 1) 12 dots (Note 2) 12 dots 12 dots 12 dots (Note 2) 18 dots Scanning R,GorB output BLNK0 output color setting Character color : R,G,B of display RAM Character color : R,G,B of display RAM (Character unit) (Character unit) :Register FR,FG,FB (Display unit) Matrix-outline color :BR,BG,BB of display RAM (Character unit) Border color (a) Matrix-outline and border display (Matrix-outline size) (b) Character display (Character size) Character color : R,G,B of display RAM (Character unit) Matrix-outline color :BR,BG,BB of display RAM (Character unit) (c) Border display (Border size) Character color : R,G,B of display RAM (Character unit) Matrix-outline color :BR,BG,BB of display RAM (Character unit) (d) Matrix-outline display (Matrix-outline size) ( ) is blankin mode. Note 1. When register BCOL is set to “1”, the raster range of the display modes set respectively by BLK1 and BLK0 are colored by registers RR, RG, and RB (address 12716). And the blanking mode is set all blanking size (all raster size) regardless of the BLK1 and BLK0 settings. Note 2. The horizontal size of the full matrix-outline size can be set to 14 dots by register BETA14 (address 12716). BLNK0 can also be output at 14 dots. Fig. 5 Display form 19 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Shadow display When border display mode, if set SYAD (address 12816) = “0” to “1”, it change to shadow display mode. Border and shadow display are shown below. Set shadow display color by BR, BG or BB of display RAM or by register FR, FG and FB (address 12716). Register SYAD(12816 address) = “0” Border display Fig. 6 Border and shadow display 20 Register SYAD(12816 address) = “1” Shadow display MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY FORM 2 This IC can display both page 0 and page 1 at the same time. Page 0: Set the DAF bit in each addresses to "0". Page 1: Set the DAF bit in each addresses to "1". Example 1 Example 2 Page 0 (24 columns ✕ 12 line) Menu Setting Help End Page 0 (24 columns ✕ 12 line) Menu Setting Help End Screen size Tone Screen size Tone Page 1 (24 columns ✕ 12 line) Page 1 (24 column ✕ 12 line) Monitor display Monitor display Fig. 7 Example of 2 pages display Example 1: Display position, display size, color, etc., can be freely set for each page, and the 2 pages can be displayed on top of each other or side-by-side. Example 2: When the display range of the 2 pages overlap on the monitor screen, they can be displayed in the 5 below ways using registers MODE0 (address 12716), MODE1 (address 12816) and POPUP (address 12616). (The POPUP register is effective only when MODE0 = "0" and MODE1 = "0".) POPUP Display mode 0 Standard (Page 1 priority) 1 Standard (Page 0 priority) MODE1 MODE0 0 0 0 1 AND 1 0 EXOR 1 1 OR (1) Standard (page 1 priority) … Page 1 has priority in overlapping areas. Page 0 is not displayed in those areas. (2) Standard (page 0 priority) … Page 0 has priority in overlapping areas. Page 1 is not displayed in those areas. (3) AND .................................… In overlapping areas, the RGB output of the 2 pages is AND processed and output. (4) EXOR ..............................… In overlapping areas, the RGB output of the 2 pages is EXOR processed and output. (5) OR ...................................… In overlapping areas, the RGB output of the 2 pages is OR processed and output. 21 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS CHARACTER FONT Images are composed on a 12 ✕ 18 dot matrix, and characters can be linked vertically and horizontally with other characters to allow the display the continuous symbols. Character code FF 16 is fixed as a blank without background. Therefore, cannot register a character font in this code. 18 dots 12 dots When the character extends to the top line of the matrix, no border is left at the top. When the character extends to the bottom (18th) line of the matrix, no border is left at the bottom. Note: Hatching represents border. Fig. 8 Example of border display 22 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DATA INPUT EXAMPLE Data of display RAM and display control registers can be set by the I2C-BUS serial input function. Example of data setting is shown in Figure 9 (at EXCK0 = “1”, EXCK1 = “0” setting). Data input example (M35070-XXXSP/FP) Address/data DAF (Note1) Remarks DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 200m sec hold System set up (Note 4) Address 12016 0 0 0 Data 12016 0 1 0 Data 12116 0 RSEL0 P T D 7 PTD6 1 PTD4 Data 12216 0 RSEL1 0 0 0 HP10 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 Data 12316 0 0 0 0 0 0 Data 12416 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Data 12516 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting Data 12616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting Data 12716 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Data 12816 0 0 0 0 0 0 0 0 0 0 0 POLHPOLV 0 0 0 Page 0 display OFF Address 12216 0 0 0 0 0 0 0 1 0 0 1 0 1 0 Address setting Data 12216 1 0 0 0 0 Data 12316 1 0 0 0 0 0 Data 12416 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Data 12516 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Data 12616 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting Data 12716 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Color, character size setting Data 12816 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C6 C5 C4 C3 C2 C1 C0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 PTD2 1 1 1 0 1 0 1 VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 0 0 BB BG 0 0 0 0 Data 1 BB BG 00016 BB BG Blink -ing BR BLINK 0 0 BR BLINK C7 G R Character code C7 Character size setting Page 1 display OFF Be stable / Waiting time Character color B Display form setting C6 C5 C4 C3 C2 C1 Character setting Character setting C0 0 0 0 0 0 0 0 0 0 0 0 B G R C7 C6 C5 C4 C3 C2 C1 C0 …… …… Background R Vertical display location setting 1 page …… 11F16 coloring Horizontal display location setting VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 G Display form setting Color, character size setting HP10 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 B Vertical display location setting 0 page …… Background Address 00016 Data BR BLINK Horizontal display location setting 1 page 0 Output setting 0 page 00016 Frequency value setting (Note2) 1 200m sec hold Data Address setting DIVS1 DIVS0 DIV10 DIV9 DIV8 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 11F16 1 BB BG B 0 R C7 C6 C5 C4 C3 C2 C1 C0 Address 12816 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 Address setting Data 12816 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 Page 1 display ON Address 12816 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 Address setting Data 0 0 0 0 0 1 0 0 0 1 1 0 0 0 Data 12816 coloring Blink -ing BR BLINK Character color Character code POLH POLV Display form setting (Note 3) Page 0 display ON Display form setting (Note 3) Notes 1 : The page in which data is written is controlled by the address. To write data into page 0, set "0". To write data into page 1, set "1". 2 : Input a continuous clock of constant period from the TCK pin. Also, input a horizontal synchronous signal into the HOR pin and a vertical synchronous signal into the VERT pin. 3 : Matrix-outline display in this data. 4 : Secure the waiting time of 200ms after releasing AC, and set data from setting the display frequency (setting of the register). Fig 9. Example of data setting 23 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Horizontal synchronors signal (5V) Synchronous signal generator +5V Vertical synchronors signal (5V) 20 1 1.0kΩ(Note 1) 0.1µF(Note 2) 2 3 4 5 6 Microcomputer 7 8 9 10 +5V Note 1: Use this 1% precision element Note 2: Use this 10% precision element CPOUT VDD2 VSS2 AC TEST SCL SDA TCK VDD1 VERT M35070-XXXSP/FP 470PF (Note 2) 1µF – + HOR P5/B P4 P3/G P2 P1/R P6 P0/BLNK0 P7 VSS1 19 18 17 B 16 15 G 14 Mixing video pre-amp 13 R 12 BLNK0 11 100µF + – 100µF – + 1µF 1µF 0.01µF 0.01µF Fig. 10 Example of the M35070-XXXSP/FP peripheral circuit (Internal synchronous. At EXCK1 = “0”, EXCK0 = “1”) Horizontal synchronors signal (5V) Synchronous signal generator +5V Vertical synchronors signal (5V) 20 1 1.0kΩ(Note 1) 0.01µF(Note 2) 2 3 4 5 6 Microcomputer 7 8 9 External clock 10 +5V Note 1: Use this 1% precision element Note 2: Use this 10% precision element CPOUT VDD2 VSS2 AC TEST SCL SDA TCK VDD1 VERT M35070-XXXSP/FP 47PF (Note 2) 1µF – + HOR P5/B P4 P3/G P2 P1/R P6 P0/BLNK0 P7 VSS1 19 18 17 B 16 15 G 14 13 R 12 BLNK0 11 100µF + – 100µF – + 1µF 1µF 0.01µF 0.01µF Note. CPOUT pin can be opened when use only EXCK1 = “0” and EXCK0 = “0”. Fig. 11 Example of the M35070-XXXSP/FP peripheral circuit (External synchronous. At EXCK1 = “1”, EXCK0 = “1”) 24 Mixing video pre-amp MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DATA INPUT (1) I2C-Bus communication function This IC has a built-in data transmission interface which utilizes 2 unidirectional buses. In communications, this IC functions as a slave reception device. The IC is synchronized with the serial clock (SCL) sent from the master device and receives the data (SDA). Communications are controlled from the start/stop states. Also, always input the control byte after attaining the start state. The below chart shows the start/stop state and control byte configuration. SCL SDA Start state Data receive Data modify enable Stop state Fig. 12 Start state / Stop state Control byte: 7C16(Fixed) Slave address 0 1 1 1 1 R/W 1 0 0 (0: Written) Fig. 13 Control byte configuration 25 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Data input (Sequence) (a) Addresses are consists of 16 bits. (b) Data is consists of 16 bits. (c) Addresses and data are communicated in 8-bit units. Input the lower 8 bits before the upper 8 bits. Make input from the MSB side. (d) After the start state has been attained and the control byte (7CH) received, the next 16 bits (2 bytes) are for inputting the address. Addresses are increased in increments for every 16 bits (2 bytes) of data input thereafter. As a result, it is not necessary to input the address from the second data. Note: During external synchronous, stop the external clock input from the TCK pin while inputting data. S T A R T SDA Control byte (7 CH) S Lower address (N) M S B A* C K Upper address (N) L S B M S B A C K Upper data (N) Lower data (N) L S B M S B A C K L S B M S B A C K S T O P lower data (N + 1) L S B M S B A C K L S B P A C K ACK* (Acknowledge) : Output the acknowledge signal whenever one byte input after the start state. Output the acknowledge signal and recieve the data thereafter when mach the slave address (7CH). Fig. 14 Data input sequence 26 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS TIMING REQUIREMENTS Data input Limits Symbol fCLK Typ. mode Parameter tLOW HIGH period of Clock LOW period of Clock Unit Min. Min. Max. 0 100 0 400 KHz 4000 – 600 – ns 4700 – 1300 – ns 300 ns 300 ns Clock frequency tHIGH High-speed mode Max. 20+(Note) tR SDA & SCL rise time – 1000 tF SDA & SCL fall time – 300 tHD : STA Hold time at START status 4000 – 600 – ns tSU : STA Set up time at START status 4700 – 600 – ns tHD : DAT Data input hold time 0 – 0 – ns tSU : DAT Data input setup time 250 – 100 – ns tSU : STO Set up time at STOP state 4000 – 600 – ns tBUF Bus release time 4700 – 1300 – ns tSP Input filter / spike suppress (SDA & SCL pin) N/A N/A 0 50 ns 0.1CB 20+(Note) 0.1CB Remarks Only at START state repeating generation Time must be released bus before next transmission Note. CB = total capacitance of 1 bus line. tF tR tHIGH tLOW SCL tHD : DAT tsu : STA tSU : DAT tSU : STO tHD : STA SDA tSP tBUF Fig. 15 Data input timing 27 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS ABSOLUTE MAXIMUM RATINGS (VDD = 5.00V, Ta = –20 to +85°C, unless otherwise noted) Symbol Parameter VDD Supply voltage VI Input voltage VO Output voltage Pd Power dissipation Topr Tstg Ratings Unit –0.3 to +6.0 V VSS –0.3 ≤ VI ≤ VDD +0.3 V Conditions With respect to VSS. VSS ≤ VO ≤ VDD V +300 mW Operating temperature –20 to +85 °C Storage temperature –40 to +125 °C Ta = +25°C RECOMMENDED OPERATING CONDITIONS (VDD = 5.00V, Ta = –20 to +85°C, unless otherwise noted) Symbol VDD Min. 4.75 Limits Typ. 5.0 Max. 5.25 AC HOR, VERT 0.8VDD VDD VDD V SCL, SDA 0.7VDD VDD VDD V AC HOR, VERT 0 0 0.2VDD V SCL, SDA 0 0 0.3VDD V Parameter Supply voltage Unit V __ VIH “H” level input voltage __ VIL “L” level input voltage FOSC Oscillating frequency for display 20.0 — 90.0 MHz H.sync Horizontal synchronous signal input frequeney 15.0 — 130.0 kHz ELECTRICAL CHARACTERISTICS (VDD = 5.00V, Ta = 25°C, unless otherwise noted) Symbol Parameter Test conditions VDD Supply voltage Ta = –20 to +85°C IDD Supply current VDD = 5.00V VOH “H” level output voltage VOL “L” level output voltage P0 to P7 (Note1) VDD = 4.75V, IOH = -0.4mA CPOUT VDD = 4.75V, IOH = -0.05mA P0 to P7 (Note2) VDD = 4.75V, IOL = 0.4mA CPOUT VDD = 4.75V, IOL = 0.05mA SDA VDD = 4.75V, IOL = 3.0mA Min. Limits Typ. Max. 4.75 5.0 5.25 — 40 60 3.5 — — V — — 0.4 V 10 30 100 kΩ — 0.9VDD V Unit V mA __ RI VTCK Pull-up resistance AC VDD = 5.00V External clock input width 4.75V ≤ VDD ≤ 5.25V Notes 1. The current from the IC must not exceed – 0.4 mA/port at any of the port pins (P0 to P7). 2. The current flowing into the IC must not exceed 0.4 mA/port at any of port pins (P0 to P7). 28 0.6VDD MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS After supplying the power (VDD and VSS) to M35070-XXXSP/FP and the supply voltage becomes more than 0.8 × VDD, it needs to __ keep VIL time; tw of the AC pin for more than 1ms. __ Start inputting from microcomputer after AC pin supply voltage becomes more than 0.8 × VDD and keeping 200ms wait time. NOTE FOR SUPPLYING POWER __ (1)Timing of power supplying to AC pin The internal circuit of M35070-XXXSP/FP is reset when the level __ of the auto clear input pin AC is “L”. This pin in hysteresis input with the pull-up resistor. __ The timing about power supplying of AC pin is shown in Figure 16. (2)Timing of power supplying to VDD1 and VDD2. Supply power to VDD1 and VDD2 at the same time. Voltage [V] Data input disable VDD Supply voltage VAC (AC pin input voltage) 0.8 x VDD 0.2 x VDD Time t [s] tW tS more than 1ms __ Fig. 16 Timing of power supplying to AC pin PRECAUTION FOR USE DATA REQUIRED FOR MASK ROM ORDERING Notes on noise and latch-up In order to avoid noise and latch-up, connect a bypass capacitor (≈0.1µF) directly between the VDD1 pin and VSS1 pin, and the VDD2 pin and VSS2 pin using a heavy wire. Please send the following data for mask orders. (1) M35070-XXXSP/FP mask ROM order confirmation form (2) 20P4B mask specification form (3) 20P2Q-A mask specification from (4) ROM data (EPROM 3 sets) (5) Floppy disks containing the character font generating program + character data Note for waveform timing of the horizontal signals to the HOR pin Set horizontal synchronous signal edge∗ waveform timing to under 5ns and input to HOR pin. _ Set only the side which set by B/F register waveform timing under 5ns and input to HOR pin. _ ∗: Set front porch edge or back porch edge by B/F register. tf tr 90% Horizontal synchronous signal 10% 29 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS STANDARD ROM TYPE : M35070-002SP/FP M35070-002SP/FP is a standard ROM type of M35070-XXXSP/FP. The character patterns for 0 page are fixed to the contents of Figure 17 to 20, the character patterns for page 1 are fixed to the contents of Figure 21 and 24. 30 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 0016 0116 0216 0316 0416 0516 0616 0716 0816 0916 0A16 0B16 0C16 0D16 0E16 0F16 1016 1116 1216 1316 1416 1516 1616 1716 1816 1916 1A16 1B16 1C16 1D16 1E16 1F16 2016 2116 2216 2316 2416 2516 2616 2716 2816 2916 2A16 2B16 2C16 2D16 2E16 2F16 3016 3116 3216 3316 3416 3516 3616 3716 3816 3916 3A16 3B16 3C16 3D16 3E16 3F16 Fig. 17 M35070-002SP/FP character pattern for page 0 (1) 31 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 4016 4116 4216 4316 4416 4516 4616 4716 4816 4916 4A16 4B16 4C16 4D16 4E16 4F16 5016 5116 5216 5316 5416 5516 5616 5716 5816 5916 5A16 5B16 5C16 5D16 5E16 5F16 6016 6116 6216 6316 6416 6516 6616 6716 6816 6916 6A16 6B16 6C16 6D16 6E16 6F16 7016 7116 7216 7316 7416 7516 7616 7716 7816 7916 7A16 7B16 7C16 7D16 7E16 7F16 Fig. 18 M35070-002SP/FP character pattern for page 0 (2) 32 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 8016 8116 8216 8316 8416 8516 8616 8716 8816 8916 8A16 8B16 8C16 8D16 8E16 8F16 9016 9116 9216 9316 9416 9516 9616 9716 9816 9916 9A16 9B16 9C16 9D16 9E16 9F16 A016 A116 A216 A316 A416 A516 A616 A716 A816 A916 AA16 AB16 AC16 AD16 AE16 AF16 B016 B116 B216 B316 B416 B516 B616 B716 B816 B916 BA16 BB16 BC16 BD16 BE16 BF16 Fig. 19 M35070-002SP/FP character pattern for page 0 (3) 33 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS C016 C116 C216 C316 C416 C516 C616 C716 C816 C916 CA16 CB16 CC16 CD16 CE16 CF16 D016 D116 D216 D316 D416 D516 D616 D716 D816 D916 DA16 DB16 DC16 DD16 DE16 DF16 E016 E116 E216 E316 E416 E516 E616 E716 E816 E916 EA16 EB16 EC16 ED16 EE16 EF16 F016 F116 F216 F316 F416 F516 F616 F716 F816 F916 FA16 FB16 FC16 FD16 FE16 FF16Ãfi › Fig. 20 M35070-002SP/FP character pattern for page 0 (4) 34 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 0016 0116 0216 0316 0416 0516 0616 0716 0816 0916 0A16 0B16 0C16 0D16 0E16 0F16 1016 1116 1216 1316 1416 1516 1616 1716 1816 1916 1A16 1B16 1C16 1D16 1E16 1F16 2016 2116 2216 2316 2416 2516 2616 2716 2816 2916 2A16 2B16 2C16 2D16 2E16 2F16 3016 3116 3216 3316 3416 3516 3616 3716 3816 3916 3A16 3B16 3C16 3D16 3E16 3F16 Fig. 21 M35070-002SP/FP character pattern for page 1 (1) 35 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 4016 4116 4216 4316 4416 4516 4616 4716 4816 4916 4A16 4B16 4C16 4D16 4E16 4F16 5016 5116 5216 5316 5416 5516 5616 5716 5816 5916 5A16 5B16 5C16 5D16 5E16 5F16 6016 6116 6216 6316 6416 6516 6616 6716 6816 6916 6A16 6B16 6C16 6D16 6E16 6F16 7016 7116 7216 7316 7416 7516 7616 7716 7816 7916 7A16 7B16 7C16 7D16 7E16 7F16 Fig. 22 M35070-002SP/FP character pattern for page 1 (2) 36 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 8016 8116 8216 8316 8416 8516 8616 8716 8816 8916 8A16 8B16 8C16 8D16 8E16 8F16 9016 9116 9216 9316 9416 9516 9616 9716 9816 9916 9A16 9B16 9C16 9D16 9E16 9F16 A016 A116 A216 A316 A416 A516 A616 A716 A816 A916 AA16 AB16 AC16 AD16 AE16 AF16 B016 B116 B216 B316 B416 B516 B616 B716 B816 B916 BA16 BB16 BC16 BD16 BE16 BF16 Fig. 23 M35070-002SP/FP character pattern for page 1 (3) 37 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS C016 C116 C216 C316 C416 C516 C616 C716 C816 C916 CA16 CB16 CC16 CD16 CE16 CF16 D016 D116 D216 D316 D416 D516 D616 D716 D816 D916 DA16 DB16 DC16 DD16 DE16 DF16 E016 E116 E216 E316 E416 E516 E616 E716 E816 E916 EA16 EB16 EC16 ED16 EE16 EF16 blank F016 F116 F216 F316 F416 F516 F616 F716 F816 F916 FA16 FB16 FC16 FD16 FE16 FF16 blank Fig. 24 M35070-002SP/FP character pattern for page 1 (4) 38 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PACKAGE OUTLINE 39 MITSUBISHI MICROCOMPUTERS M35070-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Keep safety first in your circuit designs! • Mitsubishi Electric Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non-flammable material or (iii) prevention against any malfunction or mishap. • These materials are intended as a reference to assist our customers in the selection of the Mitsubishi semiconductor product best suited to the customer’s application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Mitsubishi Electric Corporation or a third party. Mitsubishi Electric Corporation assumes no responsibility for any damage, or infringement of any third-party’s rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Mitsubishi Electric Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Mitsubishi Electric Corporation assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Mitsubishi Electric Corporation by various means, including the Mitsubishi Semiconductor home page (http://www.mitsubishichips.com). When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Mitsubishi Electric Corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. Mitsubishi Electric Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. The prior written approval of Mitsubishi Electric Corporation is necessary to reprint or reproduce in whole or in part these materials. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor for further details on these materials or the products contained therein. Notes regarding these materials • • • • • • • © 2000 MITSUBISHI ELECTRIC CORP. New publication, effective August. 2000. Specifications subject to change without notice. REVISION DESCRIPTION LIST Rev. No. M35070-XXXSP/FP DATA SHEET Revision Description Rev. date 1.0 First Edition 980402 1.1 P50 20P2Q-A (20-PIN SSOP) MARK SPECIFICATION FORM B: Note 4 added 000707 1.2 Delete Mask ROM ORDER CONFIRMATION FORM and MASK SPECIFICATION FORM 000829 (1/1)