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.

TMDSSK3358: Touchscreen issue with Matrix

Part Number: TMDSSK3358

Hi, I recently re-imaged the linux sd-card that came with starter kit, using the current linux sdk prebuilt_packages.

It boots fine, but after the matrix app starts, it will not respond to LDC touch input. eventually as the ev-sk runs it will fall into a pattern where only LED D3 does a 2 blink pause 2 blink heartbeat pattern.

http://<ipaddress> to the board works fine too, I can run the applications from that but still there is no touch response at the LCD.

My suspicions:

* a missing dtb or more?

* missing matrix lib(s) or support components / drivers ?

please advise,

thanks. -pete u.

  • Hello Pete,

    Apologies for the problem you are running into here. I suspect the AM335x Starter Kit has an issue with resistive touchscreen input on Linux Processor SDKs 6.0, 6.1, 6.3. We are still looking into this, but I do not currently have access to a starter kit board to run tests.

    To make sure you are seeing the same thing another customer is seeing:
    * Are you using Linux Processor SDK 6.3?
    * Does USB mouse input work as expected?
    * Did you get a calibration screen on first boot that responded to touch?
    * Once the board is running, what happens when you run evtest from the terminal and touch the screen? Does it show ABS_X, ABS_Y coordinates as expected? [in the range of (0-400,0-400) in one corner and (3000-4000, 3000-4000) in the other corner?]

    Regards,

    Nick

  • Nick - your questions, one at a time:

    * Are you using Linux Processor SDK 6.3?

    yes. the install.bin from the website produces this top directory: ti-processor-sdk-linux-am335x-evm-06.03.00.106

    * Does USB mouse input work as expected?

    no usb mouse available, silly as that sounds (working from home on laptops and all that ...)

    I will try to get hold of one and get back to you, just for completeness.


    * Did you get a calibration screen on first boot that responded to touch?

    yes, an X that when I touched it, it moved to the left and up a bit, and after I touched that, Matrix came up still with no touch response.

    * Once the board is running, what happens when you run evtest from the terminal and touch the screen? Does it show ABS_X, ABS_Y coordinates as expected? [in the range of (0-400,0-400) in one corner and (3000-4000, 3000-4000) in the other corner?]


    nothing extra shows up over the Matrix app home screen on the LCD, but there is sensing of touch going on. See the attached capture log (just a snippet).

    Let me know if you'd like me to try anything else, happy to help you troubleshoot (I learn things this way!)

    thanks, -pete u.

    root@am335x-evm:~# evtest
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0:	gpio_buttons0
    /dev/input/event1:	ti-tsc
    Select the device event number [0-1]: ti-tsc
    Input driver version is 1.0.1
    Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
    Input device name: "ti-tsc"
    Supported events:
      Event type 0 (EV_SYN)
      Event type 1 (EV_KEY)
        Event code 330 (BTN_TOUCH)
      Event type 3 (EV_ABS)
        Event code 0 (ABS_X)
          Value   3649
          Min        0
          Max     4095
        Event code 1 (ABS_Y)
          Value   2663
          Min        0
          Max     4095
        Event code 24 (ABS_PRESSURE)
          Value      0
          Min        0
          Max     4095
    Properties:
    Testing ... (interrupt to exit)
    Event: time 1591912629.954751, type 3 (EV_ABS), code 0 (ABS_X), value 4024
    Event: time 1591912629.954751, type 3 (EV_ABS), code 1 (ABS_Y), value 3088
    Event: time 1591912629.954751, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 60
    Event: time 1591912629.954751, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
    Event: time 1591912629.954751, -------------- SYN_REPORT ------------
    Event: time 1591912629.954877, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
    Event: time 1591912629.954877, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
    Event: time 1591912629.954877, -------------- SYN_REPORT ------------
    Event: time 1591912629.960232, type 3 (EV_ABS), code 0 (ABS_X), value 3767
    Event: time 1591912629.960232, type 3 (EV_ABS), code 1 (ABS_Y), value 3530
    Event: time 1591912629.960232, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 74
    Event: time 1591912629.960232, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
    Event: time 1591912629.960232, -------------- SYN_REPORT ------------
    Event: time 1591912629.962051, type 3 (EV_ABS), code 0 (ABS_X), value 3719
    Event: time 1591912629.962051, type 3 (EV_ABS), code 1 (ABS_Y), value 3509
    Event: time 1591912629.962051, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 78
    Event: time 1591912629.962051, -------------- SYN_REPORT ------------
    Event: time 1591912629.964357, type 3 (EV_ABS), code 0 (ABS_X), value 3720
    Event: time 1591912629.964357, type 3 (EV_ABS), code 1 (ABS_Y), value 3470
    Event: time 1591912629.964357, -------------- SYN_REPORT ------------
    Event: time 1591912629.966919, type 3 (EV_ABS), code 0 (ABS_X), value 3716
    Event: time 1591912629.966919, type 3 (EV_ABS), code 1 (ABS_Y), value 3437
    Event: time 1591912629.966919, -------------- SYN_REPORT ------------
    Event: time 1591912629.968827, type 3 (EV_ABS), code 0 (ABS_X), value 3715
    Event: time 1591912629.968827, type 3 (EV_ABS), code 1 (ABS_Y), value 3425
    Event: time 1591912629.968827, -------------- SYN_REPORT ------------
    Event: time 1591912629.970509, type 3 (EV_ABS), code 0 (ABS_X), value 3711
    Event: time 1591912629.970509, type 3 (EV_ABS), code 1 (ABS_Y), value 3410
    Event: time 1591912629.970509, -------------- SYN_REPORT ------------
    Event: time 1591912629.972681, type 3 (EV_ABS), code 1 (ABS_Y), value 3405
    Event: time 1591912629.972681, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 79
    Event: time 1591912629.972681, -------------- SYN_REPORT ------------
    Event: time 1591912629.974615, type 3 (EV_ABS), code 1 (ABS_Y), value 3425
    Event: time 1591912629.974615, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 81
    Event: time 1591912629.974615, -------------- SYN_REPORT ------------
    Event: time 1591912629.976464, type 3 (EV_ABS), code 0 (ABS_X), value 3709
    Event: time 1591912629.976464, type 3 (EV_ABS), code 1 (ABS_Y), value 3429
    Event: time 1591912629.976464, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 85
    Event: time 1591912629.976464, -------------- SYN_REPORT ------------
    Event: time 1591912629.978206, type 3 (EV_ABS), code 0 (ABS_X), value 3710
    Event: time 1591912629.978206, type 3 (EV_ABS), code 1 (ABS_Y), value 3425
    Event: time 1591912629.978206, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 87
    Event: time 1591912629.978206, -------------- SYN_REPORT ------------
    Event: time 1591912629.980235, type 3 (EV_ABS), code 0 (ABS_X), value 3709
    Event: time 1591912629.980235, type 3 (EV_ABS), code 1 (ABS_Y), value 3432
    Event: time 1591912629.980235, -------------- SYN_REPORT ------------
    Event: time 1591912629.982083, type 3 (EV_ABS), code 0 (ABS_X), value 3706
    Event: time 1591912629.982083, type 3 (EV_ABS), code 1 (ABS_Y), value 3429
    Event: time 1591912629.982083, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 81
    Event: time 1591912629.982083, -------------- SYN_REPORT ------------
    Event: time 1591912629.983985, type 3 (EV_ABS), code 0 (ABS_X), value 3705
    Event: time 1591912629.983985, type 3 (EV_ABS), code 1 (ABS_Y), value 3425
    Event: time 1591912629.983985, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 82
    Event: time 1591912629.983985, -------------- SYN_REPORT ------------
    Event: time 1591912629.986010, type 3 (EV_ABS), code 0 (ABS_X), value 3707
    Event: time 1591912629.986010, type 3 (EV_ABS), code 1 (ABS_Y), value 3421
    Event: time 1591912629.986010, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 89
    Event: time 1591912629.986010, -------------- SYN_REPORT ------------
    Event: time 1591912629.988068, type 3 (EV_ABS), code 0 (ABS_X), value 3685
    Event: time 1591912629.988068, type 3 (EV_ABS), code 1 (ABS_Y), value 3417
    Event: time 1591912629.988068, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 92
    Event: time 1591912629.988068, -------------- SYN_REPORT ------------
    Event: time 1591912629.989795, type 3 (EV_ABS), code 0 (ABS_X), value 3654
    Event: time 1591912629.989795, type 3 (EV_ABS), code 1 (ABS_Y), value 3427
    Event: time 1591912629.989795, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 97
    Event: time 1591912629.989795, -------------- SYN_REPORT ------------
    Event: time 1591912629.991722, type 3 (EV_ABS), code 0 (ABS_X), value 3657
    Event: time 1591912629.991722, type 3 (EV_ABS), code 1 (ABS_Y), value 3435
    Event: time 1591912629.991722, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 98
    Event: time 1591912629.991722, -------------- SYN_REPORT ------------
    Event: time 1591912629.993718, type 3 (EV_ABS), code 0 (ABS_X), value 3666
    Event: time 1591912629.993718, type 3 (EV_ABS), code 1 (ABS_Y), value 3437
    Event: time 1591912629.993718, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 102
    Event: time 1591912629.993718, -------------- SYN_REPORT ------------
    Event: time 1591912629.995842, type 3 (EV_ABS), code 0 (ABS_X), value 3675
    Event: time 1591912629.995842, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 100
    Event: time 1591912629.995842, -------------- SYN_REPORT ------------
    Event: time 1591912629.997586, type 3 (EV_ABS), code 0 (ABS_X), value 3671
    Event: time 1591912629.997586, type 3 (EV_ABS), code 1 (ABS_Y), value 3434
    Event: time 1591912629.997586, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 101
    Event: time 1591912629.997586, -------------- SYN_REPORT ------------
    Event: time 1591912629.999550, type 3 (EV_ABS), code 0 (ABS_X), value 3669
    Event: time 1591912629.999550, type 3 (EV_ABS), code 1 (ABS_Y), value 3430
    Event: time 1591912629.999550, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 102
    Event: time 1591912629.999550, -------------- SYN_REPORT ------------
    Event: time 1591912630.001366, type 3 (EV_ABS), code 0 (ABS_X), value 3658
    Event: time 1591912630.001366, type 3 (EV_ABS), code 1 (ABS_Y), value 3433
    Event: time 1591912630.001366, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 101
    Event: time 1591912630.001366, -------------- SYN_REPORT ------------
    Event: time 1591912630.003383, type 3 (EV_ABS), code 0 (ABS_X), value 3662
    Event: time 1591912630.003383, type 3 (EV_ABS), code 1 (ABS_Y), value 3436
    Event: time 1591912630.003383, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 104
    Event: time 1591912630.003383, -------------- SYN_REPORT ------------
    Event: time 1591912630.005447, type 3 (EV_ABS), code 0 (ABS_X), value 3683
    Event: time 1591912630.005447, type 3 (EV_ABS), code 1 (ABS_Y), value 3434
    Event: time 1591912630.005447, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 101
    

  • hii

    i'm facing same issue

    i have starter kit

    ==> in sdk 5.02 touch screen working fine in board.

    ==>>while i tried with ti sdk 6.01 and 6.03 at that time touchscreen not working in matrix launcher but in terminal in lcd display at that time touch working with less accuracy

    so is there in any issue with wastern waylaynd in ti sdk 6.03 ...?

    because in ti sdk 5.02 touchscreen and LCD working fine so im thinking its software side issue rather than hardware...

    while attach USB Mouse its working fine in TI SDK 6.03