今日头条
BPI-R2集成MTK7623N 四核 ARM Cortex-A7 MP 支持主频1.3 ghz,BPI-R2 路由器提供丰富各种外设接口,包括 HDMI TX 高清接口, MIPI DSI 屏接口, PCIe2.0 接口, USB2.0 OTG 端口, USB3.0 端口, SATA 端口,5 千兆网口, 板载802.11a/b/g/n wifi 无线& BT4.1蓝牙 , 并且通过mini PCI-e支持 802.11ac/n WLAN。
BPI-R2 系统支持 Android5.1,并完善支持 OpenWRT,Debian linux,Ubuntu linux, Raspbian 和其他嵌入式操作系统. 尺寸与BPI-R1完全一样大小, 支持 1080P y高清视频输入,40 PIN GPIO 与 Raspberry Pi 3一致。
同香蕉派其他板一样,Banana Pi BPI-R2 也有40-pin GPIO 接口:
Banana Pi BPI-R2 的40 PIN GPIO 定义与树莓派 3 一亲,下面是 Banana Pi GPIO定义:
Banana pi BPI-R2 40 PIN GPIO 定义 | |||
GPIO Pin Name | Default Function | ||
CON1-P01 | VCC-3V3 | ||
CON1-P02 | VCC-5V | ||
CON1-P03 | I2C\_SDA0 | GPIO75 | |
CON1-P04 | VCC-5V | ||
CON1-P05 | I2C\_SCL0 | GPIO76 | |
CON1-P06 | GND | ||
CON1-P07 | PWM-003 | GPIO206 | |
CON1-P08 | UTXD1 | GPIO80 | |
CON1-P09 | GND | ||
CON1-P10 | URXD0 | GPIO81 | |
CON1-P11 | URXD1 | GPIO80 | |
CON1-P12 | I2S0\_BCK | GPIO74 | |
CON1-P13 | UTXD0 | GPIO79 | |
CON1-P14 | GND | ||
CON1-P15 | PWM-002 | GPIO205 | |
CON1-P16 | URTS1 | GPIO25 | |
CON1-P17 | VCC-3V3 | ||
CON1-P18 | UCTS1 | GPIO24 | |
CON1-P19 | SPI0\_MO | GPIO56 | |
CON1-P20 | GND | ||
CON1-P21 | SPI0\_MI | GPIO55 | |
CON1-P22 | PCM\_CLK | GPIO18 | |
CON1-P23 | SPI0\_CK | GPIO54 | |
CON1-P24 | SPI0\_CSN | GPIO53 | |
CON1-P25 | GND | ||
CON1-P26 | PCM\_RX | GPIO20 | |
CON1-P27 | I2C\_SDA1 | GPIO57 | |
CON1-P28 | I2C\_SCL1 | GPIO58 | |
CON1-P29 | PCM\_RST | GPIO22 | |
CON1-P30 | GND | ||
CON1-P31 | SPDIF\_OUT | GPIO200 | |
CON1-P32 | PCM\_TX | GPIO21 | |
CON1-P33 | I2S0\_MCLK | GPIO126 | |
CON1-P34 | GND | ||
CON1-P35 | I2S0\_LRCK | GPIO73 | |
CON1-P36 | PCM\_SYNC | GPIO19 | |
CON1-P37 | SPDIF\_IN1 | GPIO202 | |
CON1-P38 | I2S0\_DATA\_IN | GPIO72 | |
CON1-P39 | GND | ||
CON1-P40 | I2S0\_DATA\_OUT |
GPI049 |
有两种方式使用R2的GPIO-s:
使用调试接口/sys/devices/platform/1000b000。pinctrl/mt_gpio,参考脚本1
使用GPIO的通用接口:/sys/class/ GPIO /export和/sys/class/ GPIO /unexport,请参考脚本2
Script 1 (it can be used on Ubuntu system with kernel 4.4.x)
责任编辑:tzh
全部0条评论
快来发表一下你的评论吧 !