iMX6 Rex Display Set

From Voipac Wiki
Revision as of 15:56, 22 March 2021 by Voipac (talk | contribs) (Created page with "Category:iMX6 Rex Development kit <!-- --> <div style="float:right">__TOC__</div> This section will show information about iMX6 Rex Display Set which contains of iMX6 Dev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This section will show information about iMX6 Rex Display Set which contains of iMX6 Development kit equipped with Android 4.4.2 by default and LVDS display with a touchscreen layer.

Hardware connection

To enable smooth communication between the board and the display, the adapter was designed to connect the set together. To implement the display capabilities, following connection have to be made:

  • connection between LVDS Display and LVDS Adapter J1 (using a flexible flat cable)
  • LVDS Interface and power connection between iMX6 Rex Development kit J41 and LVDS Adapter J2 (using LVDS and Touchscreen cable)
  • touchscreen connection between iMX6 Rex Development kit J41 and LVDS Adapter J3 (using LVDS and Touchscreen cable)

Software instructions

iMX6 Rex Display Set with preinstalled Andoid operation system with LVDS and touchscreen capabilities interacting with OS user inferface. Manual configuration is not necessary, but might be useful in individual cases.

LVDS manual booting

In case LVDS needs to be used and set up manually, U-Boot parameter should be changed:

Rex U-Boot > setenv video 'video=mxcfb0:dev=ldb,edt570,if=RGB666 video=mxcfb1:off'
Rex U-Boot > boot

Touchscreen test

Make sure TSC2007 chip is detected and bound as input device:

root@imx6-rexultra:~# dmesg | grep -i tsc2007
input: TSC2007 Touchscreen as /devices/soc0/soc.0/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input0
evbug: Connected device: input0 (TSC2007 Touchscreen at 1-0048/input0)

Touchscreen events are generated after pressing the resistive layer:

root@imx6-rexultra:~# evtest /dev/input/by-path/platform-21a4000.i2c-event 
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "TSC2007 Touchscreen"
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   3529
      Min        0
      Max     4095
    Event code 1 (ABS_Y)
      Value    375
      Min        0
      Max     4095
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max     4095
Properties:
Testing ... (interrupt to exit)
Event: time 1457899907.959665, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1457899907.959665, type 3 (EV_ABS), code 0 (ABS_X), value 1657
Event: time 1457899907.959665, type 3 (EV_ABS), code 1 (ABS_Y), value 2486
Event: time 1457899907.959665, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 3268
Event: time 1457899907.959665, -------------- EV_SYN ------------
Event: time 1457899907.969094, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1457899907.969094, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1457899907.969094, -------------- EV_SYN ------------