T6963C Display Driver Support

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 27 times
Been thanked: 190 times
Contact:

T6963C Display Driver Support

Postby Jordy101091 » Fri Apr 18, 2014 5:23 pm

Hi Matrix Team,

I know that you are all very busy an such, but I was wondering and a little bit hoping if you could support the T6963C GLCD driver chip.
I have two Large 240x128 GLCD that I would like to use in a future project but Im not able to use them since there is no component for these dispay drivers.

I have attempted to build my own but I had no luck with this, so maybe you can help me (and maybe other) to create a component for use.

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: 27 times
Been thanked: 190 times
Contact:

Re: T6963C Display Driver Support

Postby Jordy101091 » Sun Aug 17, 2014 7:06 pm

After I while of inactivity,

I going to give this another shot.
Since that last update of flowcode to version 6.0.10 I saw that there where a lot of new GLCD added, but not the T6963C display.
Would this be possible to add, because I would really like this display to be useable with flowcode.

So to the Matrix team, please make some spare time to create a component for this wonderful LCD controller.

Thanks in advance,

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

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

Re: T6963C Display Driver Support

Postby Benj » Mon Aug 18, 2014 11:36 am

Hi Jordy,

Would it be possible for you to let me know the pin out of the display your using so I can get the properties correct. If you have a link to the display online then that might also be handy.

I started the component but then it looks like I ran into issues and then got forgotten. Anyway I still have the source so far under source control so hopefully won't take too long to get it finished.

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Mon Aug 18, 2014 4:15 pm

I have datasheet for the display I want to use in my future projects.

http://www.produktinfo.conrad.com/datenblaetter/175000-199999/181686-da-01-en-GRAFIK_MODUL_STN_BLAU_WEISS_240X128.pdf

Also here is the link to that particular display:

http://www.conrad.nl/nl/wit-blauw-b-x-h ... 81686.html
These users thanked the author Jordy101091 for the post:
Benj (Mon Aug 18, 2014 4:43 pm)
Rating: 5.26%
 
the will to learn, should not be stopped by any price

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

Re: T6963C Display Driver Support

Postby Benj » Mon Aug 18, 2014 4:56 pm

Hello,

I've not been able to test this but have a go and see how you get on.

gLCD_T6963C.fcpx
(30.14 KiB) Downloaded 226 times


Any problems let me know.

Done a quick test and re-sizing seems to work for the display area but not the PCB and bezel so I might strip these out for simplicity.
These users thanked the author Benj for the post:
dazz (Mon Aug 18, 2014 5:06 pm)
Rating: 5.26%
 

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Mon Aug 18, 2014 5:28 pm

Hi benj,

I have connected the display, and used the following macro in this order:

Init - clear - print string "Hello World"

The display fills up with random pixels.
the will to learn, should not be stopped by any price

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

Re: T6963C Display Driver Support

Postby Benj » Mon Aug 18, 2014 5:34 pm

Ok thanks, I will have another look through and see if I can spot an issue.

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Mon Aug 18, 2014 5:34 pm

Maybe a picture will help you al little,

Image
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: 27 times
Been thanked: 190 times
Contact:

Re: T6963C Display Driver Support

Postby Jordy101091 » Tue Aug 19, 2014 6:21 pm

Hi ben,

just wanted to let you know that I have checked my connections.
Just to be sure that its not my stupidity that the display is not working, it wouldn't be the first time :lol:

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

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

Re: T6963C Display Driver Support

Postby Benj » Wed Aug 20, 2014 10:34 am

Hello,

I've been back through and found a few bugs in the way I was doing things. Hopefully this should be a lot closer to working now.

gLCD_T6963C.fcpx
(30.27 KiB) Downloaded 198 times


Looks like the display has room in the RAM to store ASCII characters for generating text. I have not implemented this and use the normal method of drawing a pixel at a time but looks interesting to speed things up. Might also mean you can inter layer text and graphics but not sure how this would work in practice.

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Wed Aug 20, 2014 1:43 pm

Hi ben,

As soon as I get home I will give your update a go.
When I was working on a component for this display driver I got really confused about the text and graphics setup.
Anyway, will let you know how I get along.

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: 27 times
Been thanked: 190 times
Contact:

Re: T6963C Display Driver Support

Postby Jordy101091 » Wed Aug 20, 2014 4:20 pm

Hi ben,

The display is not working, I Have the same random pixels on my screen.
I have tried to put a delay ad the start before initialize and a delay after initialize.
The problem occurs also with only the initialize macro in my program.

Regards Jordy
These users thanked the author Jordy101091 for the post:
Benj (Wed Aug 20, 2014 4:31 pm)
Rating: 5.26%
 
the will to learn, should not be stopped by any price

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

Re: T6963C Display Driver Support

Postby Benj » Wed Aug 20, 2014 4:33 pm

Ok thanks Jordy,

I'll get hold of another source file and see if I can find any major differences. Hopefully it's something minor.

Probably something to do with the text / graphic weirdness.

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

Re: T6963C Display Driver Support

Postby Benj » Thu Aug 21, 2014 11:39 am

Hello,

Right I've tried another source and there were some minor differences. Hopefully this component will behave a bit better.

gLCD_T6963C.fcpx
(30.11 KiB) Downloaded 185 times

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Thu Aug 21, 2014 12:38 pm

Ok ben,

When I get home from work I will test this version of your component.
Hope it works out this time :)

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: 27 times
Been thanked: 190 times
Contact:

Re: T6963C Display Driver Support

Postby Jordy101091 » Thu Aug 21, 2014 4:18 pm

Im sorry to say ben but it doesn't work.

I still have the same problem of random pixels.
the will to learn, should not be stopped by any price

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

Re: T6963C Display Driver Support

Postby Benj » Thu Aug 21, 2014 5:17 pm

DOH!!!

Hmmm.

Could you attach your test program so I can see what your testing.

Do the random pixels remain fixed or do they move as your code is executing?

If you just power on the display does it do the random pixel thing?

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Thu Aug 21, 2014 5:48 pm

The pixels seems to change position when resetting the uC.
As I have said before the random pixels appear when the initialize macro is executed.
The screen doesn't go blank with the Clear Screen macro.

If I just power on the LCD without any uC attached then the screen is empty.

Regards Jordy
These users thanked the author Jordy101091 for the post:
Benj (Fri Aug 22, 2014 11:28 am)
Rating: 5.26%
 
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: 27 times
Been thanked: 190 times
Contact:

Re: T6963C Display Driver Support

Postby Jordy101091 » Tue Sep 02, 2014 8:07 pm

Hi ben,

Any luck with the component.

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

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

Re: T6963C Display Driver Support

Postby Benj » Wed Sep 03, 2014 3:50 pm

Hi Jordy,

I have re-jigged some bits and added an extra property to use a whole port to greatly speed up the code execution time. Fingers crossed this will work a bit better and actually start to do something useful.

gLCD_T6963C.fcpx
(30.63 KiB) Downloaded 169 times

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Wed Sep 03, 2014 5:30 pm

Hi ben,

Im sorry to say there is not much of a progress noticeable.
I have the same result as last component update, I have tried the data port option, but no difference.

Regards Jordy

PS. Maybe the this file will help you a little: http://www.mikrocontroller.net/attachment/16196/T6963C_LCD_Controller.zip
These users thanked the author Jordy101091 for the post:
Benj (Thu Sep 04, 2014 9:50 am)
Rating: 5.26%
 
the will to learn, should not be stopped by any price

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

Re: T6963C Display Driver Support

Postby Benj » Thu Sep 04, 2014 9:50 am

Hello,

In this file it shows the order to change the control pins rather than changing them all at once so hopefully this should help to stabilise the display and get it running.

Here's another one to try.
gLCD_T6963C.fcpx
(30.64 KiB) Downloaded 175 times

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Thu Sep 04, 2014 5:30 pm

Hi ben,

It doesn't works as expected but, the display is showing some activity.
Ad power up there is almost a scanning movement turning on/off pixels.
As its seems to approach the last pixels ad location 128, 240, then something happens with the first half of the screen (64x240)

Don't know what this means, but its a step in the right direction :P

Here is a video link to explain myself better



Regards Jordy


[Edit]

Sorry about the video, youtube has done something to it I can seem to fix it, but you should still see the effect on the display as I have described above.
the will to learn, should not be stopped by any price

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

Re: T6963C Display Driver Support

Postby Benj » Mon Sep 15, 2014 3:59 pm

Hi Jordy,

Right I've upped the comms delays from 1us to 2us and removed the second half of the clear routine which attempted to clear the "text" memory.

Fingers crossed.

gLCD_T6963C.fcpx
(30.67 KiB) Downloaded 184 times


If this doesn't work then would it be possible for you to send me a display I can test otherwise we might be back and forth on this for a long time. I will of course return the module as soon as I'm done.

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

Re: T6963C Display Driver Support

Postby Jordy101091 » Mon Sep 15, 2014 4:38 pm

Hi thanks ben,

I could send you a display module so you can work on the component and test it right away.
If you want to send me a PM with all the details, that would be great.

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