-
Notifications
You must be signed in to change notification settings - Fork 11
wlan_start(0) is blocking indefinitely #4
Comments
Interesting. I have an adafruit shield that blocks as well. I also have a On Fri, Jul 4, 2014 at 1:52 PM, Victor Ng [email protected] wrote:
|
@jacobrosenthal Is your cc3000 module from Adafruit as well? |
Yes On Fri, Jul 4, 2014 at 2:17 PM, Victor Ng [email protected] wrote:
|
Seems like this is a common issue. Could either of you try running wires from the Arduino to the shield (rather than connecting the shield to the top of the Arduino) with only the necessary pins? That should give it the same connections (in theory) as the module. |
Trying to take a look at this again Hooked up the wifi shield via same pins as breakout. Still doesn't fire with SFE library, the adafruit library still works... Got to be something on the SPI lines. Ill try to get them on a scope at some point soon here |
I dont agree with the title of this. Mine gets past the init fine, it blocks waiting for the Async: 8001. The only hardware difference on my shield and breakout is miso buffer so I tested around that and it didnt fix it I tried it on the saleae but my computer can only sample at 16mhz (barely) and I know Im seeing corruption at that rate so I cant trust the data I'm getting. I'm linking the debug enabled (with added SPI write in hex debugging) from arduino https://gist.github.com/jacobrosenthal/0a502db23bfb0d9519cf |
Agreed, I was unable to get past SPI initialization using an Arduino Leonardo board. I tested connecting the shield and Arduino wired in stacked and jumper-wired configurations with identical results. The hang occurs in the SPI.begin() call from SFE_CC3000.cpp. I also tried with an older Arduino Duemilanove 328 with successful results. The same board was used in a stacked configuration mirroring what I used with the Leonardo. I'm pretty sure there's something wrong with the Arduino Leonardo board detection in SFE_CC3000::init() |
Has anyone found a resolution for this issue? The same thing is happening to me using the sparkfun shield on a sparkfun redboard. The only events I'm seeing in the callback are keep alive events (After I removed the mask in init). |
I tried the adafruit library and it worked. Not sure how much that helps. I'll keep looking into the code to see if that surfaces anything. |
Just in case it can help other people: I had the same issue and the problem was that I had a Adafruit CC3000 (not the shield) and in that case you have to use a different library: https://github.com/adafruit/Adafruit_CC3000_Library |
Hi there, I am another Adafruit CC3000 Customer. I am using the "Adafruit CC3000 WiFi Shield with Onboard Ceramic Antenna".
I downloaded and installed your lib. I tried running WebClient as an example but I could not get pass
I dug a little further and realized that this line,
from SFE_CC3000.cpp is blocking indefinitely. This line is invoked by
wifi.init()
Wireless connection is not my domain of expertise and I would like to know if this is a software or compatibility issue (none of your examples work since they all require
wifi.init()
)Would you be kind enough to take a look at this issue?
The text was updated successfully, but these errors were encountered: