Files
There are no circuits or boards in this repository.
FileshardwareArduino_STM32STM32F1librariesSerasidis_EtherCard_STM | |
---|---|
.. | |
examples | |
src | |
README.md | |
keywords.txt | |
library.properties |
README.mdEtherCard
EtherCard is a driver for the ENC28J60 chip, compatible with Arduino IDE 1.6.3 (or later). Adapted and extended from code written by Guido Socher and Pascal Stang.
License: GPL2
The documentation for this library is at http://jeelabs.net/pub/docs/ethercard/ .
Physical Installation
PIN Connections (Using STM32F103):
ENC28J60 | STM32F103 |
---|---|
Vcc | 3.3V |
SCK | PA5 |
SO | PA6 |
SI | PA7 |
CS | PA8| # Selectable with the ether.begin() function |
RST | 3.3V |
The CS pin is selectable with the ether.begin() function.
e.g. If you want to use the PA9 as CS pin then you can initiallize the ethernet module inside the sketch as:
if (ether.begin(sizeof Ethernet::buffer, mymac) == 0,
PA9
)
By default the pin PA8 is used as CS (you don't have to initiallize it).
Credits
The EtherCard library was written by Jean-Claude Wippler and ported to STM32F103 by Vassilis Serasidis
Support
That library works perfect on Arduino IDE 1.6.3 (or later) with Arduino_STM32 project installed.
The Arduino STM32 project has a forum (STM32duino ) also for getting or for providing help to people that are interested in that project .