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 M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DESCRIPTION FEATURES • Screen composition .................................... 24 columns × 12 lines • Number of characters displayed ................................... 288 (Max.) • Character composition ..................................... 12 × 18 dot matrix • Characters available .............................................. 256 characters • Character sizes available .................... 4 (horizontal) × 4 (vertical) • Display locations available • • • • • • • APPLICATION Liquid crystal display, Plasma display, Video projecter Rev.1.1 CPOUT ← 1 VSS2 @ 2 AC → 3 CS → 4 SCK → 5 SIN → 6 TCK → 7 VDD1 @ 8 P6 ← 9 P7 ← 10 @ VDD2 19 ← VERT 18 ← HOR 20 17 → P5/B 16 → P4 15 → P3/G 14 → P2 13 → P1/R 12 → P0/BLNK0 11 @ VSS Outline 20P4B CPOUT ← 1 VIR @ 2 AC → 3 CS → 4 SCK → 5 SIN → 6 TCK → 7 VDD1 @ 8 P6 ← 9 P7 ← 10 @ VDD2 19 ← VERT 18 ← HOR 20 M35046 - XXXFP • • Horizontal direction .............................................. 1000 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 Matrix-outline (shadow) coloring .............. 8 colors (RGB output) Specified by register Border 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 PIN CONFIGURATION (TOP VIEW) M35046 - XXXSP The M35046-XXXSP/FP is a character pattern display control IC can display on the liquid crystal display and the plasma display. It uses a silicon gate CMOS process and it housed in a 20-pin shrink DIP package (M35046-XXXSP) or a 20-pin shrink SOP package (M35046XXXFP). For M35046-001SP/FP that is a standard ROM version of M35046XXXSP/FP respectively, the character pattern is also mentioned. 17 → P5/B 16 → P4 15 → P3/G 14 → P2 13 → P1/R 12 → P0/BLNK0 11 Outline 20P2Q-A @ VSS1 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PIN DESCRIPTION Pin Number 1 Symbol CPOUT Pin name Phase difference Input/ Output Output Function Connect loop filter to this pin. 1pin 1.0kΩ∗1 0.01µF∗2 2 VSS2 Earthing pin – 47pF ∗2 CPOUT ∗1 Use at 1% precision ∗2 Use at 10% precision 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. __ 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. Port data is set by PTD6. 10 P7 Port P7 output Output This is the output port. Port data is set by PTD7. 11 VSS1 Earthing pin – Please connect to GND using circuit 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. Port data is set by PTD2. 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. Port data is set by PTD4. 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 __ 2 – – Please connect to +5V with the power pin. Please connect to +5V with the power pin. 5 6 8 SCK SIN VDD1 3 VIR 2 VSS 11 AC Display character ROM Display RAM Shift register Reading address control circuit Timing generator Polarity switching circuit Blinking circuit Display control circuit Display location detection circuit H counter Synchronous signal switching circuit 18 1 7 Clock oscillation circuit for display HOR CPOUT TCK Address control circuit Display control register Data control circuit Input control circuit VDD2 20 4 CS BLOCK DIAGRAM Polarity switching circuti Port output control circuit 19 VERT P6 10 P7 9 16 P4 14 P2 17 P5/B 15 P3/G 13 P1/R 12 P0/BLNK0 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 3 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS MEMORY CONSTITUTION SCREEN CONSTITUTION 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 erased. Memory constitution is shown in Figure 1. The screen lines and rows are determined from each address of the display RAM. The screen constitution is shown in Figure 2. DAF DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 00016 ……… ……… Blinking Background coloring Character code Character color 11F16 0 12016 0 EXCK0 VJT 12116 0 RSEL0 PTD7 12216 0 RSEL1 SPACE2 SPACE1 SPACE0 TEST9 HP9 HP8 HP7 HP6 HP5 12316 0 EXCK1 TEST3 TEST2 TEST1 TEST0 VP9 VP8 VP7 VP6 VP5 12416 0 TEST14 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 TEST11 VSZ2H1 VSZ2H0 VSZ2L1 VSZ2L0 V18SZ1 V18SZ0 LIN17 LIN16 LIN15 LIN14 LIN13 LIN12 LIN11 LIN10 12716 0 TEST12 HSZ21 HSZ20 HSZ11 HSZ10 BETA14 TEST8 TEST7 TEST6 BB BG BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 DIVS1 DIVS0 DIV10 DIV9 DIV8 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 PTD6 PTD5 PTD3 PTD2 PTD1 PTD0 PTC5 PTC4 PTC3 PTC2 PTC1 PTC0 HP4 HP3 HP2 HP1 HP0 VP4 VP3 VP2 VP1 VP0 PTD4 LIN8 LIN7 FB LIN6 LIN5 FG FR LIN4 LIN3 RB RG LIN2 RR __ 0 12816 TEST13 BLINK2 BLINK1 BLINK0 DSPON STOP RAMERS SYAD BLK1 BLK0 POLH POLV VMASK B/F BCOL Fig. 1 Memory constitution 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 0F016 10816 00116 01916 03116 04916 06116 07916 09116 0A916 0C116 0D916 0F116 10916 00216 01A16 03216 04A16 06216 07A16 09216 0AA16 0C216 0DA16 0F216 10A16 00316 01B16 03316 04B16 06316 07B16 09316 0AB16 0C316 0DB16 0F316 10B16 00416 01C16 03416 04C16 06416 07C16 09416 0AC16 0C416 0DC16 0F416 10C16 00516 01D16 03516 04D16 06516 07D16 09516 0AD16 0C516 0DD16 0F516 10D16 00616 01E16 03616 04E16 06616 07E16 09616 0AE16 0C616 0DE16 0F616 10E16 00716 01F16 03716 04F16 06716 07F16 09716 0AF16 0C716 0DF16 0F716 10F16 00816 02016 03816 05016 06816 08016 09816 0B016 0C816 0E016 0F816 11016 00916 02116 03916 05116 06916 08116 09916 0B116 0C916 0E116 0F916 11116 00A16 02216 03A16 05216 06A16 08216 09A16 0B216 0CA16 0E216 0FA16 11216 00B16 02316 03B16 05316 06B16 08316 09B16 0B316 0CB16 0E316 0FB16 11316 00C16 02416 03C16 05416 06C16 08416 09C16 0B416 0CC16 0E416 0FC16 11416 00D16 02516 03D16 05516 06D16 08516 09D16 0B516 0CD16 0E516 0FD16 11516 00E16 02616 03E16 05616 06E16 08616 09E16 0B616 0CE16 0E616 0FE16 11616 00F16 02716 03F16 05716 06F16 08716 09F16 0B716 0CF16 0E716 0FF16 11716 01016 02816 04016 05816 07016 08816 0A016 0B816 0D016 0E816 10016 11816 01116 02916 04116 05916 07116 08916 0A116 0B916 0D116 0E916 10116 11916 01216 02A16 04216 05A16 07216 08A16 0A216 0BA16 0D216 0EA16 10216 11A16 01316 02B16 04316 05B16 07316 08B16 0A316 0BB16 0D316 0EB16 10316 11B16 01416 02C16 04416 05C16 07416 08C16 0A416 0BC16 0D416 0EC16 10416 11C16 01516 02D16 04516 05D16 07516 08D16 0A516 0BD16 0D516 0ED16 10516 11D16 01616 02E16 04616 05E16 07616 08E16 0A616 0BE16 0D616 0EE16 10616 11E16 01716 02F16 04716 05F16 07716 08F16 0A716 0BF16 0D716 0EF16 10716 11F16 ƒ The hexadecimal numbers in the boxes show the display RAM address. Fig. 2 Screen constitution 4 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS REGISTERS DESCRIPTION (1) Address 12016 Contents DA 0 Register Remarks Status Function 0 Set external clock frequency value of horizontal oscillation frequency. DIV0 1 0 1 DIV1 1 0 2 DIV2 1 10 N1 = Σ (DIVn × 2n) n=0 N1: frequency value 0 3 DIV3 1 Horizontal synchronized signal 0 4 DIV4 1 0 5 DIV5 6 DIV6 1H External clock Set display frequency by frequency value setting. Set N1 to be “N1=f OSC/ fH”. f OSC(MHz) : External clock frequency for TCK pin (=display frequency) f H(kHz) : Horizontal synchronous signal frequency for HOR pin Set registers DIVS0, DIVS1 (address 12016), RSEL0 (address 121 16) and RSEL1 (address 12216 ) according to external clock frequency. For details, see (2) Setting display frequencies under Register Supplementary Description. Any of this settings above is reguired only when EXCK1=1, EXCK0=1. 1 0 Clock number (N1) 1 0 7 DIV7 1 0 8 DIV8 1 0 9 DIV9 A DIV10 1 0 1 0 B DIVS0 1 For details, see (2) Setting display frequencies under Register Supplementary Description. Set display frequency area. 0 C DIVS1 D VJT 1 0 E EXCK0 1 0 1 It should be fixed to “0”. Alleviates continuous vertical jitters. EXCK1 EXCK0 Display clock input 20 to 30MHz 0 0 Do not set 1 0 Do not set 0 1 20 to 80MHz 1 1 See setting External Clock Input Mode (to be input from the TCK terminal). EXCK1 : address 12316 5 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Address 12116 DA Register 0 PTC0 1 2 3 4 5 6 7 8 9 A B C E Function 0 P0 output (port P0). Port data is set by PTD0. 1 BLNK0 output. Polarity is set by PTD0. 0 P1 output (port P1). Port data is set by PTD1. 1 R signal output. Polarity is set by PTD1. 0 P2 output (port P2). Port data is set by PTD2. 1 Can not be used. 0 P3 output (port P3). Port data is set by PTD3. 1 G signal output. Polarity is set by PTD3. 0 P4 output (port P4). Port data is set by PTD4. 1 Can not be used. 0 P5 output (port P5). Port data is set by PTD5. 1 B signal output. Polarity is set by PTD5. 0 “L” output (P0 output) or negative polarity output (BLNK0 output). 1 “H” output (P0 output) or positive polarity output (BLNK0 output). 0 “L” output (P1 output) or negative polarity output (R signal output). 1 “H” output (P1 output) or positive polarity output (R signal output). 0 “L” output (P2 output). 1 “H” output (P2 output). 0 “L” output (P3 output) or negative polarity output (G signal output). 1 “H” output (P3 output) or positive polarity output (G signal output). 0 “L” output (P2 output). 1 “H” output (P2 output). 0 “L” output (P5 output) or negative polarity output (B signal output). 1 “H” output (P5 output) or positive polarity output (B signal output). 0 “L” output (P6 output). 1 “H” output (P6 output). 0 “L” output (P7 output). 1 “H” output (P7 output). 0 For details, see (2) Setting display frequencies under Register Supplementary Description. To be used when EXCK0=1 and EXCK1=1. BLNK0 outputs blanking signal. Blanking status is determined by BLK0, BLK1, and DSP0 to DSP11 settings. PTC2 PTC3 PTC4 PTC5 PTD0 (Note) PTD1 (Note) PTD2 (Note) PTD3 (Note) PTD4 (Note) PTD5 (Note) PTD6 PTD7 (Note) RSEL0 1 Note. To determined this register, input clock (at least one clock) to the external clock pin (TCK). 6 Remarks PTC1 (Note) D Contents Status P0 pin data control. P1 pin data control. P2 pin exclusive port output state control. P3 pin data control. P4 pin exclusive port output state control. P5 pin data control. P6 pin exclusive port output state control. P7 pin exclusive port output state control. Set display frequency area. MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (3) Address 12216 Contents DA Register Remarks Status 0 HP0 (LSB) 0 If HS is the horizontal display start location, 9 1 0 1 Function HP1 HS = T × Σ 2nHP n + 6 n=0 T: The cycle of display frequency 1000 settings are possible. Horizontal display start location is specified using the 10 bits from HP9 to HP0. HP9 to HP0 = (00000000002) and (00000101112) setting is forbidden. ___ Note : In case of B/F register is “0”. 1 0 2 HOR (Note) HP2 1 0 3 VP HP3 0 4 HP4 1 VERT 1 HP Display area 0 5 HP5 1 0 6 HP6 1 0 7 HP7 1 0 8 HP8 1 9 HP9 (MSB) 0 1 0 A It should be fixed to “0”. TEST9 1 Can not be used. 0 B SPACE0 1 0 C SPACE1 1 0 D SPACE2 1 0 E RSEL1 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 Number of Lines and Space (Œ represents space) 1 2 3 4 5 12 Œ 10 Í 1 Œ 8 Í 2 Œ 6 Í 3 Œ 4 Í 4 Œ 2 Í 5 6 Œ 6 6 Œ Í 6 Leave one line worth of space in the vertical direction. For example, 6 Œ 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 as follows: ×1 … N = 1 ×2 … N = 2 ×3 … N = 3 ×4 … N = 4 Œ represents one line worth of spaces. For details, see (2) Setting display frequencies under Register Supplementary Description. To be used when EXCK0=1 and EXCK1=1. Set display frequency area. 7 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (4) Address 12316 Contents DA Register Remarks Status 0 VP0 (LSB) 0 Function If VS is the vertical display start location, 9 1 VS = H × Σ 2nVP n n=0 0 1 VP1 H: Cycle with the horizontal synchronizing pulse 1023 settings are possible. The vertical start location is specified using the 10 bits from VP9 to VP0. VP9 to VP0 = (00000000002) setting is forbidden. _ Note : In case of B/F register is “0”. 1 0 2 HOR (Note) VP2 1 VP 0 3 VP3 0 4 VP4 VERT 1 HP Display area 1 0 5 VP5 1 0 6 VP6 1 0 7 VP7 1 0 8 VP8 1 9 VP9 (MSB) 0 1 0 A 1 0 B 0 0 0 EXCK1 1 8 Can not be used. It should be fixed to “0”. Can not be used. It should be fixed to “0”. TEST3 1 E It should be fixed to “0”. TEST2 1 D Can not be used. TEST1 1 C It should be fixed to “0”. TEST0 Can not be used. For setting. See Register EXCK0 (address 12016). Sets input mode of external clock (input from TCK pin). MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (5) Address 12416 Contents DA 0 Remarks Register Status Function 0 Blanking is in the display mode specified by BLK0 and BLK1. (Note) 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 E Sets the display mode of line 5. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 6. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 7. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 8. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 9. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 10. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 11. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) Blanking is in the display mode specified by BLK0 and BLK1. (Note) Sets the display mode of line 12. Blanking is in the display mode specified by except BLK0 and BLK1. (Note) It should be fixed to “0”. TEST4 1 D Blanking is in the display mode specified by BLK0 and BLK1. (Note) DSP11 1 C Blanking is in the display mode specified by except BLK0 and BLK1. (Note) DSP10 1 B Sets the display mode of line 4. DSP9 1 A Blanking is in the display mode specified by BLK0 and BLK1. (Note) DSP8 1 9 Blanking is in the display mode specified by except BLK0 and BLK1. (Note) DSP7 1 8 Sets the display mode of line 3. DSP6 1 7 Blanking is in the display mode specified by BLK0 and BLK1. (Note) DSP5 1 6 Blanking is in the display mode specified by except BLK0 and BLK1. (Note) DSP4 1 5 Sets the display mode of line 2. DSP3 1 4 Blanking is in the display mode specified by BLK0 and BLK1. (Note) DSP2 1 3 Blanking is in the display mode specified by except BLK0 and BLK1. (Note) DSP1 1 2 Sets the display mode of line 1. DSP0 Can not be used. It should be fixed to “0”. TEST5 1 Can not be used. 0 Can not be used. TEST14 1 It should be fixed to “1”. Note: Refer to DISPLAY FORM1. 9 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (6) Address 12516 Contents DA Register Remarks Status 0 0 LIN2 1 0 1 LIN3 1 0 2 LIN4 1 0 3 LIN5 1 0 4 LIN6 1 0 5 LIN7 1 0 6 LIN8 1 0 7 LIN9 1 0 8 V1SZ0 1 0 9 V1SZ1 1 0 A VSZ1L0 1 0 B VSZ1L1 1 0 C VSZ1H0 1 0 D VSZ1H1 1 0 E The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. Character size setting in the vertical direction for the 2nd line. H: Cycle with the horizontal synchronizing pulse Character size setting in the vertical direction for the 1st line. (display monitor 1 to 12 line) V1SZ1 0 0 1 1 V1SZ0 0 1 0 1 Vertical direction size 1H/dot 2H/dot 3H/dot 4H/dot 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 H: Cycle with the horizontal synchronizing pulse VSZ1H1 VSZ1H0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot It should be fixed to “0”. TEST10 1 10 Function Test mode Character size setting in the vertical direction for the 3rd line. Character size setting in the vertical direction for the 4th line. Character size setting in the vertical direction for the 5th line. Character size setting in the vertical direction for the 6th line. Character size setting in the vertical direction for the 7th line. Character size setting in the vertical direction for the 8th line. Character size setting in the vertical direction for the 9th line. Character size setting in the vertical direction (display monitor 1 line) at “0” state in register LIN2 to LIN17. Character size setting in the vertical direction (display monitor 1 line) at “1” state in register LIN2 to LIN17. MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (7) Address 12616 Contents DA Register Remarks Status 0 0 LIN10 1 0 1 LIN11 1 0 2 LIN12 1 0 3 LIN13 1 0 4 LIN14 1 0 5 LIN15 1 0 6 LIN16 1 0 7 LIN17 1 0 8 V18SZ0 1 0 9 V18SZ1 1 0 A VSZ2L0 1 0 B VSZ2L1 1 0 C VSZ2H0 1 0 D VSZ2H1 1 0 E Function The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. The first line is set by VSZ1L0 and VSZ1L1. The second to 12th lines are set by VSZ2L0 and VSZ2L1. The first line is set by VSZ1H0 and VSZ1H1. The second to 12th lines are set by VSZ2H0 and VSZ2H1. Character size setting in the vertical direction for the 10th line. H: Cycle with the horizontal synchronizing pulse Character size setting in the vertical direction for the 18th line. (display monitor 1 to 12 line) V18SZ1 V18SZ0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot H: Cycle with the horizontal synchronizing pulse VSZ2L1 VSZ2L0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot H: Cycle with the horizontal synchronizing pulse VSZ2H1 VSZ2H0 Vertical direction size 0 0 1H/dot 0 1 2H/dot 1 0 3H/dot 1 1 4H/dot Character size setting in the vertical direction for the 11th line. Character size setting in the vertical direction for the 12th line. Character size setting in the vertical direction for the 13th line. Character size setting in the vertical direction for the 14th line. Character size setting in the vertical direction for the 15th line. Character size setting in the vertical direction for the 16th line. Character size setting in the vertical direction for the 17th line. Character size setting in the vertical direction (display monitor for 2 to 12 line) at “0” state in register LIN2 to LIN17. Character size setting in the vertical direction (display monitor for 2 to 12 line) at “1” state in register LIN2 to LIN17. It should be fixed to “0”. TEST11 1 Test mode 11 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (8) Address 12716 Contents DA Register Remarks Status 0 0 RR 1 0 1 RG 1 0 2 Function 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 color of all blankings. BB 0 0 0 0 1 1 1 1 BG 0 0 1 1 0 0 1 1 BR 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. RB 1 0 3 FR 1 0 4 FG 1 0 5 FB 1 0 6 1 0 7 0 1 Matrix-outline display (14 × 18 dot) HSZ10 HSZ11 1 0 HSZ20 1 0 D HSZ21 1 0 E T: Display frequency cycle HSZ11 0 0 1 1 HSZ10 0 1 0 1 Horizontal direction size VSZ21 0 0 1 1 HSZ20 0 1 0 1 Horizontal direction size 1T/dot 2T/dot 3T/dot 4T/dot It should be fixed to “0”. Test mode Set this register to the character font set by display RAM BR, BG and BB. Character size setting in the horizontal direction for the first line. 1T/dot 2T/dot 3T/dot 4T/dot T: Display frequency cycle TEST12 1 12 Can not be used. Matrix-outline display (12 × 18 dot) 0 C It should be fixed to “0”. 0 1 B Can not be used. BETA14 0 A It should be fixed to “0”. TEST8 1 9 Can not be used. TEST7 1 8 It should be fixed to “0”. TEST6 Character size setting in the horizontal direction for the 2nd line to 12th line. MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (9) Address 12816 Contents DA Register Remarks Status 0 0 __ 4 All raster blanking 0 Synchronize with the leading edge of horizontal synchronization. 1 Synchronize with the trailing edge of horizontal synchronization. Do not mask by VERT input signal VMASK 1 3 0 VERT pin is negative polarity 1 VERT pin is positive polarity 0 HOR pin is negative polarity 1 HOR pin is positive polarity BLK0 BLK1 1 0 0 0 1 0 0 1 1 RAM not erased There is no need to reset because there is no register for this bit. RAM erased Oscillation of clock for display R, G, B and BLNK0 output can be altered. Stop the oscillation of clock for display Display OFF 1 Display ON BLINK0 BLINK1 1 Display can be altered. Blinking duty ratio can be altered. BLINK 1 0 0 1 1 0 0 1 0 1 Duty Blinking OFF 25% 50% 75% 0 Divided into 64 of vertical synchronous signal 1 Divided into 32 of vertical synchronous signal Blinking frequency can be altered. BLINK2 0 E (Note 2) Shadow display of character 0 0 D Set blanking mode. (Note 1) An example of blanking mode at BCOL = “0”, DSPn = “0” (n = 0 to 11) shown left. DSPON 1 C Matrix-outline size Character size Border size Matrix-outline size Border display of character 0 B 0 0 1 0 1 Blanking mode STOP 1 A BLK RAMERS 1 9 Set HOR pin polarity. SYAD 1 8 Set VERT pin polarity. POLH 0 7 This register has or do not have mask at phase comparison operating. POLV 1 6 Synchronize with the front porch or back porch of the horizontal synchronazation signal. Mask by VERT input signal 0 5 Sets all raster blanking B/F 0 2 Blanking of BLK0, BLK1 BCOL 1 1 Function It should be fixed to “0”. TEST13 1 Test mode Notes 1: Refer to DISPLAY FORM 1 2: Refer to DISPLAY FORM 3 13 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS REGISTER SUPPLEMENTARY DESCRIPTION (1) Setting external clock input mode (by use of EXCK0 (12016) and EXCK1 (12316)) Two modes given below are available for the external clock signal input. (the settings (EXCK1, EXCK0) = (0, 1), (1, 0) are forbidden.) (a) When (EXCK1, EXCK0) = (0, 0), FOSC = 20 to 30 MHz Input from the TCK pin a constant-period continuous external clock that synchronizes with the horizontal synchronization 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) = (1, 1), FOSC = 20 to 80 MHz Input from the TCK pin a constant-period continuous external clock that synchronizes with the horizontal synchronization signal. Never stop inputting the clock while displaying. Be sure to set a display frequency because the internal clock made to synchronize with the clock input from outside is used as the display clock (see the next page). (Example for input) Horizontal synchronous signal External clock 14 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) Setting display frequencies Set a display frequency by setting a frequency value for the horizontal synchronization signal by use of DIV10 to DIV0 (12016). Set display frequency area in conformity with the frequency of the external clock signal. Set display frequency area by use of DIVS0, DIVS1 (12016), RSEL0 (12116 ), and RSEL1 (12216). Frequency area are as follows. RSEL1 RSEL0 DIVS1 DIVS0 Display frequency area 0 1 0 0 70.0 to 80.0 0 0 0 0 63.0 to 70.0 1 0 0 1 56.6 to 63.0 0 1 0 1 46.6 to 56.6 0 0 0 1 45.0 to 46.6 1 0 1 0 42.5 to 45.0 0 1 1 0 35.0 to 42.5 0 0 1 0 31.5 to 35.0 1 0 1 1 28.3 to 31.5 0 1 1 1 23.3 to 28.3 0 0 1 1 20.0 to 23.3 Cautions in setting a display frequency To change the external clock frequency or the horizontal synchronization frequency, follow the steps in sequence given below. (a) Display OFF (DSPON = 0) (b) Set the display frequency (Use DIV10 to DIV0 (120 16), DIVS0, DIVS1 (12016 ), RSEL0 (12116), and RSEL1 (12216 ).) (c) 20-ms waiting time with the horizontal synchronization signal and the external clock signal being input (d) Display ON (DSPON = 1) 15 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY FORM1 Table 1 shows display form of blanking. Table 1. Display mode Standard blanking BCOL BLK1 BLK0 0 0 0 1 When the all of registers DSPn (Note 2) are set to “0” When some of registers DSPn are set to “1” DSPn = 0 BLNK0 output DSPn = 1 Matrix-outline and border display. color set: FR, FG, FB or display RAM (Note 4) Matrix-outline and border display. color set: FR, FG, FB or display RAM (Note 4) Matrix-outline display color set: display RAM (Note 3) DSPn = “0” line Character Border display color set: display RAM (Note 3) DSPn = “0” line→Character size Character DSPn = “0” line→Border size Matrix-outline size DSPn = “1” line DSPn = “1” line→Border size 0 1 1 0 1 Border display color set: display RAM (Note 3) Border display color set: display RAM (Note 3) Matrix-outline display color set: display RAM (Note 3) Matrix-outline display color set: display RAM (Note 3) Matrix-outline display color set: display RAM (Note 3) Character DSPn = “0” line→Matrix-outline size DSPn = “1” line→Character size 0 0 Matrix-outline and border display. color set: FR, FG, FB or display RAM (Note 4) Matrix-outline and border display. color set: FR, FG, FB or display RAM (Note 4) Matrix-outline display color set: display RAM (Note 3) 0 1 Character Character Border display color set: display RAM (Note 3) 1 0 Border display color set: display RAM (Note 3) Border display color set: display RAM (Note 3) Matrix-outline display color set: display RAM (Note 3) 1 1 Matrix-outline display color set: display RAM (Note 3) Matrix-outline display color set: display RAM (Note 3) Character 1 (Note 1) All blanking size Notes 1: Color setting of raster area is set by register RR, RG and RB. 2: DSPn (n = 0 to 11) 3: Set by BR, BG and BB of display RAM. 4: Set border by register FR, FG and FB. Set matrix-outline by BR, BG and BB of display RAM . 16 DSPn = “1” line→Matrix-outline size MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY FORM 2 M35046-XXXSP/FP has the following four display forms. (1) Character size : Blanking same as the character size. (2) Border size : Blanking the background as a size from character. (3) Matrix-outline size : Blanking the background 12 × 18 dot. When set register BETA14 to “1”, setting of blanking the background 14 × 18 dot is possible. (4) All blanking size : When set register BCOL to “1”, all raster area is blanking. 〈 Register BCOL = “0” 〉 12dots 12dots 12dots 12dots Scanning Set border color by display RAM (Note 1) Set character color by display RAM (Note 1) (address 0 to 11F16) Set border color by register FR,FG and FB Set matrix - outline color (Note 1) by display RAM (Note 3) R,G or B output Set matrix - outline color (Note 1) by RAM for display (Note 3) BLNK0 output (1) Character display (character size) (Note 2) (2) Border display (border size) (Note 2) (3) Matrix - outline display (matrix-outline size) (Note 2) (4) Matrix - outline and border display (matrix-outline size) (Note 2) 〈 Register BCOL = “1” 〉 12dots 12dots 12dots 12dots Scanning Set character color by display RAM (Note 1) (address 0 to 11F16) Set raster area color by register RR,RG and RB Set matrix - outline color (Note 1) by display RAM (Note 3) Set border color by register FR,FG and FB R,G or B output “H” level Set border color by display RAM (Note 1) Set matrix - outline color (Note 1) by display RAM (Note 3) BLNK0 output GND level (1) Character display (all blanking size) (Note 2) (2) Border display (all blanking size) (Note 2) (3) Matrix - outline display (all blanking size) (Note 2) (4) Matrix - outline and border display (all blanking size) (Note 2) Notes 1 : Red,Blue,Yellow,Green,Magenta,Cyan, White and Black are set possible. 2 : ( ) is blanking mode. 3 : All matrix - outline horizontal direction size is able to set to 14dots by register BETA14 (BLNK0 output by 14dots). Fig. 3 Display form 17 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DISPLAY FORM 3 When border display mode, if set SYAD = “0” to “1”, it change to shadow display mode. Border and shadow display are shown below. Border display Fig. 4 Border and shadow display Set shadow display color by display RAM or register FR, FG and FB. 18 Shadow display MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS DATA INPUT EXAMPLE Data of display RAM and display control registers can be set by the serial input function. Example of data setting is shown in Figure 5 and Figure 6. (1) At EXCK0 = “0”, EXCK1 = “0” setting Example of data setting by the serial input function (M35046-XXXSP/FP) DAF DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 200 msec hold Addition System set-up 1 address 12016 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 Address set 2 data 12016 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 (Note 1) 3 data 12116 0 0 1 PTD4 1 PTD2 1 1 1 0 1 0 1 1 Output setting 4 data 12216 0 0 0 0 0 0 5 data 12316 0 0 0 0 0 0 6 data 12416 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Display form setting 7 data 12516 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting 8 data 12616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting 9 data 12716 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Color, character size setting 10 data 12816 0 0 0 0 0 0 0 1 0 1 1 0 0 0 Display OFF, display form (Note 2) 11 data 00016 0 BB BG B G R C7 C6 C5 C2 C1 C0 ………… ……… ………… 12 PTD7 PTD6 BR BLINK Character background color Horizontal display HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 location setting Vertical display VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 location setting Character color Blinking POLH POLV C4 C3 Character code Character setting 297 11F16 0 BB BG 299 address 12816 0 0 0 0 300 data 0 0 0 0 298 data 12816 BR BLINK B G R C7 C6 C5 C4 C3 C2 C1 C0 0 0 0 1 0 0 1 0 1 0 0 0 Address setting 0 1 0 0 0 1 1 0 0 0 Display ON, display form (Note 2) POLH POLV Notes 1 : Input the horizontal synchronous signal to the HOR pin and the vertical synchronous signal to the VERT pin. If serrated pulses are present in the vertical synchronous signal, set the register VMASK to 1. 2 : Matrix-outline display in this data. Fig. 5 Example of data setting by the serial input function (1) 19 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS (2) At EXCK0 = “1”, EXCK1 = “1” setting DAF DAE DAD DAC DAB DAA DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 200 msec hold Addition System set-up 1 address 12016 0 0 0 2 data 12016 0 1 1 3 data 12116 0 RSEL0 PTD7 PTD6 1 PTD4 4 data 12216 0 RSEL1 0 0 0 0 HP9 HP8 HP7 HP6 HP5 HP4 HP3 HP2 HP1 HP0 location setting 5 data 12316 0 1 0 0 0 0 Vertical display VP9 VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1 VP0 location setting 6 data 12416 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Display form setting 7 data 12516 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting 8 data 12616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Character size setting 9 data 12716 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 data 12816 0 0 0 0 0 0 0 1 0 1 1 0 0 0 C2 C1 C0 0 0 0 0 1 0 0 1 0 0 0 0 0 Address set Set frequency value of horizontal DIVS1 DIVS0 DIV10 DIV9 DIV8 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 synchronous frequency(Note 1) 1 PTD2 1 1 1 0 1 0 1 1 Output setting Oscillation circuit setting Horizontal display Oscillation circuit setting POLH POLV Color, character size setting Display OFF, display form (Note 2) Hold the time length as 1V of vertical synchronous signal 11 data 00016 0 BB BG BR BLINK B G R C7 C6 C5 C4 C3 12 ……… ……… ……… Character background color Character color BLINK -ING Character code Character setting 297 298 data 11F16 0 BB BG 299 address 12816 0 0 0 BR BLINK 0 0 B G R C7 C6 C5 C4 C3 C2 C1 C0 0 0 1 0 0 1 0 1 0 0 0 Address setting Display ON, display form (Note 2) Notes 1 : From this time, input clock to TCK pin. And, input the horizontal synchronous signal to the HOR pin and the vertical synchronous signal to the VERT pin. If serrated pulses are present in the vertical synchronous signal, set the register VMASK to 1. 2 : Matrix-outline display in this data. 300 data 12816 0 0 0 0 0 1 0 Fig. 6 Example of data setting by the serial input function (2) 20 0 0 1 1 POLH POLV 0 0 0 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP 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. 7 Serial input timing 21 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS CHARACTER FONT Images are composed on a 12 × 18 dot matrix, and characters can be linked vertically and horizontally with other characters to allow the display the continuous symbols. 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 for displaying a continuous pattern after combining characters in the horizontal or vertical direction Character code FF 16 is fixed as a blank without background. Therefore, cannot register a character font in this code. 22 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS TIMING REQUIREMENTS (Ta = –20°C to + 85°C, VDD = 5±0.25V, unless otherwise noted) Symbol t w(SCK) __ t su(CS) __ t h(CS) t su(SIN) t h(SIN) t word Parameter 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 Limits Typ. — — — — — — Max. — — — — — — Unit Remarks ns ns µs ns ns µs See Figure 9 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 13 14 15 16 1 … 12 13 14 15 16 Fig. 9 Serial input timing requirements 23 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS ABSOLUTE MAXIMUM RATINGS 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 = 5V, Ta = –20 to +85°C, unless otherwise noted) Symbol Parameter VDD Supply voltage VIH “H” level input voltage SIN, SCK, CS, AC HOR, VERT __ __ Min. 4.75 Limits Typ. 5.0 Max. 5.25 0.8VDD VDD VDD __ Unit V V __ VIL “L” level input voltage SIN, SCK, CS, AC HOR, VERT 0 0 0.2VDD V FOSC Oscillating frequency for display 20.0 — 80.0 MHz Hsync Horizontal synchronous signal input frequeney 15.0 — 130.0 kHz ELECTRICAL CHARACTERISTICS (VDD = 5V, Ta = 25°C, unless otherwise noted) Symbol Test conditions Parameter VDD Supply voltage Ta = –20 to +85°C IDD Supply current VDD = 5.25V VOH “H” level output voltage VOL “L” level output voltage __ P0 to P7 VDD = 4.75V, IOH = 0.4mA CPOUT VDD = 4.75V, IOH = 0.05mA P0 to P7 VDD = 4.75V, IOL = 0.4mA CPOUT VDD = 4.75V, IOL = 0.05mA Min. Limits Typ. Max. 4.75 5.0 5.25 — 30 50 3.5 — — V — — 0.4 V Unit V mA __ RI Pull-up resistance SCK, AC, CS, SIN VDD = 5.0V VTCK External clock input width 4.75V < VDD ≤ 5.25V 10 0.7V DD 30 100 kΩ –– 0.9V DD VPP 25 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS NOTE FOR SUPPLYING POWER __ Timing of power supplying to AC pin The internal circuit of M35046-XXXSP/FP is reset when the level of __ the auto clear input pin AC is “L”. This pin in hysteresis input with the __ pull-up resistor. The timing about power supplying of AC pin is shown in Figure 11. Timing of power supplying to VDD1 and VDD2. Supply power to VDD1 and VDD2 at the same time. Voltage [V] VDD Supply voltage 0.8 × VDD VAC (AC pin input voltage) 0.2 × VDD tW tS Time t [s] more than 1ms __ Fig. 11 Timing of power supplying to AC pin After supplying the power (VDD and VSS) to M35046-XXXSP/FP and the supply voltage__ becomes more than 0.8 × V DD, 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. 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 VSS pin, and the VDD2 pin and VSS pin using a heavy wire. Please send the following data for mask orders. (1) M35046-XXXSP/FP mask ROM order confirmation form (2) 20P4B mask specification form (3) 20P2Q-A mask specification from (4) ROM data (EPROM 3 sets) (5) Floppy disks containing the character font generating program + character data 26 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS STANDARD ROM TYPE : M35046-001SP/FP M35046-001SP/FP is a standard ROM type of M35046-XXXSP/FP. The character patterns are fixed to the contents of Figure 12 to 15. 27 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 0016 0116 0216 0316 0416 0516 0616 0716 0816 0916 0A16 0B16 0C 16 0D 16 0E16 0F16 1016 1116 1216 1316 1416 1516 1616 1716 1816 1916 1A16 1B16 1C 16 1D 16 1E16 1F16 2016 2116 2216 2316 2416 2516 2616 2716 2816 2916 2A16 2B16 2C 16 2D 16 2E16 2F16 3016 3116 3216 3316 3416 3516 3616 3716 3816 3916 3A16 3B16 3C 16 3D 16 3E16 3F16 Fig. 12 M35046-001SP/FP character pattern (1) 28 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 4016 4116 4216 4316 4416 4516 4616 4716 4816 4916 4A16 4B16 4C 16 4D 16 4E16 4F16 5016 5116 5216 5316 5416 5516 5616 5716 5816 5916 5A16 5B16 5C 16 5D 16 5E16 5F16 6016 6116 6216 6316 6416 6516 6616 6716 6816 6916 6A16 6B16 6C 16 6D 16 6E16 6F16 7016 7116 7216 7316 7416 7516 7616 7716 7816 7916 7A16 7B16 7C 16 7D 16 7E16 7F16 blank Fig. 13 M35046-001SP/FP character pattern (2) 29 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS 8016 8116 8216 8316 8416 8516 8616 8716 8816 8916 8A16 8B16 8C 16 8D 16 8E16 8F16 9016 9116 9216 9316 9416 9516 9616 9716 9816 9916 9A16 9B16 9C 16 9D 16 9E16 9F16 A016 A116 A216 A316 A416 A516 A616 A716 A816 A916 AA 16 AB 16 AC 16 AD 16 AE 16 AF 16 B016 B116 B216 B316 B416 B516 B616 B716 B816 B916 BA 16 BB 16 BC 16 BD 16 BE 16 BF 16 Fig. 14 M35046-001SP/FP character pattern (3) 30 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS C0 16 C1 16 C2 16 C3 16 C4 16 C5 16 C6 16 C7 16 C8 16 C9 16 CA 16 CB 16 CC 16 CD 16 CE 16 CF 16 D0 16 D1 16 D2 16 D3 16 D4 16 D5 16 D6 16 D7 16 D8 16 D9 16 DA 16 DB 16 DC 16 DD 16 DE 16 DF 16 E016 E116 E216 E316 E416 E516 E616 E716 E816 E916 EA 16 EB 16 EC 16 ED 16 EE 16 EF 16 F016 F116 F216 F316 F416 F516 F616 F716 F816 F916 FA 16 FB 16 FC 16 FD 16 FE 16 FF16 blank Fig. 15 M35046-001SP/FP character pattern (4) 31 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS PACKAGE OUTLINE 32 MITSUBISHI MICROCOMPUTERS M35046-XXXSP/FP SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS Keep safety first in your circuit designs! • Mitsubishi Electric Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non-flammable material or (iii) prevention against any malfunction or mishap. • These materials are intended as a reference to assist our customers in the selection of the Mitsubishi semiconductor product best suited to the customer’s application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Mitsubishi Electric Corporation or a third party. Mitsubishi Electric Corporation assumes no responsibility for any damage, or infringement of any third-party’s rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Mitsubishi Electric Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Mitsubishi Electric Corporation assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Mitsubishi Electric Corporation by various means, including the Mitsubishi Semiconductor home page (http://www.mitsubishichips.com). When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Mitsubishi Electric Corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. Mitsubishi Electric Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. The prior written approval of Mitsubishi Electric Corporation is necessary to reprint or reproduce in whole or in part these materials. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor for further details on these materials or the products contained therein. Notes regarding these materials • • • • • • • © 2000 MITSUBISHI ELECTRIC CORP. New publication, effective August. 2000. Specifications subject to change without notice. REVISION DESCRIPTION LIST Rev. No. M35046-XXXSP/FP DATA SHEET Revision Description Rev. date 1.0 First Edition 9902 1.1 Delete Mask ROM ORDER CONFIRMATION FORM and MASK SPECIFICATION FORM 0008 (1/1)