Difference between revisions of "Hammer How to Enc28j60"

From eLinux.org
Jump to: navigation, search
Line 23: Line 23:
 
| 1
 
| 1
 
| 7
 
| 7
|
+
| SPICLK0
 
|-
 
|-
 
| MOSI
 
| MOSI
 
| 2
 
| 2
 
| 6
 
| 6
|
+
| MOSI0
 
|-
 
|-
 
| MISO
 
| MISO
 
| 3
 
| 3
 
| 5
 
| 5
|
+
| MISO0
 
|-
 
|-
 
| WOL
 
| WOL
Line 43: Line 43:
 
| 5
 
| 5
 
| 8
 
| 8
|
+
| EINT10
 
|-
 
|-
 
| CLKOUT
 
| CLKOUT
Line 53: Line 53:
 
| 7
 
| 7
 
| 11
 
| 11
|
+
| GPH1
 
|-
 
|-
 
| RST
 
| RST
 
| 8
 
| 8
 
| 9
 
| 9
|
+
| nReset
 
|-
 
|-
 
| Ground
 
| Ground

Revision as of 07:21, 11 September 2007

First you have to get an Enc28j60, the following links may be usefull:

Next we will be soldering it on to the Hammer_Carrier

We will use the 3.3V regulator of the Hammer_Carrier, but you already need to have done the How_to_Swtching_5V_Regulator


Wire the Olimex Enc28j60 board to the Hammer_Carrier pins as follows:

ENC28J60 Pin Pin Hammer
SCK 1 7 SPICLK0
MOSI 2 6 MOSI0
MISO 3 5 MISO0
WOL 4 N/C
INT 5 8 EINT10
CLKOUT 6 N/C
CS 7 11 GPH1
RST 8 9 nReset
Ground 9 GND Ground
Vdd 10 TP9 +3.3V


Also make sure that your 5V main power supply can supply the Hammer as well as the ENC28J60-H.

Enc28j60.jpg

Enc28j60 wireing.jpg

Software driver info:

The Good  Kernel SPI API
  The Bad  &
    The Ugly  The current "driver"