Page 1 of 3

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

Posted: Thu Sep 08, 2011 2:02 am
by hanh96_clone
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

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

Posted: Thu Sep 08, 2011 4:18 am
by esky-sh
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 11961 times

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

Posted: Sat Sep 10, 2011 1:48 pm
by vibnwis
Does it work with Pandaboard? Sorry I had asked repeatedly since no answers so far.

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

Posted: Wed Sep 14, 2011 3:07 am
by hanh96_clone
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 ?

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

Posted: Wed Sep 14, 2011 3:53 am
by esky-sh
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.

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

Posted: Wed Sep 14, 2011 6:43 pm
by hanh96_clone
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.

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

Posted: Wed Sep 14, 2011 10:14 pm
by hanh96_clone
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

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

Posted: Thu Oct 06, 2011 1:49 am
by matt13
hello
Does anyone know what files does it need to change to operate the touchscreen gingerbread in 2.3.4?
thanks for your support

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

Posted: Mon Oct 24, 2011 11:55 pm
by hanh96_clone
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.

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

Posted: Tue Oct 25, 2011 12:24 am
by matt13
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