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: 25 times
Been thanked: 188 times
Contact:

T6963C Display Driver Support

Post by Jordy101091 »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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

http://www.produktinfo.conrad.com/daten ... 40X128.pdf

Also here is the link to that particular display:

http://www.conrad.nl/nl/wit-blauw-b-x-h ... 81686.html
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: T6963C Display Driver Support

Post by Benj »

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 648 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.

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: T6963C Display Driver Support

Post by Jordy101091 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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 603 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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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
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: T6963C Display Driver Support

Post by Benj »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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 529 times

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: T6963C Display Driver Support

Post by Jordy101091 »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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
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: T6963C Display Driver Support

Post by Jordy101091 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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 507 times

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: T6963C Display Driver Support

Post by Jordy101091 »

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/attachme ... roller.zip
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: T6963C Display Driver Support

Post by Benj »

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 517 times

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: T6963C Display Driver Support

Post by Jordy101091 »

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

[/youtube]

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963C Display Driver Support

Post by Benj »

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 546 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: 25 times
Been thanked: 188 times
Contact:

Re: T6963C Display Driver Support

Post by Jordy101091 »

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

Post Reply