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

ENC28J60 Question

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



Joined: 07 Feb 2006
Posts: 16

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

ENC28J60 Question
PostPosted: Wed Jun 14, 2006 2:20 pm     Reply with quote

Hi,

I am trying to properly wire up the circuit for the ENC28J60. I would like to know if the device will link up (LEDA/B) will see ethernet even without the chip being wired into the MCU yet. I've been having trouble getting the circuitry correct, anyone want to point me in the right direction? Also, will 51 Ohm resistors do justice instead of the 50 ohm? Also, is the ferrite bead even needed to make it work?

Thanks!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jun 14, 2006 2:35 pm     Reply with quote

Have you looked at the reference designs ?

Frame Thrower board:
http://www.edtp.com/ft_page.htm

asmallri's board:
http://www.brushelectronics.com/index.php?page=software

PicTail board:
http://ww1.microchip.com/downloads/en/DeviceDoc/MCHPStackENC8722v302.zip
Schematics are available in this directory after installation:
c:\MCHPStackENC8722\PICtail board files\
bretesq



Joined: 07 Feb 2006
Posts: 16

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

PostPosted: Wed Jun 14, 2006 3:17 pm     Reply with quote

Yeah, those are the schematics i've been basing this off of. I think a problem I am having is with the Pulse jack I have.

The datasheet (http://www.pulseeng.com/products/datasheets/J402.pdf) on the J1006 connector shows that pin 1 starts on the top right. However, on the jack itself, the top row of pins is actually on the left of the bottom row. So its opposite of how it is now. Anyone use this jack before with some sucess?

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jun 14, 2006 3:41 pm     Reply with quote

There are two versions of this jack: "Tab up" and "Tab down".

You may actually have the "Tab down" jack. Download the data sheet
for the J403 series. Compare the photo on the data sheet to the jack
that you have.
http://www.pulseeng.com/products/dataSheets.aspx?Category_Id=20
asmallri



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

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

Re: ENC28J60 Question
PostPosted: Wed Jun 14, 2006 6:20 pm     Reply with quote

bretesq wrote:
Hi,

I am trying to properly wire up the circuit for the ENC28J60. I would like to know if the device will link up (LEDA/B) will see ethernet even without the chip being wired into the MCU yet.


I have not tried it without wiring the MCU but I have without the MCU being programmed. The Link LED will function without the MCU initialising the ENC. However if the MCU does initialise the ENC controller and does it incorrectly then the LEDs may or may not provide any useful indication.

Quote:

I've been having trouble getting the circuitry correct, anyone want to point me in the right direction?


From my trolling of various forums, the most common error with "roll your owns" hardware implementations is the incorrect termination between the ENC and the RJ45 connectors with embedded magnetics. You must ensure that the specific RJ45 you are using is wired correctly to the ENC.

Quote:

Also, will 51 Ohm resistors do justice instead of the 50 ohm?


Yes

Quote:
Also, is the ferrite bead even needed to make it work?


It will work with a link in place of the ferrite for debugging purposes.

I have a few reference designs published. Here is a link:
http://www.brushelectronics.com/index.php?page=projects
_________________
Regards, Andrew

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



Joined: 07 Feb 2006
Posts: 16

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

PostPosted: Wed Jun 14, 2006 7:57 pm     Reply with quote

PCM programmer wrote:
There are two versions of this jack: "Tab up" and "Tab down".

You may actually have the "Tab down" jack. Download the data sheet
for the J403 series. Compare the photo on the data sheet to the jack
that you have.
http://www.pulseeng.com/products/dataSheets.aspx?Category_Id=20


Very wierd. I just double checked those datasheets, I am looking at the right one TAB-UP PulseJack J1006F01P.

Very odd
bretesq



Joined: 07 Feb 2006
Posts: 16

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

PostPosted: Sun Jun 18, 2006 8:04 pm     Reply with quote

Thanks guys, I've got the ENC working perfectly! It seemed to be the magnetics that was the problem, I did a little trial and error with the PulseJack (since the datasheet was still wrong) and I eventually got it to work.
hasnwdd
Guest







PostPosted: Thu Apr 02, 2009 12:23 am     Reply with quote

I have some troble. I forgot to use magnetic transformer. I directly connect pin TPOUT and TPIN to RJ45 (without transformer). Is my enj28j60 chip damaged?
thx
asmallri



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

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

PostPosted: Thu Apr 02, 2009 7:51 am     Reply with quote

hasnwdd wrote:
I have some troble. I forgot to use magnetic transformer. I directly connect pin TPOUT and TPIN to RJ45 (without transformer). Is my enj28j60 chip damaged?
thx


There is a good chance it is damaged.
_________________
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