Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 11 months ago.
Nucleo with CC3000
I have problem with the cc3000_hello_world_demo. I'm using a STM32F302R8 Nucleo with a Adafruit CC3000 shield on the Arduino header.
It was able to connect and get an IP the first few times, but now it always hangs in wifi.init().
It's stuck at:
include the mbed library with this snippet
main -> cc3000::init() cc3000_wlan::start simpleLink_init_start _hci.command_send(HCI_CMND_SIMPLE_LINK_START, ptr, WLAN_SL_INIT_START_PARAMS_LEN); cc3000_spi::write cc3000_spi::first_write write_synchronous SPI::write
I haven't figured out how to rebuild the mbed lib to see where in SPI::write, but it either waiting to write or read the response.
I tried using an external 5v power supply connected to the E5V/GND on the Nucleo, setting the jumper to E5V, and following the power on sequence, but it still hangs at the same place. I think the Nucleo can power the shield like this.
The pin connections between the shield and Nucleo seem ok.
I've also tried lowering the SPI frequency, but that doesn't help either.