Can we start a section both in schematics and PicBasicPro in the forum to deal with the ENC28J60 chip?
I've read through the monster datasheet from microchip and am wondering if we can start discussion on various (many) details regarding using this chip with PICBASIC.
As I understand it the microcontroller will communicate via SPI with the ENC28J60, is it possible for us to develop PICBASIC commands to help setup and initialize the ENC chip and also send and receive data?
Maybe we can call them NICOUT and NICIN?
anyone else getting started with these that might want to work together?
Hi. I'd like to learn about Ethernet applications. I'm a rank-beginner to PICs, but would like to participate in the discussion.![]()
This is a great tutorial for using Bascom-AVR code to drive the ENC28J60
http://members.home.nl/bzijlstra/sof...s/enc28j60.htm
Anyone have similar PICBASIC code?
I'm a beginner / noob so please excuse me ahead of time for being a goof.
I found this work done by Gabi MIHAILA ... it seem's to contain a good start to working in PICBASIC with the ENC28J60...
http://download.collem.nl/enc28j60.zip
The include file (the driver?) looks especially good as it seems to include everything to at least get us to an initialized setup.
I'm expecting to receive my ENC28J60's shortly.. i've also ordered some MAGJACK RJ45 jacks (they have integrated magnetics) and am hoping to have the initial circuit on my breadboard soon as I'm eager to get more farmiliarized with network capable microcontroller applications.
The main areas right now (before I've really done anything - but after a fair amount of reading) of concern are:
A) Clock source (PIC has seperate crystal? PIC is Clock from ENC28J60? how does this all effect SPI etc.)
B) 3.3v levels of the ENC28J60 and 5v PIC... Can I run at 3.3v all around or should i expect to be implementing some kind of level shifting? (not to many sources describe the particulars in this area.)
C) Debugging interface
Is there a more appropriate area to be posting all this?
Last edited by RYTECH; - 5th October 2007 at 04:52.
Have you seen the ongoing threads about programming the PIC18F67J60 (in essence a PIC married to the ENC28J60) in the PicBasicPro forum?
http://www.picbasic.co.uk/forum/show...ht=PIC18F67J60
http://www.picbasic.co.uk/forum/show...ht=PIC18F67J60
I have reveiwed that thread but when I looked up that part microchip didn't seem to offer a DIP version so I stuck to trying to get going with the ENC28J60.
Bookmarks