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.

cc3000 got into while loop infinitely

Hi,

I got one problem about sending blocked issue.

After send/recv bytes, cc3000 is blocked in 

SpiWrite()

{

....

// Due to the fact that we are currently implementing a blocking situation
// here we will wait till end of transaction

while (eSPI_STATE_IDLE != sSpiInformation.ulSpiState)
{
;
}

}

BTW, sSpiInformation.ulSpiState = 3, in this block case.

I use SDK 1.12 and SP 1.12 on my platform.

Does anyone get the similar issue before?

 

thanks
Gavin

  • Add the observation from waveform, it seems that CS and INT pulled low forever when issue occurred.

    I follow the code flow and I think this issue should be caused by missing TX finished INT.

    How to guarantee TX finished INT? Or cc3000 has crashed in this moment.

    thanks

    Gavin