Difference between revisions of "Banana Pi BPI-P2 Pro"

From Banana Pi Wiki
Jump to: navigation, search
(Hardware spec)
(Debian)
 
(70 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
[[File:Banana_Pi_BPI-P2_Pro_1.jpg|thumb|[[Banana Pi BPI-P2 Pro]] with Rockchip RK3308]]
 
[[File:Banana_Pi_BPI-P2_Pro_1.jpg|thumb|[[Banana Pi BPI-P2 Pro]] with Rockchip RK3308]]
 
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H2+ chip]]
 
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H2+ chip]]
 +
[[File:Zero_wih_H3_1.jpg|thumb|Overview zero with Allwinner H3 chip]]
 +
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]
 +
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]
 +
[[File:BPi-9600 Poe 4.jpg|thumb|[[BPI-9600 IEEE 802.3af PoE module]](5V 2A)]]
 +
[[File:BPI-7402_IEEE_802.3at_PoE_module_1.jpg|thumb|[[BPI-7402 IEEE 802.3at PoE module]]]]
  
Banana Pi BPI-P2 Pro is an ultra compact single board computer measures only 65mm*52.5mm. It uses 64bits quad-core Arm Cortex-A35 Rockchip RK3308 processor, with 2G RAM memory.8G eMMC flash,100M LAN,add PoE function support ,Wifi & Bluetooth onboard, It's ideal for light-weight systems with some space-limited applications. Like other members of Banana Pi, it supports both linux and android operating system.  
+
[[File:Banana_Pi_BPI-P2_Pro_banner_1.jpg]]
  
 +
Banana Pi BPI-P2 pro(Armsom Pro) is a development board based on RK3308B-S chip. With a high-performance 4-core ARM Cortex-A35 processor, 512M RAM(16bit DDR2/DDR3/DDR3L/LPDDR2). and 8G eMMC onboard ,support PoE function.The chip has a wealth of interfaces, such as I2S,PCM,TDM, I2C,UART,SPDIF,HDMI ARC, etc., to meet the application of different products. RK3308 has a rich voice interface, its own eight ADC interface, multi-channel I2S and multi-channel PDM interface. This not only provides customers with a wealth of interface choices, but also can reduce the hardware design difficulty and hardware design cost of products.
  
 +
Banana Pi BPI-P2 Pro has 512MB DDR3 memory size, operating system and storage can use SD card or emmc. BPI-P2 Pro is available as an onboard storage version with 1Gb/2Gb/4Gb/8Gb NAND flash
 +
 +
==Application direction==
 +
* Maker DIY
 +
*IoT Smart Internet of Things
 +
*Intelligent speech recognition
 +
*Man-machine interface
 +
*Industrial control
 +
*Intelligent robot
  
 
==Key Features==
 
==Key Features==
  
* CPU: 64bits Quad-core Arm Cortex-A35 Rockchip RK3308.
+
* CPU: 64bits Quad-core Arm Cortex-A35 Rockchip RK3308B-S
* 2G LPDDR2 SDRAM.
+
* 512 DDR3 SDRAM
* 8G eMMC flash onboard.
+
* 8G eMMC flash onboard
* WiFi (AP6255) & Bluetooth onboard.
+
* WiFi&BT: 802.11 a/b/g/n/ac & BT5.0 (AP6256)
* 40 PIN GPIO,It includes UART, SPI, I2C, IO etc
+
* 40 PIN GPIO, includes UART, SPI, I2C, IO etc
 
* 100M LAN  
 
* 100M LAN  
 
* IEEE 802.3af PoE standard PoE module support
 
* IEEE 802.3af PoE standard PoE module support
 +
* Audio: Supports rich audio interfaces, such as MIC/PDM/SPDIF/I2S
  
 
==Getting Start==
 
