SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The coexistence feature requires assigning two GPIOs for correct operation (input from the coexisting device and output to the RF switch). The pins can be selected from Table 5-17, depending on the device variant.
PAD Name | Pin Number | CC3130 | CC3135 | CC3230 | CC3235 | Comment |
---|---|---|---|---|---|---|
PAD03 | 58 | N | N | Y | Y | Output only. Default coexistence output on LaunchPad. |
PAD04 | 59 | Y | Y | Y | Y | Output only |
PAD05 | 60 | Y | Y | Y | Y | |
PAD06 | 61 | N | N | Y | Y | |
PAD08 | 63 | Y | Y | Y | Y | |
PAD09 | 64 | Y | Y | Y | Y | |
PAD10 | 1 | Y | Y | Y | Y | |
PAD11 | 2 | N | N | Y | Y | Output only |
PAD12 | 3 | Y | Y | Y | Y | |
PAD13 | 4 | Y | Y | Y | Y | |
PAD14 | 5 | N | N | Y | Y | |
PAD15 | 6 | N | N | Y | Y | |
PAD16 | 7 | N | N | Y | Y | |
PAD17 | 8 | N | N | Y | Y | Output only |
PAD22 | 15 | N | N | Y | Y | |
PAD25 | 21 | Y | Y | Y | Y | Shared with SOP2, output only |
PAD26 | 29 | Y | N | Y | N | |
PAD27 | 30 | Y | N | Y | N | |
PAD40 | 18 | Y | Y | Y | Y | Default coexistence input on LaunchPad |
The enabling and I/O selection of the coexistence feature is done through the WLAN Set API and requires restarting the network subsystem (sl_Stop / sl_Start).
typedef struct
{
UINT8 Mode;
UINT8 InputPad;
UINT8 OutputPad;
UINT8 Reserved;
UINT32 Options;
}SlWlanCoexConfig_t;
_i16 Status;
SlWlanCoexConfig_t CoexConfig;
CoexConfig.Mode = 1; /* 0-No coexistence, 1-Single antenna coexistence */
CoexConfig.InputPad = 03; /* PAD number for input signal from coexisting device */
CoexConfig.OutputPad = 08; /* PAD number for RF switch control output signal*/
CoexConfig.Options = 0; /* Must be zero */
Status = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_COEX_CONFIG, sizeof(CoexConfig),
&CoexConfig);
if( Status )
{
/* error */
}
/* Reset device to apply configuration */
sl_Stop(200);
sl_Start(NULL, NULL, NULL);
The coexistence configuration is persistent and must be applied only if it is changed.
The coexistence configuration applies to all device roles (access point, station, and peer 2 peer).
The coexistence configuration can also be set using the Image Creator tool under System Settings > Device > Radio Settings.