• sales

    +86-0755-88291180

BPI-M4-Berry Guide

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:


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