BeagleBoard Rev C4 (Android 2.3.4) works with 7" TFT LCD
-
- Posts: 13
- Joined: Thu Sep 01, 2011 12:52 am
BeagleBoard Rev C4 (Android 2.3.4) works with 7" TFT LCD
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
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
Last edited by hanh96_clone on Thu Jul 24, 2014 8:27 am, edited 6 times in total.
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
yes. you need check into omap3_beagle_android_defconfig for pin mux and spi settings.
you need check this file also-->
you need check this file also-->
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
Does it work with Pandaboard? Sorry I had asked repeatedly since no answers so far.
-
- Posts: 13
- Joined: Thu Sep 01, 2011 12:52 am
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
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 ?
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
Generally you may need to check with pin mux and spi configuraiton to ensure the driver can work well with the hardware.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 ?
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.
-
- Posts: 13
- Joined: Thu Sep 01, 2011 12:52 am
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
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.
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.
-
- Posts: 13
- Joined: Thu Sep 01, 2011 12:52 am
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
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
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
hello
Does anyone know what files does it need to change to operate the touchscreen gingerbread in 2.3.4?
thanks for your support
Does anyone know what files does it need to change to operate the touchscreen gingerbread in 2.3.4?
thanks for your support
-
- Posts: 13
- Joined: Thu Sep 01, 2011 12:52 am
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
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: you need made some changes with board-omap3beagle.c, config file and ads7846.
Re: BeagleBoard Rev C4 and 7" TFT LCD frame + touch
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
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
Who is online
Users browsing this forum: No registered users and 35 guests