Wednesday, April 7, 2010

nano Ethernet(PIC16F84 & Enc28j60)

Using PIC16F84 to host an ethernet service.

Problems:
SPI routine for PIC16F84
Minimizing Enc28j60 IP Stack
Interfacing PIC16F84 to Enc28j60

Given:
1)No built in SPI functions
2) Limitted ROM,SRAM,EEPROM
3)Limitted Ports

HowTos'
Source Coding:
1) Write/Read SPI I/O routine
2) Write /Read Op Register
3) Write/Read Buffer
4) Write/Select Bank Register
5) Initialize SPI
6) Initialize Register
7) Check link
8) Arp Request
9) Poll Paccket Recieved
10) Execute Flow

Hardware Design Implementations:
Tri State port A
Tri State Port B

Techno Algorithms:
Begin
Check the link
Brodcast Mac Address range
Arp Request
Check the polled packet
Output the recieve d packet
End.

Schematics:
Photos:
Complete Prototype


Remarks:

Conclusions:


Thanks

E^3

No comments:

Post a Comment