本资源的原文使用英文撰写。 为方便起见,TI 提供了译文;由于翻译过程中可能使用了自动化工具,TI 不保证译文的准确性。 为确认准确性,请务必访问 ti.com 参考最新的英文版本(控制文档)。
德州仪器 (TI)™ 提供了许多资源,可帮助用户快速检查其器件的功能和性能。本文档提供了指导用户进行 CC33xx 生产线测试的必要信息。可使用德州仪器 (TI) 提供的工具和软件来检查器件的功能。由于需要外部设备来进行彻底检查,因此性能测试更为复杂。
德州仪器 (TI)™ and SimpleLink™are TMs ofTI corporate name.
Wi-Fi™is a TM ofWi-Fi Alliance.
Linux®is a reg TM ofLinus Torvalds in the U.S. and other countries.
LitePoint®is a reg TM ofLitePoint Corporation.
Bluetooth®is a reg TM ofBluetooth SIG, Inc.
Other TMs
在某些生产类型环境中,制造商将对其产品实施健全性检查,以确保系统正常运行。生产线测试使用户能够确保 CC33xx 器件的功能按预期工作。本指南将使用 CC33xx 校准器工具来确认 CC33xx 器件的功能和性能。该器件不需要任何闪存,可通过 Linux® 主机进行测试。
CC33xx Linux 驱动程序中的校准器工具提供了一种快速方法来抽查 SDIO 接口的功能,并且还可以快速评估无线电。本文档涵盖了 TX 功能,因为 RX 功能使用相同的 SDIO 接口。通过正确执行这些指令,该工具可以验证通过 SDIO 与 CC33xx 器件的系统通信。
安装后,请按照 Linux 内核中的以下说明进行操作:
ifconfig wlan0 down
示例输出:
[ 118.019356] wlcore: down
您可以通过执行“ifconfig”命令来确保 wlan0 被禁用。验证输出中是否未提及 wlan0 接口。
示例输出:
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 metric 1
ether 68:5e:1c:01:c3:35 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 82 bytes 6220 (6.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 82 bytes 6220 (6.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
calibrator wlan0 plt power_mode on
示例输出:
[ 170.304600] wlcore: PLT start
[ 170.333052] wlcore: PLT init Role Start succeed!, PLT roleID is: 2
calibrator wlan0 cc33xx_plt tune_channel 6 0 0
calibrator wlan0 cc33xx_plt set_tx -preamble_type 1 -phy_rate 1 -tx_power 30 -delay 1000 -pkt_mode 0
calibrator wlan0 cc33xx_plt start_tx
示例输出:
Starting TX Simulation
如果此示例输出匹配,则可以接受 SDIO 接口的功能。
calibrator wlan0 cc33xx_plt stop_tx