4.6 Calibration Flow Demonstration
In this demonstration, the user can calibrate TX parameters and RX parameters of the WILCS02_WINCS02. Perform the following steps for the demonstration of the calibration flow:
- Connect the RF connecter on the WILCS02_WINCS02 to the Wi-Fi® tester (IQxel or others) to measure the RF power from the WILCS02_WINCS02.
 - Check the cable loss between the WILCS02_WINCS02 connecter to the Wi-Fi tester. Enter the cable loss or RF power offset into the Wi-Fi tester.
 - Set the Wi-Fi tester to receive the Wi-Fi packets that are transmitted from the WILCS02_WINCS02.
 - In the Calibration tab, the button
        “Erase Flash Cfg” will erase the device calibration parameters and gain tables. Use it
        carefully. It will show the following message after pressing this button.
Figure 4-10. Calibration Tab Figure 4-11. Warning  - In the Calibration tab, perform the
        following steps to start a new calibration:
- To initiate the new TX calibration,
            click on the 1.0 Start TX Calibration button and wait for the
              
sdAdcTemp25candsdAdcVdd3p3vvalues to appear on the GUI.Figure 4-12. Start TX Calibration  - Click on 1.1.1 First Tune button.
- Wait for the “1.1.2 Input Power” and “1.1.3 Check First Tune Result” buttons to enable.
 - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF power from the Wi-Fi tester in “1.1.2 Input Power”.
 - Click on 1.1.3 Check First Tune Result button.
 - Wait for the result to appear on
                the GUI.
Figure 4-13. First Tune  - Go to step 5.c when result is “need tune”.
 - Go to step 5.e when result is “no need tune”.
 
 - Click on 1.2.1 Second Tune button.
- Wait for the “1.2.2 Input Power” and “1.2.3 Check Second Tune Result” buttons to enable.
 - Read the RF power on the Wi-Fi tester.
 - Enter the measured RF power from the Wi-Fi tester in “1.2.2 Input Power”.
 - Click on 1.2.3 Check Second Tune Result button.
 - Wait for the result to appear on
                the GUI.
Figure 4-14. Second Tune  - Go to step 5.d when result is “need tune”.
 - Go to step 5.e when result is “no need tune”.
 
 - Click on 1.3.1 Third Tune
              button.Note: This step is almost not necessary.
- Wait for the “1.3.2 Input Power” and “1.3.3 Check Third Tune Result” buttons to enable.
 - Read the RF power on the Wi-Fi tester.
 - Enter the measured RF power from the Wi-Fi tester in “1.3.2 Input Power”.
 - Click on 1.3.3 Check Second Tune Result button.
 - Wait for the result to appear on
                the GUI.
Figure 4-15. Third Tune  
 - Click on 1.4.2 Read Base TX Gain
              Index button. 
Figure 4-16. Read Base TX Gain Index - Wait for the
                  
baseTxGainIndexto appear on the GUI. 
 - Wait for the
                  
 - Click on 1.5.1 Read TSSI and PDREF
              1 button. 
- Wait for the “TSSI” and “PDREF”
                values to appear on the GUI.
Figure 4-17. Read TSSI and PDREF 1  - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.5.2 Input Power”
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.5.3 Input EVM”
 - Click on 1.5.4 Set Power 1 button.
 - Wait for result to appear as
                  success.
Figure 4-18. Set Power Success  
 - Wait for the “TSSI” and “PDREF”
                values to appear on the GUI.
 - Click on 1.6.1 Read TSSI and PDREF
              2 button. 
- Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
Figure 4-19. Read TSSI and PDREF 2  - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.6.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.6.3 Input EVM”.
 - Click on 1.6.4 Set Power 2 button.
 - Wait for result to appear as
                  success.
Figure 4-20. Set Power 2 Success  
 - Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
 - Click on 1.7.1 Read TSSI and PDREF
              3 button. 
- Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
Figure 4-21. Read TSSI and PDREF 3  - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.7.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.7.3 Input EVM”.
 - Click on 1.7.4 Set Power 3 button.
 - Wait for result to appear as
                  success.
Figure 4-22. Set Power 3 Success  
 - Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
 - Click on 1.8.1 Read TSSI and PDREF
              4 button.
- Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
Figure 4-23. Read TSSI and PDREF 4  - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.8.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.8.3 Input EVM”.
 - Click on 1.8.4 Set Power 4 button.
 - Wait for the result to appear as
                  success.
Figure 4-24. Set Power 4 Success  
 - Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
 - Click on 1.9.1 Read TSSI and PDREF
              5 button. 
Figure 4-25. Read TSSI and PDREF 5 - Wait for “TSSI” and “PDREF” values to appear on the GUI.
 - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.9.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.9.3 Input EVM”.
 - Click on 1.9.4 Set Power 5 button
 - Wait for the result to appear as success.
Figure 4-26. Set Power 5 Success  
 - Click on 1.10.1 Read TSSI and PDREF
              6 button. 
Figure 4-27. Read TSSI and PDREF 6 - Wait for “TSSI” and “PDREF” values to appear on the GUI.
 - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.10.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.10.3 Input EVM”.
 - Click on 1.10.4 Set Power 6 button.
 - Wait for the result to appear as success.
Figure 4-28. Set Power 6 Success  
 - Click on 1.11.1 Read TSSI and PDREF
              7button. 
- Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
Figure 4-29. Read TSSI and PDREF 7  - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “1.11.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “1.11.3 Input EVM”.
 - Click on 1.11.4 Set Power 7 button.
 - Wait for the result to appear as success.
