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.

CC3100BOOST: Getting started with WLAN station example failing - connection policies?

Part Number: CC3100BOOST
Other Parts Discussed in Thread: TM4C123GH6PM, CC3100

Hello,

I am trying to get the example code for the CC3100 - getting started with WLAN station running and can't figure out what's wrong with the code. I was under the impression that this normally should work out of the box. I am working with this attached to a Tiva C TM4C123GH6PM.

I tracked down the issue to the following function:

retVal = sl_WlanPolicySet(SL_POLICY_CONNECTION, SL_CONNECTION_POLICY(1, 0, 0, 0, 1), NULL, 0);
ASSERT_ON_ERROR(retVal);

The retVal returned from this function in main.c is -7, which causes the device to error and loop forever. What would cause this function to return  -7? The weird thing is when I first ran the example it worked (albeit with other errors I can't find due to this not working).

Thank you in advance for any help.

  • Hi Jonathan,

    We only support the TM4C123GXL LaunchPad with the host driver provided in the CC3100 SDKs, so you may need to make changes for a different host. What clock speed are you running? Are you using a custom board? I don't recognize any evaluation boards with that device.

    Best regards,
    Sarah