You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/wifi/iperf/README.md
+68-2Lines changed: 68 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ The iperf example doesn't support all features in standard iperf. It's compatibl
10
10
11
11
## Note about 80MHz flash frequency (ESP32)
12
12
The iperf can get better throughput if the SPI flash frequency is set to 80MHz, but the system may crash in 80MHz mode for ESP-WROVER-KIT.
13
-
Removing R140~R145 from the board can fix this issue. Currently the default SPI frequency is set to 40MHz, if you want to change the SPI flash
14
-
frequency to 80MHz, please make sure R140~R145 are removed from ESP-WROVER-KIT or use ESP32 DevKitC.
13
+
Removing R140\~R145 from the board can fix this issue. Currently the default SPI frequency is set to 40MHz, if you want to change the SPI flash
14
+
frequency to 80MHz, please make sure R140\~R145 are removed from ESP-WROVER-KIT or use ESP32 DevKitC.
15
15
16
16
## Introduction
17
17
This example implements the protocol used by the common performance measurement tool [iPerf](https://iperf.fr/).
@@ -76,3 +76,69 @@ The console output, which is printed by station TCP RX throughput test, looks li
76
76
Steps to test station/soft-AP TCP/UDP RX/TX throughput are similar as test steps in station TCP TX.
77
77
78
78
See the README.md file in the upper level 'examples' directory for more information about examples.
79
+
80
+
## ESP Chips without Native Wi-Fi
81
+
82
+
Some ESP chips like the ESP32-P4 or ESP32-H2, without built-in Wi-Fi or Bluetooth, can still use these features through a **two-chip solution** via ESP-Hosted. The host chip, when connected to a ESP chip as a Wi-Fi co-processor, can invoke Wi-Fi APIs over a communication bus like SPI or SDIO.
83
+
84
+
The two chip solution needs:
85
+
86
+
- Communication bus like SDIO or SPI between the host and co-processor
87
+
- Co-processor flashed with ESP-Hosted co-processor (slave) software
88
+
- Host processor flashed with additional software components: [esp-hosted](https://components.espressif.com/components/espressif/esp_hosted/) and [esp-wifi-remote](https://components.espressif.com/components/espressif/esp_wifi_remote/)
89
+
90
+
### Running iperf on the ESP32-P4-Function-EV-Board
91
+
92
+
On this board,
93
+
94
+
* The ESP32-P4 is already connected with the on-board ESP32-C6 (co-processor) using SDIO communication bus. See this ESP-Hosted EV Board [documentation](https://github.com/espressif/esp-hosted-mcu/blob/main/docs/esp32_p4_function_ev_board.md) for more information.
95
+
* The ESP32-C6 is pre-flashed with ESP-Hosted slave software.
96
+
* Optionally, you can re-flash the ESP32-C6 using [ESP-Hosted Slave Flashing Steps](https://github.com/espressif/esp-hosted-mcu/blob/main/docs/esp32_p4_function_ev_board.md#5-flashing-esp32-c6)
97
+
* Only the example code on the Host needs to be built & flashed using the steps below.
The Wi-Fi Remote and ESP-Hosted components are automatically fetched during the configuration.
125
+
126
+
* Build
127
+
128
+
```sh
129
+
idf.py build
130
+
```
131
+
* Flash
132
+
133
+
```sh
134
+
idf.py -p <host_serial_port> flash
135
+
```
136
+
* Monitor
137
+
138
+
```sh
139
+
idf.py -p <host_serial_port> monitor
140
+
```
141
+
142
+
### Using ESP-Hosted with other hosts
143
+
144
+
As the other hosts may not have prior hardware communication bus set-up, the hardware connections and co-processor flashing with slave firmware need to be done explicitly. See the [ESP-Hosted Repository](https://github.com/espressif/esp-hosted-mcu/) for step-by-step instructions on setting up ESP-Hosted.
0 commit comments