Anag Vision KS0108 Glcd Help Needed (Solved)

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Anag Vision KS0108 Glcd Help Needed (Solved)

Post by Jordy101091 »

HI all, again.

I have just hooked up my Glcd 128x64 and I have a strange problem.
When a put the text Hello World as a string in the left side area of the display it shows correctly.
After a have changed the flowcode to show the same text @ the right side of the screen its all mest-up.
I only see pixels and not Hello World I have triple checked my traces and they are all oke, also I have checked every signal appears and if its clean.
And all is nice.

The strangest part of all is when a alter the custom code file so Chip select is switched with Chip Select 2. Hope its not to confusing.

Original situation

Software ------- Hardware
CS1 ------- CS1
CS2 ------- CS2

Modified Costume Component File


Software ------- Hardware
CS2 ------- CS1
CS1 ------- CS2

Now when I wright Hello Wolrd to the left side of the screen its mest-up all pixels.
On the right side its says Hello Wolrd perfect.

Hope somebody understands, and want to help me out.

Regards Jordy.

PS. Sleep well :o 01:49 lol
Last edited by Jordy101091 on Sat Jul 21, 2012 5:43 pm, edited 1 time in total.
the will to learn, should not be stopped by any price

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Anag Vision KS0108 Glcd Help Needed

Post by Jordy101091 »

Today I have checked the signal traces again, maybe I have missed something but no it looks correct.
Also I have checked and play around with the config of the microcontroller but that doesnt make any difference.

My gues is that the LCD doesnt recieve the correct information when CS2 is selected.
When I switch in software or in hardware the CSx lines CS1 allways works correct and CS2 doesnt.

Has this something to do with delays, I dont know.
Hope somebody can help me out here.

Regards Jordy
the will to learn, should not be stopped by any price

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Anag Vision KS0108 Glcd Help Needed (Solved)

Post by Jordy101091 »

HI all,

I got some great results.
The display is working correctly now. The problem was timing.
After added 4 nops to the costum component file solved my issue.

Hope this help other people that have similar problems.

Regards Jordy
the will to learn, should not be stopped by any price

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Anag Vision KS0108 Glcd Help Needed (Solved)

Post by Benj »

Hi Jordy,

Great glad you got it working and thanks for letting us know how you did it.

I'm hoping that we can make the KS0108 an official component in v6.

Post Reply