I am connecting my cc3000 booster pack to a 8051 controller, i already ported the host driver and the spi driver to the 8051.
the first command called over SPI is HCI_CMND_SIMPLE_LINK_START as mentioned in CC3000 serial port interface wiki
Host >> CC3000 0x01 0x00 0x05 0x00 0x00 0x01 0x00 0x40 0x01 0x00
my expectation according to the wiki is the following
CC3000>>Host 0x02 0x00 0x00 0x00 0x05 0x04 0x00 0x40 0x01 0x00
but instead i get the following and the code is blocked forever
CC3000>>Host 0x02 0x00 0x00 0x00 0x07 0x04 0x00 0x10 0x02 0x00
and then the function SpiReadDataSynchronous is called and the SpiReadDataSynchronous(evnt_buff + 10, data_to_recv); line is called and then the code is blocked after receiving 2 bytes 0x02 0x00