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 setup on STM32F1 - simple link wait event error

Other Parts Discussed in Thread: MSP430FR5736

Hello,


We are trying to get CC3000 working with the STM32F1 using IAR. We have already ported the SPI drivers, and are now making WLAN API calls.


Two questions.

1.  In Wlan.c , what causes the program to break out of the loop? Are there any specific configurations that we need to have in place.

if (ulSpiIRQState)
{
// wait till the IRQ line goes low
while(tSLInformation.ReadWlanInterruptPin() != 0)
{
}
}
2. In wlan_start(0), we call simplelink_init_start which calls hci_command_send, and then simplelink_wait_event, which invokes the function hci_event_handler in cc3000hostdriver/evnt_handler.
c, our code gets stuck here, lots of people on the forum had similar issues so wondering if there is a well-known fix.
Any help is much appreciated.
Thanks,
  • I am having the exact the same issue. I am using MSP430FR5736 and have ported the SPI driver, but the code just gets stuck at hci_event_handler(). It seems that there is no event or data received from CC3000.

    Is it because that the CC3000 does not get initialized successfully, which results in the failure to response to the host MCU? I am just guessing...

    Any help is highly appreciated!

     

    Andy