Difference between revisions of "Banana Pi BPI-P2 Pro"
(→Resources) |
(→GPIO PIN define) |
||
Line 130: | Line 130: | ||
==GPIO PIN define == | ==GPIO PIN 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 == |
Revision as of 18:17, 6 August 2023
Contents
Introduction
Banana Pi BPI-P2 pro(Armsom Pro) is a development board based on RK3308B-S chip developed by armsom company. With a high-performance 4-core ARM Cortex-A35 processor, it provides a high-performance external memory interface (16bit DDR2/DDR3/DDR3L/LPDDR2). 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
Key Features
- CPU: 64bits Quad-core Arm Cortex-A35 Rockchip RK3308.
- 512 DDR3 SDRAM.
- 8G eMMC flash onboard.
- WiFi (AP6256) & Bluetooth onboard.
- 40 PIN GPIO,It includes UART, SPI, I2C, IO etc
- 100M LAN
- IEEE 802.3af PoE standard PoE module support
Getting Start
Hardware
Hardware interface
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
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
- 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