RF Calibration#
This section describes the RF calibration steps to adjust the XO CTUNE, gain offset, and EVM offset in the SiWG917 device.
Note:
Refer to the section Manufacturing Utility Commands – Parameters for the description of the parameters used in the following sections of commands.
The --skipload parameter is used to skip loading the manufacturing firmware. This will save manufacturing time during mass production.
The first command given to the device when powered ON, should not have --skipload, since the manufacturing firmware needs to be loaded.
Steps for CTUNE Adjustments#
The following table shows the steps for adjusting the CTUNE and storing it in flash or eFuse.
| Step | Description | Command (Syntax) |
|---|---|---|
| 1 | Setup the radio and start transmission | commander manufacturing radio --channel <1-14> --power <1-31/127> --phy <xMBPS,MCSn,CW> --noburst --internalant --start –serialinterface -d <OPN Number>
|
| 2 | Measure the frequency | |
| 3 | Adjust the CTUNE value Offset = measured frequency (in kHz) – channel frequency | commander manufacturing xocal --offset <frequency offset in kHz> --serialinterface --skipload -d <OPN Number>
|
| 4 | Check the channel frequency is within expectations. If not, repeat from step 2, while adjusting the CTUNE value. | |
| 5 | Store the CTUNE value (The radio transmission will stop) | commander manufacturing xocal --store --storeinefuse --skipload --serialinterface -d <OPN Number>
|
| 6 | Store the XO CTUNE value with CTUNE override, if you have a CTUNE value (Optional) | commander manufacturing xocal --ctuneoverride <ctune value> --store --storeinefuse --skipload --serialinterface -d <OPN Number>
|
Example: SiWG917M111MGTBA – CTUNE Adjustment Steps#
Setup the radio and start transmission
commander manufacturing radio --channel 1 --power 10 --phy 1MBPS –start -d SiWG917M111MGTBAMeasure the frequency
Adjust the CTUNE value (Offset = measured frequency (in kHz) – 2412000)
commander manufacturing xocal --offset <Offset> --skipload -d SiWG917M111MGTBAStore the CTUNE value
Store in Flash
commander manufacturing xocal --store --skipload -d SiWG917M111MGTBAStore in eFuse
commander manufacturing xocal --store --storeinefuse --skipload -d SiWG917M111MGTBA
Steps for Gain Offset Adjustments#
The following table lists the steps for adjusting the gain offset and storing it in flash or eFuse.
| Step | Description | Command (Syntax) |
|---|---|---|
| 1 | Setup the radio and start transmission | commander manufacturing radio --channel <1-14> --power <1-31/127> --phy <xMBPS,MCSn,CW> --noburst --internalant --start –serialinterface -d <OPN Number>
|
| 2 | Measure the output power | |
| 3 | Calculate the offset to meet the expected output power for channels 1, 6, 11, and 14. Offset = ceil((output power measure (dBm) + cable loss -- 16) * 2) | |
| 4 | Store gain offset for channel 1, 6, 11, 14 | commander manufacturing gain --ch1 <gain ch.1> --ch6 <gain ch.6> --ch11 <gain ch.11> --ch14 <gain ch.14> --store --storeinefuse --skipload --serialinterface -d <OPN Number>
|
| 5 | Stop the radio transmission | commander manufacturing radio --stop --skipload -d <OPN Number>
|
Example: SiWG917M111MGTBA – Gain Offset adjustment steps#
Setup the radio and start transmission
commander manufacturing radio --channel 1 --power 16 --phy 1MBPS –start -d SiWG917M111MGTBAMeasure the output power
Calculate the offset to meet the expected output power
Offset = ceil ((output power measure (dBm) + cable loss -- 16) * 2)
Store the gain offset value
Store in Flash
commander manufacturing gain --ch1 <gain ch.1> --ch6 <gain ch.6> --ch11 <gain ch.11> --ch14 <gain ch.14> --store –skipload -d SiWG917M111MGTBAStore in eFuse
commander manufacturing gain --ch1 <gain ch.1> --ch6 <gain ch.6> --ch11 <gain ch.11> --ch14 <gain ch.14> --store --storeinefuse --skipload -d SiWG917M111MGTBA
Stop radio transmission
commander manufacturing radio --stop --skipload -d SiWG917M111MGTBA
Notes:
The gain offset updated in flash with the preceding command in step 4. To force the usage of this gain offset in flash even though the whole calibration data is in eFuse, You need to give the EVM offset command mentioned section EVM Offset.
This serves as an enable for gain offset to pick from flash when the remaining calibration data is in eFuse.
There can be a variation of up to +/- 2dB in power across parts at Typical/Room temperature.
It is recommended that the user makes the "Customer Gain-offset" correction on customer-end products to correct for IC part-to-part variation and insertion-loss variations in the RF front-end on customer boards. This calibration process would ensure accurate Transmit power control for Regulatory compliance @ volume production.
EVM Offset#
Following is the syntax of the command to set the EVM offset. You can apply the offset for the rates where EVM is passed. Any of the offsets mentioned further for the respective data rates will have the offset applied.
Syntax:
commander manufacturing evmoffset --off0 <offset 11B> --off1 <offset 11G,24Mbps 11N,MCS0-2> - -off2 <offset 11G,54Mbps 11N,MCS3-7> --off3 <offset 11N,MCS0> --off4 <offset 11N,MCS7> --store – storeinefuse --serialinterface -d <OPN Number>
Example:
commander manufacturing evmoffset --off0 0 --off1 0 --off2 0 --off3 0 --off4 0 –store -d SiWG917M111MGTBA
This command updates the flash with all the evm offsets with 0 along with a magic byte.
Note: This magic byte when used in flash acts as a enabler for picking gain offset from flash even the whole calibration data is in the eFuse.