satya_jyoti
Newbie level 4
hello i am interfacing t6963c with at89s52 with external character mode (value is 88h)
using display mode text on ,graphic off,cursor off(value 94h)
all the control pins except fs (fs is grounded) i am controlling through software
for contrast control i have connected one pin of variable resister to ground,another pin is connected to the vee pin of glcd and the output pin of variable resister is connected to the v0 pin of glcd
i have wrote the code for display a diagonal line at the top left corner
my text home address is 0000h and graphic home address is 0200h
the area is 1eh for both text and graphic
my offset register data is 001fh
my address pointer data for cgram starts with 0f800h
i am using auto write
after writing 1 byte data
i am stoping auto write by the command b2h
then i am setting the address pointer data with 0000h,since i have to display my data at top left corner of glcd
after address pointer set i am providing the character code 00h,since i am using external character generator mode
when i am writing data ,i am giving the following data cd=0,wr=0,rd=1,ce=0,delay of 7us THEN CE=1
when i am writing COMMAND ,i am giving the following data cd=1,wr=0,rd=1,ce=0,delay of 7us THEN CE=1
between each byte i am checking the status
for status checking i am giving the following value cd=0,rd=0,wr=1,ce=0,then delay of 2us then checking the first two bit of the data line i.e db0 and db1 ,checking the same two bit continuously until these two bits are became one
and during auto mode ,i am checking the status of db3 until it became one
after all this also my data is not showing in glcd except
only one time i have seen my data but it covered most part of the screen and remaining part were covered with garbage which was irrespective of my data and it was displayed only once after that nothing is showing except the pixels
what might be the problem and how my data will be shown
using display mode text on ,graphic off,cursor off(value 94h)
all the control pins except fs (fs is grounded) i am controlling through software
for contrast control i have connected one pin of variable resister to ground,another pin is connected to the vee pin of glcd and the output pin of variable resister is connected to the v0 pin of glcd
i have wrote the code for display a diagonal line at the top left corner
my text home address is 0000h and graphic home address is 0200h
the area is 1eh for both text and graphic
my offset register data is 001fh
my address pointer data for cgram starts with 0f800h
i am using auto write
after writing 1 byte data
i am stoping auto write by the command b2h
then i am setting the address pointer data with 0000h,since i have to display my data at top left corner of glcd
after address pointer set i am providing the character code 00h,since i am using external character generator mode
when i am writing data ,i am giving the following data cd=0,wr=0,rd=1,ce=0,delay of 7us THEN CE=1
when i am writing COMMAND ,i am giving the following data cd=1,wr=0,rd=1,ce=0,delay of 7us THEN CE=1
between each byte i am checking the status
for status checking i am giving the following value cd=0,rd=0,wr=1,ce=0,then delay of 2us then checking the first two bit of the data line i.e db0 and db1 ,checking the same two bit continuously until these two bits are became one
and during auto mode ,i am checking the status of db3 until it became one
after all this also my data is not showing in glcd except
only one time i have seen my data but it covered most part of the screen and remaining part were covered with garbage which was irrespective of my data and it was displayed only once after that nothing is showing except the pixels
what might be the problem and how my data will be shown