CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ENC28J60 Hardware question

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ViperARG



Joined: 07 Jan 2017
Posts: 16

View user's profile Send private message

ENC28J60 Hardware question
PostPosted: Wed Feb 15, 2017 2:55 pm     Reply with quote

Hi my PIC friends =), I found ENC28J60 on a MCU box at my university laboratory and I found out this one are used for the ethernet module. but this one is a 28 pin DIP package which I found very weird, since is easier to buy the module already made. I see the tracks on the module that it connects straight to the SPI interface and the RJ45 Port with a 25Mhz crystal. Now my question is. Does it need to be programmed or is a ready to go chip? Which programmer tool do you use and compiler ? Does it need an external memory, (I only saw this chip on the module) ? if it doesn't, is out there a universal code for it?

Thanks in advance, big hugs =)
Ttelmah



Joined: 11 Mar 2010
Posts: 19494

View user's profile Send private message

PostPosted: Sat Feb 18, 2017 4:53 am     Reply with quote

The chip has it's own RAM, and an area of factory programmed 'microcode'.
It's not really a programmable chip, it's a 'configurable' chip. You talk to it using the SPI, and setup the registers to make it do what you want. It then performs various automatic functions to filter the transactions, and send/store data to/from it's internal RAM.
Some of the CCS embedded ethernet kits come with this controller, and there is supplied example code for these included with the kit.
There is a driver for the chip, supplied with the compiler (enc28J60.c), but the examples to use it are part of the separate kit.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group