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 support@ccsinfo.com

Anyone used ENC28J60 ethernet controller with a PIC ?

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



Joined: 29 Jun 2005
Posts: 13

View user's profile Send private message

Anyone used ENC28J60 ethernet controller with a PIC ?
PostPosted: Sun Jul 03, 2005 5:05 am     Reply with quote

I am wondering if someone succcessfully used the ENC28J60 ethernet controller with a PIC. Can you simply transmit data, or you need to buffer it ? And one more question: the ENC28J60 can/must be programmed tu function properly ? or you simply send or recevie data through SPI and that's all ?
Thank you very much.
P.S. I am from Romania and I can't find this device. What is it's price ?
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Jul 03, 2005 5:47 am     Reply with quote

I have not programmed it yet but plan to do shortly. It is an NE2000 compatible device so a lot of the exisitng PIC drivers out there should be relativley easy to port. If you search the web you will find several RTL8019A drivers for the PIC. This is also an NE2000 device but communication is via a parallel bus. I suspect this will be a good starting point for developing the ENC28J60.

UPDATE: I have started software development for the ENC28J60. It is radically different from the RTL8019A and my existing driver will be require a complete rewrite.



No. it is not a plug and play solution, drivers need to be developed / ported.

To find the device go to www.microchip.com - you will find the pricing on their site. Form memory it is around US$7 in single off quantities
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!


Last edited by asmallri on Tue Jul 26, 2005 5:44 pm; edited 2 times in total
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sun Jul 03, 2005 9:25 am     Reply with quote

I think you will find most of your answers in the datasheet. Price, around $5. Have I used it successfully, well not yet but shortly. I have the raw PCB's and components. You can't buy the device just yet but you might be able to get samples. One errata with the device is that you must talk SPI @ 10MHz.
valemike
Guest







One-Chip solution
PostPosted: Sun Jul 03, 2005 11:54 am     Reply with quote

I know Freescale has one already.

Microchip is coming out with a micro that has an ethernet controller. So it's like having that ENJ part inside a PIC.
meme



Joined: 29 Jun 2005
Posts: 13

View user's profile Send private message

PostPosted: Sun Jul 03, 2005 2:50 pm     Reply with quote

valemike, how soon will it be on the market ? do you have a link, or something ?
valemike
Guest







PostPosted: Sun Jul 03, 2005 8:11 pm     Reply with quote

It is called the PIC18F97J60. It is being pitched by some preliminary sales guys and FAEs as the "EtherPIC"

You can find a very few hits on Google. I don't know when they're coming out with it though.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Jul 04, 2005 12:39 am     Reply with quote

valemike wrote:
It is called the PIC18F97J60. It is being pitched by some preliminary sales guys and FAEs as the "EtherPIC"

You can find a very few hits on Google. I don't know when they're coming out with it though.


At least a year after any date they promise you! Laughing
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Jul 05, 2005 7:55 am     Reply with quote

What is part# for the freescale part that is out all ready?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Tue Jul 05, 2005 7:56 am     Reply with quote

MC9S12NE64
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Jul 05, 2005 8:16 am     Reply with quote

Thanks.
I thought this was an interface. Turns out it is an mcu.

Thanks for the quick reply.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Tue Jul 05, 2005 8:18 am     Reply with quote

Yeah, that's what Mike was referring to. Problem I see with them is the limited amount of flash and SRAM. If you stuff the MAC inside the micro it takes up space. The space that is used for the flash and SRAM.
Guest








Re: Anyone used ENC28J60 ethernet controller with a PIC ?
PostPosted: Sat Nov 19, 2005 4:54 am     Reply with quote

meme wrote:
I am wondering if someone succcessfully used the ENC28J60 ethernet controller with a PIC. Can you simply transmit data, or you need to buffer it ? And one more question: the ENC28J60 can/must be programmed tu function properly ? or you simply send or recevie data through SPI and that's all ?
Thank you very much.
P.S. I am from Romania and I can't find this device. What is it's price ?
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

RE
PostPosted: Sat Nov 19, 2005 5:52 am     Reply with quote

Hi,

I think it is not been released yet.

Is NE 2000 a good enough or are there better ones in the market. ??

thanks
arunb
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Nov 19, 2005 9:11 am     Reply with quote

The ENC28J60 is obviously easier and will offer higher performance for most PICs with SPI interfaces.

Another alternative is the AX88796L it is a 10/100 controller that is NE2000 ish. I have had a look at what is required to port a RealTek implementation to this and it is quite trivial. However, when you look at the maximum throughput you can achieve with a PIC driving an Ethernet controller there is really no value in a 10/100 interface as you cannot get to 10M anyway. For a project I am working on, I worked out I can achieve higher throughput with the ENC28J60 than with a 10/100 controller when using a 40M PIC18F MCU. It might be a different story with a PIC24F or dsPIC33.

The RealTek 8019AS is one of the most common 10M controllers used with PICs.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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