Difference between revisions of "Hammer How to Enc28j60"
|Line 76:||Line 76:|
Revision as of 16:21, 12 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
Also make sure that your 5V main power supply can supply the Hammer as well as the ENC28J60-H.
I used a socket strip that keeps the board about 1/2 inch above the Hammer_Carrier prototype area. This may be important because the PIC chip on the ENC28j60 gets quite warm.
Software driver info:
The Good Kernel SPI API The Bad The 2.4 driver The Ugly The current 2.6 "driver" enc28j60.c.diff enc28j60.h.diff Kconfig.diff Makefile.diff
The driver may either be compiled as a module, or as a part of the kernel. If you are running short on space for the kernel, it's probably advisable to compile it as module.
The SPI channel that is reserved for the ethernet on the Hammer Carrier board is SPI0. The MMC interface uses SPI1. The current UBE driver may need to be re-configured if you are going to use anything but the Hammer Carrier.