SSD1289 TFT SSD1963

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

SSD1289 TFT SSD1963

Post by STibor »

Hy,
Previously, I used the TFT components individually prepared Flowcode5.

http://www.matrixmultimedia.com/mmforum ... =50#p30753

How to import from Flowcode5 Flowcode4 re-written custom macros Flowcode6 program?
Cheap TFT displays SSD1289, SSD1963 at the new Flowcode6 not found in either.
Last edited by STibor on Tue Nov 12, 2013 9:19 pm, edited 1 time in total.

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: SSD1289 TFT SDD1963

Post by Benj »

Hello,

I have found the custom code for the ssd1289 display. Will this also work with the ssd1963 device? I'll have a go at wrapping up the custom code into a component. Should be fairly simple to do.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SDD1963

Post by STibor »

Hi
I think the same is not the driver for the graphics controllers.
I recently bought the license Flowcode6 PIC, DSPIC and AVR for.
Try to use, but I do not know how you can use the old custom components.

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: SSD1289 TFT SDD1963

Post by Benj »

Hello,

Flowcode v6 has the ability to wrap your flowchart up into a component so hopefully there is no longer a need for the custom components. I'll see if I can do the coding and get the component out for testing. Do you have one of the SSD1289 devices to allow you to do some hardware testing?

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SDD1963

Post by STibor »

Thank you!
Of course, I can test the display.
I'll put together a quick test circuit PIC18F26K20 controller.
I have Mega2560 Arduino + voltage drivers for the display adapter, but the program is difficult to control because the display port outputs are not routed to a port.

http://www.matrixmultimedia.com/mmforum ... 497#p49610
http://www.digibay.in/index.php?route=p ... uct_id=146

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: SSD1289 TFT SDD1963

Post by Benj »

Hello,

Right here is a component for the SSD1289 based on the custom code file.
gLCD_SSD1289.fcpx
(53.83 KiB) Downloaded 632 times
Let me know how you get on with it, if it's ok then I'll add it to the next release.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SSD1963

Post by STibor »

Hi Ben!
Thank you very much!
I tried it, it works!
A single mistake that the blue and red has been replaced.
Furthermore, the problem was 18F26K20.fcdx file.
"<pin name='RC3/SCK/SCL' />" changed "<pin name='RC3/SCK/SCL' port='2' bit='3' />" so RC3 IO port.
How to made this is the component file?

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: SSD1289 TFT SSD1963

Post by Benj »

Hello,

Ok I have switched the Blue and the Red and hopefully this should now work ok. Could not find a good colour map for 16-bit mode in the IC datasheet so there could potentially be more issues lurking. (Edit found the 16-bit colour map now and the original setting looks more correct? Let me know how you get on with this component.)
gLCD_SSD1289.fcpx
(53.82 KiB) Downloaded 486 times
Let me know if you find anything else.

Also thanks for the spot on the FCD, I'll fix it here so it is fixed for the next patch.
How to made this is the component file?
Would it be useful for you to see the source for the component to maybe be able to create new components for other display controllers?

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SSD1963

Post by STibor »

Hi,

Was very good.
I have found a mistake.
The program has a "C" program:

Code: Select all

osccon = 0x70;
st_bit(osctune, PLLEN);
When I left the project, and there is not I open the code "C".
Just a blank "C code" flowchart.
Making a demo program and video recorders, the square is drawn over a lack of size heel.
Attachments
ssd1289_demo_II.fcfx
(9.76 KiB) Downloaded 453 times
C code.jpg
C code.jpg (29.44 KiB) Viewed 15309 times

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: SSD1289 TFT SSD1963

Post by JonnyW »

Hello. This will be fixed in the upcoming patch, apologies for this.

Jonny

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SSD1963

Post by STibor »

Hi
I tried the code PIC24EP128MC202 controller, unfortunately, does not work.
Attachments
ssd1289_III_5_PIC24EP128MC202.fcfx
(28.5 KiB) Downloaded 427 times
probe_glcd_24bit.txt
(4.93 KiB) Downloaded 416 times

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SSD1963

Post by STibor »

Hello,
It works!
Clock was a problem.
8 bit http://youtu.be/pb3XcMVckA0
16 bit http://youtu.be/6qldGJs8wjY

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: SSD1289 TFT SSD1963

Post by Benj »

Hello,

Glad you got it all working and those vids look great. Thanks for letting us know.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SSD1963

Post by STibor »

Thanks for your help!
If I'm not annoying, would later write of my experiences with my problems GLCD component.

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: SSD1289 TFT SSD1963

Post by Benj »

Hello,

No problem, just doing my job :D

Yes we would love to hear any problems you encountered along the way and your thoughts/experiences. This kind of information is crucial for moving forward successfully with our support and documentation.

Mikat
Posts: 258
Joined: Wed Nov 29, 2006 6:32 pm
Location: Finland
Has thanked: 7 times
Been thanked: 36 times
Contact:

Re: SSD1289 TFT SSD1963

Post by Mikat »

Hi.

The code of the SSD component is probably originally written by me. The code don't work at the 1963 driver, or at least I think so, it has never written at 1963 driver..
BUT when I looked the the 1963 datasheet (for long time ago) it looks that the differences could be only at the init routine, so rewritten the init at the 1963 driver, the code could work.. But I don't remember now has the code some limitations at the 320x240 resolution...
BTW, is it the video, or is the code that slow? Whats the MIPS of the chip at 16bit mode?


Mika

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: SSD1289 TFT SSD1963

Post by STibor »

Mikat wrote: Whats the MIPS of the chip at 16bit mode? Mika
Hi,
The old test video controller running 70MIPS speed.

Here is the new video test.
Clock 200MHz 200MIPS little overclocking.
http://www.youtube.com/watch?v=Df_FUASP ... Ik7Km-R28Q

trey3499
Posts: 5
Joined: Sun Aug 17, 2014 9:51 am
Contact:

Re: SSD1289 TFT SSD1963

Post by trey3499 »

Hello!
Is it possible to make SSD1963 Custom under AVR Flowcode5?
In advance many thanks.

Post Reply