BeagleBoard Rev C4 (Android 2.3.4) works with 7" TFT LCD

Discuss TI Beagleboard, Pandaboard, their related extensions and accessories
hanh96_clone
Posts: 13
Joined: Thu Sep 01, 2011 12:52 am

BeagleBoard Rev C4 (Android 2.3.4) works with 7" TFT LCD

Post by hanh96_clone » Thu Sep 08, 2011 2:02 am

Hi, I am a beginner and I know there are some differences between Rev C4 and xm, but I tried to make this LCD working with Rev C4 and Android rowboat 2.3.4.
I have used your pre-built images and the display did not work. I made some changes in video driver, luckily it works. However, it really differ from your changes for display.
For touchscreen, I have read your source code and found some changes in ads7846 driver, and I changed it like your source, but I cannot touch anything like at the beginning.
Therefore, I have some questions:
- Does ads7848 driver fully support this touchscreen ? because if it is, it must be work well, but nothing works
- What need to be changed for touchscreen support, only touchscreen driver ?
- Are any changes need in omap3_beagle_android_defconfig ?

Thank you for your support.

Updated it finally works

Here is the patch: http://bit.ly/touchScreenPatch

and the tutorial is here ( http://bit.ly/sk4t3Q) , hope it useful for you. Good luck

----------------------------------
Update 2014/06/24
Because Opera Blog is closed. I upload the patch in another link: http://bit.ly/1ke2MPL


Image

Image

Image

Image
Last edited by hanh96_clone on Thu Jul 24, 2014 8:27 am, edited 6 times in total.

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by esky-sh » Thu Sep 08, 2011 4:18 am

yes. you need check into omap3_beagle_android_defconfig for pin mux and spi settings.
you need check this file also-->
board-omap3beagle.png
board-omap3beagle.png (94.03 KiB) Viewed 11163 times

vibnwis
Posts: 20
Joined: Sun Dec 21, 2008 12:20 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by vibnwis » Sat Sep 10, 2011 1:48 pm

Does it work with Pandaboard? Sorry I had asked repeatedly since no answers so far.

hanh96_clone
Posts: 13
Joined: Thu Sep 01, 2011 12:52 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by hanh96_clone » Wed Sep 14, 2011 3:07 am

I have added some codes as you suggested but the Beagleboard still does not recognize the touch screen.

I found that you have added board-omap3beagle_spi.c but I do not know what role it is.
Could you give me some suggestions ?

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by esky-sh » Wed Sep 14, 2011 3:53 am

hanh96_clone wrote:I have added some codes as you suggested but the Beagleboard still does not recognize the touch screen.

I found that you have added board-omap3beagle_spi.c but I do not know what role it is.
Could you give me some suggestions ?
Generally you may need to check with pin mux and spi configuraiton to ensure the driver can work well with the hardware.
I suggest you add some printk to find the content of pin mux registers. Of course you need to ensure the SPI was configured inside linux kernel.

hanh96_clone
Posts: 13
Joined: Thu Sep 01, 2011 12:52 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by hanh96_clone » Wed Sep 14, 2011 6:43 pm

Now the touchscreen is recognized when booting:
spi3.0 supply vcc not found, using dummy regulator
ads7846 spi3.0: touchscreen, irq 293
input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.3/spi3.0/input/input1

when use "getevent":
add device 1: /dev/input/event1
name: "ADS7846 Touchscreen"

However, when I touched in the screen, it is not caught any event. It is so confused, am I configure SPI and pin mux wrong ? What may cause the problems ?

Thank you.

hanh96_clone
Posts: 13
Joined: Thu Sep 01, 2011 12:52 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by hanh96_clone » Wed Sep 14, 2011 10:14 pm

The reason may be the problem in configuring touch sensor to SPI 3.0 ( as following link http://e2e.ti.com/support/embedded/f/509/t/132452.aspx )
However, I do not know how to do it.
Could you help me please ?
Thank you

matt13
Posts: 6
Joined: Wed Jul 13, 2011 6:55 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by matt13 » Thu Oct 06, 2011 1:49 am

hello
Does anyone know what files does it need to change to operate the touchscreen gingerbread in 2.3.4?
thanks for your support

hanh96_clone
Posts: 13
Joined: Thu Sep 01, 2011 12:52 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by hanh96_clone » Mon Oct 24, 2011 11:55 pm

Finally, this touchscreen works with Beagleboard Rev C4 using rowboard Android GingerBread 2.3.4 !!!

@matt13: you need made some changes with board-omap3beagle.c, config file and ads7846.

matt13
Posts: 6
Joined: Wed Jul 13, 2011 6:55 am

Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch

Post by matt13 » Tue Oct 25, 2011 12:24 am

thanks hanh96_clone,
can you tell me about what must be changed in the. config.
I saw we need to activate McSPI driver for OMAP24xx/OMAP34xx in the SPI support.
can you confirm that?

if you have a patch, could you post it here to help also other users who'll need to make these changes?

thanks a lot

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests