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.

CC3200: CC3200 AP and STA mode transitions

Part Number: CC3200

I've developing an app that needs to often transition between AP and STA mode. 

I have had some random success, but I need this to work consistently each transition.

Is there a recommend best-practice procedure for making this switch?

  • Hi,

    What do you mean by often switching between AP and STA mode? Can you quantify how much often? Do not forgot that changing from STA to AP mode (and vice versa) requres writing into serial flash and serial flash have limited number of write cycles of each sector.

    What do you mean by random success? Do you see any error code from sl_ API? Please describe issue with switching between STA and AP mode better.

    Do you use latest SDK and ServicePack?

    There is no a "improper way" of switching between STA and AP mode. To switching between modes you need to set mode by sl_WlanSetMode() API and after that you need to restart NWP (call sl_Stop() and sl_Start()).

    Jan

  • In this application, user will have button and can choose when to switch between the modes. I was unaware of serial flash writes for this operation. Can you please provide more detail of this operation?

    Flash is rated for 100k writes cycles, right?

    I recently updated to the latest service pack, but still using older SDK (1.3). I will try to switch over to 1.5 to see if that helps.

  • Hi,

    Description which APIs initialise sFlash write you find at wiki page.

    Number of write cycles depends on used SPI Flash chip. But typical number of write cycles is about 100k.

    Jan