BPI-M2 Magic 40 PIN GPIO Pin define

Banana Pi 40-pin GPIO:

Banana Pi has a 40-pin GPIO header that matches that of the Model B+ Raspberry Pi. Following is the Banana Pi GPIO Pinout:

GPIO Pin Name

Default Function Function2:GPIO
CON1-P01 VCC-3V3
CON1-P02 DCIN
CON1-P03 TWI1-SDA PH5
CON1-P04 DCIN
CON1-P05 TWI1-SCK PH4
CON1-P06 GND
CON1-P07 PWM1 PH1
CON1-P08 UART2-TX PB0
CON1-P09 GND
CON1-P10 UART2-RX PB1
CON1-P11 UART3_TX PH6
CON1-P12 UART2-CTS PB3
CON1-P13 UART3_RX PH7
CON1-P14 GND
CON1-P15 AP-PCM-DOUT PG12
CON1-P16 UART2-RTS PB2
CON1-P17 VCC-3V3
CON1-P18 AP-PCM-CLK PG11
CON1-P19 SPI0_MOSI PC0
CON1-P20 GND
CON1-P21 SPI0_MISO PC1
CON1-P22 AP-PCM-SYNC PG10
CON1-P23 SPI0_CLK PC2
CON1-P24 SPI0_CS PC3
CON1-P25 GND
CON1-P26 AP-PCM-DIN PG13
CON1-P27 LVDS_V0N PD19
CON1-P28 PL11-EINT11 PL11
CON1-P29 LVDS_V0P PD18
CON1-P30 GND
CON1-P31 LVDS_V1N PD21
CON1-P32 LVDS_V2N PD23
CON1-P33 LVDS_V1P PD20
CON1-P34 GND
CON1-P35 LVDS_VCN PD25
CON1-P36 LVDS_V2P PD22
CON1-P37 LVDS_VCP PD24
CON1-P38 LVDS_V3N PD27
CON1-P39 GND
CON1-P40 LVDS_V3P PD26

CSI Camera Connector specification:

The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “Camera”.

CSI Pin Name

Default Function Function2:GPIO
CN3-P01 NC
CN3-P02 GND
CN3-P03 CSI0-SDA PE13
CN3-P04 CSI0-AVDD
CN3-P05 CSI0-SCK PE12
CN3-P06 CSI0-Reset PE14
CN3-P07 CSI0-VSYNC PE3
CN3-P08 CSI0-PWDN PE15
CN3-P09 CSI0-HSYNC PE2
CN3-P10 CSI0-DVDD
CN3-P11 CSI0-DOVDD
CN3-P12 CSI0-D7 PE11
CN3-P13 CSI0-MCLK PE1
CN3-P14 CSI0-D6 PE10
CN3-P15 GND
CN3-P16 CSI0-D5 PE9
CN3-P17 CSI0-PCLK PE0
CN3-P18 CSI0-D4 PE8
CN3-P19 CSI0-D0 PE4
CN3-P20 CSI0-D3 PE7
CN3-P21 CSI0-D1 PE5
CN3-P22 CSI0-D2 PE6
CN3-P23 GND
CN3-P24 CSI0-AFVCC

Display specification

MIPI DSI (Display Serial Interface)

The display Connector is a 24-pin FPC connector which can connect external LCD panel (MIPI DSI) and touch screen (I2C) module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “DSI”.

DSI Pin Name

Default Function Function2:GPIO
CN2-P01 DSI-D0N
CN2-P02 DSI-D0P
CN2-P03 DSI-D1N
CN2-P04 DSI-D1P
CN2-P05 DSI-CKN
CN2-P06 DSI-CKP
CN2-P07 DSI-D2N
CN2-P08 DSI-D2P
CN2-P09 DSI-D3N
CN2-P10 DSI-D3P
CN2-P11 NC
CN2-P12 NC
CN2-P13 TP-SDA PH3
CN2-P14 TP-SCK PH2
CN2-P15 TP-INT PB5
CN2-P16 TP-RST PB6
CN2-P17 LCD-BL-EN PL4
CN2-P18 LCD-RST PL5
CN2-P19 LCD-PWR-EN PB7
CN2-P20 LCD-PWM PH0
CN2-P21 GND
CN2-P22 GND
CN2-P23 PS
CN2-P24 PS

UART specification:

The header CON4 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.

CON3-P1 GND
CON3-P2 UART0-RX
CON3-P3 UART0-TX

results matching ""

    No results matching ""