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 connect() function return value problem

Hi,

I use CC3000 on my custom board. It works fine but when it gets connection problem, it stucks in connection function. It doesn't get return value. I developed the code on development board. It worked fine. I could get a return value when connection problem. But now, I don't know what is the problem. Do you have an idea?

Turan.

  • Hi,

    Is it getting stuck while calling the 'connect' API? Or is it somewhere after caonnect in 'send' / 'recv'?
    If it is the case with 'send'/'recv', then you can try configuring 'netapp_timeout_values' and set the 'aucInactivity' to any value other than '0'.

    For 'connect', do you have any air traces? Can you please check where it is getting stuck in the host driver flow? In other words, I want to check if the connect command is reaching the chip.

    Regards,
    Raghavendra

  • It is getting stuck while connect API. Normally, I get a return value after timeout when I use it on my development board. However, in my custom board I can't. Yes, I have an air trace SPI_CS pin. Does it cause a problem? If it is the problem, how can I change the pin configuration of my board? I use TM4C123GH6PMI microcontroller.

    Thanks.
    Turan
  • Hi Turan,

    I was referring to the air sniffer logs. Cannot really say that SPI_CS is a problem. We would have to understand if there is some problem with TCP handshake or within the system.

    Regards,
    Raghavendra