_paul

3.2 Touch Screen

11 posts in this topic

I bought a cheap Tochscreen from China on ebay.

After some try and error i was able to get it running. It is working quite well.

I had some problems with the touch module using the i2c on J8/9. So i had to use some gpio pins on J5A/J5B.

 

I used the UTFT Library from Henning Karlsen as a starting point.

 

Maybe someone is interested in the code.

 

post-11327-0-79416500-1357401426_thumb.j

 

here the link to the display on ebay:

http://www.ebay.de/itm/3-2inch-lcd-module-with-touch-panel-bulid-in-SSD1298-controller-PCB-board?item=170863074266&ih=007&category=26206&cmd=ViewItem

Share this post


Link to post
Share on other sites

Wow!

 

If more people are interested, we should bring your driver into the repository!  :smile:

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

shure we can do that.

 

i think 25$ for a touchscreen can't be beat.

 

paul

Share this post


Link to post
Share on other sites

i for one would love support for a touchscreen, great job paul :]

 

-ajax

Share this post


Link to post
Share on other sites

Don't you need bidirectional signals to make good use of the controller for this display? Because this display look pretty similar to the display i have based on the ILI9320 controller.

Share this post


Link to post
Share on other sites

The pcb beneath the dispay is forcing me to use the 16bit parallel mode of the 1298 controller. i could read out data from the diplay, but i had no reason to do it yet.

i am not capable of getting the display to work in 8bit mode. i can't find the fault and it is driving me mad. they mouted a 74HC573 latch on the pcb to use the 16bit mode with 8 bit input, instead of making it possible to enable the nativ 8bit mode of controller.

Share this post


Link to post
Share on other sites

Yes that looks exactly the same as the ILI9320 based displays that we bought Shuriken.

 

I did manage to get a MIOS32 driver written and working for it in 8-bit mode but since then I have had a bit of a crash and I think I lost the source code :(

 

If I remember correctly, the key to getting 8-bit mode working was that you place the LE pin high then load the lower 8 bits onto DB08-DB15 and then set LE low and load the upper 8 bits. the transition of low to high latches the current state of the inputs on the 74HC573 (DB08-DB15) and outputs them to DB00-DB07, this has the effect of loading all 16 bits to the display, you can then pulse the clock.

 

Cheers


Phil

 

EDIT: Also DO NOT tie the unused DB00-DB07 inputs to ground, they MUST be left floating as otherwise it won't work in 8bit mode!

Edited by philetaylor

Share this post


Link to post
Share on other sites

I recently got this display one from mouser. Which can be driven via SPI (48Mhz). At about same price. Hopefully a lot faster. Haven't fired it up though.

Edited by Shuriken
1 person likes this

Share this post


Link to post
Share on other sites

Shuriken, that looks mighty fine, please keep us posted - still looking for a bigger display module :)

Share this post


Link to post
Share on other sites

Love it!

I got a cheapish mono LCD with touchscreen years (freaking YEARS) ago to build into my LC.

Nice to know it might actually work...

Share this post


Link to post
Share on other sites

Hi all!

What's the status of the ssd1298 driver for MIOS?

Is a release planned?

Best regards

Marxon

Edited by Marxon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now