Other Parts Discussed in Thread: SIMPLELINK-WIFI-TOOLBOX
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: CC3551E
主题中讨论的其他器件:SIMPLELINK-WIFI-TOOLBOX
您好、
SimpleLink WiFi-Toolbox 需要几秒钟来启动 WiFi TX 并停止 WiFi TX。
Tx 参数文件
{
"bitmask": 68719476735,
"delay": 100,
"packet_mode": "continuous",
"number_of_packets": 1000,
"data_mode": "random_value",
"data_const_value": 85,
"src_addr": "22:22:33:44:55:66",
"dst_addr": "02:02:03:04:05:06",
"packet_length_start": 100,
"packet_length_end": 1124,
"preamble_type": "p_11ag_legacy_ofdm",
"phy_rate": "r_54_mbps",
"tx_power": 0,
"tx_power_limit": 63,
"enable_cca": true,
"_options_": {
"delay_options": "50 .. 1000000",
"packet_mode_options": [
"continuous",
"single_packet",
"multi_packet"
],
"number_of_packets_options": "1 .. 10000",
"data_mode_options": [
"constant_value",
"increment",
"random_value"
],
"data_const_value_options": "0 .. 255",
"packet_length_start_options": "0 .. 16000",
"packet_length_end_options": "0 .. 16000",
"phy_rate_options": [
"r_1_mbps",
"r_2_mbps",
"r_5p5_mbps",
"r_11_mbps",
"r_54_mbps",
"r_MCS7"
],
"tx_power_options": "-10 .. 21"
}
}
MINGW64 外壳
tmsho-mlm@SE-MLM-DT-147 MINGW64 /c
$ time "/c/ti/simplelink_wifi_toolbox_win_4_1_8/simplelink-wifi-toolbox.exe" radio-tool -i XDS110 -param1 auto wlan tx start --channel 1 --band b24Ghz --calibrate --tx_parameters_file "/c/ti/simplelink_wifi_toolbox_win_4_1_8/MyRadioConfigurationFiles/tx_parameters_2_4_GHz.json"
2026-04-27 13:49:37,161: Starting channel tune
2026-04-27 13:49:37,483: Channel 1 tuned successfully
2026-04-27 13:49:37,483: Starting manual calibration
2026-04-27 13:49:38,055: Requesting manual calibration execution status
2026-04-27 13:49:38,956: Setting TX Params ...
2026-04-27 13:49:39,341: Starting TX Mode ...
2026-04-27 13:49:39,698: TX Mode started successfully
real 0m4.891s
user 0m0.015s
sys 0m0.015s
tmsho-mlm@SE-MLM-DT-147 MINGW64 /c
$ time /c/ti/simplelink_wifi_toolbox_win_4_1_8/simplelink-wifi-toolbox.exe radio-tool -i XDS110 -param1 auto wlan tx stop
2026-04-27 13:49:50,684: Stopping TX Mode ...
2026-04-27 13:49:50,997: TX Mode stopped successfully
real 0m2.626s
user 0m0.015s
sys 0m0.015s
tmsho-mlm@SE-MLM-DT-147 MINGW64 /c
在上方、您可以看到输出示例、然后在通过 USB 连接到连接到 TI EVB 的 XDS110 调试器的 Windows 11 上手动运行命令。
这意味着它需要大约:
- TX 启动 — 4.9 秒。
- TX 停止—2.6 秒。
这必须能够改进、以便可以为两个操作节省秒数。
尤其是 TX 停止最多只需花费 100-200ms、但大约需要 3 秒。
PowerShell(测量相同操作所用的时间,但使用 PowerShell)
PS C:\WINDOWS\system32> Measure-Command {& "C:\ti\simplelink_wifi_toolbox_win_4_1_8\simplelink-wifi-toolbox.exe" radio-tool -i XDS110 -param1 auto wlan tx start --channel 1 --band b24Ghz --calibrate --tx_parameters_file "C:\ti\simplelink_wifi_toolbox_win_4_1_8\MyRadioConfigurationFiles\tx_parameters_2_4_GHz.json"}
2026-04-27 14:08:36,755: Starting channel tune
2026-04-27 14:08:37,083: Channel 1 tuned successfully
2026-04-27 14:08:37,083: Starting manual calibration
2026-04-27 14:08:37,640: Requesting manual calibration execution status
2026-04-27 14:08:38,526: Setting TX Params ...
2026-04-27 14:08:38,909: Starting TX Mode ...
2026-04-27 14:08:39,277: TX Mode started successfully
Days : 0
Hours : 0
Minutes : 0
Seconds : 4
Milliseconds : 828
Ticks : 48284251
TotalDays : 5.58845497685185E-05
TotalHours : 0.00134122919444444
TotalMinutes : 0.0804737516666667
TotalSeconds : 4.8284251
TotalMilliseconds : 4828.4251
PS C:\WINDOWS\system32> Measure-Command {& "C:\ti\simplelink_wifi_toolbox_win_4_1_8\simplelink-wifi-toolbox.exe" radio-tool -i XDS110 -param1 auto wlan tx stop}
2026-04-27 14:08:51,602: Stopping TX Mode ...
2026-04-27 14:08:51,940: TX Mode stopped successfully
Days : 0
Hours : 0
Minutes : 0
Seconds : 2
Milliseconds : 634
Ticks : 26340924
TotalDays : 3.04871805555556E-05
TotalHours : 0.000731692333333333
TotalMinutes : 0.04390154
TotalSeconds : 2.6340924
TotalMilliseconds : 2634.0924
PS C:\WINDOWS\system32>
BR
Håkan μ s