DSI usage
tip
This tutorial uses Raspberry Pi 4B as an example
Note
- It is recommended to use the
bookworm
version of the Raspberry Pi system
Raspberry Pi system
- There are pre-packaged system images available, which have been tested for DSI screen display and touch
- Tip: Screen configuration is required System image
Reference wiring
Note
Please pay attention to the direction of the GPIO pins
- DSI core module wiring
- Raspberry Pi wiring
Raspberry Pi configuration
- Raspberry Pi 4B/3B using DSI interface
- Raspberry Pi 5B using Mipi interface
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: