BPI-M3 GPIO Pin define

GPIO specification

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 Function3
CON1-P01 VCC-3V3
CON1-P02 DCIN
CON1-P03 TWI2-SDA PH5-EINT5
CON1-P04 DCIN  
CON1-P05 TWI2-SCK PH4-EINT4
CON1-P06 GND
CON1-P07 S-PWM PL10-S-EINT10
CON1-P08 UART2-TX PB0-EINT0
CON1-P09 GND
CON1-P10 UART2-RX PB1-EINT1
CON1-P11 PC4 PC4
CON1-P12 UART2-CTS PB3-EINT3
CON1-P13 PC7 PC7
CON1-P14 GND
CON1-P15 PC17 PC17
CON1-P16 UART2-RTS PB2-EINT2
CON1-P17 VCC-3V3
CON1-P18 PL8-ENT8 PL8-S-ENT8
CON1-P19 SPI0_MOSI PC0
CON1-P20 GND
CON1-P21 SPI0_MISO PC1
CON1-P22 PL9-EINT9 PL9-S-EINT9
CON1-P23 SPI0_CLK PC2
CON1-P24 SPI0_CS PC3
CON1-P25 GND
CON1-P26 PH10-ENT10 PH10-ENT10
CON1-P27 TWI1-SDA PH3-EINT3
CON1-P28 TWI1-SCK PH2-EINT2
CON1-P29 PC18 PC18
CON1-P30 GND
CON1-P31 I2S1-BCLK PG10-EINT10 UART3-TX
CON1-P32 I2S1-DIN PG13-EINT13 UART3-CTS
CON1-P33 I2S1-LRCK PG11-EINT11 UART3-RX
CON1-P34 GND
CON1-P35 I2S1-DOUT PG12-EINT12 UART3-RTS
CON1-P36 PE5 PE5
CON1-P37 PE4 PE4
CON1-P38 OWA-DOUT PE18
CON1-P39 GND
CON1-P40 PE19 PE19

CSI Camera Connector specification:

CSI Camera Connector:

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 “CSI”.

CSI Pin Name Default Function Function2:GPIO
CN7-P01 IPSOUT
CN7-P02 AFVCC
CN7-P03 IPSOUT
CN7-P04 IOVDD
CN7-P05 GND
CN7-P06 GND
CN7-P07 CSI2-D3N
CN7-P08 AVDD-CSI
CN7-P09 CSI2-D3P
CN7-P10 DVDD-CSI-R
CN7-P11 GND
CN7-P12 NC
CN7-P13 CSI2-D2N
CN7-P14 CSI-RST-R PE16
CN7-P15 CSI2-D2P
CN7-P16 CSI-STBY-R PE17
CN7-P17 GND
CN7-P18 CSI-PCLK PE0
CN7-P19 CSI2-CKN
CN7-P20 CSI-MCLK PE1
CN7-P21 CSI2-CKP
CN7-P22 CSI-HSYNC PE2
CN7-P23 GND
CN7-P24 CSI-VSYNC PE3
CN7-P25 CSI2-D1N
CN7-P26 CSI-D9 PE13
CN7-P27 CSI2-D1P
CN7-P28 CSI-D8 PE12
CN7-P29 GND
CN7-P30 CSI-D7 PE11
CN7-P31 CSI2-D0N
CN7-P32 CSI-D6 PE10
CN7-P33 CSI2-D0P
CN7-P34 CSI-D5 PE9
CN7-P35 GND
CN7-P36 CSI-D4 PE8
CN7-P37 CSI-SCK PE14
CN7-P38 CSI-D3 PE7
CN7-P39 CSI-SDA PE15
CN7-P40 CSI-D2 PE6

Display specification

MIPI DSI (Display Serial Interface):

The display Connector is a 40-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
CN6-P01 VCC-MIPI
CN6-P02 IPSOUT
CN6-P03 VCC-MIPI
CN6-P04 IPSOUT
CN6-P05 GND
CN6-P06 IPSOUT
CN6-P07 GND
CN6-P08 IPSOUT
CN6-P09 NC
CN6-P10 GND
CN6-P11 NC
CN6-P12 DSI-D0N
CN6-P13 NC
CN6-P14 DSI-D0P
CN6-P15 NC
CN6-P16 GND
CN6-P17 TWI0-SDA PH1-EINT1
CN6-P18 DSI-D1N
CN6-P19 TWI0-SCK PH0-EINT0
CN6-P20 DSI-D1P
CN6-P21 TP-INT PL7-S-EINT7
CN6-P22 GND
CN6-P23 TP-RST PL6-S-EINT6
CN6-P24 DSI-CKN
CN6-P25 GND
CN6-P26 DSI-CKP
CN6-P27 LCD-BL-EN PD29
CN6-P28 GND
CN6-P29 LCD-RST PD26
CN6-P30 DSI-D2N
CN6-P31 LCD-PWR-EN PD27
CN6-P32 DSI-D2P
CN6-P33 GND
CN6-P34 GND
CN6-P35 LCD-PWM PD28
CN6-P36 DSI-D3N
CN6-P37 GND
CN6-P38 DSI-D3P
CN6-P39 AP-RESET#
CN6-P40 GND

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.

CON2 Pin Name Default Function GPIO
CON2 P03 UART0-TXD PB9
CON2 P02 UART0-RXD PB10
CON2 P01 GND

results matching ""

    No results matching ""