==Getting Start==
::Quick strart your BPI-M2 zero : [[Quick Start Banana pi SBC]]
+
:[https://docs.banana-pi.org/en/BPI-P2_Pro/GettingStarted_BPI-P2_Pro Getting Start with BPI-P2 Pro]
::How to development : [[Getting Start with BPI-P2 Pro]]
 
  
 
=Hardware=
 
=Hardware=
Line 28: Line 43:
  
 
==Hardware spec==
 
==Hardware spec==
 +
 +
{| class="wikitable"
 +
|
 +
|Banana Pi BPI-P2 pro
 +
|-
 +
|SOC ||RockChip RK3308B-S
 +
|-
 +
|CPU ||Quad-core ARM Cortex-A35
 +
|-
 +
|GPU ||none
 +
|-
 +
|ROM ||512MB
 +
|-
 +
|RAM
 +
|8GB eMMC
 +
|-
 +
|TF Card ||TF card (Max 64GB)
 +
|-
 +
|Network ||100M LAN
 +
|-
 +
|PoE power ||PoE function support,Output Voltage 5V, Output Power 10W
 +
|-
 +
|WiFi ||AP6256
 +
|-
 +
|Audio Output ||With built-in audio CODEC, including ADC×8 and DAC×2
 +
|-
 +
|Power Source ||TYPE C 5V/2A or PoE power
 +
|-
 +
|USB ||1xUSB 2.0
 +
1xType-C
 +
|-
 +
|Others|| Fan、RTC、LED、debug
 +
|-
 +
|Button ||Power Button、Reset Button、 Recovery Button、Root Button
 +
|-
 +
|Low-level peripherals  ||40 Pin + 12 Pin
 +
|-
 +
|uart GPIO\(1x3\) pin ||UART, ground
 +
|-
 +
|LED ||Power led & Status led
 +
|-
 +
|Product size ||65mm X 52.5mm
 +
|-
 +
|Weight ||30g
 +
|}
 +
 +
 +
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 38: Line 101:
 
|GPU ||NOPE || Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0|| Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0 ||VideoCore IV
 
|GPU ||NOPE || Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0|| Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0 ||VideoCore IV
 
|-
 
|-
| Memory \(SDRAM\) ||2G|| 512M DDR3(shared with GPU)||512M DDR3(shared with GPU) ||512 MB DDR2
+
| Memory \(SDRAM\) ||512M|| 512M DDR3(shared with GPU)||512M DDR3(shared with GPU) ||512 MB DDR2
 
|-
 
|-
 
| Onboard Storage ||TF card \(Max. 64GB\)||TF card \(Max. 64GB\)  ||TF card \(Max. 64GB\) ||TF card \(Max. 64GB\)
 
| Onboard Storage ||TF card \(Max. 64GB\)||TF card \(Max. 64GB\)  ||TF card \(Max. 64GB\) ||TF card \(Max. 64GB\)
Line 56: Line 119:
 
| Video Outputs |||| mini HDMI 1.4,1080P@30fps, DHCP||mini HDMI 1.4,1080P@30fps, DHCP ||Mini HDMI and USB On-The-Go ports
 
| Video Outputs |||| mini HDMI 1.4,1080P@30fps, DHCP||mini HDMI 1.4,1080P@30fps, DHCP ||Mini HDMI and USB On-The-Go ports
 
|-
 
|-
| Audio Output ||Mic|| Mini HDMI ||Mini HDMI ||Mini HDMI
+
| Audio Output ||With built-in audio CODEC, including ADC×8 and DAC×2|| Mini HDMI ||Mini HDMI ||Mini HDMI
 
|-
 
|-
 
| Power Source ||TYPE C 5V/2A or PoE power||  Micro USB with 5V/2A or PoE power||Micro USB with 5V/2A ||5V/2A
 
| Power Source ||TYPE C 5V/2A or PoE power||  Micro USB with 5V/2A or PoE power||Micro USB with 5V/2A ||5V/2A
Line 81: Line 144:
  
 
==GPIO PIN define ==
 
==GPIO PIN define ==
 +
===40 Pin GPIO define===
 +
<table class="wikitable">
 +
          <tr style="font-weight:bold; text-align:center;">
 +
            <th style="vertical-align:middle;"> RK3308B-S SOC
 +
Pin No.
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function3
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function2
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function1
 +
            </th>
 +
            <th style="vertical-align:middle;background-color:#FF0;"> Pin#
 +
            </th>
 +
            <th style="vertical-align:middle;background-color:#FF0;"> Pin#
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function1
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function2
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function3
 +
            </th>
 +
            <th style="vertical-align:middle;"> RK3308B-S SOC
 +
Pin No.         
 +
</tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> VCC_IO
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#F00;"> 1
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#F00;"> 2
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> VCC5V0_SYS
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> ADC_KEY_IN1
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 3
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#F00;"> 4
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> VCC5V0_SYS
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 69
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SCLK_TX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_A5
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 5
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 6
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO0_C1
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPDIF_TX
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> 17
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 70
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SCLK_RX
 +
            </td>
 +
            <td style="vertical-align:middle;"> PDM_CLK
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_A6
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 7
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 8
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_A7
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_LRCK_TX
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> 71
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 68
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_8CH_MCLK
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_MCLK
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_A4
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 9
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 10
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B0
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_LRCK_RX
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> 72
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 73
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDO0
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B1
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 11
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 12
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B5
 +
            </td>
 +
            <td style="vertical-align:middle;"> PDM_SDI0
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDI0
 +
            </td>
 +
            <td style="vertical-align:middle;">77
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 74
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDO1
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B2
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 13
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 14
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B6
 +
            </td>
 +
            <td style="vertical-align:middle;"> PDM_SDI1
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDI1
 +
            </td>
 +
            <td style="vertical-align:middle;">78
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 75
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDO2
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B3
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 15
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 16
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B7
 +
            </td>
 +
            <td style="vertical-align:middle;"> PDM_SDI2
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDI2
 +
            </td>
 +
            <td style="vertical-align:middle;">79
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 76
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDO3
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_B4
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 17
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 18
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_C0
 +
            </td>
 +
            <td style="vertical-align:middle;"> PDM_SDI3
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2S0_SDI3
 +
            </td>
 +
            <td style="vertical-align:middle;">80
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> GND
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 19
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 20
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> GND
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> LINEOUT_L
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 21
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 22
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> LINEOUT_R
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICBIAS1
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 23
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 24
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICBIAS2
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP1
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 25
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 26
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN1
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP2
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 27
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 28
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN2
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP3
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 29
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 30
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN3
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP4
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 31
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 32
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN4
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP5
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 33
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 34
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN5
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP6
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 35
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 36
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN6
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP7
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 37
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 38
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN7
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICP8
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 39
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 40
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> MICN8
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
</table>
  
 
+
=== 12 PIN GPIO ===
 +
<table class="wikitable">
 +
          <tr style="font-weight:bold; text-align:center;">
 +
            <th style="vertical-align:middle;"> RK3308B-S SOC
 +
Pin No.
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function4
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function3
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function2
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function1
 +
            </th>
 +
            <th style="vertical-align:middle;background-color:#FF0;"> Pin#
 +
            </th>
 +
            <th style="vertical-align:middle;background-color:#FF0;"> Pin#
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function1
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function2
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function3
 +
            </th>
 +
            <th style="vertical-align:middle;"> Function4
 +
            </th>
 +
            <th style="vertical-align:middle;"> RK3308B-S SOC
 +
Pin No.       
 +
</tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 65
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> UART0_TX
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPI0_TX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_A1
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 1
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 2
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO0_B3
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2C1_SDA
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">11
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 64
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> UART0_RX
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPI0_RX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO2_A0
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 3
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 4
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO0_B4
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2C1_SCL
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">12
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 56
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPI2_CS
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2C0_SCL
 +
            </td>
 +
            <td style="vertical-align:middle;"> UART1_TX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO1_D1
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 5
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#F00;"> 6
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> VCC_IO
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 57
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPI2_CLK
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2C0_SDA
 +
            </td>
 +
            <td style="vertical-align:middle;"> UART1_TX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO1_D0
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 7
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 8
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> GND
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 55
 +
            </td>
 +
            <td style="vertical-align:middle;"> JTAG_TMS
 +
            </td>
 +
            <td style="vertical-align:middle;"> UART2_TX_M0
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPI2_TX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO1_C7
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#ff8d02;"> 9
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 10
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO0_B7
 +
            </td>
 +
            <td style="vertical-align:middle;"> PWM2
 +
            </td>
 +
            <td style="vertical-align:middle;"> I2C3_SDA
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;"> 15
 +
            </td>
 +
        </tr>
 +
        <tr>
 +
            <td style="vertical-align:middle;"> 54
 +
            </td>
 +
            <td style="vertical-align:middle;"> JTAG_TCK
 +
            </td>
 +
            <td style="vertical-align:middle;"> UART2_RX_M0
 +
            </td>
 +
            <td style="vertical-align:middle;"> SPI2_RX
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO1_C6
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#ff8d02;"> 11
 +
            </td>
 +
            <td style="vertical-align:middle;background-color:#FF0;"> 12
 +
            </td>
 +
            <td style="vertical-align:middle;"> GPIO0_C0
 +
            </td>
 +
            <td style="vertical-align:middle;"> PWM3
 +
            </td>
 +
            <td style="vertical-align:middle;">IR_RX
 +
            </td>
 +
            <td style="vertical-align:middle;">
 +
            </td>
 +
            <td style="vertical-align:middle;">16
 +
            </td>
 +
        </tr>
 +
</table>
  
 
==PoE support ==
 
==PoE support ==
  
we deign a IEEE 802.3af PoE module for BPI-P2 Zero ,easy to support PoE function,more spec ,please check BPI-9600 PoE module spec
+
we deign a IEEE 802.3at PoE module for BPI-P2 Zero ,easy to support PoE function,more spec ,please check BPI-9600 PoE module spec
  
*[[BPI-9600 IEEE 802.3af PoE module]]
+
[[BPI-9600 IEEE 802.3af PoE module]]
  
 
=Resources=
 
=Resources=
 +
==Source code==
 +
*linux-5.10.110 kernel BSP Source code on github :https://github.com/ArmSoM/armsom-p2pro-bsp
 +
== Documents==
 +
*RK3308 datasheet: https://drive.google.com/file/d/1TsKFmItM1FJ-ziEvUkbcZxUsbaKYhsRq/view?usp=sharing
 +
*BPI-P2 PRO SCH, DXF,SMD file
 +
::Baidu Cloud: https://pan.baidu.com/s/1AuWYgWQ8OBVPHfF-wdWaAA?pwd=8888 (pincode:8888)
 +
::Google Drive: https://drive.google.com/drive/folders/1QC-3x8bdQePFz1z70rapNwB2Jlb5orvh?usp=sharing
  
== Documents==
+
*Banana-Pi BPi-P2 Pro RockChip RK3308 SBC Setup:https://uglyscale.press/2023/10/01/banana-pi-bpi-p2-pro-setup/
 +
 
 +
=Image Release=
 +
 
 +
==Linux==
 +
 
 +
*BPI-P2 pro Tools
 +
::Baidu cloud :
 +
::Google drive: https://drive.google.com/file/d/1v1ixTDcjOqBPn6eyiNSH5yOBNWPUA8Ig/view?usp=sharing
 +
 
 +
===Buildroot===
  
 +
*Banana Pi BPI-P2 pro buildroot image update
 +
:Baidu cloud: https://pan.baidu.com/s/1V8ixOF8vdtuPvzjMGwOcjA?pwd=8888 (pincode:8888)
 +
:Google Drive: https://drive.google.com/drive/folders/1vgu6tVB1nxdnZNIkogGVaadIGdtbcRS0?usp=sharing
  
==Source code==
+
===Debian===
 +
*Banana Pi BPI-P2 pro debian11 image update 2024-5-24
 +
::Google drive: https://drive.google.com/file/d/1T0rIoJjYD1EvdHUGhmoHiRQBYAff02pF/view?usp=sharing
 +
::Baidu cloud: https://pan.baidu.com/s/13InKyRDCeB3SGUCvakmV4Q?pwd=8888 (pincode:8888)
 +
*Banana Pi BPI-P2 pro debian11 image update 2023-9-13
 +
::Baidu Cloud: https://pan.baidu.com/s/15VnIC70ijKvKCjlS4pe4RQ?pwd=8888 (pincode:8888)
 +
::Google Drive: https://drive.google.com/file/d/1IWvlzRcNH1Bkjw5Vl-_Kyr0Y86kVw_U6/view?usp=sharing
  
 +
===Armbian===
  
=Image Release=
+
=Easy to buy sample=
  
==Linux==
+
*BPI Aliexpress shop:https://www.aliexpress.com/item/1005005928295640.html?
 +
*SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005005928204793.html?
 +
*Taobao shop : https://item.taobao.com/item.htm?spm=a2126o.success.0.0.264d4831aZTy3l&id=732760740787
 +
*OEM&ODM Customized product: [email protected]

Latest revision as of 16:39, 3 June 2024

Introduction

Banana Pi BPI-P2 Pro with Rockchip RK3308
Banana Pi BPI-P2 Zero with Allwinner H2+ chip
Overview zero with Allwinner H3 chip
Banana Pi BPI-M2 Pro S905x3 design
Banana Pi BPI-M2S Amlogic A311D/S922 chip

Banana Pi BPI-P2 Pro banner 1.jpg

Banana Pi BPI-P2 pro(Armsom Pro) is a development board based on RK3308B-S chip. With a high-performance 4-core ARM Cortex-A35 processor, 512M RAM(16bit DDR2/DDR3/DDR3L/LPDDR2). and 8G eMMC onboard ,support PoE function.The chip has a wealth of interfaces, such as I2S,PCM,TDM, I2C,UART,SPDIF,HDMI ARC, etc., to meet the application of different products. RK3308 has a rich voice interface, its own eight ADC interface, multi-channel I2S and multi-channel PDM interface. This not only provides customers with a wealth of interface choices, but also can reduce the hardware design difficulty and hardware design cost of products.

Banana Pi BPI-P2 Pro has 512MB DDR3 memory size, operating system and storage can use SD card or emmc. BPI-P2 Pro is available as an onboard storage version with 1Gb/2Gb/4Gb/8Gb NAND flash

Application direction

  • Maker DIY
  • IoT Smart Internet of Things
  • Intelligent speech recognition
  • Man-machine interface
  • Industrial control
  • Intelligent robot

Key Features

  • CPU: 64bits Quad-core Arm Cortex-A35 Rockchip RK3308B-S
  • 512 DDR3 SDRAM
  • 8G eMMC flash onboard
  • WiFi&BT: 802.11 a/b/g/n/ac & BT5.0 (AP6256)
  • 40 PIN GPIO, includes UART, SPI, I2C, IO etc
  • 100M LAN
  • IEEE 802.3af PoE standard PoE module support
  • Audio: Supports rich audio interfaces, such as MIC/PDM/SPDIF/I2S

Getting Start

Getting Start with BPI-P2 Pro

Hardware

Hardware interface

Banana Pi BPI-P2 Pro.jpg

Hardware spec

Banana Pi BPI-P2 pro
SOC RockChip RK3308B-S
CPU Quad-core ARM Cortex-A35
GPU none
ROM 512MB
RAM 8GB eMMC
TF Card TF card (Max 64GB)
Network 100M LAN
PoE power PoE function support,Output Voltage 5V, Output Power 10W
WiFi AP6256
Audio Output With built-in audio CODEC, including ADC×8 and DAC×2
Power Source TYPE C 5V/2A or PoE power
USB 1xUSB 2.0

1xType-C

Others Fan、RTC、LED、debug
Button Power Button、Reset Button、 Recovery Button、Root Button
Low-level peripherals 40 Pin + 12 Pin
uart GPIO\(1x3\) pin UART, ground
LED Power led & Status led
Product size 65mm X 52.5mm
Weight 30g


HardWare Specification of Banana pi BPI-P2 Zero VS BPI-M2 zero VS Raspberry Pi Zero W
Module Banana Pi BPI-P2 Pro Banana Pi BPI-P2 Zero Banana Pi BPI-M2 ZERO Raspberry Pi Zero W
CPU Quad-core Arm Cortex-A35 Rockchip RK3308 Allwinner H3/H2+ Quad-core Cortex-A7 H265/HEVC 1080P Allwinner H3/H2+ Quad-core Cortex-A7 H265/HEVC 1080P Broadcom BCM2835 32 Bit 1 GHz ARM1176JZF-S single-core
GPU NOPE Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0 Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0 VideoCore IV
Memory \(SDRAM\) 512M 512M DDR3(shared with GPU) 512M DDR3(shared with GPU) 512 MB DDR2
Onboard Storage TF card \(Max. 64GB\) TF card \(Max. 64GB\) TF card \(Max. 64GB\) TF card \(Max. 64GB\)
Onboard Network 100M LAN 100M LAN NOPE (but can extension with PIN define) NOPE
PoE power PoE function support PoE function support NOPE NOPE
Onboard flash 8G eMMC 8G eMMC NOPE NOPE
Onboard WIFI SDIO AP6255 SDIO AP6212(option AP6181、AP6335) SDIO AP6212(option AP6181、AP6335) 802.11n wireless, Bluetooth 4.1
Video decoding 1080p@60fps,H.264 Video encoding 1080p@30fps,H.264 1080p@60fps,H.264 Video encoding 1080p@30fps,H.264 1080p30 H.264/MPEG-4 AVC high-profile decoder and encoder
Video input A CSI input connector Camera A CSI input connector Camera CSI camera connector
Video Outputs mini HDMI 1.4,1080P@30fps, DHCP mini HDMI 1.4,1080P@30fps, DHCP Mini HDMI and USB On-The-Go ports
Audio Output With built-in audio CODEC, including ADC×8 and DAC×2 Mini HDMI Mini HDMI Mini HDMI
Power Source TYPE C 5V/2A or PoE power Micro USB with 5V/2A or PoE power Micro USB with 5V/2A 5V/2A
USB Ports one USB 2.0 OTG USB3.0 Type-C OTG one USB 2.0 OTG one USB 2.0 OTG one USB 2.0 OTG
Buttons Recovery ,Reset Power Button, Reset Button Power Button, Reset Button Composite video and reset headers
Low-level peripherals 40 Pin + 12 Pin 40 Pins Header,compatible with Raspberry Pi 3 40 Pins Header,compatible with Raspberry Pi 3 40 PIN
uart GPIO\(1x3\) pin UART, ground UART, ground UART, ground UART
LED Power led & Status led Power led & Status led Power led & Status led Power Status LED
IR N/A N/A N/A N/A
Supported OS linux android linux android linx Linux
Product size 65mm X 52.5mm 65mm X 52.5mm 65mm × 30mm 65mm x 30mm
Weight 30g 30g 15g 9g

GPIO PIN define

40 Pin GPIO define

RK3308B-S SOC

Pin No.

Function3 Function2 Function1 Pin# Pin# Function1 Function2 Function3 RK3308B-S SOC

Pin No.

VCC_IO 1 2 VCC5V0_SYS
ADC_KEY_IN1 3 4 VCC5V0_SYS
69 I2S0_SCLK_TX GPIO2_A5 5 6 GPIO0_C1 SPDIF_TX 17
70 I2S0_SCLK_RX PDM_CLK GPIO2_A6 7 8 GPIO2_A7 I2S0_LRCK_TX 71
68 I2S0_8CH_MCLK I2S0_MCLK GPIO2_A4 9 10 GPIO2_B0 I2S0_LRCK_RX 72
73 I2S0_SDO0 GPIO2_B1 11 12 GPIO2_B5 PDM_SDI0 I2S0_SDI0 77
74 I2S0_SDO1 GPIO2_B2 13 14 GPIO2_B6 PDM_SDI1 I2S0_SDI1 78
75 I2S0_SDO2 GPIO2_B3 15 16 GPIO2_B7 PDM_SDI2 I2S0_SDI2 79
76 I2S0_SDO3 GPIO2_B4 17 18 GPIO2_C0 PDM_SDI3 I2S0_SDI3 80
GND 19 20 GND
LINEOUT_L 21 22 LINEOUT_R
MICBIAS1 23 24 MICBIAS2
MICP1 25 26 MICN1
MICP2 27 28 MICN2
MICP3 29 30 MICN3
MICP4 31 32 MICN4
MICP5 33 34 MICN5
MICP6 35 36 MICN6
MICP7 37 38 MICN7
MICP8 39 40 MICN8

12 PIN GPIO

RK3308B-S SOC

Pin No.

Function4 Function3 Function2 Function1 Pin# Pin# Function1 Function2 Function3 Function4 RK3308B-S SOC

Pin No.

65 UART0_TX SPI0_TX GPIO2_A1 1 2 GPIO0_B3 I2C1_SDA 11
64 UART0_RX SPI0_RX GPIO2_A0 3 4 GPIO0_B4 I2C1_SCL 12
56 SPI2_CS I2C0_SCL UART1_TX GPIO1_D1 5 6 VCC_IO
57 SPI2_CLK I2C0_SDA UART1_TX GPIO1_D0 7 8 GND
55 JTAG_TMS UART2_TX_M0 SPI2_TX GPIO1_C7 9 10 GPIO0_B7 PWM2 I2C3_SDA 15
54 JTAG_TCK UART2_RX_M0 SPI2_RX GPIO1_C6 11 12 GPIO0_C0 PWM3 IR_RX 16

PoE support

we deign a IEEE 802.3at PoE module for BPI-P2 Zero ,easy to support PoE function,more spec ,please check BPI-9600 PoE module spec

BPI-9600 IEEE 802.3af PoE module

Resources

Source code

Documents

Baidu Cloud: https://pan.baidu.com/s/1AuWYgWQ8OBVPHfF-wdWaAA?pwd=8888 (pincode:8888)
Google Drive: https://drive.google.com/drive/folders/1QC-3x8bdQePFz1z70rapNwB2Jlb5orvh?usp=sharing

Image Release

Linux

  • BPI-P2 pro Tools
Baidu cloud :
Google drive: https://drive.google.com/file/d/1v1ixTDcjOqBPn6eyiNSH5yOBNWPUA8Ig/view?usp=sharing

Buildroot

  • Banana Pi BPI-P2 pro buildroot image update
Baidu cloud: https://pan.baidu.com/s/1V8ixOF8vdtuPvzjMGwOcjA?pwd=8888 (pincode:8888)
Google Drive: https://drive.google.com/drive/folders/1vgu6tVB1nxdnZNIkogGVaadIGdtbcRS0?usp=sharing

Debian

  • Banana Pi BPI-P2 pro debian11 image update 2024-5-24
Google drive: https://drive.google.com/file/d/1T0rIoJjYD1EvdHUGhmoHiRQBYAff02pF/view?usp=sharing
Baidu cloud: https://pan.baidu.com/s/13InKyRDCeB3SGUCvakmV4Q?pwd=8888 (pincode:8888)
  • Banana Pi BPI-P2 pro debian11 image update 2023-9-13
Baidu Cloud: https://pan.baidu.com/s/15VnIC70ijKvKCjlS4pe4RQ?pwd=8888 (pincode:8888)
Google Drive: https://drive.google.com/file/d/1IWvlzRcNH1Bkjw5Vl-_Kyr0Y86kVw_U6/view?usp=sharing

Armbian

Easy to buy sample