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.

CC3220SF: NWP is not starting

Part Number: CC3220SF
Other Parts Discussed in Thread: CC3200

Hello experts,

My network processor is unable to start when I call sl_Start it is unable to start. Can you tell me what can be the reason for the network processor

  • Hi Manish,

    What do you mean "unable to start NWP"? What I read your other threads you have issue with porting your old CC3200 application to CC3220. It is same issue at other thread or this is a new issue? If it is same issue, please do not open new thread for same issue.

    From your other thread it looks that you have problem with porting of your old code to POSIX layer. I ported by old CC3200 TI-RTOS code to CC3220 without any issue long time ago. That means you have done something significantly wrong (e.g. mixing POSIX and FreeRTOS tasks, etc.). My recommendation for you is to take one of SDK example project and insert there your old code.

    Jan

  • Hi Manish,

    It is surprising that you would see an issue with sl_Start() on a CC3220. The porting for the host driver is provided in the SDK and should not need to be modified. I agree with Jan's conclusion that the issue would likely be introduced by trying to move an older CC3200 project to the CC3220.

    I think it is a good idea to try to move your Wi-Fi code into an existing SDK example where the OS integration and porting layer is already provided for the CC3220.

    Perhaps you could also share where the code seems to get stuck in the sl_Start() sequence like a specific line number.

    Best Regards,

    Ben M

  • Hi Jan,

    Understood now. Thanks for your response

  • Hi jan and Benjamin,

    As suggested by you, I have took one example code network terminal and removed its application and replaced by our application I'm getting one error i.e no definition to the vApplicationGetTimerTaskMemory() referred in timers.o.

    But I have enabled this

    #define configSUPPORT_STATIC_ALLOCATION                 1

    #define configUSE_TIMERS                1

    Can you say what do I need to enable in FreeRTOSConfig.h

  • Hi jan and Ben,

    For your information I'm using FreeRTOS v10. Please see the above post what to do and how to solve this error?

  • Hiya Jan and Ben,

    As per your suggestion I did it and it works. But when I use sl_Start(NULL,NULL,init_status);

    it is giving return code as OK but unable to go to callback function.

    void init_status(unsigned long ulStatus,SlDeviceInitInfo_t *DeviceInitInfo)
    {

    // 2 lines of code setting and event here

    //it is not coming in this function

    }

    Can you please say why sl_Start is not going in callback function? Please

  • Hi Ben and Jan,

    Thanks for your response espically Jan's comment helped me alot to figure out my issue. Thanks to both of you I figured out my problem.