工具与软件:
尊敬的先生/女士:
我们在使用 CC33XX-Linux-MPU v1.0.0.7对 BLE 进行生产测试时会用到这些文件。 我们发现一些错误情况:
以下是我们的生产步骤:
ifconfig wlan0 down calibrator dev wlan0 plt power_mode on calibrator dev wlan0 cc33xx_plt ble_plt hciconfig hci0 up btmon &
上述命令启动 CC33xx 中 BLE 的 PLT。
而对于2M 测试:
LE 2M PHY test: /* VHCI to set tx in 20dbm */ hcitool cmd 0x3f 0x11 0x03 /* Start LE_Transmitter_Test V2 command with Channel1,Length 0x25, Repeated '10101010', LE 2M PHY */ hcitool cmd 0x08 0x34 0x01 0x25 0x02 0x02 /* Messure by the equipment. */ /* Stop LE_Transmitter_Test */ hcitool cmd 0x08 0x1F /* VHCI to set tx in 20dbm */ hcitool cmd 0x3f 0x11 0x03 /* Start LE_Transmitter_Test V2 command with Channel1,Length 0x25, Repeated '11110000', LE 2M PHY */ hcitool cmd 0x08 0x34 0x01 0x25 0x01 0x02 /* Messure by the equipment. */ /* Stop LE_Transmitter_Test */ hcitool cmd 0x08 0x1F
对于1M
/* VHCI to set tx in 20dbm */ hcitool cmd 0x3f 0x11 0x03 /* Start LE_Transmitter_Test V2 command with Channel0,Length 0x25, Repeated '10101010', LE 1M PHY */ hcitool cmd 0x08 0x34 0x00 0x25 0x02 0x01 /* Measure by equipment */ /* Stop LE_Transmitter_Test */ hcitool cmd 0x08 0x1F /* VHCI to set tx in 20dbm */ hcitool cmd 0x3f 0x11 0x03 /* Start LE_Transmitter_Test V2 command with Channel0,Length 0x25, Repeated '11110000', LE 1M PHY */ hcitool cmd 0x08 0x34 0x00 0x25 0x01 0x01 /* Measure by equipment */ /* Stop LE_Transmitter_Test */ hcitool cmd 0x08 0x1F
对于2M PHY、结果如下:
第1次测试:

第2次测试:

对于1M PHY:
第1次测试

第2次测试

您可以在第2次看到、不同 Packet_Payload 的1M PHY 的 PLT 测试结果将会有一些偏移、导致设备中的生产线测试失败。
对于2M PHY 测试、它还具有轻微的偏移、但是它不够大、不足以触发设备中的错误结果。
如果使用我们在 v1.0.0.3固件中使用的旧版本的相同 HCI 命令序列、则不会出现这种情况、也不会在 BLE 上出现问题。 然而 v1.0.0.3在 WiFi PLT 测试中有其他问题,我们无法使用它。
请帮助我们解决此问题。
此致、
/ckhsu