SED1335 Graphic LCD driver problem

Hi Gents;

I have been trying to make my new shining Winstar WG320240C LCD (

formatting link
) with S1D13305F formerly known as SED1335 controller by using an ATMEL ATMEGA162 uc. I have written the below code but when I power up my circuit, LCD starts flickering continuesly. I cannot initialize the screen and make it running to display some words :(

Could you please check my code and circuit below if you see something wrong and drop me a line or two ;) If there is also anyone who worked this LCD out, please send me any reference, cuz I am getting crazy soon..

For connections I set up like:

------------------------------------------------

----- |-- PIN1 Ground |-- PIN2 +5V |-- PIN3 ~apprx. -16V |-- PIN4 RD/E connected to PA6 |-- PIN5 WR/RW connected to PA5 |-- PIN6 Ao connected to PA7 |-- PIN7 DB0 connected to PC0 |-- PIN8 DB1 connected to PC1 |-- PIN9 DB2 connected to PC2 LCD |-- PIN10 DB3 connected to PC3 |-- PIN11 DB4 connected to PC4 |-- PIN12 DB5 connected to PC5 |-- PIN13 DB6 connected to PC6 |-- PIN14 DB7 connected to PC7 |-- PIN15 CS connected to Gnd |-- PIN16 RES connected to PD7 |-- PIN17 Negative voltage output connected to PIN3 through a POT |-- PIN18 Frame Ground connected to Gnd |-- PIN19 NC |-- PIN20 NC

--
My code is:
----------------------------------------
 Click to see the full signature
Reply to
Aris Konstantinos
Loading thread data ...

Hi there

I am working on exactly the same Winstar LCD using a AT89c52 to start with at this moment.

I had the same problem as you. I played with the initialization values and I got it right. At the moment I am at work and I don't have the C code with me but as soon as I get it I will sent it to you.

Try the fiddling with the pot controlling the negative voltage. That solved one of my early problems.

Check these values

It took me a while to calculate the right ones. I still quite don't understand it I didn't understand what they mean by the frame frequency (is it the power frequency 60Hz in the states while 50Hz in Australia)

I fluked it somehow but it works now. I am still going crazy over it.

Reply to
bobi

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.