7. mipi Screen

注解

The image of the LubanCat series board turns off the mipi screen by default, which means additional configuration is required to enable the mipi screen.

Currently our LubanCat-4 board supports three mipi screens

If you want to adapt to other screens by yourself (under the default vp allocation of Embedfire)

7.1. mipi dsi Interface

The LubanCat-4 board has two mipi dsi interfaces, which can be combined with other interfaces to form multi-screen displays.

Interface type details

  • FPC connector

  • 0.5 spacing

  • 30P

  • Turn it up and connect it under the cover

mipi dsi 0(On the back of the LubanCat-4 board)

../../_images/interface-mipi-dsi-0.png

mipi dsi 1(On the front of the LubanCat-4 board)

../../_images/interface-mipi-dsi-1.png
  • The FPC cable requirements required when connecting the Embedfire mipi screen are as follows:

  • 30P

  • Spacing 0.5mm

  • Different side

注意

The mipi dsi interface does not support hot swapping. Please do not install or uninstall the screen while powering on. Installation and uninstallation during power-on may cause the board to short-circuit, which may cause the board to shut down for protection, or damage the chip interface or burn out the chip.

7.2. Use of mipi screen

The switch of the mipi screen is configured through the configuration file. Click to jump Configuration File&Device Tree&Device Tree Plug-in

1
2
#View configuration file
cat /boot/uEnv/uEnv.txt
../../_images/cat_uEnv.png

You can see that there are two areas below the # Display in the above picture. #dsi0 in vp2 and #dsi1 in vp3

  • #dsi0 in vp2 The screen device tree plug-in in the lower area corresponds to the actual dsi0 interface.

  • #dsi1 in vp3 The screen device tree plug-in in the lower area corresponds to the actual dsi1 interface.

There will be multiple device tree plug-ins under these two areas, and these plug-ins correspond to the device tree plug-ins of each screen.

  • rk3588s-lubancat-4-xxxx-800x1280-overlay.dtbo Corresponds to the Embedfire 10.1-inch mipi screen (now on sale)

  • rk3588s-lubancat-4-xxxx-1024x600-overlay.dtbo Corresponds to the Embedfire 7.0-inch mipi screen (now on sale)

  • rk3588s-lubancat-4-xxxx-1080p-overlay.dtbo Corresponds to the Embedfire 5.5-inch mipi screen (now on sale)

7.2.1. Turn on mipi screen

Take the 5.5-inch screen with the mipi dsi0 interface enabled as an example.

1
2
#Modify configuration file
sudo vi /boot/uEnv/uEnv.txt
1
2
3
4
#dsi0 in vp2
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-800x1280-overlay.dtbo
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1024x600-overlay.dtbo
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1080p-overlay.dtbo
  • Delete the # at the beginning of the line #dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1080p-overlay.dtbo

  • Essentially, uncomment the commented #dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1080p-overlay.dtbo

1
2
3
4
#dsi0 in vp2
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-800x1280-overlay.dtbo
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1024x600-overlay.dtbo
dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1080p-overlay.dtbo

After modifying the file, you can restart to take effect.

7.2.2. Close mipi screen

Take the 7-inch screen with the mipi dsi0 interface turned off as an example

1
2
#Modify configuration file
sudo vi /boot/uEnv/uEnv.txt
1
2
3
4
#dsi0 in vp2
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-800x1280-overlay.dtbo
dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1024x600-overlay.dtbo
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1080p-overlay.dtbo
  • Add # at the beginning of the line dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1024x600-overlay.dtbo

  • Essentially, add comments to the uncommented dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1024x600-overlay.dtbo

1
2
3
4
#dsi0 in vp2
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-800x1280-overlay.dtbo
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1024x600-overlay.dtbo
#dtoverlay=/dtb/overlay/rk3588s-lubancat-4-dsi0-1080p-overlay.dtbo

After modifying the file, you can restart to take effect.