- Fri Nov 08, 2013 1:29 pm
#165377
I'm trying to connect to the CC3000 board from Adafruit via the SPI bus by the Fio V3 board and have run into trouble.
While the communications stops in the init-phase, everything I try fails. Has anybody successful run the SPI bus on that board? Because on the Arduino UNO it's working fine.
While I was hunting for the bug, I found out that the Board Specification and the
hardware/SF32u4_boards-master/variants/promicro/pins_arduino.h pin specification is not the same.
.h says:
SS=17
MOSI=16
MISO=14
SCK=15
Board says:
SS=14
MISO=17
I tried both, reassigned the pins. I can't work with pin 2/3 for interrupt for I'm using I2C, but I set it to 7/8 for IRQ/WLAN_ENABLE but still with no success. So I ran out of ideas at the moment.
I tried 17/14 and 14/17, 7/8 and 2/3 and any combination. I found some code to manipulate the wlan_init phase on that CC3000 but nothing helped. I also tried an other Fio V3, which didn't work either. So…
Has anybody an idea what's the matter? Has anybody got a working SPI bus on the Fio V3 yet?
using
https://github.com/sparkfun/SF32u4_boards
https://github.com/adafruit/Adafruit_CC3000_Library / buildtest
Output:
-----------
Hello, CC3000!
RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1237
Initialising the CC3000 ...
-----------
<stopped>
As well as
https://github.com/cmagagna/ArduinoCC3000Test
With always the same result: hung in init.
Anybody with a working SPI bus on the Fio V3?
While the communications stops in the init-phase, everything I try fails. Has anybody successful run the SPI bus on that board? Because on the Arduino UNO it's working fine.
While I was hunting for the bug, I found out that the Board Specification and the
hardware/SF32u4_boards-master/variants/promicro/pins_arduino.h pin specification is not the same.
.h says:
SS=17
MOSI=16
MISO=14
SCK=15
Board says:
SS=14
MISO=17
I tried both, reassigned the pins. I can't work with pin 2/3 for interrupt for I'm using I2C, but I set it to 7/8 for IRQ/WLAN_ENABLE but still with no success. So I ran out of ideas at the moment.
I tried 17/14 and 14/17, 7/8 and 2/3 and any combination. I found some code to manipulate the wlan_init phase on that CC3000 but nothing helped. I also tried an other Fio V3, which didn't work either. So…
Has anybody an idea what's the matter? Has anybody got a working SPI bus on the Fio V3 yet?
using
https://github.com/sparkfun/SF32u4_boards
https://github.com/adafruit/Adafruit_CC3000_Library / buildtest
Output:
-----------
Hello, CC3000!
RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1237
Initialising the CC3000 ...
-----------
<stopped>
As well as
https://github.com/cmagagna/ArduinoCC3000Test
With always the same result: hung in init.
Anybody with a working SPI bus on the Fio V3?
Last edited by Enkryptikon on Mon Nov 18, 2013 4:23 pm, edited 1 time in total.