Difference between revisions of "Banana Pi BPI-W2"

From Banana Pi Wiki
Jump to: navigation, search
(BPI-W2 GPIO PIN define)
(BPI-W2 GPIO PIN define)
Line 106: Line 106:
 
| CON1-P06 || GND ||
 
| CON1-P06 || GND ||
 
|-
 
|-
| CON1-P07 || PWM0\_0 || IGPIO\_21 |
+
| CON1-P07 || PWM0\_0 || IGPIO21
 
|-
 
|-
| CON1-P08 || UR2\_TX | IGPIO3 |
+
| CON1-P08 || UR2\_TX || IGPIO3  
 
|-
 
|-
| CON1-P09 || GND | |
+
| CON1-P09 || GND ||  
 
|-
 
|-
| CON1-P10 || UR2\_RX | IGPIO2 |
+
| CON1-P10 || UR2\_RX || IGPIO2  
 
|-
 
|-
| CON1-P11 || GPIO17 | GPIO17 |
+
| CON1-P11 || GPIO17 || GPIO17  
 
|-
 
|-
| CON1-P12 || AO\_BCK | GPIO58 |
+
| CON1-P12 || AO\_BCK || GPIO58  
 
|-
 
|-
| CON1-P13 ||I2C3\_SDA | GPIO25 |
+
| CON1-P13 ||I2C3\_SDA || GPIO25  
 
|-
 
|-
| CON1-P14 || GND | |
+
| CON1-P14 || GND ||
 
|-
 
|-
| CON1-P15 ||I2C3\_SCL | GPIO27 |
+
| CON1-P15 ||I2C3\_SCL || GPIO27  
 
|-
 
|-
| CON1-P16 || UR2\_RTS | IGPIO5 |
+
| CON1-P16 || UR2\_RTS || IGPIO5  
 
|-
 
|-
| CON1-P17 || VCC-3V3 | |
+
| CON1-P17 || VCC-3V3 ||  
 
|-
 
|-
| CON1-P18 || UR2\_CTS | IGPIO4 |
+
| CON1-P18 || UR2\_CTS || IGPIO4  
 
|-
 
|-
| CON1-P19 || G\_MOSI | GPIO7 |
+
| CON1-P19 || G\_MOSI || GPIO7  
 
|-
 
|-
| CON1-P20 || GND | |
+
| CON1-P20 || GND ||
 
|-
 
|-
| CON1-P21 || G\_MISO | GPIO4 |
+
| CON1-P21 || G\_MISO || GPIO4  
 
|-
 
|-
| CON1-P22 || IR\_TX | IGPIO9 |
+
| CON1-P22 || IR\_TX || IGPIO9  
 
|-
 
|-
| CON1-P23 || G\_SCK | GPIO5 |
+
| CON1-P23 || G\_SCK || GPIO5  
 
|-
 
|-
| CON1-P24 || G\_CS | GPIO6 |
+
| CON1-P24 || G\_CS || GPIO6  
 
|-
 
|-
| CON1-P25 || GND | |
+
| CON1-P25 || GND ||  
 
|-
 
|-
| CON1-P26 || GPIO8 | GPIO8 |
+
| CON1-P26 || GPIO8 || GPIO8  
 
|-
 
|-
| CON1-P27 || I2C4\_SDA | GPIO12 |
+
| CON1-P27 || I2C4\_SDA || GPIO12  
 
|-
 
|-
| CON1-P28 || I2C4\_SCL | GPIO11 |
+
| CON1-P28 || I2C4\_SCL || GPIO11  
 
|-
 
|-
| CON1-P29 || GPIO100 | GPIO100 |
+
| CON1-P29 || GPIO100 || GPIO100  
 
|-
 
|-
| CON1-P30 || GND | |
+
| CON1-P30 || GND ||
 
|-
 
|-
| CON1-P31 || AI\_CK | GPIO21 |
+
| CON1-P31 || AI\_CK || GPIO21  
 
|-
 
|-
| CON1-P32 || SPDIF | GPIO54 |
+
| CON1-P32 || SPDIF || GPIO54  
 
|-
 
|-
| CON1-P33 || AO\_CK | GPIO59 |
+
| CON1-P33 || AO\_CK || GPIO59  
 
|-
 
|-
| CON1-P34 || GND | |
+
| CON1-P34 || GND ||
 
|-
 
|-
| CON1-P35 || AO\_LRCK | GPIO57 |
+
| CON1-P35 || AO\_LRCK || GPIO57  
 
|-
 
|-
| CON1-P36 || AI\_BCK | GPIO22 |
+
| CON1-P36 || AI\_BCK || GPIO22  
 
|-
 
|-
| CON1-P37 || AI\_LRCK | GPIO23 |
+
| CON1-P37 || AI\_LRCK || GPIO23  
 
|-
 
|-
| CON1-P38 || AI\_SDO | GPIO24 |
+
| CON1-P38 || AI\_SDO || GPIO24  
 
|-
 
|-
| CON1-P39 || GND | |
+
| CON1-P39 || GND ||
 
|-
 
|-
| CON1-P40 || AO\_D0 | GPIO60 |
+
| CON1-P40 || AO\_D0 || GPIO60  
 
|-  
 
|-  
 
|}
 
|}

Revision as of 05:40, 5 May 2018

