SSD1289 TFT SSD1963

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

Moderator: Benj

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

SSD1289 TFT SSD1963

Postby STibor » Mon Nov 11, 2013 6:10 am

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

http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=29&t=8900&hilit=ssd&start=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: 14786
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4750 times
Been thanked: 4358 times
Contact:

Re: SSD1289 TFT SDD1963

Postby Benj » Mon Nov 11, 2013 11:57 am

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.
These users thanked the author Benj for the post:
STibor (Tue Nov 12, 2013 9:29 pm)
Rating: 5%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SDD1963

Postby STibor » Mon Nov 11, 2013 8:38 pm

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

Re: SSD1289 TFT SDD1963

Postby Benj » Tue Nov 12, 2013 1:04 pm

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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SDD1963

Postby STibor » Tue Nov 12, 2013 2:55 pm

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/mmforums/viewtopic.php?f=40&t=12497#p49610
http://www.digibay.in/index.php?route=product/product/quickview&product_id=146

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

Re: SSD1289 TFT SDD1963

Postby Benj » Tue Nov 12, 2013 5:30 pm

Hello,

Right here is a component for the SSD1289 based on the custom code file.

gLCD_SSD1289.fcpx
(53.83 KiB) Downloaded 432 times


Let me know how you get on with it, if it's ok then I'll add it to the next release.
These users thanked the author Benj for the post:
STibor (Tue Nov 12, 2013 9:29 pm)
Rating: 5%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SSD1963

Postby STibor » Tue Nov 12, 2013 9:29 pm

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

Re: SSD1289 TFT SSD1963

Postby Benj » Wed Nov 13, 2013 10:47 am

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 313 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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SSD1963

Postby STibor » Wed Nov 13, 2013 6:37 pm

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 263 times
C code.jpg
C code.jpg (29.44 KiB) Viewed 10181 times

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

Re: SSD1289 TFT SSD1963

Postby JonnyW » Thu Nov 14, 2013 4:21 pm

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

Jonny
These users thanked the author JonnyW for the post:
STibor (Thu Nov 14, 2013 8:01 pm)
Rating: 5%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SSD1963

Postby STibor » Tue Nov 19, 2013 4:10 pm

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

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SSD1963

Postby STibor » Wed Nov 20, 2013 8:34 pm

Hello,
It works!
Clock was a problem.
8 bit http://youtu.be/pb3XcMVckA0
16 bit http://youtu.be/6qldGJs8wjY
These users thanked the author STibor for the post:
Benj (Thu Nov 21, 2013 11:26 am)
Rating: 5%
 

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

Re: SSD1289 TFT SSD1963

Postby Benj » Thu Nov 21, 2013 11:28 am

Hello,

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

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SSD1963

Postby STibor » Thu Nov 21, 2013 5:09 pm

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

Re: SSD1289 TFT SSD1963

Postby Benj » Thu Nov 21, 2013 5:35 pm

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

Postby Mikat » Sat Nov 23, 2013 7:00 am

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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: SSD1289 TFT SSD1963

Postby STibor » Mon Nov 25, 2013 2:21 pm

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_FUASPn_c&feature=share&list=UU4P1-RwdOagCbIk7Km-R28Q

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

Re: SSD1289 TFT SSD1963

Postby trey3499 » Sat May 28, 2016 2:07 pm

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