Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Chip on glass LCD interface using s1d15719D

Status
Not open for further replies.

Palavi

Newbie level 3
Newbie level 3
Joined
Dec 22, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,304
hi!
I am facing problem in initialization of LCD.
can anybody tell me the sequence of commands
 

what problem are facing with LCD commands ?
 

Im sending the commands as per datasheet....
and trying to turn on display by display on/off command
but nothing is happening on display.
Even im not able to analyse whether display is working or not(means if damaged).

is following sequence of commands is write or not

void init_LCD()
{

delay();
RES = 0;
delay();
delay();

RES = 1;
delay();
delay();


A0 = 1;
delay();
CS = 1;
delay();


write_command(0xAD); //LCD Bias
write_command(0xA0); //seg direction
write_command(0xC0); //coloumn direction
write_command(0x21); //v0 resisor set

write_command(0x81); //Electronic volume
write_command(0x00); //Electronic volume
write_command(0xE1); //power saver off
write_command(0x2F); //power control set
write_command(0x40); //start line
write_command(0x00); //start line
write_command(0xB0); //page addr
write_command(0x10); //coloumn addr upper bit addr
write_command(0x00); //coloumn addr lower bit addr
write_command(0xAE); //display on
//write_command(0xA5); //display all points on


delay1();

}



void write_command(unsigned char cmd)
{

A0 = 0;

CS = 0;
delay();

RD = 1;
WR = 0;

LDATA = cmd;
delay();


WR = 1;
delay();

CS = 1;

A0 = 1;
delay();

}
 

Hi

First make sure that interface with LCD controller is working befor you try to make all system works

You can do verification by writing and reading a register in the LCD controller

and by writing and reading from the LCD controller memory

All the best

Bobi

The microcontroller specialist
 

thank you bobi.....
I have written interfacing module....according to it display should turn on at first...but its not happening..either prob is in interface or hardware prob
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top