My configuration:
Code: Select all
// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ 3 // MUST be an interrupt pin!
// These can be any two pins
#define ADAFRUIT_CC3000_VBAT 48
#define ADAFRUIT_CC3000_CS 49
// Use hardware SPI for the remaining pins
// On an UNO, SCK = 13, MISO = 12, and MOSI = 11
// On a MEGA, SCK = 52, MISO = 50, and MOSI = 51
Wiring:
the cc3000 breakout circuit, on a prototype board
overall arduino
closeup, pins 48 to 52
The output from my Mega2560:
Code: Select all
Hello, CC3000!
RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 6374
Initialising the CC3000 ...
- starting WLAN
- init WLAN
-- init spi
-- checking irq
-- enable wlan en
-- wait till the IRQ line goes low
-- simple link start
--- u8 to stream
--- hci command send
--- simple link wait
---- hci handler
---- hci handler init
Any help in getting this to the point of connecting would be most appreciated.
ETA: it worked a few days ago, after I transferred it to the prototype board, and I didn't change anything when it started failing here. I did move the interrupt pin back to 3, on the offchance that my 19 pin (also an interrupt) got damaged.