cjr Posted September 24, 2015 Report Share Posted September 24, 2015 Hello everybody, first i would like to say that my problem has nothing to do with the FPGA part, i'm not using any soft processor in the FPGA. I would like to connect an Arduino Ethernet Shield (with the W5100 chip) to the AVR part of my DUO. I already have an ENC28J60 card running with the UIPEthernet library, this card is also connected via SPI. BUT: For the ENC28J60 i needed to set the SPI pins to #define UIP_FORCE_SS 53#define UIP_FORCE_SCK 52#define UIP_FORCE_MOSI 51#define UIP_FORCE_MISO 50 (these UIP_FORCE constants were invented by myself). This is working! But i don't understand it , because the AVR does not have these high output pin numbers ?!? The standard ethernet library for the Arduino Ethernet Shield obviously uses some other pins, but i'm unable to extract the pins from the library source code, this is all very confusing. What is NOT working: SCK 13MISO 12MOSI 11SS 10 or 8 I know that i have to connect these Arduino Pins from the DUO to the ICP header at the Ethernet Shield. Well, this is all very mysterious. Maybe someone could tell me simply which Pins on the DUO are the official SPI connections? I will also try some other SPI device in the meantime.Best Regards, Christof Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.