Banana Pi BPI-M2 Pro教程

Banana Pi BPI-M2 Pro is the next generation single board computer from Banana Pi in 2021. It is powered by Amlogic S905X3 quad-core Cortex-A55 (2.0 XXGHz) processor.Onboard 2GB LPDDR4 memory and 16GB EMMC storage, and supports 2 USB 3.0 interface, a gigabit network port. RT8821CU wifi&BT onboard. 1 HDMI output

BPI-M2 Pro same size as Banana Pi BPI-M2+ , and interface is also same .so can use BPI-M2+ case.

Key Features

  • Amlogic S905X3 quad core Cortex-A55 (2.0xxGHz)
  • Mali-G31 GPU
  • 2GB LPDDR4
  • 16GB eMMC flash
  • 2 USB 3.0
  • RTL8821CU WiFi&BT 4.2 onboard
  • 1 GbE ethernet
  • HDMI output

Getting Start

Hardware

Hardware interface


Hardware spec

HardWare Specification of Banana pi BPI-M2 Pro
CPUAmlogic S905X3 Quad-Core Cortex-A55 (2.0xxGHz)
GPUMali-G31 MP2 GPU with 4 x Execution Engines (650Mhz)
Memory2 GB LPDDR4
StorageMicroSD slot with support for up to 256GB expansion and 16G eMMC flash with support for up to 64GB
Network10/100/1000 Mbit/s Ethernet
Wifi&BTDual-band 802.11 b/g/n/ac WiFi 5 1×1 and Bluetooth 4.2 via Realtek RTL8821CU
Video Output(s)1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID)
Audio Output(s)1 x HDMI digital output
USB ports2x USB 3.0 host ports, 1x micro USB OTG port
GPIO40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). GPIO pins can be used for UART, I2C, SPI or PWM
SwitchesReset, Power and U-boot
LEDPower Status and Activity status
Power Source5 volt @3A / 5 volt @2A via DC port
Size & Weight65mm×65mm, 58g
OSAndroid and Linux

BPI-M2 Pro VS BPI-M5 VS Odroid C4 VS RPI 4

BPI-M2 Pro VS BPI-M5 VS Odroid C4 VS RPI 4
Banana Pi BPI-M2 ProBanana Pi BPI-M5Odroid C4Raspberry Pi 4
ProcessorAmlogic S905X3 Quad-Core Cortex-A55 ARMv8.2-A 64-bit 1.5GHzAmlogic S905X3 Quad-Core Cortex-A55 ARMv8.2-A 64-bit 1.5GHzAmlogic S905X3 Quad-Core Cortex-A55 ARMv8.2-A 64-bit 1.5GHzBroadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
GPUMali-G31 MP2 GPUMali-G31 MP2 GPUMali-G31 MP2 GPUBroadcom VideoCore VI
RAM2GB LPDDR44GB LPDDR4DDR4 4GiB with 32-bit bus width2GB, 4GB or 8GB LPDDR4-3200 SDRAM
Storagemicro SD card slot & 16GB eMMC flash on boardmicro SD card slot & 16GB eMMC flash on boardmicro SD card slot , eMMC connector for optionmicro SD card slot, non EMMC
Network1 GbE ,WiFi&BT4.2 onboardGbE ,Optional WiFi USB dongleGbEGbE, 2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE
Video Output1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID)1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID)1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID)2 × micro-HDMI 2.0
Audio Output1 x HDMI digital output3.5mm jack and 1 x HDMI digital outputOptional SPDIF optical output3.5 mm analogue audio-video jack
DSIN/AN/AN/A2-lane MIPI DSI display port
CSIN/AN/AN/A2-lane MIPI CSI camera port
USBUSB 3.0 x 2 1 Micro USB 2.0USB 3.0 x 4 TYPE CUSB 3.0 x 4, 1 x Micro USB 2.0 port (OTG)2 USB 3.0 ports; 2 USB 2.0 ports;
Power5 volt @3A via DC power5 volt @3A via Micro USB (TYPE C)1 x DC power jack (Outer diameter : 5.5mm, inner diameter : 2.1mm)5V DC via USB-C connector (minimum 3A*)
IRYesYesYesN/A
GPIO40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND).40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND).40 x GPIO pins40-pin GPIO header, populated
ButtonReset, user and U-bootReset, user and U-bootN/AN/A
LEDPower Status and Activity statusPower Status and Activity statusPower Status and Activity statusPower Status and Activity status
Dimensions & weight65mm x 65mm,58g85mm x 56mm, 48g85mm x 56mm 59g88 mm × 58 mm, 46 g
System SupportLinux & AndroidLinux & AndroidLinux & AndroidLinux & Android

GPIO PIN define

BPI-M2 Pro 40PIN GPIO (CON2)

GPIO Pin NameDefault FunctionFunction2Function3
CON1-P01VCC-3V3
CON1-P02VCC5V
CON1-P03GPIOX_17I2C_M2_SDA
CON1-P04VCC5V
CON1-P05GPIOX_18I2C_M2_SCL
CON1-P06GND
CON1-P07GPIOX_5 SDIO_CMD
CON1-P08GPIOX_12UART_A_TX
CON1-P09GND
CON1-P10GPIOX_13UART_A_RX
CON1-P11GPIOX_3 SDIO_D3
CON1-P12GPIOAO_8TDMB_SCLK
CON1-P13GPIOX_4 SDIO_CLK
CON1-P14GND
CON1-P15GPIOX_7 PWM_F
CON1-P16GPIOX_0 SDIO_D0
CON1-P17VCC-3V3
CON1-P18GPIOX_1 SDIO_D1
CON1-P19GPIOX_8 PCM_DIN
CON1-P20GND
CON1-P21GPIOX_9 PCM_DOUT
CON1-P22GPIOX_2 SDIO_D2
CON1-P23GPIOX_11PCM_CLK
CON1-P24GPIOX_10PCM_SYNC
CON1-P25GND
CON1-P26GPIOX_16PWM_E
CON1-P27GPIOA_14I2C_M3_SDA
CON1-P28GPIOA_15I2C_M3_SCL
CON1-P29GPIOX_14UART_A_CTS
CON1-P30GND
CON1-P31GPIOX_15UART_A_RTS
CON1-P32GPIOX_19PWM_B
CON1-P33GPIOX_6 PWM_A
CON1-P34GND
CON1-P35GPIOAO_7TDMB_FS
CON1-P36GPIOH_5 SPDIF_IN
CON1-P37GPIOAO_7I2S_MCLK
CON1-P38GPIOAO_10TDMB_DINSPDIF_OUT
CON1-P39GND
CON1-P40GPIOAO_4TDMB_DOUT

BPI-M2 Pro Debug UART(CON1)

CON2-P1GND
CON2-P2UART0-RX
CON2-P3UART0-TX

Development

Source code

Same as BPI-M5 source code.