HD66766R Rev. 1.0-1 / September 2002
40
Reset Function
The HD66766R is internally initialized by RESET input. Reset the gate driver/Power supply IC as its
settings are not automatically reinitialized when the HD66766R is reset. The reset input must be held
for at least 200 ms. Do not access the GRAM or initially set the instructions until the R-C oscillation
frequency is stable after power has been supplied (10 ms).
Instruction Set Initialization:
1. Start oscillation executed
2. Driver output control (NL4–0 = “10101”, SGS = “0”, CMS = “0”)
3. B-pattern waveform AC drive (B/C = “0”, EOR = “0”, NW5–0 = “000000”)
4. Power control 1 (DC2–0 = “000”, AP1–0 = “00”: LCD power off, STB = “0”: Standby mode off,
SLP = “0”, BS2-0 = “000”, BT2-0 = “000”)
5.
Contrast control (Weak contrast VR3-0 = “0000”, CT6-0 = “0000000”)
6. Entry mode set ( SPR= “0” , HWM = “0”, I/D1-0 = “11”: Increment by 1, AM = “0”: Horizontal
move, LG2-0=”000”:Replace mode )
7.
Compare resister : (CP15-0 = “0000000000000000”
8.
Display control (VLE2–1 = “00”: No vertical scroll, SPT = “0”, REV = “0”, D1–0 = “00”: Display
off)
9.
Frame cycle control (DIV1-0 = “00”: 1-divided clock, RTN3-0: No line retrace period)
10.
Power control 2 (VC2-0 = “000”)
11.
Vertical scroll (VL27–20 = “00000000”, VL17–10 = “00000000”)
12.
1st screen division (SE17-10 = “11111111”, SS17-10 = “00000000”)
13.
2nd screen division (SE27-20 = “11111111”, SS27-20 = “00000000”)
14.
Horizontal RAM address position (HEA7-0 = “10000011”, HSA7-0 = “00000000”)
15.
Vertical RAM address position (VEA7-0 = “10101111”, VSA7-0 = “00000000”)
16.
RAM write data mask (WM11–0 = “000”H: No mask)
17.
RAM address set (AD15–0 = “0000”H)
18.
Grayscale Palette
(PK0 = “000000”, RK1= “000011”, PK2= “000110”, PK3= “001000 ”,
PK4= “001010”, PK5= “001100”, PK6= “001110”, PK7= “001111”,
PK8= “010000”, PK9= “010001”, PK10= “010010”, PK11= “010011”,
PK12= “010100”, PK13= “010101”, PK14= “010110”, PK15= “010111”,
PK16 = “011000”, PK17= “011001”, PK18= “011010”, PK19= “011011”,
PK20= “011100”, PK21= “011101”, PK22= “011110”, PK23= “100000”,
PK24= “100010”, PK25= “100100”, PK26= “100110”, PK27= “101000” ,
PK28 = “101011”, PK29= “101110”, PK30= “110001”, PK31= “110100”,)
GRAM Data Initialization:
This is not automatically initialized by reset input but must be initialized by software while display is off
(D1–0 = “00”).
Output Pin Initialization
:
1.
LCD driver output pins (SEG/COM): Output GND level
2.
Oscillator output pin (OSC2): Output oscillation signal