Initialization routines about SSD1850/1 LCD controller
Discussion in "Project Help" started by jordi Oct 24, 2007.
Wed Oct 24 2007, 06:06 pm
Hi,
I want to work with SSD1850/1 controller for a new aplication but I have some problems
with my prototype.
I can't start on it and I don't get show anything.
The LCD is of Bolymin, Inc. -> BO12864D and SSD1850/1 is of SOLOMON.
I'm programming in assembler with PIC16f886.
The datasheet of SSD1850/1 has an OTP example program but ...anything.
Please, we'd like a sample program for to begin to work with this controller.
Thanks in advance.
I want to work with SSD1850/1 controller for a new aplication but I have some problems
with my prototype.
I can't start on it and I don't get show anything.
The LCD is of Bolymin, Inc. -> BO12864D and SSD1850/1 is of SOLOMON.
I'm programming in assembler with PIC16f886.
The datasheet of SSD1850/1 has an OTP example program but ...anything.
Please, we'd like a sample program for to begin to work with this controller.
Thanks in advance.
Thu Oct 25 2007, 08:15 am
Hi Ajay,
I attach the datasheets that I have.
I hope do it well !
PS. The simple example program (better, simple commands) is in pag. 46 in ssd1851.pdf
I attach the datasheets that I have.
I hope do it well !
PS. The simple example program (better, simple commands) is in pag. 46 in ssd1851.pdf
Thu Oct 25 2007, 10:20 am
I am actually getting confused with the use of Pin E (enable). It is mentioned in the 1851 datasheet that its read enable.. anyways.. i am going to give you steps to write simple routines like command (..) and data(...) so that you can use these functions..
I don't know programming of PIC so i am just telling you the steps..
Command:
1. make R/W signal as low.
2. make D/C signal as low.
3. make E pin high.
4. make CS pin low.
5. send command to port..
7. make CS pin high.
8. make E pin low.
Data:
1. make R/W signal as low.
2. make D/C signal as high.
3. make E pin high.
4. make CS pin low.
5. send data to port..
7. make CS pin high.
8. make E pin low.
then to initialize the LCD.. just use the same commands as given in the OTP programming follow both step1 and step2... as it is only one time program.. so you just need to do it once.. in your whole program.
tell me if you feel any problem.
I don't know programming of PIC so i am just telling you the steps..
Command:
1. make R/W signal as low.
2. make D/C signal as low.
3. make E pin high.
4. make CS pin low.
5. send command to port..
7. make CS pin high.
8. make E pin low.
Data:
1. make R/W signal as low.
2. make D/C signal as high.
3. make E pin high.
4. make CS pin low.
5. send data to port..
7. make CS pin high.
8. make E pin low.
then to initialize the LCD.. just use the same commands as given in the OTP programming follow both step1 and step2... as it is only one time program.. so you just need to do it once.. in your whole program.
tell me if you feel any problem.
Powered by e107 Forum System