Figure 4-30. Set Power 7 Success  
 - Wait for “TSSI” and “PDREF” values
                to appear on the GUI.
 - Click on 1.12 Stop TX
              Calibration button. 
- Wait for the “rateCond” to appear
                on the GUI.
Figure 4-31. Stop TX Calibration  
 - Wait for the “rateCond” to appear
                on the GUI.
 - Click on 2.0 Start RX
              Calibration button to start the RX calibration. 
- Wait for the result to appear as success.
Figure 4-32. Start RX Calibration  
Note:The user can choose their own Wi-Fi tester tool. In this case, the IQxel Wi-Fi tester tool is shown only as an example. Change the “Power Level” setting for different scenarios in the following steps using the same IQxel Wi-Fi tester tool.
Set the Wi-Fi tester to transmit Wi-Fi MCS7 packets at 2442 MHz and -20 dBm power level that will be received by WILCS02_WINCS02.Figure 4-33. IQxel Wi-Fi tester  - Wait for the result to appear as success.
 - Read RSSI (-20 dBm)
- Set -20 dBm power level in the
                Wi-Fi tester.
Figure 4-34. -20 dBm power level  - Click on 2.1 Read RSSI (-20 dBm) button.
 - Wait for “RSSI” and “LNA” values to
                appear on the GUI. 
Figure 4-35. Read RSSI and LNA  
 - Set -20 dBm power level in the
                Wi-Fi tester.
 - Read RSSI (-35 dBm)
- Set -35 dBm power level in the
                Wi-Fi tester.
Figure 4-36. -35 dBm Power Level  - Click on 2.2 Read RSSI (-35 dBm) button.
 - Wait for “RSSI” and “LNA” values to
                appear on the GUI.
Figure 4-37. Read RSSI and LNA  
 - Set -35 dBm power level in the
                Wi-Fi tester.
 - Read RSSI (-45 dBm)
- Set -45 dBm power level in the
                Wi-Fi tester.
Figure 4-38. -45 dBm Power Level  - Click on 2.3 Read RSSI (-45 dBm) button.
 - Wait for “RSSI” and “LNA” values to
                appear on the GUI.
Figure 4-39. Read RSSI and LNA  
 - Set -45 dBm power level in the
                Wi-Fi tester.
 - Read RSSI (-50 dBm)
- Set -50 dBm power level in the
                Wi-Fi tester.
Figure 4-40. -50 dBm Power Level  - Click on 2.4 Read RSSI (-50 dBm) button.
 - Wait for “RSSI” and “LNA” values to
                appear on the GUI.
Figure 4-41. Read RSSI and LNA  
 - Set -50 dBm power level in the
                Wi-Fi tester.
 - Read RSSI (-65 dBm)
- Set -65 dBm power level in the
                Wi-Fi tester.
Figure 4-42. -65 dBm Power Level  - Click on 2.5 Read RSSI (-65 dBm) button.
 - Wait for “RSSI” and “LNA” values to
                appear on the GUI. 
Figure 4-43. Read RSSI and LNA  
 - Set -65 dBm power level in the
                Wi-Fi tester.
 - Click on 2.6 Stop RX Calibration button.
 - Click on 3. Set Params button. 
- Wait for the result to appear as success.
Figure 4-46. Set Params  
 - Wait for the result to appear as success.
 - Click on 4. Test Rate Cond
              Prepare button. 
- Wait for the result to appear as success.
Figure 4-47. Test Rate Cond Prepare  
 - Wait for the result to appear as success.
 - Click on 4.1.1 Test Rate Cond Start
              CH 1 button.
Figure 4-48. Test Rate Cond Start CH 1 - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “4.1.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “4.1.3 Input EVM”.
 - Click on 4.1.4 Set Power 1 button.
 - Wait for the result to appear as success.
Figure 4-49. Set Power 1 Success  
 - Click on 4.2.1 Test Rate Cond Start
              CH 13 button.
Figure 4-50. Test Rate Cond Start CH 13 - Read the RF Power on the Wi-Fi tester.
 - Enter the measured RF Power from the Wi-Fi tester in “4.2.2 Input Power”.
 - Read the RF EVM on the Wi-Fi tester.
 - Enter the measured RF EVM from the Wi-Fi tester in “4.2.3 Input EVM”.
 - Click on 4.2.4 Set Power 13 button.
 - Wait for the result to appear as success.
Figure 4-51. Set Power 13 Success  
 - Click on 4.3 Test Rate Cond Check
              Result button.
Figure 4-52. Test Rate Cond Check Result - If the result is not 1, go to step 5.w
 
- Click on 5. Commit Result To
                  Device button.
Figure 4-53. Commit Result To Device - Press Yes button.
 - Wait for the calibration parameters to be written to the device.
 - Wait for the gain table to be
                    written to the device.
Figure 4-54. Commit Result To Device  
 - Click on 6. Save Result To
                  File button.
- To save calibration parameters to a file, follow these steps:
- Open the screen below.
 - Input the file name.
 - Click the Save button to save the calibration parameters to the file.
Figure 4-55. Save Result To File  
 - 
                    
To save the gain table to a file, follow these steps:
- Open the screen.
 - Input the file name.
 - Click on the Save button to save the gain table to the file.
Figure 4-56. Save Gain Table to the File  
 
 - To save calibration parameters to a file, follow these steps:
 
 
 - To initiate the new TX calibration,
            click on the 1.0 Start TX Calibration button and wait for the
              
 
