DSI Usage
tip
This tutorial uses Raspberry Pi 4B as an example.
Notes
- It is recommended to use the
bookworm
version of the Raspberry Pi OS.
Raspberry Pi OS
- Here is a pre-packaged system image that has been tested for DSI screen display and touch functionality.
- Note: Screen configuration is required. System Image
Reference Wiring
Notes
Please pay attention to the direction of the gold fingers.
- DSI core board wiring
- Raspberry Pi wiring
Raspberry Pi Configuration
- Using DSI interface with Raspberry Pi 4B/3B
- Using Mipi interface with Raspberry Pi 5B
DSI Usage
- After the image writing is completed, enter /boot/config.txt and add the following command
dtoverlay=vc4-kms-dsi-7inch
- Save and exit
Raspberry Pi 5 with MIPI
tip
FLY_MIPI is a special adapter module designed for Raspberry Pi 5, which can be used directly with DSI and CSI devices through the adapter.
Wiring for Raspberry Pi 5 with MIPI
Note
- The DSI and CSI interfaces on Raspberry Pi 5 are now called MIPI.
- The MIPI interface can be used directly with CSI cameras or DSI screens through configuration.
- Please pay attention to the direction of the gold fingers.
- Raspberry Pi 5 now has two MIPI interfaces. If you look at it from the front, you can see markings 1 and 0.
Wiring for DSI Screen
- If using the 1st interface, configure the screen as follows:
dtoverlay=vc4-kms-dsi-7inch,dsi1
- If using the 0th interface, configure the screen as follows:
dtoverlay=vc4-kms-dsi-7inch,dsi0
- Reference wiring:
Wiring for CSI Camera
-
Please note that the camera model needs to be configured according to the one you purchased. This tutorial uses imx219 as an example.
-
If using the left MIPI interface, configure the camera as follows:
dtoverlay=imx219,cam1
- If using the right MIPI interface, configure the camera as follows:
dtoverlay=imx219,cam0
- Reference wiring: