Difference between revisions of "iMX6 Rex Display Set"

From Voipac Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:iMX6 Rex Development kit]]
+
[[Category:iMX6 Rex Development Kit]]
 
[[Category:iMX6 Rex Peripherals]]
 
[[Category:iMX6 Rex Peripherals]]
 
<!-- -->
 
<!-- -->
 
<div style="float:right">__TOC__</div>
 
<div style="float:right">__TOC__</div>
  
This section shows information about the iMX6 Rex Display Set. The iMX6 Rex Development kit in this configuration is equipped with Android 4.4.2 to support LVDS display with a touchscreen layer. In this case the display is installed on the top of the iMX6 Rex Base Board.<br />
+
This section shows information about the iMX6 Rex Display Set. The iMX6 Rex Development Kit in this configuration is equipped with Android 4.4.2 to support LVDS display with a touchscreen layer. In this case the display is installed on the top of the iMX6 Rex Base Board.<br />
[[image:iMX6_Rex_Development_kit-LVDS_EDT_display_adapter-Overview.jpg|800px]]
+
[[image:iMX6_Rex_Development_Kit-LVDS_EDT_display_adapter-Overview.jpg|800px]]
  
 
== Mechanical connection ==
 
== Mechanical connection ==
When combined with the complete iMX6 Rex Development Kit, the Display Set creates a compact, ready-to-use solution. To assemble them together, the following mechanical and electrical accessories were designed and selected to be part of the Display set:
+
When combined with the complete iMX6 Rex Development Kit, the iMX6 Rex Display Set creates a compact, ready-to-use solution. To assemble them together, the following mechanical and electrical accessories were designed and selected to be part of the Display set:
 
* TFT EDT display with LVDS interface and resistive touchscreen
 
* TFT EDT display with LVDS interface and resistive touchscreen
 
* H-shaped auxiliary aluminum holder
 
* H-shaped auxiliary aluminum holder
Line 16: Line 16:
 
* necessary connectors, screws, nuts and spacers
 
* necessary connectors, screws, nuts and spacers
 
* touch pen
 
* touch pen
[[image:iMX6_Rex_Development_kit-LVDS_EDT_display_adapter-Side_view.jpg|800px]]
+
[[image:iMX6_Rex_Development_Kit-LVDS_EDT_display_adapter-Side_view.jpg|800px]]
  
 
== Hardware connection ==
 
== Hardware connection ==
To enable smooth communication between the board and the display, [https://www.voipac.com/downloads/imx/iMX6_Rex/BaseBoard/doc/iMX6_Rex_LVDS_adapter_schematic.pdf iMX6 Rex Adapter] was designed to connect the set together. To implement the display capabilities, following connections need to be made:
+
To enable smooth communication between the board and the display, [https://downloads.voipac.com/files/iMX6_Rex_Development_Kit/accessories/LVDS_EDT_display_adapter/iMX6_Rex_Development_Kit-LVDS_EDT_display_adapter_schematic.pdf iMX6 Rex Adapter] was designed to connect the set together. To implement the display capabilities, following connections need to be made:
 
* connection between LVDS Display and LVDS Adapter J1 (using a flexible flat cable)
 
* 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)
+
* 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 J40 and LVDS Adapter J3 (using LVDS and Touchscreen cable)
+
* touchscreen connection between iMX6 Rex Development Kit J40 and LVDS Adapter J3 (using LVDS and Touchscreen cable)
 
=== LVDS and Touchscreen cable ===
 
=== LVDS and Touchscreen cable ===
 
[[image:iMX6_Rex_LVDS_with_touchscreen_cable_for_ETV570G6DHU.jpg|800px]]
 
[[image:iMX6_Rex_LVDS_with_touchscreen_cable_for_ETV570G6DHU.jpg|800px]]
Line 29: Line 29:
 
iMX6 Rex Display Set is preinstalled with Android operation system enabling LVDS and touchscreen capabilities by default. Manual configuration is not necessary, but might be useful in individual cases.  
 
iMX6 Rex Display Set is preinstalled with Android operation system enabling LVDS and touchscreen capabilities by default. Manual configuration is not necessary, but might be useful in individual cases.  
 
=== LVDS manual booting ===
 
=== LVDS manual booting ===
Mannually booting with LVDS interface as a primary source for video output:
+
Manually booting with LVDS interface as a primary source for video output:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
Rex U-Boot > setenv video 'video=mxcfb0:dev=ldb,edt570,if=RGB666 video=mxcfb1:off'
 
Rex U-Boot > setenv video 'video=mxcfb0:dev=ldb,edt570,if=RGB666 video=mxcfb1:off'

Latest revision as of 12:30, 24 April 2022

This section shows information about the iMX6 Rex Display Set. The iMX6 Rex Development Kit in this configuration is equipped with Android 4.4.2 to support LVDS display with a touchscreen layer. In this case the display is installed on the top of the iMX6 Rex Base Board.
iMX6 Rex Development Kit-LVDS EDT display adapter-Overview.jpg

Mechanical connection

When combined with the complete iMX6 Rex Development Kit, the iMX6 Rex Display Set creates a compact, ready-to-use solution. To assemble them together, the following mechanical and electrical accessories were designed and selected to be part of the Display set:

  • TFT EDT display with LVDS interface and resistive touchscreen
  • H-shaped auxiliary aluminum holder
  • display adapter board
  • flat flex 33-wire cable, 127mm long
  • 20-wire display + touchscreen cable
  • necessary connectors, screws, nuts and spacers
  • touch pen

iMX6 Rex Development Kit-LVDS EDT display adapter-Side view.jpg

Hardware connection

To enable smooth communication between the board and the display, iMX6 Rex Adapter was designed to connect the set together. To implement the display capabilities, following connections need 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 J40 and LVDS Adapter J3 (using LVDS and Touchscreen cable)

LVDS and Touchscreen cable

iMX6 Rex LVDS with touchscreen cable for ETV570G6DHU.jpg

Software instructions

iMX6 Rex Display Set is preinstalled with Android operation system enabling LVDS and touchscreen capabilities by default. Manual configuration is not necessary, but might be useful in individual cases.

LVDS manual booting

Manually booting with LVDS interface as a primary source for video output:

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 ------------