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.

CC3235MODSF: Questions about antenna selection usage

Part Number: CC3235MODSF

Hi,

I have some troubles with implementing WIFI antenna selection on CC3235MODSF.

Here are the questions for which I could not found answers:

1) Is it necessary to use 2 different GPIO lines to make working the AUTO_SELECTION Mode?

2) Can I make Manually switching external antennas working with 1 GPIO pin switch?

3) What does Pad mean in SlWlanAntSelectionConfig_t?

typedef struct
{
    _u8  Mode;                                                                           /* see SlWlanAntSelectionMode_e */ 
    _u8  Ant1Pad;                                                                        /* Antenna selection pad (not pin!) */
    _u8  Ant2Pad;                                                                        /* Antenna selection pad (not pin!) */
    _u8  Reserved;
    _u32 Options;                                                                       /* Set to zero - not supported */
}SlWlanAntSelectionConfig_t;

4) Which pins can I use or which pins(GPIOs) standartly using for Antenna Selection?

  • Hi,

    our reference design uses 2 GPIOs to control an external switch.

    I guess that if you have only a single line to control a switch (i.e. 0 or 1), then you can implement a simple circuit to convert the two lines into one line.

    The pad has a 1:1 conversion to the physical pin. You can see on the programmer's user guide you just attached in this thread. You can see the table that maps it in the same chapter, table 4-14. All options are described there.

    Shlomi

  • Hi, thx for your fast reply.

    Can you provide an example of working code with an external antenna switching?

    Best Regards, Alex.

  • Hi,

    We have it under network_terminal example.

    you can look at network_terminal.c and look for the following piece of code:

    /* Ant selection Enable */
    { AntSelectionEnablecmdStr,  cmdAntSelectionEnablecallback,
                                                  printAntSelectionEnableUsage  },

    Shlomi