Difference between revisions of "Hammer How to Enc28j60"
From eLinux.org
KenMcGuire (Talk | contribs) |
|||
| Line 8: | Line 8: | ||
Next we will be soldering it on to the [[Hammer_Carrier]] | Next we will be soldering it on to the [[Hammer_Carrier]] | ||
| − | We will use the 3.3V regulator of the | + | We will use the 3.3V regulator of the [[Hammier_Carrier]], but you already need to have |
done the [[How_to_Swtching_5V_Regulator]] | done the [[How_to_Swtching_5V_Regulator]] | ||
| − | Wire the | + | Wire the Olimex [[Enc28j60]] board to the [[Hammer_Carrier]] pins as follows: |
| + | |||
| + | {| border="1" cellspacing="0" cellpadding="5" align="center" | ||
| + | ! ENC28J60 | ||
| + | ! Pin | ||
| + | ! Pin | ||
| + | ! Hammer | ||
| + | |- | ||
| + | | | ||
| + | | 1 | ||
| + | | 7 | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 2 | ||
| + | | 6 | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 3 | ||
| + | | 5 | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 4 | ||
| + | | N/C | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 5 | ||
| + | | 8 | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 6 | ||
| + | | N/C | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 7 | ||
| + | | 11 | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 8 | ||
| + | | 9 | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 9 | ||
| + | | GND | ||
| + | | | ||
| + | |- | ||
| + | | | ||
| + | | 10 | ||
| + | | TP9 | ||
| + | | | ||
| + | |- | ||
| + | |} | ||
enc -- hammer. 1 - 7, 2 - 6, 3 - 5, 4 - nc, 5 - 8, 6 - nc, 7 - 11, 8 - 9, 9 - gnd, 10 - tp9 | enc -- hammer. 1 - 7, 2 - 6, 3 - 5, 4 - nc, 5 - 8, 6 - nc, 7 - 11, 8 - 9, 9 - gnd, 10 - tp9 | ||
Revision as of 14:08, 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 Hammier_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 |
|---|---|---|---|
| 1 | 7 | ||
| 2 | 6 | ||
| 3 | 5 | ||
| 4 | N/C | ||
| 5 | 8 | ||
| 6 | N/C | ||
| 7 | 11 | ||
| 8 | 9 | ||
| 9 | GND | ||
| 10 | TP9 |
enc -- hammer. 1 - 7, 2 - 6, 3 - 5, 4 - nc, 5 - 8, 6 - nc, 7 - 11, 8 - 9, 9 - gnd, 10 - tp9
Also make sure that your 5V main power supply can supply the Hammer as well as the ENC28J60-H.
Software driver info:
The Good Kernel SPI API
The Bad &
The Ugly The current "driver"

