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 M35072-XXXFP 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 • • • • • • • • • • • page 1 : 256 characters Character sizes available .................... 4 (vertical) ✕ 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 16-bit 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 80MHz Horizontal synchronous input frequency ........................................................ H.sync = 15 kHz to 130 kHz Display oscillation stop function APPLICATION Liquid crystal display, Plasma display REV.1.2 PIN CONFIGURATION (TOP VIEW) CPOUT 1 20 VDD2 VSS2 2 19 VERT AC 3 18 HOR CS 4 17 P5/B SCK 5 16 P4 SIN 6 15 P3/G TCK 7 14 P2 VDD1 8 13 P1/R P6 9 12 P0/BLNK0 P7 10 11 VSS1 M35072 - XXXFP The M35072-XXXFP is a character pattern display control IC can display on the display monitor. 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 SOP package . For M35072-002FP that is a standard ROM version of M35072XXXFP respectively, the character pattern is also mentioned. Outline 20P2Q-A MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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. __ 3 AC Auto-clear input Input When “L”, this pin resets the internal IC circuit. Hysteresis input. Built-in pull-up resistor. _____ 2 4 CS Chip select input Input This is the chip select input pin, and when serial data transmission is being carried out, it goes to “L.” Hysteresis input. Built-in pull-up resistor. 5 SCK Serial clock input Input When CS pin is “L,” SIN serial data is taken in when SCK rises. Hysteresis input. Built-in pull-up resistor. 6 SIN Serial data input Input This is the pin for serial input of data and addresses for the display control register and the display data memory. Hysteresis input. Built-in pull-up resistor. 7 TCK External clock Input This is the pin for external clock input. 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 _____ – – – Please connect to +5V with the power pin. Please connect to GND using circuit earthing pin. Please connect to +5V with the power pin. 5 6 8 SCL SIN VDD1 2 3 VSS2 AC VSS1 11 Address control circuit Display RAM1 (page 1) Display character ROM1 (page 1) Display RAM0 (page 0) Display character ROM0 (page 0) Display control register Data control circuit Input control cicuit VDD2 20 4 CS BLOCK DIAGRAM 1 7 Blinling circuit 19 VERT Display control circuit Display location detection circuit H counter Port output control circuit Polarity switching circuit Sycnchironous signal switching circuit 18 HOR Polarity swicthing circuit Shift register Reading address control circuit Timing generator Clock oscillaion circuit dispay CPOUT TCK P6 10 P7 9 16 P4 14 P2 17 P5/B 15 P3/G 13 P1/R 12 P0/BLNK0 MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 3 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 TEST13 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 M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DAE 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 ……… DAF ……… Addresses Background coloring 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 M35072-XXXFP 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 M35072-XXXFP 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 C 0 Do not blink. 1 Blinking 0 BB 0 0 0 0 1 1 1 1 BR 0 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 BG 0 0 1 1 0 0 1 1 Set character color (character unit) Set blinking See register BLINK2 to BLINK0 (address12816) BLINK 1 D 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 M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS REGISTERS DESCRIPTION (1) Address 12016 Contents DA Register Remarks Status 0 0 DIV0 (Note 3) 1 Function Set external clock frequency division value of horizontal oscillation frequency. 0 1 DIV1 (Note 3) 2 10 Σ (DIVn × 2n) 1 N1 = 0 N1 : division 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 = 1, EXCK0 = 1. 0 4 Set display frequency by division 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 Do not set 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 M35072-XXXFP 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 M35072-XXXFP 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 HOR 1 0 3 HP3 1 VS 0 4 HP4 1 5 HS* VERT 0 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 M35072-XXXFP 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 HOR 1 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 (Note 3) B D E 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). TEST1 (Note 3) C 0 TEST0 TEST2 (Note 3) TEST3 (Note 3) 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 M35072-XXXFP 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 M35072-XXXFP 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 1st line LINn = “0” LINn = “1” Refer to VSZ1L0 and VSZ1L1 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 VSZ2L1 and VSZ2H1 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 V1SZ0 0 1 0 1 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 0 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 M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (7) Address 12616 DA Contents Register Remarks Function Status 0 0 LIN10 1 The vertical dot size for line n in the character dot lines (18 vertical lines) is set using LINn (n = 2 to 17). 0 1 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 0 2 LIN12 For dot size, see the below registers. Line 1 and lines 2 to 12 can be set independent of one another. 1 0 3 LIN13 1st line 1 0 4 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 0 Character size setting in the vertical direction for the 15th line. LIN15 1 0 6 Character size setting in the vertical direction for the 16th line. LIN16 1 0 7 Character size setting in the vertical direction for the 17th line. LIN17 1 8 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 V18SZ0 0 9 A 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 0 B C VSZ2L1 VSZ2H0 1 VSZ2H1 VSZ2H0 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. 1 0 D E VSZ2H1 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). TEST13 ____ 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 M35072-XXXFP 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. 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". 15 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 B E 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)”. There is no need to reset because there is no register for this bit. RAMERS STOP DSPON 0 BLINK0 0 BLINK1 1 D BLINK1 Border display of character 1 C Set HOR pin polarity. SYAD (Note 3) A 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 M35072-XXXFP 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. (d) When (EXCK1, EXCK0) = (1, 1) ......External synchronous 2 (Internal oscillation clock display) … Fosc = 20 to 80 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 (b) When (EXCK1, EXCK0) = Setting disabled (c) When (EXCK1, EXCK0) = (1, 0) ......… Setting disabled 2nDIVn Also, set the display frequency range. (See the next page.) Horizontal synchronous signal 1H External clock Number of clock (N1) Fig. 4 Example of external clock input 17 MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) To set display frequency range Whenever setting display frequency (when 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 0 0 0 67.0 to 80.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. (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 M35072-XXXFP 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. M35072-XXXFP 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 Border display All blanking size 1 0 Border display 1 1 All matrix-outline display <Register BCOL=“0”> All matrix-outline display 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) Border color :Register FR,FG,FB (Display unit) Matrix-outline color :BR,BG,BB of display RAM (Character unit) (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 M35072-XXXFP 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 M35072-XXXFP 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 j 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 4 below ways using registers MODE0 (address 12716) and MODE1 (address 12816) . MODE1 MODE0 Display mode 0 0 Standard (Page 1 priority) 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) AND .................................… In overlapping areas, the RGB output of the 2 pages is AND processed and output. (3) EXOR ..............................… In overlapping areas, the RGB output of the 2 pages is EXOR processed and output. (4) OR ...................................… In overlapping areas, the RGB output of the 2 pages is OR processed and output. 21 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 M35072-XXXFP 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 = “1” setting). Data input example (M35072-XXXFP) Address/data DAF DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 Remarks (Note1) address 12816 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 Address setting data 12816 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Page 0 display OFF 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 0 0 0 0 0 0 0 0 0 0 0 Page 1 display OFF data 00016 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 ……… Character background color Blinking Character color Character code Character setting data 11F16 0 BB BG data 12016 0 1 0 data 12116 0 data 12216 0 RSEL1 0 0 0 data 12316 0 1 0 0 0 0 data 12416 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Display form setting 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 address 00016 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 data 1 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 R C7 C6 C5 C4 C3 C2 C1 C0 Frequency value setting DIVS1 DIVS0 DIV10 DIV9 DIV8 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 RSEL0 PTD7 PTD6 Character background color 1 Blinking PTD4 1 PTD2 1 1 0 1 1 0 1 1 HP10 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 Character color Character code (Note2) Output setting Horizontal display location setting Vertical display location setting Color, character size setting Address setting Page 1 ……… data G Page 0 00016 BR BLINK B Character setting 11F16 1 BB BG address 12216 0 0 0 0 0 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 1 0 0 0 1 1 0 0 0 0 0 Page 1 display ON Display form setting (Note 3) 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 Page 0 display ON Display form setting (Note 3) 0 G R C7 C6 C5 C4 C3 C2 C1 C0 0 1 0 0 1 0 0 0 1 0 Address setting HP10 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 Horizontal display location setting VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 POLH POLV Vertical display location setting Page 1 12816 BR BLINK B Display form setting Character size setting 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. Fig. 9 Example of data setting 23 MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Horozontal synchronous signal (5V) Synchronous signal generator +5V Vertical synchronous signal (5V) 20 1 1.0kΩ(Note 1) 0.01µF(Note 2) 47PF(Note 2) 1µF – + 2 3 5 Microcomputer 6 7 8 9 External clock 10 +5V Note 1 : Use this 1% precision element Note 2 : Use this 10% precision element VDD2 VSS2 AC CS SCK SIN TCK VDD1 VERT M35072-XXXFP 4 CPOUT HOR P5/B P4 P3/G P2 P1/R P6 P0/BLNK0 P7 VSS1 19 18 17 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. 10 Example of the M35072-XXXFP peripheral circuit (At EXCK1 = “1”, EXCK0 = “1”) 24 B 16 Mixing video pre-amp MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS SERIAL DATA INPUT TIMING (1) (2) (3) (4) Serial data should be input with the LSB first. The address consists of 16 bits. The data consists of 16 bits. __ The 16 bits in the SCK after the CS signal has fallen are the address, and for succeeding input data, the address is incremented every 16 bits. Therefore, it is not necessary to input the address from the second data. CS SCK SIN LSB MSB LSB Address(16 bits) MSB Data(16 bits) N LSB MSB Data(16 bits) N+1 N = 1,2,3……… Fig. 11 Serial input timing 25 MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS TIMING REQUIREMENTS (Ta = –20°C to + 85°C, VDD = 5±0.25V, unless otherwise noted) Data input Parameter Symbol tw(SCK) __ tsu(CS) __ th(CS) tsu(SIN) th(SIN) tword Limits Typ. — — — — — — Min. 200 200 2 200 200 10 SCK width __ CS setup time __ CS hold time SIN setup time SIN hold time 1 word writing time Max. — — — — — — Unit Remarks ns ns µs ns ns µs See Figure 12 tw(CS) 1µs(min.) CS tsu(CS) tw(SCK) tw(SCK) tsu(SIN) th(SIN) th(CS) SCK SIN CS tword more than 2 µs SCK 1 2 … 12 Fig. 12 Serial input timing requirements 26 13 14 15 16 1 … 12 13 14 15 16 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 Conditions Ratings Unit –0.3 to +6.0 V VSS –0.3 ≤ VI ≤ VDD +0.3 V 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 Min. 4.75 Limits Typ. 5.0 Max. 5.25 0.85 ✕ VDD VDD VDD 0 0 0.2 ✕ VDD V – 80.0 MHz – 130.0 kHz Parameter VDD Supply voltage VIH “H” level input voltage SIN, SCK, CS, AC, HOR, VERT VIL “L” level input voltage SIN, SCK, CS, AC, HOR, VERT __ __ __ __ FOSC Oscillating frequency for display 20.0 H.sync Horizontal synchronous signal input frequeney 15.0 Unit V V ELECTRICAL CHARACTERISTICS (VDD = 5.00V, Ta = 25°C, unless otherwise noted) Symbol Parameter VDD Supply voltage IDD Supply current Test conditions Ta = –20 to +85°C 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 __ RI Pull-up resistance AC, CS, SCK, SIN VDD = 5.00V VTCK External clock input width 4.75V ≤ VDD ≤ 5.25V Min. Limits Typ. Max. 4.75 5.0 5.25 — 40 60 3.5 — — — — 0.4 10 30 100 V kΩ 0.6 ~VDD — 0.9 ~VDD V Unit V mA V 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). 27 MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS NOTE FOR SUPPLYING POWER __ (1)Timing of power supplying to AC pin The internal circuit of M35072-XXXFP 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. After supplying the power (VDD and VSS) to M35072-XXXFP 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. (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 more than 1ms tS __ Fig. 13 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) M35072-XXXFP mask ROM order confirmation form (2) 20P2Q-A mask specification from (3) ROM data (EPROM 3 sets) (4) 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 90% Horizontal synchronous signal 10% 28 tr MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS STANDARD ROM TYPE : M35072-002FP M35072-002FP is a standard ROM type of M35072-XXXFP. The character patterns for 0 page are fixed to the contents of Figure 14 to 17, the character patterns for page 1 are fixed to the contents of Figure 18 to 21. 29 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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. 14 M35072-002FP character pattern for page 0 (1) 30 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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. 15 M35072-002FP character pattern for page 0 (2) 31 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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. 16 M35072-002FP character pattern for page 0 (3) 32 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 blank Fig. 17 M35072-002FP character pattern for page 0 (4) 33 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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. 18 M35072-002FP character pattern for page 1 (1) 34 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 M35072-002FP character pattern for page 1 (2) 35 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 M35072-002FP character pattern for page 1 (3) 36 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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 blank Fig. 21 M35072-002FP character pattern for page 1 (4) 37 MITSUBISHI MICROCOMPUTERS M35072-XXXFP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PACKAGE OUTLINE 38 MITSUBISHI MICROCOMPUTERS M35072-XXXFP 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. M35072-XXXFP DATA SHEET Revision Description Rev. date 1.0 First Edition 980402 1.1 P49 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)