Pages: [1] 2 3   Go Down
Author Topic: New UTFT Libray with Arduino ARM spport  (Read 9141 times)
0 Members and 1 Guest are viewing this topic.
Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2808
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found this this morning: NEW UTFT 2.0 Library.
Released about 10:00 AM PST 1/21/2013, Has support for Arduino, Arduino ARM and ChipKit Uno and Max32.
Partial release notes:
2.0   21 Jan 2013  -   added support for Arduino Due and Arduino Leonardo
            added support for the "AquaLEDSource All in One Super Screw Shield" on chipKit Max32
            added support for more display modules
            fixed a bug in printNumF()
            optimized drawLine()
            optimized 16bit data transfer
            optimized some 8bit data transfer
            added option to use pre-defined RGB565 values with setColor(), setBackColor() and fillScr()
            added functions getColor(), getBackColor(), getFont(), getFontXsize() and getFontYsize()
            added 16 VGA standard colors as pre-defined color literal
            rearranged the manual to keep related functions grouped together

Bob
   
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 53
Posts: 1785
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice, hopefully we'll have a flood of Due based graphical apps soon. Indie games are the best, ones on an Arduino would be even better.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi .

I have examples for you

Arduino DUE + 5" SSD1963 LCD 800 x 480
Speed on the OLD UTFT(mod for due) VS NEW UTFT lib

OLD ONE


NEW ONE !



This is It  !

Logged

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 53
Posts: 1785
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It appears the new video is set to private.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry,my phone does this by default

Now it's ok
Logged

Germany
Offline Offline
Full Member
***
Karma: 10
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would say the new one is faster.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Faster ?
This is a rocket ! smiley
Logged

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 53
Posts: 1785
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Sorry,my phone does this by default

Now it's ok

Cheers, looks good. I'm curious to know weather there is a significant difference between the 320x240 and 800x480 screens, probably more to do with the MPU rather than the display driver IC.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi .

I have examples for you

Arduino DUE + 5" SSD1963 LCD 800 x 480
Speed on the OLD UTFT(mod for due) VS NEW UTFT lib

OLD ONE


NEW ONE !



This is It  !



That looks  an improvement on the original hardware & UTFT library. 

However - I'm  curious how you got round the way the fonts are stored. In normal Atmel processors the data for fonts or bitmaps is stored in flash, using pgmspace.h
No longer applicable to M3Cortex CPUs....

Are they being parked in regular RAM now?  If so - how?  normal but large arrays?

Good to see Henning burning the midnight oil   :-)

Graeme

Logged

Alamos, Sonora, Mexico
Offline Offline
Full Member
***
Karma: 2
Posts: 111
learning never stops.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Where can this library be downloaded? 
Logged

Quiero una vida simple en Mexico...nada mas.

St. Petersburg, FL
Offline Offline
Jr. Member
**
Karma: 1
Posts: 61
Retired physicist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I found a copy here in RAR format.

http://henningkarlsen.com/electronics/download.php?f=UTFT.rar


Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.henningkarlsen.com/electronics/library.php?id=51
Logged

Ottawa,Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 82
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

{stupid error snipped}

bad code ,, mea culpa
??
« Last Edit: February 12, 2013, 04:53:46 am by ralphnev » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to get a SainSmart 3.2" 320x240 TFT LCD (it uses the SSD1289 controller) working with the Due board.  I have downloaded the latest UTFT library from Henning Karlsen (dated 1/20/13) and it compiles and loads onto my Due without error.  However, nothing on the display.  This led me to check the shield (supplied by SainSmart) which was apparently designed for the Mega board.  I "buzzed" out the pins from the display connector through to the Due pin assignments on the SainSmart shield and the shield appears to be way off.  I had presumed (mistakenly) that, based upon the Arduino concept, the pinouts for a Due board would be the same for the Mega board (by function).  So, does anyone know of a shield that can be used without too much modification to connect this display to the Due?  Does anyone have the pin assignment on the Due board needed to run the SSD1289 controller?  Does anyone know if the Due board is set up to use 8080 or 6800 timing?  Does anyone know what pins on the Due are used for external data lines D0-D15 and for the control lines of WR, RD, CS, and D/C (8080 timing) or E, CS, R/W, D/C (6800 timing) required by the SSD1289?  It appears from the software library that pins 32, 38, 39, 40, and 41 are used as the control signals (the statement myGLCD(TST01_32, 38, 39, 40, 41)), but I can't find a correlation to any of the control timing signals (WR, RD, CS, E, etc.).

I presume that I am going to have the same questions about the touch controller on the SainSmart display and also the SD drive, so info on the Due pins used for those would also be very helpful.

I have a suggestion: would it be possible to have a single web location where all of this type of information is centrally posted for the Due board?  I did find the pinout diagram at robgray.com/temp/Due-pinout and this is what enabled me to do the testing of the SainSmart shield (excellent work on this diagram -- thanks!).  I certainly would post whatever I learn and also to help pay for this if needed (I would be happy to donate USD$100+ to a fund).  I have 20 years of background running an electronics (automation) company and I know how much time/effort can be saved for everyone by some organizational tools. 

Thank you! Patrick
Logged

Reading, UK
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is the modified UTFT library with a newly routed shield for DUE,
all Data pins are routed to PORTC and all command pins are routed to PORTD
only 4 instructions are needed per write strobe.

Filling the screen 800x480 once will take 212ms
Filling the screen 800x480 with an image directly reading from SPI flash using 42Mhz speed with DMA will take 312ms

This should be the maximum ability of DUE as i think should be the mostly optimized.
Of course, any chance to make it faster will be appreciated. smiley-twist



The library is here
http://coldtears.lin3.siteonlinetest.com/files/Arduino_DUE_TFT_library.zip
« Last Edit: January 26, 2013, 08:21:43 pm by coldtears » Logged

Pages: [1] 2 3   Go Up
Jump to: