Electronics > Projects, Designs, and Technical Stuff
Ethernet Magnetics / Transformer
(1/2) > >>
adrifromhh:
Hello!

I am designing a project that's supposed to have Ethernet capabiltiy. I successfully hooked an ENC28J60 china testboard to an AVR and got it working.
Now I want to incorporate the ENC28J60 into my own schematic. I put the recommended external circuitry from the datasheet around it.
Is this enough?

Now it comes to ethernet transformers, which is a completely new subject to me.
I would like to know what to look for when using an external transformer vs integrated RJ45 connector with magnetics. Im not sure what will fit my needs better right now.

In which ways do different transformers differ? Are they all basically the same?
When using an external transformer, do I have to care much about cable length between transformer and RJ45 connector? Can I run a 20cm flat-flex cable between them?

Best regards,
Adrian
adrifromhh:
My circuit so far:
T3sl4co1l:
Trace length between PHY and transformer should be minimal, specifically, an electrical length much less than a bit time.

Choose a transformer suitable for your application.  If that's a 10/100 PHY, then get a 10/100 transformer.  Only needs to be dual, because 10/100 only use two pairs.  Connectors with integrated magnetics are great for this.  They also include the ESD capacitor and common mode termination resistors.

Or if you're doing PoE, get a transformer that supports that, and add the supply/converter as needed.  Or so on.

Follow the circuit recommended by the manufacturer.  Almost always, the PHY outputs are open drain, terminated with 50 ohm resistors, and the transformer CT is tied to +3.3V.

Tim
bson:

--- Quote from: adrifromhh on August 23, 2018, 04:57:10 pm ---When using an external transformer, do I have to care much about cable length between transformer and RJ45 connector? Can I run a 20cm flat-flex cable between them?

--- End quote ---
The PHY should always be close to the magnetics, and the only reason really to use external magnetics is if you need to physically separate the PHY from the jack.  Otherwise use an integrated magjack and place the PHY close to that; it's simpler, cheaper, smaller, and better.  Anything outside the magnetics, including traces, cabling, and any jack is part of the link, so is highly resilient to cabling, jacks, etc.  You could easily have a magjack on the PCB, then run a short section of cat5 soldered to a jack that's panel mounted, no worries.  100M-TX isn't going to flinch.   In fact, this is commonly done for wall plates.
adrifromhh:
Okay, thank you both for your advice!

I think I'll use a magjack in this project, but just to make it clear:
When the magnetics are close to the PHY, is it ok to run a ~20cm ribbon-cable from the transformer to an RJ45 jack on a front/back panel? (small PCB maybe with jack and shrouded header)

If it makes a difference for 10/100/1000 Ethernet, please consider that, as I'm currently only using a 10-BaseT PHY, but will probably upgrade in future projects.

Thanks!
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod