Difference between revisions of "Newhaven LVDS Capacitive Display Set"

From Voipac Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
=== LVDS and Touchscreen cable ===
 
=== LVDS and Touchscreen cable ===
 
[[image:imx8m_LVDS_with_touchscreen_cable_for_NHD.jpg|800px]]
 
[[image:imx8m_LVDS_with_touchscreen_cable_for_NHD.jpg|800px]]
 +
=== Hardware jumpers Newhaven LVDS ===
 +
Make sure that configurable 0R resistor are moved to Newhaven LVDS0 interface
 +
[[image:LVDS0 NH jumpers.png|800px]]
  
 
== Software instructions ==
 
== Software instructions ==

Revision as of 09:58, 23 July 2022

This section shows information about the Newhaven LVDS Capacitive Display Set. The iMX8M Industrial Development Kit in this configuration is equipped with Yocto dunfell, kernel 5.4 to support LVDS display with a touchscreen layer. In this case the display is installed on the top of the iMX8M Development Baseboard.
800px

Mechanical connection

When combined with the complete iMX8M Industrial 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:

  • TFT LCD 1024x600 Pixels display with LVDS interface and Capacitive Touch with SiS9509 controller
  • 4x Hex Standoff Threaded M3 30.00mm long [Manufacturer PN: 971300321]
  • 40 Position flat flex cable 50.80mm long [Manufacturer PN: 0150200427]
  • 6 pin touchscreen flat flex cable
  • necessary spacers

800px

Hardware connection

To enable smooth communication between the board and the display, connect the 40 Position FFC cable for LCD and 6 pin touchscreen FFC cable. To implement the display capabilities, following connections need to be made:

  • connection between LVDS Display and iMX8M Development Baseboard connector LVDS0 NHD (J12) using a 40 Position FFC cable
  • touchscreen connection between iMX8M Development Baseboard connector NHD Touch (J13) and Touchscreen 6 pin FFC cable

LVDS and Touchscreen cable

imx8m LVDS with touchscreen cable for NHD.jpg

Hardware jumpers Newhaven LVDS

Make sure that configurable 0R resistor are moved to Newhaven LVDS0 interface LVDS0 NH jumpers.png

Software instructions

iMX8M Industrial kit is preinstalled with Yocto dunfell operation system enabling LVDS and touchscreen capabilities by default. Manual configuration is necessary, Devicetree in U-Boot have to by set to NHD LVDS0 LCD.

LVDS0 NHD Devicetree in U-Boot

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

Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
u-boot=>
u-boot=>
u-boot=>
u-boot=>
u-boot=>
u-boot=> fatls mmc 0:1
 27787776   Image
    48586   imx8mq-evk-voipac-dp.dtb
    48793   imx8mq-evk-voipac-hdmi.dtb
    49194   imx8mq-evk-voipac-lvds-koe.dtb
    49198   imx8mq-evk-voipac-lvds-newhaven.dtb

5 file(s), 0 dir(s)

u-boot=> setenv fdt_file imx8mq-evk-voipac-lvds-newhaven.dtb
u-boot=> saveenv
Saving Environment to MMC... Writing to MMC(0)... OK
u-boot=>
u-boot=> boot

.

Touchscreen test

Default Voipac iMX8M Image contain evtest utility to catch touchscreen events. Make sure SiS9509 controller is detected and bound as input device:

root@imx8mq-voipac:~# dmesg | grep -i SiS9509 
input: ----------
evbug: ----------

Touchscreen events are generated after touching capacitive touch screen.

root@imx8mq-voipac:~# evtest /dev/input/by-path/platform-21a4000.i2c-event 
-
-
--
---
---
--
-
-