Hi, working on a custom board with the cc3100 and the host is stm32f722re, non OS.
finding the CC3100 very temperamental, throws lots of different errors. the main error I am getting at the moment is -100, SL_API_ABORTED. This occurs in sl_SendTo. This function is being called to forward data to a server approximately 5 times per second.
The following is the debug output I get from the host:
send !!! send !!! send !!! send !!! send !!! <-----------------------------------------Send is working find up to here unexpected WiFi interrupt General Event Handler ID=0 Sender=0 Abort type =0 Abort Data=0 Event = 5 <---------------------------what is general event 5???? send !!! sl_SendTo error: -100 <-----------------------sl_SendTo now fails send !!! sl_SendTo error: -100 send !!! sl_SendTo error: -100 send !!!
I have tried messing around with SPI speeds and adding delays in various locations in the spi functions. this has not fixed it. after the error the code continues to run but sl_SendTo always returns -100 and data isnt transmitted.
another issue that sometimes occurs that might give a clue to the problem is that sometimes the spi functions get stuck in a infinite loop reading the sync header on spi messages. This is not often though.
Thanks
Huw