
LCD CONTROLLER with VRAM
M66273FP
MITSUBISHI <DIGITAL ASSP>
Ver.3.1 Dec,1999
34
#
(40
H
)
(02
H
)
(50
H
)
(04
H
)
(04
H
)
(78
H
)
(00
H
)
(00
H
)
(07
H
)
(45
H
)
R12,R13 or R15:VRAM address indexregister
R1:Basic operation mode register
(RESET,IDXON,DIV,DISP,REV,LCDE)
Display start
Complete
N
Y
R14 or R16:Data port register
Discontinuous address
Continuous address
EXAMPLE OF INITIALIZE ON DISPLAY MODE 3 (LCD MODULE BUILT-IN ACCESS)
Set DISP=ON.
Set IDXON=ON,DISP=OFF.
(Set RESET,IDXON,DIV when register is initialized.)
Note ) When use software reset, surely return to reset off
after reset on.
And then, can't set another bits (D6 to D0) at the
same time.
Set suitable value for LCD.
(Set these value only when register is initialized.)
Set lower address of 1st screen display start address.
Set display data to VRAM.
#
Can change R1(DISP,REV,LCDE),R7(SA1L),R6(SA1h) registers value during display on.
Example
of setting
Setting example suppose LCD size = 320x240dots and display mode 3 (Single scan,Gray scale, 4bit transfer).
Set display mode, only when register is initialized.
Note ) Set R1-D6(IDXON) and R2 register at the beginning
of initializing register after system reset.
Set gray scale pattern.
Note ) When access to R17 to R80, must be set DISP=OFF.
Can't access to R17 to R80 on DISP=ON.
Set upper address of 1st screen display start address.
Set suitable value for LCD.
(Set MT only when register is initialized.)
Start
R1:Basic operation mode register
(RESET,IDXON,DIV,DISP,REV,LCDE)
R2:MPU/LCD MODE REGISTER
(WAITC,SWAP,DUAL,GRAY,4/8)
R3:Number of horizontal display characters
register(CR)
R4:Horizontal synchronous pulse width register(LPW)
R5:Cycle steal enable width register(CSW)
R6:Number of vertical lines register(SLT)
R7:1st screen display start address register(SA1L)
R8:2nd screen display start address register(SA1H)
R11:M output frequency variable register(MT)
R17 to R80:Gray scale patternregister
System reset
RESET input ="L" or use R1-D7(RESET)bit
#
#
#