Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not working on Arduino Leonardo #2

Open
Henryforce opened this issue Sep 11, 2013 · 1 comment
Open

Library not working on Arduino Leonardo #2

Henryforce opened this issue Sep 11, 2013 · 1 comment

Comments

@Henryforce
Copy link

Code stalls at Wifi.begin(), apparently wlan_start(0) has some bugs...

@jiahuang
Copy link
Owner

There are a few sections that could be breaking.

If it can't make it pass this, then it is never initializing (software enable pin never gets pulled up, or it can't read the IRQ when the CC3k boots up) https://github.com/jiahuang/CC3000/blob/master/utility/wlan.cpp#L311

If it made it past the previous part, it shouldn't hang up on this except if there are issues with SPI transmission https://github.com/jiahuang/CC3000/blob/master/utility/wlan.cpp#L316

If it hangs after that (while waiting for simple link to startup) the waiting and checking happens here https://github.com/jiahuang/CC3000/blob/master/utility/evnt_handler.cpp#L244

You'll want to check what values tSLInformation.usEventOrDataReceived and pucReceivedData are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants