Edgi-Talk_WIFI Example Project

中文 | English

Introduction

This example demonstrates Wi-Fi functionality on the M55 core using RT-Thread RTOS. It allows users to quickly test Wi-Fi scanning, connection, and performance, verifying the Wi-Fi module interface.

Hardware Overview

Wi-Fi Interface

alt text

BTB Socket

alt text

MCU Interface

alt text

Software Description

  • Developed on Edgi-Talk platform.

  • Example features:

    • Wi-Fi scanning

    • Wi-Fi connection

    • Iperf performance test

  • Provides a clear example of Wi-Fi driver integration with RT-Thread.

Usage

Build and Download

  1. Open and compile the project.

  2. Connect the board USB to PC via DAP.

  3. Flash the compiled firmware.

Running Result

  • After power-on, the system initializes the Wi-Fi device.

  • Connect to a Wi-Fi network via serial terminal:

wifi scan

alt text

wifi join <SSID> <PASSWORD>

alt text

ping www.rt-thread.org

alt text

  • After connection, perform throughput test with iperf.

  • A GUI tool (jperf) is provided under packages/netutils-latest/tools.

    • Extract jperf.rar and run the .bat file to launch the tool.

  • Start iperf test from the board (replace <PC_IP> with actual PC IP):

iperf -c <PC_IP>
  • Prefer 2.4 GHz network for testing (can use PC hotspot).

Notes

  • Ensure the Wi-Fi module is correctly connected.

  • Serial terminal commands allow scanning, joining, and testing Wi-Fi.

Startup Sequence

+------------------+
|   Secure M33     |
|  (Secure Core)   |
+------------------+
          |
          v
+------------------+
|       M33        |
| (Non-Secure Core)|
+------------------+
          |
          v
+-------------------+
|       M55         |
| (Application Core)|
+-------------------+

⚠️ Flash in this order strictly.


  • If the example does not run, first compile and flash Edgi-Talk_M33_S_Template and Edgi-Talk_M33_Template.

  • To enable M55:

RT-Thread Settings --> Hardware --> select SOC Multi Core Mode --> Enable CM55 Core