This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1837MOD: TI WiLink8 Calibrator User Guide SWRU562 ANT1 / ANT2 Select Issues

Part Number: WL1837MOD

Tool/software:

Ric is trying to get ANT1 / ANT2 (ONLY) for radio tuning lab.

1) I did try both the set_antenna_mode_24G and set_antenna_mode_5G commands with all possible combinations.1) I tried 3 ways to disable each antenna. The first was exactly what is written in section 5 of swru562, ANT1 and ANT2 Assembly Validation for Production. The result was that RF was emitted on both antennas no matter the configuration. The results are in this comment on Jira https://eimedical.atlassian.net/browse/ZYN-653?focusedCommentId=12909

2) The second way I tried disabling either antenna was by changing the antenna gain calculation in the set_tx_power command. This is in section 3.4 of swru562, Set TX Power. For 2.4GHz this changes which antenna has higher emissions, but both antennas still transmit. For 5GHz there is no effect on the output and both antennas transmit. The 2.4GHz results can be seen in this comment on Jira https://eimedical.atlassian.net/browse/ZYN-653?focusedCommentId=12911

The commands used for this test with 2.4GHz are

calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 0 1

calibrator wlan0 wl18xx_plt set_tx_power 20000 0 0 ${CHANNEL} 0 ${ANTENNA} 0 1 0 0 0 0

calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 1 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0

The commands used for this test with 5GHz are

calibrator wlan0 plt power_mode on

calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 1 1

calibrator wlan0 wl18xx_plt set_tx_power 20000 0 1 ${CHANNEL} 0 ${ANTENNA} 0 1 0 0 0 0

calibrator wlan0 wl18xx_plt set_antenna_mode_5G 1 1 0 1

calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 0 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0

CHANNEL is the 2.4GHz (1-11) or 5GHz (36-177) channel and ANTENNA is one of the values from section 3.4.

3) The third way I tried disabling either antenna was by using the set_antenna_mode_24G and set_antenna_mode_5G commands. This had the same result as the first way, section 5. Both antennas transmit at 2.4GHz, one with higher emission than the other regardless of what values are set with set_antenna_mode_24G. Both antennas also transmit at 5GHz, but at the same level, and there is no change. I tried all possible combinations of these commands, even those not listed as valid in swru562.

The commands used for this test with 2.4GHz are

calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 0 1

calibrator wlan0 wl18xx_plt set_tx_power 20000 0 0 ${CHANNEL} 0 0 0 1 0 0 0 0

calibrator wlan0 wl18xx_plt set_antenna_mode_24G 2 2 0 1 0 1

calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 1 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0

The commands used for this test with 5GHz are

calibrator wlan0 plt power_mode on

calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 1 1

calibrator wlan0 wl18xx_plt set_tx_power 20000 0 1 ${CHANNEL} 0 0 0 1 0 0 0 0

calibrator wlan0 wl18xx_plt set_antenna_mode_5G 1 1 0 1

calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 0 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0

Ric Clark

​Engineer II

E.I. Medical Imaging

  • Hello Ric,

    If I understood correctly you are trying to configure the WL1837MOD to only use one antenna instead of 2. 

    To achieve this you should first run the configure_device.sh script, located in /usr/sbin/wlconf

    This script prompts you to chose the number of antennas connected, where you should chose 1. This script changes the parameters in the ini file, you can change parameters directly there as well if you prefer.

    Please reference this app note for information on the INI file. https://www.ti.com/lit/an/swru422a/swru422a.pdf 

    There is also more information on how to use calibrator tool to switch between antennas, please reference this user's guide: https://www.ti.com/lit/ug/swru562/swru562.pdf 

    Regards,

    Jonathan 

  • Hi Jonathan, thanks for the response.

    That is correct, specifically I'm trying to use the calibrator tool to select and broadcast on one antenna at a time to tune each antenna circuit independently.

    I've used the `configure_device.sh` script to select 1 antenna for each 2.4GHz and 5GHz, yet both antennas still emit RF, no matter the parameters I give to the `calibrator` tool. I will review swru422a.pdf to see if there is a setting in the INI to disable each of the antennas independently.

    As stated in our post, the steps outlined in section 5 of swru562 for selecting ANT1 or ANT2 do not have an affect on what antenna emits RF, both emit no matter the configuration.

    Does the `calibrator` tool override the settings in the INI file? and therefore do I need to configure the INI differently for each antenna when running the `calibrator` tool?

  • Ric,

    Section 5 of swru562 is for functional testing of the 2 antennas, not really for RF testing. 

    For testing only one antenna, you should really follow the flow of running the configure_device script then using the calibrator tool as defined in the user's guide.

    Calibrator tool does not override settings in the INI file, you must define the ini parameters in addition to using the calibrator tool.

    Regards,

    Jonathan