ST7571 Sitronix Technology, ST7571 Datasheet - Page 50

no-image

ST7571

Manufacturer Part Number
ST7571
Description
4 Gray Scale Dot Matrix LCD Controller/Driver
Manufacturer
Sitronix Technology
Datasheet
www.DataSheet4U.com
ST7571
Referential Initial Code
The referential initial code is shown below. In order to be compatible with ST7541, some instructions are still included, such
as the instructions with gray background). These instructions will not operate in ST7571 (just like NOP).
Note:
The initial code is for reference only. An optimized initial code should be checked on customer’s system and LCD module.
Ver 1.5a
void Initial_ST7571(void)
{
}
Reset( );
Delay (100);
Write(COMMAND, 0xAE);
Write(COMMAND, 0x38);
Write(COMMAND, 0xB8);
Write(COMMAND, 0xA1);
Write(COMMAND, 0xC8);
Write(COMMAND, 0x44);
Write(COMMAND, 0x00);
Write(COMMAND, 0x40);
Write(COMMAND, 0x00);
Write(COMMAND, 0xAB);
Write(COMMAND, 0x67);
Write(COMMAND, 0x25);
Write(COMMAND, 0x81);
Write(COMMAND, 0x23);
Write(COMMAND, 0x54);
Write(COMMAND, 0xF3);
Write(COMMAND, 0x04);
Write(COMMAND, 0x93);
Write(COMMAND, 0x2C);
Delay (200);
Write(COMMAND, 0x2E);
Delay (200);
Write(COMMAND, 0x2F);
Delay (10);
Write(COMMAND, 0xAF);
50/76
// Delay 100ms for stable VDD1/VDD2/VDD3
// Display OFF
// MODE SET
// FR=1011 => 85Hz
// BE[1:0]=1,0 => booster efficiency Level-3
// ADC select, ADC=1 =>reverse direction
// SHL select, SHL=1 => reverse direction
// Set initial COM0 register
//
// Set initial display line register
//
// OSC. ON
// DC-DC step up, 8 times boosting circuit
// Select regulator register(1+(Ra+Rb))
// Set Reference Voltage
// EV=35 => Vop =10.556V
// Set LCD Bias=1/9 V0
// Release Bias Power Save Mode
//
// Set FRC and PWM mode (4FRC & 15PWM)
// Power Control, VC: ON VR: OFF VF: OFF
// Delay 200ms
// Power Control, VC: ON VR: ON VF: OFF
// Delay 200ms
// Power Control, VC: ON
// Delay 10ms
// Display ON
VR: ON VF: ON
2009/7/21

Related parts for ST7571