8 years, 5 months ago.

Using a CC3000 breakout

Hello.

I am planning to use the Adafruit CC3000 breakout or the Spakfun CC3000 https://www.sparkfun.com/products/12072 to connect to wifi.

Can I use the libraries that are posted here? Any recommendation or advice?

Thanks a lot

Question relating to:

I had to modify the NVIC_set_all_priorities.h because it seems this version is old and does not contain all mbed platforms (mine is STM32F091) so I wrote

#else
    first_IRQ_number = SysTick_IRQn, // WWDG_IRQn
    last_IRQ_number  = CEC_CAN_IRQn,     
#endif

Now it compiles , but still can not connect to the wireless network. The code gets stucked in the "init" method...

posted by Cristian Fuentes 06 May 2016

I suspect that the init function (that now is empty) needs to call these functions. But I dont know what should I put in the init function.

Other possibility that I read somewhere is that maybe the CC3000 is not receiving enough power but I doubt it... can it be? (for arduino I used the 5V provided by it and now I am using the 3.3V provided by the STM nucleo)

Please someone help.

posted by Cristian Fuentes 06 May 2016

It seems some people has gotten this to work... Can anybody help me?

So far I have identified that the program gets stucked in the start() function of the CC3000_wlan class. Specifically in the part in which the STM32 waits for the IRQ from the CC3000

 if (spi_irq_state) {
        // wait till the IRQ line goes low
        while(_spi.wlan_irq_read() != 0);
    } 

It seems that the IRQ never comes therefore the program gets stucked.

I wonder what is the problem... Please help

posted by Cristian Fuentes 09 May 2016

Nobody can help me? I have run out of ideas to solve the problem I even stopped using a breadboard and connect this through soldering a board. But still it can not get connected. Any help will be greatly appreciated

posted by Cristian Fuentes 11 May 2016
Be the first to answer this question.