BPI-R1 GPIO Pin define
GPIO define
We can check R1 PIN definition in this thread, including CON1, CON2, CON3, J12 and J13.
J13 contains the default serial port UART0 (UART0-RX,UART0-TX). UATR0 is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port. So it is the most common used PIN.
J12 also contains serial port. CON3 contains CAN bus, SPI bus, PWM, serial port and etc. It can be configured to be used for kinds of peripherals.
CON1 is a CSI camera connector.
CON2 is a DSI display connector.
Pictures and tables below show the specific layout and definition of PIN.
CSI Camera Connector Pin 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.
PIN
PIN define
GPIO
CON1-P01
LINEINL
CON1-P02
LINEINR
CON1-P37
HPL
CON1-P36
HPR
CON1-P07
FMINL
CON1-P09
FMINR
CON1-P04
ADC_X1
CON1-P06
ADC_X2
CON1-P08
ADC_Y1
CON1-P10
ADC_Y2
CON1-P13
LRADC0
CON1-P15
LRADC1
CON1-P33
RESET#
CON1-P17
CSI0-D0
PE4
CON1-P19
CSI0-D1
PE5
CON1-P21
CSI0-D2
PE6
CON1-P23
CSI0-D3
PE7
CON1-P25
CSI0-D4
PE8
CON1-P27
CSI0-D5
PE9
LVDS Pin specification
LVDS (LCD display interface)
The LVDS Connector is a 40-pin FPC connector which can connect external LCD panel (LVDS) and touch screen (I2C) module as well. The pin definitions of this connector are shown as below.
CON2-P09
LCD0-D00
PD0
CON2-P11
LCD0-D01
PD1
CON2-P13
LCD0-D02
PD2
CON2-P15
LCD0-D03
PD3
CON2-P17
LCD0-D04
PD4
CON2-P19
LCD0-D05
PD5
CON2-P21
LCD0-D06
PD6
CON2-P23
LCD0-D07
PD7
CON2-P25
LCD0-D08
PD8
CON2-P27
LCD0-D09
PD9
CON2-P29
LCD0-D10
PD10
CON2-P31
LCD0-D11
PD11
CON2-P33
LCD0-D12
PD12
CON2-P35
LCD0-D13
PD13
CON2-P37
LCD0-D14
PD14
CON2-P39
LCD0-D15
PD15
CON2-P40
LCD0-D16
PD16
CON2-P38
LCD0-D17
PD17
CON2-P36
LCD0-D18
PD18
CON2-P34
LCD0-D19
PD19
BPI-R1 has a 26-pin GPIO header that matches that of the Model Raspberry Pi. Following is the Banana Pi GPIO Pinout:
CON3-P18
CAN_RX
PH21
CON3-P16
CAN_TX
PH20
CON3-P23
SPI0_CLK
PI11
CON3-P21
SPI0_MISO
PI13
CON3-P19
SPI0_MOSI
PI12
CON3-P24
SPI0_CS0
PI10
CON3-P26
SPI0_CS1
PI14
CON3-P05
TWI2-SCK
PB20
CON3-P03
TWI2-SDA
PB21
CON3-P15
UART2_CTS
PI17
CON3-P22
UART2_RTS
PI16
CON3-P11
UART2_RX
PI19
CON3-P13
UART2_TX
PI18
CON3-P10
UART3_RX
PH1
CON3-P08
UART3_TX
PH0
CON3-P12
PH2
PH2
CON3-P07
PWM1
PI3
CON3-P01
VCC-3V3
CON3-P17
VCC-3V3
CON3-P02
VCC-5V
BPI-R1 UART define
J12-P03
PH5
PH5
J12-P05
PH3
PH3
J12-P04
UART7_RX
PI21
J12-P06
UART7_TX
PI20
J12-P01
VCC-5V
J12-P02
VCC-3V3
J12-P07
GND
J12-P08
GND
J13-P01
UART0-RX
PB23
J13-P02
UART0-TX
PB22
Copy link