Using MIPI-DSI to Connect the LCD-FRD55 LCD Add-On Board Print


The i.MX 8M provides the embedded Mobile Industry Processor Interface (MIPI) - Display Serial Interface (DSI) controller. In the Emcraft i.MX 8M kit, the i.MX 8M MIPI-DSI interface port is available on the P3 (LCD Add-On) connector on the IMX8M-SOM-BSB carrier board. Refer to this page for detailed information on pin-out of the LCD Add-On connector.

This application note describes how to use the i.MX 8M MIPI-DSI interface to drive the LCD-FRD55 LCD Add-On board.

There is a dedicated Device Tree file with the LCD-FRD55 LCD Add-On board enabled in the meta-emcraft Yocto layer:
meta-emcraft/recipes-kernel/linux/linux-imx/imx8m-som-mipi-frd55.dts.

Rebuild the target images, validate as follows:

  1. Connect the DSI connector on the LCD-FRD55 LCD Add-On board to the P3 (LCD Add-On) connector on the IMX8M-SOM-BSB.
  2. Power on the IMX8M-SOM-BSB, boot the system using the above-mentioned imx8m-som-frd55.dtb. Observe the messages about successful DSI initialization in the system console:
  3. ... [ 1.924578] [drm] Initialized [ 2.278798] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.285430] [drm] No driver support for vblank timestamp query. [ 2.291466] imx-drm display-subsystem: bound imx-dcss-crtc.0 (ops dcss_ crtc_ops) [ 2.305643] nwl-mipi-dsi 30a00000.mipi_dsi_bridge: [drm:nwl_dsi_host_ attach] lanes=4, format=0x0 flags=0xc01 [ 2.315488] [drm] frd55_panel 1080x1920@50 24bpp dsi 4dl - ready [ 2.321610] imx-drm display-subsystem: bound mipi_dsi@30A00000 (ops imx_nwl_dsi_component_ops) [ 2.333967] [drm] OPIPE_CFG: gamut = 3, nl = 1, pr = 1, pix_format = 875713089 [ 3.249062] imx-drm display-subsystem: fb0: frame buffer device ...

  4. After the system boots up, the Emcraft Demo GUI Application window should be visible on the LCD-FRD55 LCD Add-On board. Use the touchscreen of LCD-FRD55 LCD Add-On board to navigate though the application's menu.

Here is a short video with the demonstration of the LCD-FRD55 LCD Add-On board.