Introduction

The Banana Pi BPI-W2 is a router based development board, which can run on a variety of open source operating systems including OpenWrt, Android, and linux. It has 1 Gigabit LAN ports, 1 Gigabit WAN.

Key Features

  • Realtek RTD1296, Quad-core ARM Cortex-A53
  • Mali T820 MP3 GPU
  • 2G DDR4 SDRAM
  • Mini PCIE 2.0 , 1.1 interface ,SDIO,M.2 intereface
  • 2 SATA interface
  • 1XGigabit LAN 1x Gigabit WAN
  • HDMI in & HDMI out
  • Mini DP

Hardware

Hardware interfact

W2interface.jpg

Hardware spec

HardWare Specification of Banana pi BPI-R2
Soc Realtek RTD1296 quad-core ARM A53
GPU Mali T820 MP3 GPU
SDRAM 2GB DDR4 \(shared with GPU\)
Power 12V @ 2A via DC power
Features
Low-level peripherals 40 Pins Header, 28×GPIO, some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S.
Onboard Network 2x 10/100/1000Mbps Ethernet
Wifi/Bluetooth **Option** ,not support onboard WIFI & BT
RGMII 1 RGMII interface with PIN
On board Storage MicroSD \(TF\) card, 2 SATA 6Gbps ,eMMC,SIM card slot
Display HDMI \(Type A\) output with HDCP 1.4, resolutions up 1920x1200; MIPI DP
Video decoder/encode The Video DSP of RTD1296 is dedicated to manipulating,decoding and encoding of video streams in various formats, e.g. decoding 4K2K H.265,Full HD MPEG1/2/4/H.264/H.264 MVC,AVC/VC-1,VP8,AVS,AVS Plus,HD jpeg,etc.Video decoding and encoding can run simultaneously. support 3D de-intrlacing,video scaling up to 4K2K and so on.
Aideo decoding Audio decoding is carried out by an Audio DSP that is capable of decoding a set of audio formats,e.g. DTS HD,Dolby Digital Plus,TrueHD,and other popular formats.the Audio DSP also performs audio post processing
Audio support two audio device HDMI and headphone, also support Audio In/Out with PIN define. support 2 MIC in
HDMI Out/In 1\* HDMI out port and 1\* HDMI In port
Audio outputs/Inputs HDMI, I2S audio,Audio micro out, Audio out/in with PIN define
M.2 KEY E:PCIE 2.0/USB 2.0 1 pcie 2.0 interface
M.2 KEY E:PCIe 1.1 / SDIO / USB 2.0 1 pcie 1.1 and SDIO interface
USB 3.0 1x USB 3.0 host
USB 2.0 2x USB 2.0 OTG, 1 with standard USB port , 1 define with PIN
M.2 KEY B 1 * M.2 interface USB 2.0 for 4G with Micro SIM card slot
Mini DP 1* Mini DP
TYPE C 1 type C interface
RTC battery RTC battery power interface
Buttons Reset button, Power button, U-boot button
Leds Red, Green, Blue
Other IR reciever
Sizes 148 mm × 100.5mm
Weight 100g

BPI-W2 GPIO PIN define

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

Banana Pi BPI-W2 40-pin GPIO
GPIOPinName DefaultFunction Function2:GPIO
CON1-P01 VCC-3V3
CON1-P02 5VD
CON1-P03 I2C5\_SCL GPIO13
CON1-P04 5VD
CON1-P05 I2C5\_SDA GPIO14
CON1-P06 GND
CON1-P07 PWM0\_0 IGPIO21
CON1-P08 UR2\_TX IGPIO3
CON1-P09 GND
CON1-P10 UR2\_RX IGPIO2
CON1-P11 GPIO17 GPIO17
CON1-P12 AO\_BCK GPIO58
CON1-P13 I2C3\_SDA GPIO25
CON1-P14 GND
CON1-P15 I2C3\_SCL GPIO27
CON1-P16 UR2\_RTS IGPIO5
CON1-P17 VCC-3V3
CON1-P18 UR2\_CTS IGPIO4
CON1-P19 G\_MOSI GPIO7
CON1-P20 GND
CON1-P21 G\_MISO GPIO4
CON1-P22 IR\_TX IGPIO9
CON1-P23 G\_SCK GPIO5
CON1-P24 G\_CS GPIO6
CON1-P25 GND
CON1-P26 GPIO8 GPIO8
CON1-P27 I2C4\_SDA GPIO12
CON1-P28 I2C4\_SCL GPIO11
CON1-P29 GPIO100 GPIO100
CON1-P30 GND
CON1-P31 AI\_CK GPIO21
CON1-P32 SPDIF GPIO54
CON1-P33 AO\_CK GPIO59
CON1-P34 GND
CON1-P35 AO\_LRCK GPIO57
CON1-P36 AI\_BCK GPIO22
CON1-P37 AI\_LRCK GPIO23
CON1-P38 AI\_SDO GPIO24
CON1-P39 GND
CON1-P40 AO\_D0 GPIO60

UART specification:

Theheader CON3 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.

| BPI-W2 Debug UART \(CON3\) | | | | :--- | :--- | :--- | | CON2-P1 | GND | | | CON2-P2 | UART0-RX | | | CON2-P3 | UART0-TX | |

Development

Basic Development