I am having fun attempting to get a KS0108 type GLCD working
I have created a simple program simply initialise the display, and it's coming up with a random image as attached (it's always the same)
Any suggestions as to why it's doing this?
Code https://dl.dropboxusercontent.com/u/284 ... 0Test.fcfx
KS0108 GLCD Issues
Moderator: Benj
-
- Posts: 10
- Joined: Fri Feb 14, 2014 11:02 am
- Been thanked: 3 times
- Contact:
- Jordy101091
- Posts: 519
- Joined: Sat Jan 08, 2011 4:02 pm
- Location: The Netherlands
- Has thanked: 25 times
- Been thanked: 188 times
- Contact:
Re: KS0108 GLCD Issues
maybe a some what strange question but, ar you convinced that you connections are 100% ok, and correspond with the connections you have set in the software.
maybe you have connected your databus lines backwards.
regards jordy,
PS. I also use a GLCD 128x64 KS0108 display and that display is working nicely.
maybe you have connected your databus lines backwards.
regards jordy,
PS. I also use a GLCD 128x64 KS0108 display and that display is working nicely.
the will to learn, should not be stopped by any price
-
- Posts: 10
- Joined: Fri Feb 14, 2014 11:02 am
- Been thanked: 3 times
- Contact:
Re: KS0108 GLCD Issues
Yup, I spent hours checking the connections, right down to PCB layouts, pin assignments on the PCB etc, I'm pretty sure all is OK.
Datasheet is here http://www.farnell.com/datasheets/1485458.pdf. I've tried various pin combinations (Wouldn't be the first time where the datasheet is wrong...)
Connections are:
Data0:7 - PortB 0:7
CS1 - RA0
CS2 - RA1
RST - RA2
R/W - RA3
D/I (RS) - RA5
E - RA6
Datasheet is here http://www.farnell.com/datasheets/1485458.pdf. I've tried various pin combinations (Wouldn't be the first time where the datasheet is wrong...)
Connections are:
Data0:7 - PortB 0:7
CS1 - RA0
CS2 - RA1
RST - RA2
R/W - RA3
D/I (RS) - RA5
E - RA6
-
- Posts: 10
- Joined: Fri Feb 14, 2014 11:02 am
- Been thanked: 3 times
- Contact:
Re: KS0108 GLCD Issues
Been playing with the config options on the chip - they seem to have changed when I migrated up to V6, and as a result, clock out was enabled (which happens to be RA6 output - the E line), which confised tyhe LCD.
All working now
All working now