Name | from Mikro- Elektronika |
for ENC28J60 (1) |
for PIC18F97J60 family |
TCP/IP stack present |
Library | Forum |
---|---|---|---|---|---|---|
ENC28J60 Ethernet Library V3.4 | no (2) | yes | no | no | link (3) | link |
ENC28J60 Ethernet Library with TCP/IP Stack V3.5 | no (2) | yes | no | yes | link (5) | link |
PIC18F97J60 Ethernet Library V3.4 | no (2) | no | yes | no | link (4) | link |
PIC18F97J60 Ethernet Library with TCP/IP Stack V3.5 | no (2) | no | yes | yes | link (6) | link |
SPI Ethernet Library | yes | yes | no | no | built in | -- |
Ethernet Library | yes | no | yes | yes | built in | -- |
1. Serial Ethernet Proto board: do not forget its supply voltage is 3.3V, not 5V. (see here) |
2. Serial Ethernet Proto board: if the PIC is a 5V one then do not forget that a level shifter is needed in the PIC's SPI IN line. (see here) There is a possibility (suggestion --actually used-- from Yo2lio) of eliminating the level shifter by
|
3. Serial Ethernet Proto board: The Ethernet connector is not grounded, while it should be. So, please solder a small wire between one of the outer case connections of the jack and the minus of E1 (elco of 470 uF). I do not know if this error is also present on the Ethernet Connector board. |
4. Ethernet Speed: do not forget the ENC28J60 and the the PIC18F97J60 family only support 10Base Ethernet speed: only use a hub/switch which is capable of handling 10Base. |
5. Ethernet cable: When using any board from mikroElektronika, always use a straight cable to connect with a hub or a switch, and use a cross cable to connect with another PC (network card). |
6. Ethernet connector: When using any board from mikroElektronika, then do not be mislead by the (board side) pinning of the Ethernet plug, should you have a look at the electrical circuit diagram. This pinning is different to the normal pinning of an ethernet cable because of the internal electronics (transformers etc...) inside the plug. |
7. SPI Speed: If using rather long (= 10cm) wires for the SPI interface between the ENC28J60 and the PIC then it may be necessary to lower the SPI speed, otherwise random connection loss can occur. Lowering the speed can be done by using the SPI_Init_Advanced(MASTER_OSC_DIV64, DATA_SAMPLE_MIDDLE, CLK_IDLE_LOW, LOW_2_HIGH); in stead of simply SPI_Init;. |
8. Live connection (= LED A "on") test for ENC28J60 usage: The minimum requirements for a live Ethernet connection are not much:
I do not know if the same behaviour is also valid for the PIC18F97J60 family. |