BPI-M4-Berry教程

Introduction

BPI-M4 Berry development board stands as a powerful Single Board Computer (SBC), harnessing the capabilities of the Allwinner H618 System-on-Chip (SoC) to provide developers with impressive performance and a wealth of features. Similar to the Raspberry Pi 4b, the BPI-M4 Berry boasts comparable CPU prowess, 2G,LPDDR4 memory and 8G eMMC, integrated WiFi and Bluetooth functionalities, and a familiar 40-pin header layout, alongside 4 USB interfaces and a GbE RJ45 port.

Characterized by its robust performance, versatile features, and remarkable image processing capabilities, stands as an exemplary SBC development platform for professionals within the embedded and computing industries. Equipped with 8GB eMMC flash storage, high-performance decoding and encoding capabilities, and an array of interface options, it caters to a wide spectrum of application domains, including media processing, IoT, and entertainment. Whether catering to novices or seasoned developers, the BPI-M4 Berry development board offers an ideal toolset for realizing creative visions and project objectives.

Key Features

  • Allwinner H618, Quad-core ARM Cortex™-A53 processor
  • ARM Mali G31 GPU
  • WIFI & Bluetooth
  • 2G LPDDR4 RAM
  • 8G eMMC flash memory
  • 1x USB2.0 Type-C OTG, 5V power supply
  • 4x USB2.0 Type-A
  • 1x HDMI 2.0a
  • 1x 3.5mm Audio & TVE jack socket
  • 1x GbE Ethernet port

Getting Start

Hardware

Hardware interface


Hardware spec

Hardware Specification of Banana pi BPI-M4 Berry
CPUAllwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz
GPUARM Mali G31 GPU
Memory2 GB LPDDR4
Storage8G eMMC flash
SD cardMicroSD card slot
Wireless2.4G/5G WiFi and Bluetooth 4.2
Ethernet1x GbE Ethernet port(supports PoE with add-on PoE HAT)
HDMI1x full-size HDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output
Audio1x 3.5mm Audio & TVE jack socket
IR1x CIR
USB4x USB2.0 Type-A HOST, 1x USB2.0 Type-C OTG
40-pin header28 pins GPIO and Power (+5V, +3.3V and GND)
UART, SPI, TWI/I²C, PWM, PCM/I²S
ButtonsReset, FEL and User
LEDPower Status and Activity status
Power5V@3A via USB Type-C
Size85x56 mm
Weight60g

BPI-M4 Berry VS Raspberry Pi 4b

PIN define

BPI-M4 Berry 40-pin header

40-pin header define and GPIO Alternative Functions Assignments
Pin NumPin NameALT0ALT1ALT2ALT3
13.3V
25V
3PG16UART2_RXTWI4_SDA
45V
5PG15UART2_TXTWI4_SCK
6GND
7PG19PWM1
8PG6UART1_TX
9GND
10PG7UART1_RX
11PH2UART5_TXPWM2
12PG11H_I2S2_BCLK
13PH3UART5_RXPWM1
14GND
15PG2
16PG8UART1_RTS
173.3V
18PG9UART1_CTS
19PH7UART2_RTSH_I2S3_LRCKSPI1_MOSI
20GND
21PH8UART2_CTSH_I2S3_DOUT0SPI1_MISOH_I2S3_DIN1
22PG1
23PH6UART2_RXH_I2S3_BCLKSPI1_CLK
24PH5UART2_TXH_I2S3_MCLKSPI1_CS0
25GND
26PH9H_I2S3_DIN0SPI1_CS1H_I2S3_DOUT1
27PG18UART2_CTSTWI3_SDA
28PG17UART2_RTSTWI3_SCK
29PG3
30GND
31PG4
32PG0
33PG5
34GND
35PG12H_I2S2_LRCK
36PH4
37PG10H_I2S2_MCLK
38PG14H_I2S2_DIN0H_I2S2_DOUT1
39GND
40PG13H_I2S2_DOUT0H_I2S2_DIN1

BPI-M4 Berry Debug UART

1GND
2UART0_RX
3UART0_TX

Development

Source code

Resources

Baidu Cloud: https://pan.baidu.com/s/1qS-_3d3IpoMBWJe8aI8JFA?pwd=8888 (pincode:8888)
Google Drive: https://drive.google.com/file/d/13wsY0cMZGfz5MdTqlo19DtmlZfdOGLI4/view?usp=sharing
  • Allwinner H618 Datasheet
Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)
Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing

System image

Linux

Ubuntu

  • 2023-11-09 Bpi-m4berry_0.0.1_beta_ubuntu_jammy_minimal_linux6.1.31
Baidu Cloud: https://pan.baidu.com/s/1KZ0kZBfMl9uz9gSrFp9rrg?pwd=8888 (pincode:8888)
Google Drive:
  • 2023-11-09 Bpi-m4berry_0.0.1_beta_ubuntu_jammy_desktop_xfce_linux6.1.31
Baidu Cloud: https://pan.baidu.com/s/1Di6YfDDBrQNv7lF0iV1leQ?pwd=8888 (pincode:8888)
Google Drive:


TAG: XIAO SAMD21超小SuperMini开发板Tiny兼容Arduino X1010树莓派5 PCle FFC转标准PCIe x4插槽扩展板兼容多种PCIe扩展 MaixCAM-Pro-NO-BAT 摄像头拍摄效果 荔枝派LicheeRV Nano Super-Mini SG2002 Sipeed WIFI6以太网AI视觉RISCV RoArm-M2-S Python HTTP请求通信 数据手册 Bus-Servo-Adapter-A教程 树莓派1.3寸LCD RS485 TO ETH (B) 连接阿里云和EMQX 树莓派SIM7028 小智AI虾哥立创实战派LCKFB-ESP32-S3开发板2寸LCD摄像头N16R8 NVIDIA Jetson Orin Nano/NX PoE供电RJ45以太网迷你扩展板 3.5寸显示屏电脑状态监控机箱副屏USBC教程 USB远红外摄像头热成像仪45°/88° 160x120 Type-C支持高温警告、拍照和录制视频 大扭矩舵机 Luckfox Pico Pro教程 MPS2.5G树莓派5 PCIE转M.2 NVME SSD固态硬盘和2.5G以太网RJ45扩展板 树莓派 ESP32-S3 LCD 树莓派RP2040 LCD