Lilltrolls graphics project.

XCore Project reviews, ideas, videos and proposals.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Lilltrolls graphics project.

Post by lilltroll »

Status: Just an idea
License: BSD

So many seems do do things with graphics, so I have to try as well with my XC-1 V1.0 card.
I will connect it to a 320*240 TFT, 262k colours screen with touchscreen. My goal is not to have the most impressive graphics, instead to have a minimum lag between the touchscreen and the screen with a high refreshrate of the touchscreen sampling. Doing circles with a "mini Paint" on the touch should create circles on the screen, and not something with 7 sides.
I HATE lag.
From wiki:
May's Law:

Software efficiency halves every 18 months, compensating Moore's Law.


Probably not the most confused programmer anymore on the XCORE forum.
User avatar
shawn
XCore Addict
Posts: 238
Joined: Thu Dec 17, 2009 5:15 am

Post by shawn »

Atmel has a touch screen controller chip worth checking out.

Check C
Shawn
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Well, I was playing with PIC32 earlier, so the touch-screen is this one.
http://www.microchipdirect.com/images/d ... 164127.jpg
Microchip has put an extra connector to it, so you can acess more pins than the PIC32 does.
It is many complains of the limited XMOS chip-memory, but if you see it from a MCU perspective, you are not used to much RAM.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

But thanks Shawn, I saw the Atmel multitouch chip some month ago. When people starts to take multisouch for granted in iXXX products - everyone has to follow I guess.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
shawn
XCore Addict
Posts: 238
Joined: Thu Dec 17, 2009 5:15 am

Post by shawn »

OSX dosn't tsch ITS, hobbled...

PlasticLogic A4 size, 0 energy screen, (it's memory!).
Simmular price points.
Absolute business tool.
Lifecycle forever, 100% return on investment.

lil Plastic 1ups the bigeye.

QUE
http://images.barnesandnoble.com/pimage ... e_home.jpg

Shawn

PS multitouch~shmultitouch, have you seen WUW/6th-sense? wild!
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

I have prepared the ports on the XC1 so I can connect ribbon cables to it.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
TonyD
XCore Addict
Posts: 234
Joined: Thu Dec 10, 2009 11:11 pm
Location: Newcastle, UK

Post by TonyD »

I like your idea of adding a LCD to the XC-1. What LCD will you be using?

I've taken the liberty of adding your project to the list of other video and graphics projects at the XMOS Video Interest Group (XVIG)
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

I use the Truly tft-g240320UTSW-92W with resistive touch and GRAM. But I dont think it's recomended for new designs anymore. Nowadays they have solutions with multitouch. Ckeck out
http://www.trulydisplays.com/tft/index.html

My own bible:
http://www.trulydisplays.com/tft/driver ... DP4531.pdf
http://ww1.microchip.com/downloads/en/D ... 51713a.pdf
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Connected the hardware and started to write the init. The 2-way communication to the GRAM should be a good combo with XMOS. No need to use up the XMOS memory.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Hmm, it is a little bit similair to program the init talking to a graphic chip as to talk to a Audio CODEC, but it's more pages in the pdf with the graphics. I hope am able to get an readback from the graphic chip soon.
Probably not the most confused programmer anymore on the XCORE forum.