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 M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DESCRIPTION The M35074-XXXSP is a character pattern display control IC can PIN CONFIGURATION (TOP VIEW) display on the digital camera, the digital video, the digital television, the CRT display, the liquid crystal display and the plasma display. CPOUT VDD2 VSS2 sen from 128 kinds of colors per character. It uses a silicon gate CMOS process and it housed in a 20-pin M35074 - XXXSP A character color and a character background color can be cho- AC CS SCK/SCL SIN/SDA shrink DIP package (M35074-XXXSP). TCK For M35074-002SP that is a standard ROM version of M35074XXXSP respectively, the character pattern is also mentioned. VDD1 P6/CO5 P7/CO6 FEATURES • Screen composition ................................ 24 characters ✕ 12 lines • Number of characters displayed ................................... 288 (Max.) • Character composition ..................................... 12 ✕ 18 dot matrix • Characters available ..................... ROM character:511 characters • Character sizes available .................... 4 (vertical) ✕ 4 (horizontal) • Display locations available Horizontal direction .............................................. 4055 locations Vertical direction .................................................. 2047 locations • Data input ........................................ By 24-bit serial input function ............. By the I2C-BUS serial input function (At only VDD = 5V) • Coloring for character Character color ................................. 128 colors (Character unit) Background coloring ......................... 128 colors (Character unit) Border (shadow) coloring ................. 128 colors (unit of screen / character unit) Raster coloring ................................ 128 colors (unit of screen) • Blanking for character Character size blanking Border size blanking Matrix-outline blanking All blanking (all raster area) • Output ports 8 shared output ports (toggled between CO0-CO6 and BLNK output) • Display oscillation stop function <At VDD = 5V> • Display input frequency range External clock mode 1 ........................ Fosc = 6.3 MHz to 80 MHz External clock mode 2 ........................ Fosc = 20 MHz to 120 MHz Internal clock mode ............................. Fosc = 20 MH to 120 MHz • Horizontal synchronous input frequency range ........................................................ H.sync = 15 kHz to 130 kHz <At VDD = 3.3V> • Display input frequency range External clock mode 1 ........................ Fosc = 6.3 MHz to 40 MHz • Horizontal synchronous input frequency range .......................................................... H.sync = 15 kHz to 60 kHz Rev.1.2 VERT HOR P5/CO4 P4/CO3 P3/CO2 P2/CO1 P1/CO0 P0/BLNK VSS1 Outline 20P4B APPLICATION Digital camera, Digital video, Digital television, CRT display, Liquid crystal display, Plasma display MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PIN DESCRIPTION Symbol Pin name Input/ Output CPOUT Filter output Output VSS2 Earthing pin – Function Filter output. Connect loop filter to this pin. Connect to GND. __ AC Auto-clear input Input When “L”, this pin resets the internal IC circuit. Hysteresis input. Built-in pull-up resistor. Chip select input Input <At 24-bit serial communication> This is the pin for chip select. Set to “L” level at serial data transmission. Hysteresis input. Built-in pull-up resistor. __ CS <At I2C-BUS communication> Connect to “H.” SCK/SCL Clock input Input <At 24-bit serial communication> __ SIN pin serial data is taken in when SCK rises at CS pin “L” level. Hysteresis input. <At I2C-BUS communication> SDA pin serial data is taken in when SCL rises. SIN/SDA Data I/O Input I/O Input <At 24-bit serial communication> This is the pin for serial input of display control register and display RAM data. Hysteresis input. <At I2C-BUS communication> Hysteresis input. This is the pin for serial input of display control register and display RAM data. Also, this pin output acknowledge signal. TCK External clock input VDD1 Power pin P6/CO5 Port P6 output Output This pin can be toggled between port pin output and CO5 signal pin. P7/CO6 Port P7 output Output This pin can be toggled between port pin output and CO6 signal pin. VSS1 Earthing pin P0/BLNK Port P0 output Output This pin can be toggled between port pin output and BLNK signal output. P1/CO0 Port P1 output Output This pin can be toggled between port pin output and CO0 signal output. P2/CO1 Port P2 output Output This pin can be toggled between port pin output and CO1 signal output. P3/CO2 Port P3 output Output This pin can be toggled between port pin output and CO2 signal output. P4/CO3 Port P4 output Output This pin can be toggled between port pin output and CO3 signal output. P5/CO4 Port P5 output Output This pin can be toggled between port pin output and CO4 signal output. HOR Horizontal synchronous signal input Input This pin inputs the horizontal synchronous signal. Hysteresis input. VERT Vertical synchronous signal input Input This pin inputs the vertical synchronous signal. Hysteresis input. VDD2 Power pin 2 – – – This is the pin for external clock input. Digtal power pin. Connect to +5V with the power pin. Connect to GND using circuit earthing pin. Analog power pin. Connect to +5V with the power pin. 5 6 8 SCK/SCL SIN/SDA VDD1 2 3 VSS2 AC VSS1 11 Address control circuit Display character ROM Display RAM Display control register Data control circuit Input control circuit VDD2 20 4 CS BLOCK DIAGRAM 1 7 Shift register Reading address control circuit Timing generator Clock oscillation circuit display CPOUT TCK Blinking circuit 19 VERT Display control circuit Display location detection circuit H counter Polarity switching circuit Port output control circuit Polarity switching circuit Synchronous signal switching circuit 18 HOR P6/CO5 10 P7/CO6 9 17 P5/CO4 16 P4/CO3 15 P3/CO2 14 P2/CO1 13 P1/CO0 12 P0/BLNK MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 3 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS MEMORY CONSTITUTION INPUT EXAMPLE". Memory constitution is shown in Figure 1. 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 120 16 to 128 16) are set to "0" when the AC pin level is "L". And then, RAM is not erased and be undefinited. For detail, see "DATA Address DA17 DA16 DA15 DA14 DA13 DA12 DA11 DA10 DAF DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 00016 0 BC6 BC5 BC4 BC3 BC2 BC1 BC0 CC6 CC5 CC4 CC3 CC2 CC1 CC0 C8 C7 C6 C5 C4 C3 C2 C1 C0 00116 0 BC6 BC5 BC4 BC3 BC2 BC1 BC0 CC6 CC5 CC4 CC3 CC2 CC1 CC0 C8 C7 C6 C5 C4 C3 C2 C1 C0 .......... .......... Background color Character color 11E 16 0 BC6 BC5 BC4 BC3 BC2 BC1 BC0 CC6 CC5 CC4 CC3 CC2 CC1 CC0 C8 C7 C6 C5 C4 C3 C2 C1 C0 11F 16 0 BC6 BC5 BC4 BC3 BC2 BC1 BC0 CC6 CC5 CC4 CC3 CC2 CC1 CC0 C8 C7 C6 C5 C4 C3 C2 C1 C0 DIVS1 DIVS0 DIV11 DIV10 DIV9 DIV8 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 PTD5 PTD4 PTD3 PTD2 PTD1 PTD0 PTC7 PTC6 PTC5 PTC4 PTC3 PTC2 PTC1 PTC0 HP11 HP10 12016 EXCK1 EXCK0 12116 12216 12316 RSEL1 RSEL0 TEST24 DIVS2 TEST12 TEST11 VP10 VP9 VP8 VP7 SYAD BEAT14 VP6 VP5 VP4 12516 12616 PTD7 VP3 TEST19 12416 LIN17 HSZ21 HSZ20 HSZ11 PTD6 VP2 VP1 VP0 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 BLK1 BLK0 BCOL DSP11 DSP10 DSP9 DSP8 DSP7 DSP6 DSP5 DSP4 DSP3 DSP2 DSP1 DSP0 LIN15 LIN14 LIN13 LIN11 LIN10 LIN9 LIN8 LIN7 LIN6 LIN5 LIN4 LIN3 LIN16 HSZ10 LIN12 VSZ2H1 VSZH02 VSZ2L1 VSZ2L0 V18SZ1 V18SZ0 FC6 FC5 FC4 FC3 FC2 FC1 FC0 VSZ1H1 VSZ1H0 VS1L1Z VSZ1L0 V1SZ1 RC6 RC5 RC4 RC3 RC2 RC1 LIN2 V1SZ0 RC0 12716 SPACE2 SPACE1 SPACE0 RAMERS DSPON TEST30 TEST17 TEST16 TEST15 TEST14 TEST13 POLH POLV VMASK B/F 12816 TEST20 TEST29 TEST22 TEST21 TEST28 TEST27 TEST26 TEST10 TEST3 TEST2 TEST1 TEST0 Fig.1 Memory constitution (Display RAM, Display Control register) 4 Character code MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS SCREEN CONSTITUTION The screen lines and rows are determined from each address of the display RAM . The screen constitution is shown in Figure 2. 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 15 16 17 18 19 20 21 22 23 24 00016 01816 03016 04816 06016 07816 09016 0A816 0C016 0D816 00116 01916 03116 04916 06116 07916 09116 0A916 0C116 0D916 00216 01A16 03216 04A16 06216 07A16 09216 0AA16 0C216 0DA16 00316 01B16 03316 04B16 06316 07B16 09316 0AB16 0C316 0DB16 00416 01C16 03416 04C16 06416 07C16 09416 0AC16 0C416 0DC16 00516 01D16 03516 04D16 06516 07D16 09516 0AD16 0C516 0DD16 00616 01E16 03616 04E16 06616 07E16 09616 0AE16 0C616 0DE16 00716 01F16 03716 04F16 06716 07F16 09716 0AF16 0C716 0DF16 00816 02016 03816 05016 06816 08016 09816 0B016 0C816 0E016 00916 02116 03916 05116 06916 08116 09916 0B116 0C916 0E116 00A16 02216 03A16 05216 06A16 08216 09A16 0B216 0CA16 0E216 00B16 02316 03B16 05316 06B16 08316 09B16 0B316 0CB16 0E316 00C16 02416 03C16 05416 06C16 08416 09C16 0B416 0CC16 0E416 00D16 02516 03D16 05516 06D16 08516 09D16 0B516 0CD16 0E516 00E16 02616 03E16 05616 06E16 08616 09E16 0B616 0CE16 0E616 00F16 02716 03F16 05716 06F16 08716 09F16 0B716 0CF16 0E716 01016 02816 04016 05816 07016 08816 0A016 0B816 0D016 0E816 01116 02916 04116 05916 07116 08916 0A116 0B916 0D116 0E916 01216 02A16 04216 05A16 07216 08A16 0A216 0BA16 0D216 0EA16 01316 02B16 04316 05B16 07316 08B16 0A316 0BB16 0D316 0EB16 01416 02C16 04416 05C16 07416 08C16 0A416 0BC16 0D416 0EC16 01516 02D16 04516 05D16 07516 08D16 0A516 0BD16 0D516 0ED16 01616 02E16 04616 05E16 07616 08E16 0A616 0BE16 0D616 0EE16 01716 02F16 04716 05F16 07716 08F16 0A716 0BF16 0D716 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. 2 Screen constitution 5 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY RAM Address 00016 to 11F16 DA Register 0 C0 1 C1 2 C2 3 C3 4 C4 5 C5 6 C6 7 C7 8 C8 9 CC0 A CC1 B CC2 C CC3 D CC4 E CC5 F CC6 10 BC0 11 BC1 12 BC2 13 BC3 14 BC4 15 BC5 16 BC6 17 – Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Sets the displayed ROM character code. Display character setting Select from 0000000002–1111111112 (512 types) and set up a character code. 128 kinds of colors are set up by CC0–CC6. Character color (character unit) setting CC0–CC6 correspond to P1/CO0–P7/CO6 output, respectively. 128 kinds of colors are set up by BC0–BC6 BC0–BC6 correspond to P1/CO0–P7/CO6 output, respectively. Fix to "0". Can not be used. ____ Note: The display RAM is undefined state at the AC pin. 6 Remarks Function Character background color (character unit) setting MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS REGISTERS DESCRIPTION (1) Address 12016 DA Register 0 DIV0 1 DIV1 2 DIV2 3 DIV3 4 DIV4 5 DIV5 6 DIV6 7 DIV7 8 DIV8 9 DIV9 A DIV10 B DIV11 C DIVS0 D DIVS1 E DIVS2 F TEST24 10 RSEL0 11 RSEL1 12 EXCK0 13 EXCK1 14 – 15 – 16 – 17 – Note: The mark Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function Sets division value (multiply value) of horizontal oscillation frequency. 11 N1 = Σ (DIVn ✕ 2 n) Sets display frequency by division value (multiply value) setting. For detail, see "REGISTER SUPPLEMENTARY DESCRIPTION (1)". n=0 N1 : division value (multiply value) Also, set the display frequency range by registers DIVS0, DIVS1, DIVS2, RSEL0 and RSEL1(address 12016) in accordance with the display frequency. Any of this settings above is required only when EXCK1 = 0, EXCK0 = 1 and EXCK1 = 1, EXCK0 = 1. For setting, see "REGISTER SUPPLEMENTARY DESCRIPTION (2)". Sets display frequency range. Fix to "0". Can not be used. For setting, see "REGISTER SUPPLEMENTARY DESCRIPTION (2)". Sets display frequency range. EXCK1 EXCK0 0 0 0 1 1 0 1 1 Display clock setting See "REGISTER SUPPLEMENTARY DESCRIPTION (1)". Display clock input External clock mode 1 Internal clock mode Can not be used. External clock mode 2 Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. 7 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Address 12116 DA Register 0 PTC0 1 PTC1 2 PTC2 3 PTC3 4 PTC4 5 PTC5 6 PTC6 7 PTC7 8 PTD0 9 PTD1 A PTD2 B PTD3 C PTD4 D PTD5 E PTD6 F PTD7 10 TEST11 11 TEST12 12 – 13 – 14 – 15 – 16 – 17 – Note: The mark 8 Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function P0 output (port P0). BLNK output P1 output (port P1). CO0 output P2 output (port P2). CO1 output P3 output (port P3). CO2 output P4 output (port P4). CO3 output P5 output (port P5). CO4 output P6 output (port P6). CO5 output P7 output (port P7). CO6 output At the port output, it is "L" fixed. At the BLNK signal output, it is negative polarity. At the port output, it is "L" fixed. At the BLNK signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO0 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO0 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO1 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO1 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO2 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO2 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO3 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO3 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO4 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO4 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO5 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO5 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO6 signal output, it is negative polarity. At the port output, it is "L" fixed. At the CO6 signal output, it is negative polarity. Set it as "0" at the time of the internal clock mode. Set it as "0" at the time of the external clock mode1, 2. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. P0 pin output control. P1 pin output control. P2 pin output control. P3 pin output control. P4 pin output control. P5 pin output control. P6 pin output control. P7 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. MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (3) Address 12216 0 HP0 1 HP1 2 HP2 3 HP3 4 HP4 5 HP5 6 HP6 7 HP7 8 HP8 9 HP9 A HP10 B HP11 C VP0 D VP1 E VP2 F VP3 10 VP4 11 VP5 12 VP6 13 VP7 14 VP8 15 VP9 16 VP10 17 – Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function If HS is the horizontal display start location, 11 n HS = T ✕ ( Σ 2 HPn + m) n=0 Horizontal display start location is specified using the 12 bits from HP11 to HP0. HP11 to HP0 = (0000000000002) and (0000001001112) setting is forbidden. T: Period of display frequency 4055 settings are possible. m : offset value differ for the setting of the register EXCK0 and EXCK1. It shown below. EXCK1 EXCK0 m 0 0 13 1 0 Do not set 0 1 13 1 1 19 HOR VS Note 2 VERT Register HS Display area Note 2 Note 2 Note 2 Monitor display The vertical start location is specified using the 11 bits from VP10 to VP0. VP10 to VP0 = (000000000002) setting is forbidden. If VS is the vertical display start location, 10 n VS = H ✕ Σ 2 VPn n=0 H : Cycle with the horizonal synchronizing pulse 2047 settings are possible. HOR VS Note 2 VERT DA HS Display area Note 2 Note 2 Note 2 Monitor display HS*(shown left) shows horizontal display start location this is register B/F (address 12716) = "0" is set. Fix to "0". Can not be used. Note 1: The mark around the status value means the reset status by the "L" level is input to AC pin. 2: Set up the horizontal and vertical display start location so that display range may not exceed it. Set the character code "1FF16" (blank without background) for the display RAM of the part which the display range exceeds. 9 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (4) Address 12316 DA Register 0 DSP0 1 DSP1 2 DSP2 3 DSP3 4 DSP4 5 DSP5 6 DSP6 7 DSP7 8 DSP8 9 DSP9 A DSP10 B DSP11 C BCOL D BLK0 E BLK1 F — 10 — 11 TEST19 12 — 13 BETA14 14 SYAD 15 — 16 — 17 — Note: The mark 10 Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function The display modes of display screen inside n+1 line by DSPn (n=0 to 11) Display mode settting of line 1. Display mode settting of line 2. The display mode decided by the combination with registers BLK1 and BLK0 (address 12316). Settings are given below. 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 Charcter (At register BCOL="0") For detail, see "DISPLAY FORM 1 (1)". Display mode settting of line 3. Display mode settting of line 4. Display mode settting of line 5. Display mode settting of line 6. Display mode settting of line 7. Display mode settting of line 8. Display mode settting of line 9. Display mode settting of line 10. Display mode settting of line 11. Display mode settting of line 12. The blanking of BLK1 and BLK0 Sets all blanking (raster area) BLK1 0 0 1 1 BLK0 0 1 0 1 Blanking mode Matrix-outline size Character size Border size Matrix-outline size Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Matrix-outline display (12 ✕ 18 dot) Matrix-outline display (14 ✕ 18 dot) Border display of character Shadow display of character Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. All blanking (raster area) settting Display mode (blanking mode) settting See "DISPLAY FORM 1 (1)". Effective at the time of Matrix-outline displays and Matrix-outline border displays in the display mode. MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (5) Address 12416 DA Register 0 LINE2 1 LINE3 2 LINE4 3 LINE5 4 LINE6 5 LINE7 6 LINE8 7 LINE9 8 LINE10 9 LINE11 A LINE12 B LINE13 C LINE14 D LINE15 E LINE16 F LINE17 10 — 11 — 12 — 13 — 14 — 15 — 16 — 17 — Note: The mark Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function The vertical dot size for line n in the character dot lines (18 vertical lines) is set using LINn (n = 2 to 17). Dot size can be selected between 2 types for each dot line. For dot size, see the below registers. Line 1 and lines 2 to 2 can be set independent of one another. Character dot size setting in the vertical direction for the 2nd line. Character dot size setting in the vertical direction for the 3rd line. Character dot size setting in the vertical direction for the 4th line. Character dot size setting in the vertical direction for the 5th line. Character dot size setting in the vertical direction for the 6th line. LINn = "0" LINn = "1" Refer to VSZ1L0 Refer to VSZ1H0 and VSZ1L1 and VSZ1H1 Refer to VSZ2L0 Refer to VSZ2H0 2nd to 12th line and VSZ2L1 and VSZ2H1 1st line Character dot size setting in the vertical direction for the 7th line. Character dot size setting in the vertical direction for the 8th line. Character dot size setting in the vertical direction for the 9th line. Character dot size setting in the vertical direction for the 10th line. Character dot size setting in the vertical direction for the 11th line. Character dot size setting in the vertical direction for the 12th line. Character dot size setting in the vertical direction for the 13th line. Character dot size setting in the vertical direction for the 14th line. Character dot size setting in the vertical direction for the 15th line. Character dot size setting in the vertical direction for the 16th line. Character dot size setting in the vertical direction for the 17th line. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. 11 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (6) Address 12516 DA Register 0 V1SZ0 1 V1SZ1 2 VSZ1L0 3 VSZ1L1 4 VSZ1H0 5 VSZ1H1 6 – 7 – 8 V18SZ0 9 V18SZ1 A VSZ2L0 B VSZ2L1 C VSZ2H0 D VSZ2H1 E – F – 10 HSZ10 11 HSZ11 12 HSZ20 13 HSZ21 14 – 15 – 16 – 17 – Note: The mark 12 Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function H: Cycle with the horizontal synchronizing pulse V1SZ0 Vertical direction size V1SZ1 0 1H/dot 0 1 2H/dot 0 0 3H/dot 1 1 4H/dot 1 Character dot size setting in the vertical direction for the 1st line. (common to all lines) H: Cycle with the horizontal synchronizing pulse VSZ1L0 Vertical direction size VSZ1L1 0 1H/dot 0 1 2H/dot 0 0 3H/dot 1 1 4H/dot 1 Character dot size setting in the vertical direction for the first line. (effective only at LINn = "0"). H: Cycle with the horizontal synchronizing pulse Vertical direction size VSZ1H1 VSZ1H0 0 1H/dot 0 1 2H/dot 0 0 3H/dot 1 1 4H/dot 1 Character dot size setting in the vertical direction for the first line. (effective only at LINn = "1"). Fix to "0". Can not be used. Fix to "0". Can not be used. H: Cycle with the horizontal synchronizing pulse Vertical direction size V18Z0 V18Z1 1H/dot 0 0 2H/dot 1 0 3H/dot 0 1 4H/dot 1 1 Character dot size setting in the vertical direction for the 18th line. (common to all lines) H: Cycle with the horizontal synchronizing pulse Vertical direction size VSZ2L0 VSZ2L1 1H/dot 0 0 2H/dot 1 0 3H/dot 0 1 4H/dot 1 1 Character dot size setting in the vertical direction (display monitor for 2nd to 12th line) (effective only at LINn = "0"). H: Cycle with the horizontal synchronizing pulse VSZ2H1 VSZ2H0 Vertical direction size 0 1H/dot 0 1 2H/dot 0 0 3H/dot 1 1 4H/dot 1 Character dot size setting in the vertical direction (display monitor for 2nd to 12th line) (effective only at LINn = "0"). Fix to "0". Can not be used. Fix to "0". Can not be used. HSZ11 0 0 1 1 HSZ10 horizontal direction size 1T/dot 0 2T/dot 1 3T/dot 0 4T/dot 1 Character size setting in the horizontal direction for the first line. T: Display frequency cycle. HSZ21 0 0 1 1 HSZ20 horizontal direction size 0 1T/dot 1 2T/dot 0 3T/dot 1 4T/dot Charcter size setting in the horizontal direction for the 2nd line to 12th line. T: Display frequency cycle. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (7) Address 12616 DA Register 0 RC0 1 RC1 2 RC2 3 RC3 4 RC4 5 RC5 6 RC6 7 – 8 – 9 FC0 A FC1 B FC2 C FC3 D FC4 E FC5 F FC6 10 – 11 – 12 – 13 – 14 – 15 – 16 – 17 Note: The mark Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function RO0–RO6 correspond to CO0–CO6 output, respectively. Raster color setting of all blankings. Fix to "0". Can not be used. Fix to "0". Can not be used. FO0–FO6 correspond to CO0–CO6 output, respectively. Color setting of the border display or the shadow display. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. 13 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (8) Address 12716 DA Register 0 B/F 1 VMASK 2 POLV 3 POLH 4 TEST13 5 TEST14 6 TEST15 7 TEST16 8 TEST17 9 TEST30 A DSPON B RAMERS C SPACE0 D SPACE1 E SPACE2 F – 10 – 11 – 12 – 13 – 14 – 15 – 16 – 17 – Note: The mark 14 Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Function Synchronize with the leading edge of horizontal synchronization. Synchronize with the trailing edge of horizontal synchronization. Do not mask by VERT input signal. Mask by VERT input signal. VERT pin is negative polarity. VERT pin is positive polarity. HOR pin is negative polarity. HOR pin is positive polarity. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Display OFF Display ON RAM not erased RAM erased SPACE0 Number of Lines and Space<(S) represents space> SPACE1 SPACE2 12 0 0 0 1 (S) 10 (S) 1 1 0 0 2 (S) 8 (S) 2 0 1 0 3 (S) 6 (S) 3 1 1 0 4 (S) 4 (S) 4 0 0 1 5 (S) 2 (S) 5 1 0 1 6 (S) 6 0 1 1 6 (S)(S) 6 1 1 1 (S) represents one line worth of space Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. Remarks Synchronize with the front porch or back porch of the horizontal synchronization signal. Sets mask at phase comparison operating. VERT pin polarity setting. HOR pin polarity setting. When register RAMERS is set to "1", do not stop the display clock. There is no need to reset because there is no register for this bit. 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 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (9) Address 12816 DA Register 0 TEST0 1 TEST1 2 TEST2 3 TEST3 4 TEST10 5 TEST26 6 TEST27 7 TEST28 8 TEST21 9 TEST22 A TEST29 B TEST20 C — D — E — F — 10 — 11 — 12 — 13 — 14 — 15 — 16 — 17 — Note: The mark Contents Status 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remarks Function Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. Fix to "0". Can not be used. around the status value means the reset status by the "L" level is input to AC pin. 15 MITSUBISHI MICROCOMPUTERS M35074-XXXSP 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, EXCK1 and DIV11 to DIV0 (12016), as explained here following. (a) When (EXCK1, EXCK0) = (0, 0) ...... External clock mode 1 Fosc = 6.3 to 80 MHz (VDD = 4.75V to 5.25V) Fosc = 6.3 to 40 MHz (VDD = 3.00V to 3.60V) 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 clock mode Fosc = 20 to 120 MHz (VDD = 4.75V to 5.25V) 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 DIV11 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 clock mode 2 Fosc = 20 to 120 MHz (VDD = 4.75V to 5.25V) 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 DIV11 to DIV0 (address 12016) for make the display frequency is equal to the external clock frequency. Display frequency =Horizontal synchronous frequency ✕ Multiply value Horizontal synchronous signal 1H External clock Number of clock (N1) Fig. 3 Example of external clock input 16 MITSUBISHI MICROCOMPUTERS M35074-XXXSP 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, DIVS2, RSEL0 and RSEL1 (address 12016). Frequency ranges are given here below. RSEL1 RSEL0 DIVS2 DIVS1 DIVS0 Display frequency range MHz 1 1 0 0 0 112.0 to 120.0 1 0 0 0 0 104.0 to 112.0 0 1 0 0 0 93.0 to 104.0 0 0 0 0 0 80.0 to 93.0 1 1 0 0 1 75.0 to 80.0 1 0 0 0 1 69.5 to 75.0 0 1 0 0 1 62.0 to 69.5 0 0 0 0 1 55.0 to 62.0 1 1 0 1 0 — 1 0 0 1 0 52.0 to 55.0 0 1 0 1 0 46.5 to 52.0 0 0 0 1 0 40.0 to 46.5 1 1 0 1 1 37.5 to 40.0 1 0 0 1 1 35.0 to 37.5 0 1 0 1 1 31.0 to 35.0 0 0 0 1 1 27.5 to 31.0 1 1 1 0 0 — 1 0 1 0 0 26.0 to 27.5 0 1 1 0 0 23.5 to 26.0 0 0 1 0 0 20.0 to 23.5 (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 12716) = "0" (b) Set the display frequency. … Set from DIV11 to DIV0, DIVS0, DIVS1, DIVS2, RSEL0 and RSEL1 (address 12016). (c) Wait 20 ms while the horizontal synchronization signal is being input. (d) Turn the display ON. … DSPON (address 12716) = "1" To set EXCK1 = "1", EXCK0 = "1" (a) Turn the display OFF. … DSPON (address 12716) = "0" (b) Set the display frequency. … Set from DIV11 to DIV0, DIVS0, DIVS1, DIVS2, RSEL0 and RSEL1 (address 12016). (c) Wait 20 ms while the horizontal synchronization signal and external clock are being input. (d) Turn the display ON. … DSPON (address 12716) = "1" 17 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Matrix-outline size : Blanking the background 12 ✕ 18 dot. All blanking size : When set register BCOL to "1", all raster area is blanking. DISPLAY FORM 1 (1) blanking mode Character size : Blanking same as the character size. Border size : Blanking the background as a size from character. BCOL 0 1 Line of DSPn = "0" BLK1 BLK0 0 0 1 0 1 1 0 0 Matrix-outline border display 0 1 Character display Line of DSPn = "1" Display mode Blanking mode Display mode Blanking mode 0 Matrix-outline border display Matrix-outline size Matrix-outline display Matrix-outline size 1 Character display Character size Border display Border size Border display Border size Matrix-outline display Matrix-outlinesize Matrix-outline display Matrix-outline size Character display Character size 1 0 Border display 1 1 Matrix-outline display <Register BCOL= 0 > The display mode and blanking mode can be set line-by-line, as follows, from registers BCOL, BLK1, BLK0, DSP0 to DSP11 (address 12316). Matrix-outline display Border display All blanking size 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 C0—C6 output BLNK0 output color setting Character color : C0—C6 of display RAM Character color : C0—C6 of display RAM (Character unit) (Character unit) : Register FC0—FC6 (Display unit) Matrix-outline color : BC0—BC6 of display RAM (Character unit) Border color (a) Matrix-outline and border display (Matrix-outline size) (b) Character display (Character size) Character color : C0—C6 of display RAM (Character unit) Border color : BC0—BC6 of display RAM (Character unit) (c) Border display (Border size) Character color : C0—C6 of display RAM (Character unit) Matrix-outline color : BC0—BC6 of display RAM (Character unit) (d) Matrix-outline display (Matrix-outline size) ( ) is blanking 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 RC0—RC6 (address 12616). And the blanking mode is set all blanking size (all raster size) regardless of the BLK1 and BLK0 settings. 2: The horizontal size of the full matrix-outline size can be set to 14 dots by register BETA14 (address 12316). BLNK0 can also be output at 14 dots. Fig. 4 Display form 18 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Shadow display When border display mode, if set SYAD (address 12316) = "0" to "1", it change to shadow display mode. Border and shadow display are shown below. Set shadow display color by BR, BG and BB of display RAM or by register FR, FG and FB. Register SYAD(12316 address) = “0” Border display Register SYAD(12316 address) = “1” Shadow display Fig.5 Shadow display 19 MITSUBISHI MICROCOMPUTERS M35074-XXXSP 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 Note: Border 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.6 Example of border display 20 Notes 1 : 2: 3: 4: 0 0 12616 12716 data data 0 0 0 00016 11F16 data Address 12716 data 12716 0 0 Address 000 16 data 0 0 0 12516 data 0 12316 12416 data 0 data 12116 12216 data 12016 data 0 0 Address 12016 0 0 BC6 BC6 0 0 0 0 0 0 VP10 0 0 0 0 0 BC5 BC5 0 0 0 0 0 0 VP9 0 0 0 0 VP7 0 0 0 BC3 0 0 0 HSZ21 0 0 0 BC4 0 0 BC3 0 BC2 0 0 0 0 0 BC2 0 0 0 VP5 0 0 0 BC1 BC1 0 0 0 0 0 BC0 BC0 0 0 0 HSZ10 0 0 VP4 0 RSEL1 RSEL0 HSZ20 HSZ11 0 0 VP6 0 1 Background coloring BC4 0 0 0 0 0 SYAD BEAT14 VP8 0 0 0 0 0 C6 C6 0 0 0 0 LIN17 0 VP3 PTD7 0 0 0 0 C5 C5 0 0 FC6 0 LIN16 1 VP2 PTD6 DIVS2 0 DA17 DA16 DA15 DA14 DA13 DA12 DA11 DA10 DAF DAE data Address/data 0 0 LIN14 BCOL VP0 PTD4 DIVS0 0 LIN13 0 HP11 PTD3 DIV11 LIN12 0 HP10 PTD2 DIV10 0 DAA LIN11 0 HP9 PTD1 DIV9 0 DA9 LIN10 0 HP8 PTD0 DIV8 1 DA8 0 FC3 0 C3 0 C2 0 0 C4 0 0 C3 0 0 C2 1 0 C1 C1 0 0 FC2 200 m sec hold 0 FC4 Character color C4 0 0 FC5 0 0 C0 C0 0 0 FC1 0 1 C8 C8 0 0 FC0 VSZ2H1 VSZ2H0 VSZ2L1 VSZ2L0 V18SZ1 V18SZ0 LIN15 1 VP1 PTD5 DIVS1 200 m sec hold DAD DAC DAB 0 0 C7 C7 0 0 0 0 LIN9 0 HP7 PTC7 DIV7 0 DA7 0 0 C6 C6 0 0 RC6 0 LIN8 0 HP6 PTC6 DIV6 0 DA6 LIN6 0 HP4 PTC4 DIV4 0 DA4 LIN5 0 HP3 PTC3 DIV3 0 DA3 LIN4 0 HP2 PTC2 DIV2 0 DA2 LIN3 0 HP1 PTC1 DIV1 0 DA1 LIN2 0 HP0 PTC0 DIV0 0 DA0 C4 0 0 RC4 C3 0 POLH RC3 0 1 C5 0 0 C4 POLH 0 C3 Character code C5 0 0 RC5 POLV 1 C2 C2 0 POLV RC2 0 1 C1 C1 0 0 RC1 0 1 C0 C0 0 0 RC0 VSZ1H1 VSZ1H0 VSZ1L1 VSZ1L0 V1SZ1 V1SZ0 LIN7 0 HP5 PTC5 DIV5 1 DA5 Remarks Display ON Address setting Character setting Address setting Be stable/Waiting time Display OFF Color, character size setting Character size setting Character size setting Display form setting Horizontal display location setting Vertical display location setting Output set Frequency value setting Frequency range setting Address setting System set up (Note 3) MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DATA INPUT EXAMPLE Data of display RAM and display control registers can be set by the 24-bit serial input function or the I2C-BUS serial input function. Example of data setting is shown in Figure 7 (at EXCK0 = "1", EXCK1 = "0" setting). Example of the M35074-XXXSP Data input setting (at EXCK0 =“1”, EXCK1 =“0”) Input a horizontal synchronous signal into the HOR pin and a vertical synchronous signal into the VERT pin. Matrix-outline display in this data. ____ Secure the waiting time of 200ms after releasing AC, and set data from setting the display frequency (setting of the register). Set data to Display RAM at internal clock (display clock) is stabilized. Fig. 7 Example of data setting 21 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Horizontal synchronors signal (5V or 3.3V) Synchronous signal generator +5V Vertical synchronors signal (5V or 3.3V) 1 2 1µF + 3 6 7 8 9 External clock 10 CS SCK/SCL SIN/SDA TCK VDD1 M35074-XXXSP 5 VERT VSS2 AC 4 Microcomputer 20 VDD2 CPOUT HOR P5/CO4 P4/CO3 P3/CO2 P2/CO1 P1/CO0 P6/CO5 P0/BLNK P7/CO6 VSS1 19 18 17 CO4 16 CO3 15 CO2 14 CO1 13 CO0 12 BLNK 11 CO5 CO6 +5V 100µF 100µF 1µF 1µF 0.01µF 0.01µF Notes 1: CPOUT pin can be opened when use only EXCK1 = "0" and EXCK0 = "0". 2: Connect CS pin to VDD at I2C-BUS communicaion. Fig.8 Example of the M35074-XXXSP peripheral circuit (External clock mode 1. At EXCK1 = "0", EXCK0 = "0") Horizontal synchronors signal (5V) Synchronous signal generator +5V Vertical synchronors signal (5V) 20 1 1.0kΩ (Note 1) 0.1µF (Note 2) 470PF (Note 2) 1µF 2 3 CPOUT VSS2 5 Microcomputer 6 CS SCK/SCL SIN/SDA 8 9 10 TCK VDD1 VERT M35074-XXXSP AC 4 VDD2 HOR P5/CO4 P4/CO3 P3/CO2 P2/CO1 P1/CO0 P6/CO5 P0/BLNK P7/CO6 VSS1 19 18 17 CO4 16 CO3 15 CO2 14 CO1 13 CO0 12 BLNK 11 CO5 CO6 +5V 100µF + 100µF + 1µF 1µF 0.01µF 0.01µF Note : Connect CS pin to VDD at I2C-BUS communicaion. Note 1: Use this 1% precision element Note 2: Use this 10% precision element Fig.9 Example of the M35074-XXXSP peripheral circuit (Internal clock mode. At EXCK1 = "0", EXCK0 = "1") 22 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Horizontal synchronors signal (5V) Synchronous signal generator +5V Vertical synchronors signal (5V) 1.0kΩ (Note 1) 0.01µF (Note 2) 1 47PF (Note 2) 1µF 2 3 20 Microcomputer 6 7 8 9 External clock 10 CS SCK/SCL SIN/SDA TCK VDD1 M35074-XXXSP 5 VERT VSS2 AC 4 VDD2 CPOUT HOR P5/CO4 P4/CO3 P3/CO2 P2/CO1 P1/CO0 P6/CO5 P0/BLNK P7/CO6 VSS1 19 18 17 CO4 16 CO3 15 CO2 14 CO1 13 CO0 12 BLNK 11 CO5 CO6 +5V Note : Connect CS pin to VDD at I2C-BUS communicaion. 100µF 100µF 1µF 1µF 0.01µF 0.01µF Note 1: Use this 1% precision element Note 2: Use this 10% precision element Fig.10 Example of the M35074-XXXSP peripheral circuit (External clock mode2. At EXCK1 = "1", EXCK0 = "1") 23 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DATA INPUT 1 (1) SERIAL DATA INPUT TIMING (a) Serial data should be input with the LSB first. (b) The address consists of 24 bits. (c) The data consists of 24 bits. __ (d) The 24 bits in the SCK after the CS signal has fallen are the address, and for succeeding input data, the address is incremented every 24 bits. Therefore, it is not necessary to input the address from the second data. CS SCK SIN LSB MSB LSB Address(24 bits) MSB Data(24 bits) N LSB MSB Data(24 bits) N+1 N = 1,2,3……… Fig.11 Serial input timing 24 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) TIMING REQUIREMENTS Data input Parameter Symbol tw(SCK) __ tsu(CS) __ th(CS) tsu(SIN) th(SIN) tword Min. 200 200 2 200 200 14 SCK width __ CS setup time __ CS hold time SIN setup time SIN hold time 1 word writing time Limits Typ. — — — — — — 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 … 20 21 22 23 24 1 … 20 21 22 23 24 Fig. 12 Serial input timing requirements 25 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DATA INPUT 2 (1) I2C-Bus communication function (At only VDD = 5V) 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 in put 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.13 Start state / Stop state Control byte: 7C16(Fixed) Slave address 0 1 1 1 1 R/W 1 0 0 (0: Written) Fig.14 Control byte configuration 26 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Data input (Sequence) (a) Addresses are consists of 16 bits. (b) Data is consists of 24 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 24 bits (3 bytes) of data input thereafter. As a result, it is not necessary to input the address from the second data. Note:During external synchronous , do not stop the external clock input from the TCK pin while inputting data. S T A R T SDA Control byte (7 CH) Lower address (N) M S B S A C K Upper address (N) L S B M S B A C K Lower data (N) L S B M S B A C K Upper data (N) Middle data (N) L S B M S B A C K M S B L S B A C K S T O P lower data (N + 1) L S B M S B 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 match the slave address (7CH). Fig.15 Data input sequence 27 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (3) TIMING REQUIREMENTS Data input Limits Symbol Typ. mode Parameter Min. Max. 0 4000 Max. 100 0 400 KHz – 600 – ns 1300 – ns 300 ns 300 ns Clock frequency tHIGH HIGH period of Clock tLOW LOW period of Clock 4700 – tF Remarks Unit Min. fCLK tR High-speed mode SDA & SCL rise time – 1000 SDA & SCL fall time – 300 20+(Note) 0.1CB 20+(Note) 0.1CB 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 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.16 Data input timing 28 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS ABSOLUTE MAXIMUM RATINGS (VDD = 5.00V, Ta = –20 to +85°C, unless otherwise noted) Symbol Parameter Conditions Ratings Unit VDD Supply voltage VI Input voltage VO Output voltage Pd Power dissipation Topr Operating temperature Tstg Storage temperature –40 to +125 °C –0.3 to +6.0 V VSS –0.3 ≤ VI ≤ VDD +0.3 V VSS ≤ VO ≤ VDD V +300 mW –20 to +85 °C With respect to VSS. Ta = +25 °C RECOMMENDED OPERATING CONDITIONS (VDD = 5.00V, Ta = –20 to +85°C, unless otherwise noted) Limits Symbol VDD Parameter 5V Supply voltage 3.3V "H" level input voltage Oscillating frequency FOSC for display 3.60 V VDD V SCK/SCL, SIN/SDA 0.7 ✕ VDD VDD VDD V 0 0 0.2 ✕ VDD V __ IDD Supply current VOH VOL 0 0 0.3 ✕ VDD V 6.3 – 80.0 MHz VDD=3.00 to 3.60V 6.3 – 40.0 MHz VDD=4.75 to 5.25V 20.0 – 120.0 MHz VDD=4.75 to 5.25V 20.0 – 120.0 MHz VDD=4.75 to 5.25V 15.0 – 130.0 kHz 15.0 – 60.0 kHz SCK/SCL, SIN/SDA VDD=4.75 to 5.25V External clock mode 1 External clock mode 2 Parameter Supply voltage VDD=3.00 to 3.60V (VDD = 5.00V, Ta = 25°C, unless otherwise noted) Test conditions Ta = –20 to +85°C VDD = 5.00V "H" level output voltage "L" level output voltage __ V VDD ELECTRICAL CHARACTERISTICS 1 VDD = 5V VDD 5.25 3.30 Horizontal synchronous signal input frequeney Symbol 5.00 3.00 Internal clock mode H.sync 4.75 0.8 ✕ VDD AC, CS, HOR, VERT "L" level input voltage Max. __ __ VIL Typ. AC, CS, HOR, VERT __ VIH Unit Min. 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 SIN/SDA VDD = 4.75V, IOL = 3.0mA __ RI Pull-up resistance AC, CS 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 — — V — — 0.4 V 10 30 100 kΩ 0.6 ✕ VDD — 0.9 ✕ VDD V Unit V mA 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). 29 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS ELECTRICAL CHARACTERISTICS 2 VDD = 3.3V Parameter Symbol (VDD = 3.30V, Ta = 25°C, unless otherwise noted) Test conditions Limits Typ. Max. 3.00 3.30 3.60 V — 20 30 mA V Unit VDD Supply voltage Ta = –20 to +85°C IDD Supply current VDD = 3.30V VOH "H" level output voltage P0 to P7 (Note1) VDD = 3.00V, IOH = -0.1mA 2.60 — — VOL "L" level output voltage P0 to P7 (Note2) VDD = 3.00V, IOL = 0.1mA — — 0.4 V RI Pull-up resistance AC, CS VDD = 3.30V 30 — 150 kΩ VTCK External clock input width 3.00V ≤ VDD ≤ 3.60V 0.9 ✕ VDD — VDD V __ __ Notes 1: The current from the IC must not exceed – 0.1 mA/port at any of the port pins (P0 to P7). 2: The current flowing into the IC must not exceed 0.1 mA/port at any of port pins (P0 to P7). 30 Min. MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS After supplying the power (V DD and VSS) to M35074-XXXSP 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 M35074-XXXSP 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 15. (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.17 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 V DD1 pin and VSS1 pin, and the VDD2 pin and VSS2 pin using a heavy wire. Please send the following data for mask orders. (1) M35074-XXXSP mask ROM order confirmation form (2) 20P4B mark specification form (3) ROM data : EPROMs or floppy disks *In the case of EPROMs, thres sets of EPROMs are required per pattern. *In the case of floppy disks, 3.5-inch 2HD disk (1BM format) is required per pattern. 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 (address 12716) . tf tr 90% Horizontal synchronous signal 10% 31 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS STANDARD ROM TYPE : M35074-002SP M35074-002SP is a standard ROM type of M35074-XXXSP. The character patterns are fixed to the contents of Figure 18 to 25. 32 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 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 Fig.18 M35074-002SP character patterns (1) 33 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 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 Fig.19 M35074-002SP character patterns (2) 34 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 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 Fig.20 M35074-002SP character patterns (3) 35 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 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 Fig.21 M35074-002SP character patterns (4) 36 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 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 12016 12116 12216 12316 12416 12516 12616 12716 12816 12916 12A16 12B16 12C16 12D16 12E16 12F16 13016 13116 13216 13316 13416 13516 13616 13716 13816 13916 13A16 13B16 13C16 13D16 13E16 13F16 Fig.22 M35074-002SP character patterns (5) 37 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 14016 14116 14216 14316 14416 14516 14616 14716 14816 14916 14A16 14B16 14C16 14D16 14E16 14F16 15016 15116 15216 15316 15416 15516 15616 15716 15816 15916 15A16 15B16 15C16 15D16 15E16 15F16 16016 16116 16216 16316 16416 16516 16616 16716 16816 16916 16A16 16B16 16C16 16D16 16E16 16F16 17016 17116 17216 17316 17416 17516 17616 17716 17816 17916 17A16 17B16 17C16 17D16 17E16 17F16 Fig.23 M35074-002SP character patterns (6) 38 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 18016 18116 18216 18316 18416 18516 18616 18716 18816 18916 18A16 18B16 18C16 18D16 18E16 18F16 19016 19116 19216 19316 19416 19516 19616 19716 19816 19916 19A16 19B16 19C16 19D16 19E16 19F16 1A016 1A116 1A216 1A316 1A416 1A516 1A616 1A716 1A816 1A916 1AA16 1AB16 1AC16 1AD16 1AE16 1AF16 1B016 1B116 1B216 1B316 1B416 1B516 1B616 1B716 1B816 1B916 1BA16 1BB16 1BC16 1BD16 1BE16 1BF16 Fig.24 M35074-002SP character patterns (7) 39 MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 1C016 1C116 1C216 1C316 1C416 1C516 1C616 1C716 1C816 1C916 1CA16 1CB16 1CC16 1CD16 1CE16 1CF16 1D016 1D116 1D216 1D316 1D416 1D516 1D616 1D716 1D816 1D916 1DA16 1DB16 1DC16 1DD16 1DE16 1DF16 1E016 1E116 1E216 1E316 1E416 1E516 1E616 1E716 1E816 1E916 1EA16 1EB16 1EC16 1ED16 1EE16 1EF16 1F016 1F116 1F216 1F316 1F416 1F516 1F616 1F716 1F816 1F916 1FA16 1FB16 1FC16 1FD16 1FE16 Fig.25 M35074-002SP character patterns (8) 40 1FF16 blank MITSUBISHI MICROCOMPUTERS M35074-XXXSP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PACKAGE OUTLINE 41 MITSUBISHI MICROCOMPUTERS M35074-XXXSP 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 • • • • • • • © 2002 MITSUBISHI ELECTRIC CORP. New publication, effective Apl. 2002. Specifications subject to change without notice. 42 M35074-XXXSP Data Sheet REVISION DESCRIPTION LIST Rev. No. Rev. date Revision Description 1.0 First Edition 0111 1.1 2nd Edition 0202 p10 BEFORE AFTER BLK0 0 0 1 1 BLK1 0 1 0 1 DSPn="0" Matrix-outline border Character Border Matrix-outline DSPn="1" Matrix-outline Border Matrix-outline Charcter (At register BCOL="0") BEFORE BLK0 0 0 1 1 1.2 Blanking mode Matrix-outline size Character size Border size Matrix-outline size BLK1 0 1 0 1 ➝ BLK1 0 0 1 1 BLK0 0 1 0 1 AFTER ➝ 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 Charcter (At register BCOL="0") Blanking mode Matrix-outline size Character size Border size Matrix-outline size 3nd Edition 0204 p1 FEATURES Data input By 16-bit ➝ By 24-bit ____ p2 PIN DESCRIPTION CS, SCK/SCL, SIN/SDA Function <At 16-bit....> ➝ <At 24-bit....> p14 (8) Address 12716 B Remarks “Refer to REGISTER.....” ➝ Deletion p21 DATA INPUT EXAMPLE “the 24-bit serial input function or” ➝ Insertion p24 DATA INPUT 1 (d) “16 bits” ➝ “24 bits”, Fig.11 (16 bits) ➝ (24 bits) SERIAL DATA INPUT TIMING (d) “16 bits” ➝ “24 bits” p25 Table Data input tword Limits “10” ➝ “14”, Fig.12 SCK “12,13,14,15,16” ➝ “20,21,22,23,24” p27 (2) Data input (Sequence) (d) “16 bits” ➝ “24 bits” (1/1)