Hello everyone,
I am currently trying to connect to an adafruit ATWINC1500. However, I can not establish a connection with my Teensy (I tried multiple 4.1, also I tried it with a 3.2 and a 3.6) and I am running out of ideas, what could be the cause.
I am using Arduino 2.2.1 and I installed the Wifi101 Library (0.16.1).
Here is the current pinout I am running with:
However I also tried to wire the ATWINC1500 VIN to the 3.3 V Pin, as well as supplying it with an external power source (laboratory power supply). I wired EN with VIN (so that the chip is always on) and since that is the only chip on the SPI, I wired CS to GND, so that the Chip is always selected (https://cdn-learn.adafruit.com/downloads/pdf/adafruit-atwinc1500-wifi-module-breakout.pdf - page 6: SPI chip select, pull down when transmitting to/from the ATWINC).
I use the following code to check if the module is available:
What really confuses me is, that it works with an Arduino UNO with the same pinout. With the Arduino I am even able to check for networks. I even tried to run it on SPI1 (changing SPI to SPI1 in nm_bus_wrapper_samd21.cpp) but I always get the same result, that the WiFi shield is not present.
Do you have any ideas, what I could check? Am I missing something here?
Thanks in advance
I am currently trying to connect to an adafruit ATWINC1500. However, I can not establish a connection with my Teensy (I tried multiple 4.1, also I tried it with a 3.2 and a 3.6) and I am running out of ideas, what could be the cause.
I am using Arduino 2.2.1 and I installed the Wifi101 Library (0.16.1).
Here is the current pinout I am running with:
However I also tried to wire the ATWINC1500 VIN to the 3.3 V Pin, as well as supplying it with an external power source (laboratory power supply). I wired EN with VIN (so that the chip is always on) and since that is the only chip on the SPI, I wired CS to GND, so that the Chip is always selected (https://cdn-learn.adafruit.com/downloads/pdf/adafruit-atwinc1500-wifi-module-breakout.pdf - page 6: SPI chip select, pull down when transmitting to/from the ATWINC).
I use the following code to check if the module is available:
Code:
#include <SPI.h>
#include <WiFi101.h>
const int8_t PIN_CS = 10;
const int8_t PIN_IRQ = 8;
const int8_t PIN_RST = 9;
int status = WL_IDLE_STATUS; // the WiFi radio's status
void setup() {
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("program started");
// check for the presence of the shield:
WiFi.setPins(PIN_CS, PIN_IRQ, PIN_RST );
while (WiFi.status() == WL_NO_SHIELD) {
Serial.println("WiFi shield not present");
while(1);
// don't continue:
}
Serial.println("connected!");
}
void loop() {
;
}
What really confuses me is, that it works with an Arduino UNO with the same pinout. With the Arduino I am even able to check for networks. I even tried to run it on SPI1 (changing SPI to SPI1 in nm_bus_wrapper_samd21.cpp) but I always get the same result, that the WiFi shield is not present.
Do you have any ideas, what I could check? Am I missing something here?
Thanks in advance