Pinouts & Connectors
DSI Connector Types
Section titled “DSI Connector Types”The Raspberry Pi ecosystem uses two DSI connector sizes:
| Connector | Pin Count | Pitch | Used By |
|---|---|---|---|
| Standard | 15-pin | 1.0mm | Pi 4B, 3B+, 3B, 3A+ |
| Compact | 22-pin | 0.5mm | Pi 5, CM5, CM4, CM3+, Zero |
15-Pin DSI Connector (Pi 3/4)
Section titled “15-Pin DSI Connector (Pi 3/4)”Used on Raspberry Pi 4B, 3B+, 3B, 3A+:
| Pin | Signal | Description |
|---|---|---|
| 1 | GND | Ground |
| 2 | DSI_D1_N | Data Lane 1 Negative |
| 3 | DSI_D1_P | Data Lane 1 Positive |
| 4 | GND | Ground |
| 5 | DSI_CLK_N | Clock Negative |
| 6 | DSI_CLK_P | Clock Positive |
| 7 | GND | Ground |
| 8 | DSI_D0_N | Data Lane 0 Negative |
| 9 | DSI_D0_P | Data Lane 0 Positive |
| 10 | GND | Ground |
| 11 | SCL | I2C Clock |
| 12 | SDA | I2C Data |
| 13 | GND | Ground |
| 14 | NC | Not Connected |
| 15 | 3.3V | Logic Power |
22-Pin DSI/CSI Connector (Pi 5/CM)
Section titled “22-Pin DSI/CSI Connector (Pi 5/CM)”Used on Raspberry Pi 5, CM5, CM4, CM3+, and Zero:
The 22-pin connector is bidirectional and can function as either DSI (display) or CSI (camera). Key characteristics:
- 4 data lanes (vs 2 on 15-pin)
- Bidirectional D-PHY lines
- CAM_GPIO for additional control
- I2C for touch controller communication
GPIO Assignments (Pi 5)
Section titled “GPIO Assignments (Pi 5)”| Port | GPIO for Control |
|---|---|
| DISP0 | RP1 GPIO 34 |
| DISP1 | RP1 GPIO 46 |
Power Connector
Section titled “Power Connector”The display has a separate 2-pin power connector that must be connected to the GPIO header:
| Display Pin | GPIO Header | Function |
|---|---|---|
| + (Red) | Pin 2 or 4 | 5V Power |
| - (Black) | Pin 6, 9, 14, etc. | Ground |
GPIO Header Reference
Section titled “GPIO Header Reference” 3.3V [1] [2] 5V ← Use for display power GPIO2/SDA [3] [4] 5V ← Or here GPIO3/SCL [5] [6] GND ← Ground ...Cable Insertion
Section titled “Cable Insertion”FFC Cable (22-pin)
Section titled “FFC Cable (22-pin)”- Pull the locking tab forward (away from the board)
- Insert cable with metal contacts facing you
- Push locking tab back to secure
DSI Ribbon (15-pin)
Section titled “DSI Ribbon (15-pin)”- Lift the locking tab upward
- Insert cable with blue side facing the USB ports
- Press locking tab down firmly
Signal Voltages
Section titled “Signal Voltages”| Signal Type | Voltage Levels |
|---|---|
| MIPI D-PHY LP | 0V and 1.2V |
| MIPI D-PHY HS | 100mV and 300mV |
| I2C | 3.3V |
| GPIO | 3.3V |
Touch Controller I2C
Section titled “Touch Controller I2C”The GT9271 touch controller communicates via I2C:
| Parameter | Value |
|---|---|
| I2C Address | 0x14 or 0x5D |
| Bus | DSI I2C (not GPIO I2C) |
| Speed | Standard (100kHz) |
Verify touch controller detection:
i2cdetect -y 10 # DSI I2C bus