This article summarizes how to set WFxxx and WGM110 modules for RF testing. Attached are the Test Mode Guides for WFxxx and WGM110 and the required profile and firmware files.
1. UniTest (v220.127.116.11) only supports 32-bit Windows 7 and Windows XP but does NOT support 64-bit Windows 7. UniTest (v18.104.22.168) supports 64-bit Windows 7. Please note that the profile files are also version specific.
1.1 To get access to the UniFi Tools Suite and accompanying test mode firmware file for the Wi-Fi chipset please issue a technical support request.
1.2 Both test guides reference to the 32-bit version of UniTest (v22.214.171.124). If you're using the 64-bit version please use the firmware file inside the corresponding folder for the 64-bit version of the Unifi Tools Suite provided by our technical support (52037_ptest_unifi_603x_a10_1713.xbv instead of ptest_unifi_603x_a10_1177.xbv).
2. If you use USB-to-SPI converter, please select "USB SPI (xxxxxx)" for [Transport]. You cannot use any off-the-self converter, it must be one from CSR such as DK-USB-SPI-10225-1A or similar.
3. The WF111 profile file (WF111_profile.txt) is also used WF121.
4. The unmodulated carrier test mode is different from modulated test mode: Unmodulated carrier test mode does not use the predetermined power settings (preset power table). Besides, the frequency & the power level are not thermally compensated. The unmodulated carrier test mode is entirely not representative of the normal operation regarding the compensating algorithms.
5. For WF121/WGM110, the test firmware (wifitest_WF121.hex and wifitest_WGM110.hex respectively) must be flashed into WF121/WGM110. This test firmware will boot WF121/WGM110 into test mode and cause it to become non-responsive to the application host.
6. WF111 will not respond to the SDIO commands when it is in test mode. If the host MCU sends commands to WF111 over SDIO, it just gives error messages. With some applications, upon receiving the error message, the host will reset the module. To avoid any problems, it is recommended not sending any SDIO commands to WF111 in test mode. To return to normal operation, just reset the module.
I cannot flash anything to my WF121 following instruction found in WF121 Configuration Guide v19 so I found your post and tried to do what you said in your PDF but MPLAB IDE seems to have changed and I cannot found the Programmer menu.
My Pickit 3 programmer JAM version is 01.31.20-00 which is more recent than on your PDF but should it be a problem?
WF121 default factory setting:
The default factory firmware is in \wif\example\wf121\ directory in the SDK.
In \wif\example\ directory, there is readme.txt file, which gives a brief description for the examples in the SDK.
In readme.txt, you can find
Default firmware used in the production.
This example configures the BGAPI to available over UART1 (note: it is UART channel 1 and see below remarks)
UART settings: 115200,8n1 and HW flow control enabled
UART channel 0 = UART 1 in datasheet
UART channel 1 = UART 2 in datasheet
3. In the project.xml file (wf121 example), you can see the following lines for UART configurations:
<uart channel="0" baud="115200" api="false" />
<uart channel="1" baud="115200" api="true" handshake="True" />
Uart channel = “0” means UART 1 in datasheet. This UART is disabled for BGAPI but you can this UART port for application data (e.g. TCP data) or debug data.
Uart channel = “1” means UART 2 in datasheet. This UART is enabled for BGAPI for external host MCU. This is also the bootloader interface for DFU firmware download.