0011 MPW7(WiFi7 on Raspberry Pi 5):修订间差异

来自Mcuzone Wiki
(创建页面,内容为“== '''关键词''' == 树莓派5、PCIe扩展、WiFi7、Raspberry Pi5、Ubuntu 和RPi OS。 == '''一、简介''' == 树莓派5板载一个16Pin的PCIe接口,我们可以通过该接口外挂各种PCIe设备。本扩展板就是专为树莓派5设计的WiFi7转接板。在树莓派系统下使用WiFi7需安装驱动,而在Ubuntu系统下免驱即插即用。本模块也支持M.2 E接口的WiFi6和WiFi5。 == '''二、硬件资源''' == 1. 专为树莓派5…”)
 
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
== '''关键词''' ==
[[0011 MPW7(树莓派5的WiFi7)|切换语言为中文]]
树莓派5、PCIe扩展、WiFi7、Raspberry Pi5、Ubuntu 和RPi OS。


== '''一、简介''' ==
== '''Keywords''' ==
树莓派5板载一个16Pin的PCIe接口,我们可以通过该接口外挂各种PCIe设备。本扩展板就是专为树莓派5设计的WiFi7转接板。在树莓派系统下使用WiFi7需安装驱动,而在Ubuntu系统下免驱即插即用。本模块也支持M.2 E接口的WiFi6和WiFi5。
Raspberry Pi 5, PCIe Expansion, WiFi7, Raspberry Pi5, Ubuntu, RPi OS


== '''二、硬件资源''' ==
== '''I. Introduction''' ==
1. 专为树莓派5设计的PCIe扩展板;
The Raspberry Pi 5 features a 16-pin PCIe interface, through which various PCIe devices can be connected. This expansion board is specifically designed for the Raspberry Pi 5 to serve as a WiFi 7 adapter. This module requires driver installation to use WiFi 7 on the Raspberry Pi system, while it is plug-and-play under Ubuntu without needing additional drivers. The module also supports WiFi 6 and WiFi 5 via the M.2 E key interface.


2. 一路M.2 E-KEY PCIe接口,支持WiFi7模组BE200,硬件同时支持WiFi6(E)和WiFi5,如AX210、AX200、MT7922、intel 8265C;
== '''II. Hardware Spec''' ==
1. PCIe expansion board designed specifically for the Raspberry Pi 5;


3. 一路USB 蓝牙接口(WiFi模块自带),通过1.25mm 4Pin USB引出,要使用蓝牙功能需要将此USB连接至树莓派5的USB2.0口,且搭配驱动和Profile方可使用;
2. One M.2 E-Key PCIe interface, supporting the BE200 WiFi 7 module, with hardware also supporting WiFi 6(E) and WiFi 5, such as AX210, AX200, MT7922, and Intel 8265C;


4. 预留CSI/DSI穿线槽,支持0.5mm间距的22Pin电缆和1mm间距的15Pin线缆;
3. One USB Bluetooth interface (built-in with the WiFi module), exposed via a 1.25mm 4-pin USB connector. To use the Bluetooth function, this USB must be connected to a USB 2.0 port on the Raspberry Pi 5, and it requires the appropriate drivers and profiles to be installed;


5. 板载一路电源指示灯("PWR")和一路WiFi运行指示灯("ACT");
4. Reserved CSI/DSI cable routing slots, supporting 22-pin cables with 0.5mm pitch and 15-pin cables with 1mm pitch;


6. 采用高效DC-DC电路;
5. Board-mounted power indicator light ('PWR') and one WiFi activity indicator light ('ACT');


7.沉金工艺,无铅生产;PCB板通过UL和RoHS认证,防火等级为94V-0;
6. Uses an efficient DC-DC circuit;


8. 四个M2.5固定孔,板子上方内凹设计,方便40pin GPIO的操作使用;
7. Gold immersion PCB process, lead-free production, certified by UL, compliant with ROHS standards, and has a fire rating of 94V-0;


9. 可选PCB天线或SMA天线,IPEX4接口;
8. The board has four M2.5 mounting holes, with a recessed design on the top of the board to facilitate the use of the 40-Pin GPIO;


10.可选铝合金外壳。
9. Optional PCB antenna or SMA antenna, with an IPEX4 interface;
 
10. Optional aluminum alloy enclosure.


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_43.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_43.jpg


