chipKIT® Development Platform

Inspired by Arduino™

Fubarino SD 1.5 and ENC28J60 module for SPI

Created Sat, 15 Sep 2018 21:20:23 +0000 by Unanonymouse


Unanonymouse

Sat, 15 Sep 2018 21:20:23 +0000

Hey, I have setup Arduino IDE with chipkit, and I can program Fubarino SD from it. I can compile "Webserver" example and upload it to the board. I have connected ENC28J60 to SPI pins used for SD card, but it's simply not working. The debug output shows "255.255.255.255" or "0.0.0.0" IP and the correct IP address (I set it correctly to belong my to my local network) is not pingggable...

I also tried testing "DHCP Demo" but it stucks on Ethernet INIT.

I suspect the SPI/ENC28J60 connection is wrong, but according to comment in code example I should connect only 4 pins + VDD/GND 3.3V, and I did that.

I also tried swapping MOSI/MISO in case that I confused it, but still no luck.

Any idea what I might be doing wrong?


majenko

Sun, 16 Sep 2018 12:28:09 +0000

What software are you using?