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 HCI_EVNT_SIMPLE_LINK_START problem

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