== '''三、系统烧写及设置''' ==
== '''III. Software Spec''' ==
 
=== 3.1 Overview ===
This document uses Raspberry Pi OS and Ubuntu systems, tested with the BE200 (WiFi 7) module.
 
1)The version of the Raspberry Pi OS is: 2024-07-04-raspios-bookworm-arm64.img.xz


=== 3.1 概述 ===
You can download the Raspberry Pi OS in:
本文档采用树莓派OS和Ubuntu系统,基于BE200(WiFi7)模块进行测试。


1)树莓派OS的版本为2024-07-04-raspios-bookworm-arm64.img.xz,
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit


树莓派OS下载地址:https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
2)The version of the Ubuntu system is: ubuntu-24.04-preinstalled-desktop-arm64+raspi.img.xz


2)Ubuntu系统的版本为ubuntu-24.04-preinstalled-desktop-arm64+raspi.img.xz,
You can download the Ubuntu system in:


Ubuntu OS下载地址:https://ubuntu.com/download/raspberry-pi<!--
https://ubuntu.com/download/raspberry-pi<!--
OpenWrt系统版本为:openwrt-bcm27xx-bcm2712-rpi-5-squashfs-sysupgrade-linux-6.1.100-20240805.img.gz
OpenWrt系统版本为:openwrt-bcm27xx-bcm2712-rpi-5-squashfs-sysupgrade-linux-6.1.100-20240805.img.gz
-->
-->
=== 3.2 系统烧写在SD(TF)卡上 ===
[[0005 MPS2242 2280 2280P(单SSD扩展板)#3.2 从TF卡启动|点击直达烧写方法说明]]。


== '''四、树莓派系统的操作''' ==
=== 3.2 System flashed onto the SD (TF) card ===
[[0005 MPS2242 2280 2280P(Single SSD Expansion Board)#3.2 Boot from TF card|Click here to read the instructions for System flashing]]


=== 4.1 安装WiFi7驱动(BE200) ===
== '''IV. Work with Raspberry Pi OS''' ==
'''''注意:一旦安装成功WiFi7驱动,树莓派5原有的WiFi模块将不可用!'''''


此安装步骤也适用于AX210(WiFi6E)和AX200(WiFi6)。
=== 4.1 Installing WiFi 7 driver (BE200) ===
'''''Note: Once the WiFi 7 driver (BE200) is successfully installed, the original WiFi module on the Raspberry Pi 5 will no longer be usable!'''''


==== 4.1.1 更新系统和头文件 ====
This installation procedure also applies to the AX210 (WiFi 6E) and AX200 (WiFi 6) modules.
在树莓派终端下执行:
 
==== 4.1.1 Update the system and header files ====
Execute commands in the Raspberry Pi terminal:


<code>sudo apt-get update</code>
<code>sudo apt-get update</code>
第61行: 第68行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_01.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_01.jpg


==== 4.1.2 下载及解压源码 ====
==== 4.1.2 Download and extract the source code ====
在树莓派终端下执行:
Execute commands in the Raspberry Pi terminal:


<code>mkdir wifi && cd wifi</code>
<code>mkdir wifi && cd wifi</code>
第72行: 第79行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_10.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_10.jpg


==== 4.1.3 编译环境 ====
==== 4.1.3 Compilation Environment ====
在树莓派终端下执行:
Execute commands in the Raspberry Pi terminal:


<code>sudo make defconfig-iwlwifi-public</code>
<code>sudo make defconfig-iwlwifi-public</code>
第81行: 第88行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_03.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_03.jpg


==== 4.1.4 编译源码 ====
==== 4.1.4 Compile source code ====
在树莓派终端下执行:
Execute commands in the Raspberry Pi terminal:


<code>sudo make -j 4</code>
<code>sudo make -j 4</code>
第92行: 第99行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_05.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_05.jpg


此时提示重启系统。请先不要重启。
At this point, the system will prompt you to restart. Please do not restart yet.


==== 4.1.5 安装固件''('''AX200或AX210,无需此步骤)''' '' ====
==== 4.1.5 Install firmware (not necessary for AX200 or AX210) ====
在树莓派终端下执行:
Execute commands in the Raspberry Pi terminal:


<code>cd ..</code>
<code>cd ..</code>
第111行: 第118行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_11.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_11.jpg


最后重启系统:
Then reboot system:


<code>sudo reboot</code>
<code>sudo reboot</code>


=== 4.2 WiFi7模块BE200测试 ===
=== 4.2 Test of WiFi 7 module: BE200 ===
重启系统后,我们在终端中执行<code>lspci</code>
After restarting the system, we execute <code>lspci</code> in the terminal:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_19.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_19.jpg


可以看到这个WiFi7模块。
You can see the WiFi 7 module.


执行ifconfig -a,可以看到这个无线网卡(wlan0)的信息:
Execute <code>ifconfig -a</code> to view the information of the wireless network card (wlan0):


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_20.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_20.jpg


此时就可以在网络连接里面使用BE200(WiFi7)模块连接无线AP了:
At this point, you can use the BE200 (WiFi 7) module to connect to a wireless AP through the network connections settings:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_07.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_07.jpg


在网络连接的信息中,我们也可以看到这个驱动为iwlwifi的网络连接:
In the network connection information, you can also see the network connection using the <code>iwlwifi</code> driver:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_08.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_08.jpg


通过BE200(WiFi7)模块连接外网(200M宽带)测速,结果如下:
Connect to the internet (200M broadband) using the BE200 (WiFi 7) module and perform a speed test, results as follows:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_46.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_46.jpg


'''''注意:网络测速受网络环境和测试方法影响,速度请以实际为准,本测试仅供参考。'''''
'''''Note: Network speed tests are influenced by the network environment and testing methods. The speeds shown are for reference only and may vary based on actual conditions!'''''


'''连接WiFi7无线路由器测速:'''
'''Connect to the WiFi 7 router and perform a speed test:'''


'''''注意:这里的测试都使用SSH连接开发板进行测试。'''''
'''''Note: All tests here are conducted using SSH to connect to the development board.'''''


路由器为小米BE6500 Pro,WiFi7+四口2.5G路由器,树莓派5+WiFi7距离路由器约1米。
The router used is the Xiaomi BE6500 Pro, a WiFi 7 + quad-port 2.5G router. The Raspberry Pi 5 with WiFi 7 is approximately 1 meter away from the router.


使用BE200+树莓派5,连接WiFi7无线网络,与同一路由器下的Windows系统(2.5G USB网卡,ip地址为:192.168.8.197)进行iperf3测速:
Using the BE200 + Raspberry Pi 5, connect to the WiFi 7 wireless network and perform an iperf3 speed test with a Windows system (2.5G USB network card, IP address: 192.168.8.197) connected to the same router:


30个线程测速,结果如下:
Speed test with 30 threads, results as follows


<code>iperf3 -c 192.168.8.197 -P 30</code>
<code>iperf3 -c 192.168.8.197 -P 30</code>
第154行: 第161行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_47.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_47.jpg


约为2.08Gbps。
Speed test with 30 threads, results as follows
 
单个线程测速,结果如下:


<code>iperf3 -c 192.168.8.197</code>
<code>iperf3 -c 192.168.8.197</code>
第162行: 第167行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_48.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_48.jpg


约为500Mbps。
Approximately 500 Mbps.


作为对比,我们换了WiFi6无线模块AX210,进行了同样的测试。
For comparison, we replaced the WiFi 7 module with a WiFi 6 module (AX210) and performed the same tests.


30个线程测速,结果如下:
Speed test with 30 threads, results as follows:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_51.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_51.jpg


约为847Mbps。
Approximately 847 Mbps.


单个线程测速,结果如下:
Single-thread speed test, results as follows:


<code>iperf3 -c 192.168.8.197</code>
<code>iperf3 -c 192.168.8.197</code>
第178行: 第183行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_52.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_52.jpg


约为456Mbps。
Approximately 456Mbps。


'''''注意:网络测速受网络环境和测试方法影响,速度请以实际为准,本测试仅供参考。'''''
'''''Note: Network speed tests are influenced by the network environment and testing methods. The speeds shown are for reference only and may vary based on actual conditions!'''''


=== 4.3 蓝牙测试 ===
=== 4.3 Bluetooth Testing ===
将蓝牙接口1.25 4P USB口接到树莓派5的USB2.0上:
Connect the 1.25mm 4-pin USB Bluetooth interface to the USB 2.0 port on the Raspberry Pi 5:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_53.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_53.jpg


树莓派OS下可以直接认到树莓派5的蓝牙模块,点击桌面右上角的设备图标,然后点击Add Device...
On Raspberry Pi OS, the Bluetooth module of the Raspberry Pi 5 is recognized directly. Click on the device icon in the top-right corner of the desktop, then click Add Device...:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_32.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_32.jpg


在打开的窗口中,蓝牙模块会自动扫描周围可连接的蓝牙设备,如图所示:
In the opened window, the Bluetooth module will automatically scan for nearby connectable Bluetooth devices, as shown in the figure:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_33.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_33.jpg


点击其中的手机,与之配对,树莓派OS与手机上如下图所示:
Click on the phone to pair with it. The pairing process on Raspberry Pi OS and the phone is shown in the figures below:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_34.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_34.jpg
第203行: 第208行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_37.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_37.jpg


配对成功后,在手机上点击raspberrypi这个设备,连接成功后,树莓派被识别成一个音频设备,如下图所示:
After pairing successfully, click on the 'raspberrypi' device on your phone. Once connected, the Raspberry Pi is recognized as an audio device, as shown in the figure below:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_36.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_36.jpg


在树莓派OS中也能看见连接成功:
In Raspberry Pi OS, you can also see that the connection was successful:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_38.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_38.jpg


== '''五、Ubuntu系统的操作''' ==
== '''V. Work with Ubuntu System''' ==
测试的Ubuntu系统版本如下:
The version of Ubuntu used for testing is as follows:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_42.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_42.jpg


=== 5.1 WiFi7(BE200) ===
=== 5.1 WiFi7(BE200) ===
BE200(WiFi7)模块在Ubuntu系统下是免驱的,即插即用,系统启动后,我们在终端中执行<code>lspci</code>
The BE200 (WiFi 7) module is plug-and-play under Ubuntu and does not require additional drivers. After the system starts, execute <code>lspci</code> in the terminal:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_21.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_21.jpg


可以看到这个WiFi7模块。
You can see the WiFi 7 module.


执行<code>ifconfig -a</code>,可以看到这个WiFi7无线网卡(wlp1s0f0)的信息,wlan1为树莓派5自带的无线网卡:
Execute <code>ifconfig -a</code> to view the information of the WiFi 7 wireless network card (wlp1s0f0). <code>wlan1</code> is the built-in wireless network card of the Raspberry Pi 5:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_22.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_22.jpg


在屏幕右上角的“Wi-Fi”里有一个“PCI Wi-Fi”,即是这个WiFi7模块:
In the 'Wi-Fi' menu in the top-right corner of the screen, there is a 'PCI Wi-Fi' option, which is the WiFi 7 module:http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_12.jpg


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_12.jpg
After connecting to the wireless AP using the 'PCI Wi-Fi', you can see a wireless WiFi named 'Intel' in the 'All Networks' list. This is the WiFi 7 module. Once connected successfully, you can browse the internet using the WiFi 7 module
 
使用该“PCI Wi-Fi”连接无线AP后,在“All Networks”里面可以看见一个名为Intel的无线WiFi,这个就是该WiFi7模块,连接成功后即可通过WiFi7模块上网:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_13.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_13.jpg


通过BE200(WiFi7)模块连接外网(200M宽带)测速,结果如下:
Connect to the internet (200M broadband) using the BE200 (WiFi 7) module and perform a speed test, results as follows:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_14.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_14.jpg


'''''注意:网络测速受网络环境和测试方法影响,速度请以实际为准,本测试仅供参考。'''''
'''''Note: Network speed tests are influenced by the network environment and testing methods. The speeds shown are for reference only and may vary based on actual conditions!'''''


如果使用Ubuntu内置的Firefox浏览器时运行速度很慢或者经常无响应,建议安装轻量浏览器Falkon:
If using the built-in Firefox browser in Ubuntu results in slow performance or frequent unresponsiveness, it is recommended to install the lightweight browser Falkon:


<code>sudo apt install falkon</code>
<code>sudo apt install falkon</code>


=== 5.2 WiFi6(AX210/AX200) ===
=== 5.2 WiFi6(AX210/AX200) ===
WiFi6 AX200和AX210模块,在Ubuntu系统下也是免驱,即插即用的,同上步骤操作,执行结果如下:
The WiFi 6 modules (AX200 and AX210) are also plug-and-play under Ubuntu system and do not require additional drivers. Follow the same steps as above, and the execution results are as follows:


AX200:
AX200:
第255行: 第258行:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_24.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_24.jpg
=== 5.3 蓝牙测试 ===
 
Ubuntu下可以直接认到树莓派5的蓝牙模块,点击桌面右上角的设备图标,可以看到Bluetooth已经处于打开状态:
=== 5.3 Bluetooth Testing ===
Under the Ubuntu system, the Bluetooth module of the Raspberry Pi 5 is recognized directly. Click on the device icon in the top-right corner of the desktop, and you will see that Bluetooth is already turned on:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_25.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_25.jpg


点击Bluetooth的箭头,点击Bluetooth Settings,打开蓝牙设置:
Click on the arrow next to Bluetooth, then click Bluetooth Settings to open the Bluetooth settings:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_26.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_26.jpg


蓝牙模块会自动扫描周围可连接的蓝牙设备,如图所示:
The Bluetooth module will automatically scan for nearby connectable Bluetooth devices, as shown in the figure:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_27.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_27.jpg


我们可以选择所需的蓝牙设备进行连接,下面为与手机配对的例子:
We can select the desired Bluetooth device to connect. The following is an example of pairing with a phone:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_28.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_28.jpg
第274行: 第278行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_29.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_29.jpg


配对连接成功后,该设备显示Connected,我们可以在桌面右上角的蓝牙中看到这个设备(手机):
After the pairing is successful, the device will show "Connected". You can see this device (phone) in the Bluetooth menu in the top-right corner of the desktop:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_30.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_30.jpg
第280行: 第284行:
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_31.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_31.jpg


Ubuntu系统能识别出手机,而手机把树莓派5识别为耳机:
Ubuntu system can recognized the phone, and the phone recognizes the Raspberry Pi 5 as a headset:


http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_39.jpg
http://www.mcuzone.com/wiki/0011_MPW7/0011_MPW7_39.jpg
第311行: 第315行:
-->
-->


{{联系我们_图标}}
{{Contact_Us_icon}}

2024年11月11日 (一) 10:22的最新版本

切换语言为中文

Keywords

Raspberry Pi 5, PCIe Expansion, WiFi7, Raspberry Pi5, Ubuntu, RPi OS

I. Introduction

The Raspberry Pi 5 features a 16-pin PCIe interface, through which various PCIe devices can be connected. This expansion board is specifically designed for the Raspberry Pi 5 to serve as a WiFi 7 adapter. This module requires driver installation to use WiFi 7 on the Raspberry Pi system, while it is plug-and-play under Ubuntu without needing additional drivers. The module also supports WiFi 6 and WiFi 5 via the M.2 E key interface.

II. Hardware Spec

1. PCIe expansion board designed specifically for the Raspberry Pi 5;

2. One M.2 E-Key PCIe interface, supporting the BE200 WiFi 7 module, with hardware also supporting WiFi 6(E) and WiFi 5, such as AX210, AX200, MT7922, and Intel 8265C;

3. One USB Bluetooth interface (built-in with the WiFi module), exposed via a 1.25mm 4-pin USB connector. To use the Bluetooth function, this USB must be connected to a USB 2.0 port on the Raspberry Pi 5, and it requires the appropriate drivers and profiles to be installed;

4. Reserved CSI/DSI cable routing slots, supporting 22-pin cables with 0.5mm pitch and 15-pin cables with 1mm pitch;

5. Board-mounted power indicator light ('PWR') and one WiFi activity indicator light ('ACT');

6. Uses an efficient DC-DC circuit;

7. Gold immersion PCB process, lead-free production, certified by UL, compliant with ROHS standards, and has a fire rating of 94V-0;

8. The board has four M2.5 mounting holes, with a recessed design on the top of the board to facilitate the use of the 40-Pin GPIO;

9. Optional PCB antenna or SMA antenna, with an IPEX4 interface;

10. Optional aluminum alloy enclosure.

0011_MPW7_43.jpg

III. Software Spec

3.1 Overview

This document uses Raspberry Pi OS and Ubuntu systems, tested with the BE200 (WiFi 7) module.

1)The version of the Raspberry Pi OS is: 2024-07-04-raspios-bookworm-arm64.img.xz

You can download the Raspberry Pi OS in:

https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit

2)The version of the Ubuntu system is: ubuntu-24.04-preinstalled-desktop-arm64+raspi.img.xz

You can download the Ubuntu system in:

https://ubuntu.com/download/raspberry-pi

3.2 System flashed onto the SD (TF) card

Click here to read the instructions for System flashing

IV. Work with Raspberry Pi OS

4.1 Installing WiFi 7 driver (BE200)

Note: Once the WiFi 7 driver (BE200) is successfully installed, the original WiFi module on the Raspberry Pi 5 will no longer be usable!

This installation procedure also applies to the AX210 (WiFi 6E) and AX200 (WiFi 6) modules.

4.1.1 Update the system and header files

Execute commands in the Raspberry Pi terminal:

sudo apt-get update

sudo apt install -y raspberrypi-kernel-headers firmware-iwlwifi flex yacc

0011_MPW7_01.jpg

4.1.2 Download and extract the source code

Execute commands in the Raspberry Pi terminal:

mkdir wifi && cd wifi

wget http://www.mcuzone.com/wiki/0011_MPW7/backport-iwlwifi-20231029.tar.bz2

sudo tar -xvf backport-iwlwifi-20231029.tar.bz2

0011_MPW7_10.jpg

4.1.3 Compilation Environment

Execute commands in the Raspberry Pi terminal:

sudo make defconfig-iwlwifi-public

sudo sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config

0011_MPW7_03.jpg

4.1.4 Compile source code

Execute commands in the Raspberry Pi terminal:

sudo make -j 4

sudo make install

0011_MPW7_04.jpg

0011_MPW7_05.jpg

At this point, the system will prompt you to restart. Please do not restart yet.

4.1.5 Install firmware (not necessary for AX200 or AX210)

Execute commands in the Raspberry Pi terminal:

cd ..

cd Downloads

wget http://www.mcuzone.com/wiki/0011_MPW7/firmware_wifi7.zip

unzip firmware_wifi7.zip

sudo cp iwlwifi-gl-c0-fm-c0-86.ucode /lib/firmware

sudo cp iwlwifi-gl-c0-fm-c0.pnvm /lib/firmware

0011_MPW7_11.jpg

Then reboot system:

sudo reboot

4.2 Test of WiFi 7 module: BE200

After restarting the system, we execute lspci in the terminal:

0011_MPW7_19.jpg

You can see the WiFi 7 module.

Execute ifconfig -a to view the information of the wireless network card (wlan0):

0011_MPW7_20.jpg

At this point, you can use the BE200 (WiFi 7) module to connect to a wireless AP through the network connections settings:

0011_MPW7_07.jpg

In the network connection information, you can also see the network connection using the iwlwifi driver:

0011_MPW7_08.jpg

Connect to the internet (200M broadband) using the BE200 (WiFi 7) module and perform a speed test, results as follows:

0011_MPW7_46.jpg

Note: Network speed tests are influenced by the network environment and testing methods. The speeds shown are for reference only and may vary based on actual conditions!

Connect to the WiFi 7 router and perform a speed test:

Note: All tests here are conducted using SSH to connect to the development board.

The router used is the Xiaomi BE6500 Pro, a WiFi 7 + quad-port 2.5G router. The Raspberry Pi 5 with WiFi 7 is approximately 1 meter away from the router.

Using the BE200 + Raspberry Pi 5, connect to the WiFi 7 wireless network and perform an iperf3 speed test with a Windows system (2.5G USB network card, IP address: 192.168.8.197) connected to the same router:

Speed test with 30 threads, results as follows

iperf3 -c 192.168.8.197 -P 30

0011_MPW7_47.jpg

Speed test with 30 threads, results as follows

iperf3 -c 192.168.8.197

0011_MPW7_48.jpg

Approximately 500 Mbps.

For comparison, we replaced the WiFi 7 module with a WiFi 6 module (AX210) and performed the same tests.

Speed test with 30 threads, results as follows:

0011_MPW7_51.jpg

Approximately 847 Mbps.

Single-thread speed test, results as follows:

iperf3 -c 192.168.8.197

0011_MPW7_52.jpg

Approximately 456Mbps。

Note: Network speed tests are influenced by the network environment and testing methods. The speeds shown are for reference only and may vary based on actual conditions!

4.3 Bluetooth Testing

Connect the 1.25mm 4-pin USB Bluetooth interface to the USB 2.0 port on the Raspberry Pi 5:

0011_MPW7_53.jpg

On Raspberry Pi OS, the Bluetooth module of the Raspberry Pi 5 is recognized directly. Click on the device icon in the top-right corner of the desktop, then click Add Device...:

0011_MPW7_32.jpg

In the opened window, the Bluetooth module will automatically scan for nearby connectable Bluetooth devices, as shown in the figure:

0011_MPW7_33.jpg

Click on the phone to pair with it. The pairing process on Raspberry Pi OS and the phone is shown in the figures below:

0011_MPW7_34.jpg

0011_MPW7_35.jpg

0011_MPW7_37.jpg

After pairing successfully, click on the 'raspberrypi' device on your phone. Once connected, the Raspberry Pi is recognized as an audio device, as shown in the figure below:

0011_MPW7_36.jpg

In Raspberry Pi OS, you can also see that the connection was successful:

0011_MPW7_38.jpg

V. Work with Ubuntu System

The version of Ubuntu used for testing is as follows:

0011_MPW7_42.jpg

5.1 WiFi7(BE200)

The BE200 (WiFi 7) module is plug-and-play under Ubuntu and does not require additional drivers. After the system starts, execute lspci in the terminal:

0011_MPW7_21.jpg

You can see the WiFi 7 module.

Execute ifconfig -a to view the information of the WiFi 7 wireless network card (wlp1s0f0). wlan1 is the built-in wireless network card of the Raspberry Pi 5:

0011_MPW7_22.jpg

In the 'Wi-Fi' menu in the top-right corner of the screen, there is a 'PCI Wi-Fi' option, which is the WiFi 7 module:0011_MPW7_12.jpg

After connecting to the wireless AP using the 'PCI Wi-Fi', you can see a wireless WiFi named 'Intel' in the 'All Networks' list. This is the WiFi 7 module. Once connected successfully, you can browse the internet using the WiFi 7 module

0011_MPW7_13.jpg

Connect to the internet (200M broadband) using the BE200 (WiFi 7) module and perform a speed test, results as follows:

0011_MPW7_14.jpg

Note: Network speed tests are influenced by the network environment and testing methods. The speeds shown are for reference only and may vary based on actual conditions!

If using the built-in Firefox browser in Ubuntu results in slow performance or frequent unresponsiveness, it is recommended to install the lightweight browser Falkon:

sudo apt install falkon

5.2 WiFi6(AX210/AX200)

The WiFi 6 modules (AX200 and AX210) are also plug-and-play under Ubuntu system and do not require additional drivers. Follow the same steps as above, and the execution results are as follows:

AX200:

0011_MPW7_23.jpg

AX210:

0011_MPW7_24.jpg

5.3 Bluetooth Testing

Under the Ubuntu system, the Bluetooth module of the Raspberry Pi 5 is recognized directly. Click on the device icon in the top-right corner of the desktop, and you will see that Bluetooth is already turned on:

0011_MPW7_25.jpg

Click on the arrow next to Bluetooth, then click Bluetooth Settings to open the Bluetooth settings:

0011_MPW7_26.jpg

The Bluetooth module will automatically scan for nearby connectable Bluetooth devices, as shown in the figure:

0011_MPW7_27.jpg

We can select the desired Bluetooth device to connect. The following is an example of pairing with a phone:

0011_MPW7_28.jpg

0011_MPW7_29.jpg

After the pairing is successful, the device will show "Connected". You can see this device (phone) in the Bluetooth menu in the top-right corner of the desktop:

0011_MPW7_30.jpg

0011_MPW7_31.jpg

Ubuntu system can recognized the phone, and the phone recognizes the Raspberry Pi 5 as a headset:

0011_MPW7_39.jpg

0011_MPW7_40.jpg

Contact Us

0001_x.jpg 0002_fb.jpg 0004_ytb.jpg 0003_bb.jpg 0005_qq.jpg QQ:8204136

Email: mcuzone@vip.qq.com

Tel: +86(0)13957118045

If there are any omissions, errors, or infringements on this page, please contact us through the above methods. Thank you!

Copyright 2004-2024 Wildchip