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: Stuck in Infinite loop at _SlDrvSyncObjWaitForever in sl_Stop() function

Part Number: CC3100BOOST
Other Parts Discussed in Thread: CC3100

Hi,

I Ported CC3100 code to MCU. 

It is running in infinite loop function _SlDrvSyncObjWaitForever(). in sl_Stop() function.

I tapped data that send and receive through SPI.

Host MCU is continuously reading data without end. 

Can anyone help me with the error. I pasted Log data below.

if(SL_OS_RET_CODE_OK == (_i16)Msg.Rsp.status)
{
sprintf("sl_Stop 7 %d\r\n",g_pCB->ObjPool[ObjIdx].SyncObj);
_SlDrvSyncObjWaitForever(&g_pCB->ObjPool[ObjIdx].SyncObj);
Msg.Rsp.status = AsyncRsp.status;
RetVal = Msg.Rsp.status;
}
 
DATA : 

sl_Stop 7 17
TRIG
W 4: 65 87 78 56
R 4: BD DC CD AB
R 4: 73 0 8 0
R 4: 38 0 0 0
R 4: 0 0 C0 A5
W 4: 65 87 78 56
R 4: 0 C CD AB
R 4: 0 0 D AB
R 4: 0 0 CD AB
R 4: 0 0 0 0
R 4: 0 0 0 0
R 4: 0 0 CD AB
R 4: BE DC CD AB
R 4: 0 0 4D AB
R 4: 1E DC CD AB
R 160: 0 0 CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD AB BE DC CD ABCDAB BEDC CDAB

R 4: 0 0 D AB

R 4: 0 DC CD AB 

R 4: 0 0 CD AB
R 4: 0 0 0 0
R 4: 0 1C CD AB
R 4: BE DC CD AB
R 4: 0 0 CD AB
R 4: 3E DC CD AB
R 4: 0 0 CD AB
R 4: 0 0 0 0
R 4: 0 DC CD AB
R 4: 0 0 CD AB
R 4: 0 0 0 0
R 4: 0 5C CD AB
R 4: BE DC CD AB
R 4: 0 0 CD AB
R 4: 0 0 0 0
R 4: 0 4 CD AB
R 4: 0 C CD AB
R 4: 0 0 0 0
R 4: 0 C CD AB
R 4: 0 0 0 2B

Thanks,

Vitry

  • Hi Vitry,

    What is the callstack of your MCU when it gets stuck in sl_stop()? Do you have any problems running other sl_*() API commands?
    Also, what is the status of the host irq line during this time? Is it always being held high by the CC3100?

    Regards,
    Michael
  • Hi Vitry,

    I assume that you have resolved your issue since I have not heard back from you. If not, feel free to post a response to this thread, or open a new thread regarding this issue.

    Regards,
    Michael