This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x resistive touch screen issue with 10.4" sdk7.0

Hardware platform: beaglebone black board, 10.4" lcd&touch screen(resistive)

SDK:7.00.00

issue description:

    We first select 7"&4.3"LCD with touch screen, the calibration process is very smooth. the usb is crash with touch screen so we first comment the usb device;

1. TI evmsk also is resistive touch screen, while usb device not comment, and there is no crash, and it's mouse isn't support, I wanna how to implement this.

2. 10.4" LCD&touch screen, the resistive touch screen not ok, the calibration no response, the mouse swing while we replace the pointcal with before one;

3. patched which is provided by Brad, calibration: top left is ok, while the reponses zone is limit; after calibration touch it, mouse move but can't trigger app,

I want to know how to improve the tsc driver to resovle this issue, thank you very much for your kindly help.

  • Are you trying to run an USB mouse and touchscreen at the same time? Please explain in more detail.

  • I saw just now that you found the right thread to get help on this http://e2e.ti.com/support/arm/sitara_arm/f/791/t/319613

  • Dear Biser,
    firstly, thank you very much for your kindly help. I want to use resistive touch screen, and it's better if usb mouse run at same time, but i get infor from your answer at other feedback, so only resistive touch screen is also ok.
    My touch screen functional isn't ok still, I will follow Brad Griffis suggestion, and test.
    Maybe my description isn't detail. it is these: The resistive touch screen calibrition not work at 10.4" screen; then i replace with 7" and 4.3" touch screen, confirmed that both 7&4.3" resistive touch screen calibration and control is ok, only the 10.4" has before issue.
    I use SDK5.07, find the calibration is ok for touch screen, others funciton also is fine; then I use the sdk5.07 pointcal after calibration replace the sdk 7.0 sdcard's pointcal; while touch the screen the mouse will swing at one corner, and i record by cmd ts_print_raw, the touch screen data is in the right range while pen down.
    later, I update the sdk7.00.00 with patch, test find that: calbrition top left point has responsed and data is right, while other points no responed; after short the wiring-4 longth, the response range is only on little range of the screen.
    so there is two items i want to know:
    1. how to update the sdk7.0 kernel calibration file to implement calibration for 10.4" touch screen?
    2. Does the wiring length affect the touch screen function?

    Thank you very much for your kindly help,
    best regards,
    liang
  • Hi Liang,

    Have you checked if you are correctly driving the LCD full screen? Have you tried to display something full screen? How long are your touchscreen wires?

  • Hi Biser,
    I test with SDK5.07 all items are ok; so the hardware no issue. then update the uImage and so on by SDK7.00, then happen this issue. and the LCD display is fine while touch screen has issue; the wires about 25cm ~30cm; please help to check, thank you.
    Best Regards
    Liang
  • You should compare TSC drivers between the two releases to see the differences. Sorry, I cannot help on this.

  • Hi liang Young,

                         Excuse me. I also met the same problem as you. There is a touch screen issue with 10.4 panel. But it is ok with 7" and 4.3" touch screen. Did you solve the issue finally? If "yes", Could you give me a suggestion?  Thanks a lot.

  • Hi liang Young,

                         I think I find the solution. I used the sdk.1.0.0 and the kernel version is 3.14.xx. In the version of linux, it used the device tree to config all the configuration. The key point is in tscadc node. I modify the sub node "ti,charge-delay" of tsc. The modification as follows

     &tscadc {
             status = "okay";
             tsc {
                     ti,wires = <4>;
                     ti,x-plate-resistance = <200>;
                     ti,coordinate-readouts = <5>;
                     ti,wire-config = <0x00 0x11 0x22 0x33>;
    -        ti,charge-delay = <0x400>;
    +        ti,charge-delay = <0x700>;
             };
     
             adc {
                     ti,adc-channels = <4 5 6 7>;
             };
     };