Has anybody had a problem with the host driver hanging in the send() function because the CC3000 simply does not send back an HCI_EVNT_SEND in response to an HCI_CMND_SEND? I have used logic analyzer to verify that there are no interrupts coming from the CC3000 after sending the HCI_CMND_SEND.
Since simple_link_send() sends the HCI_CMND_SEND, then waits with SimpleLinkWaitEvent(HCI_EVNT_SEND, &tSocketSendEvent), the function hangs because the CC3000 does not respond with that event.
In an effort to better understand the problem, I looked at the CC3000 protocol page to find details on the HCI_CMND_SEND command. However, looking at the processors.wiki/ti.com/index.php/CC3000_Protocol_HCI_Command_messages page, one can find no reference to the HCI_CMND_SEND command.
My solution to this problem was commenting out the SimpleLinkWaitEvent function, and replacing it with a delay. I believe I read this work-around somewhere on this forum, but like many posts, it was a dead-end and never answered. This is not a long term solution, but it least it allowed me to continue with development work.
My host driver version is 14 and the CC3000 version is 1.10
Any ideas would be greatly appreciated.
Regards,
Mike