Gigabit Ethernet Hardware Design - Phil's Lab

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 95

  • @youriklaassens7198
    @youriklaassens7198 2 місяці тому +67

    Never clicked faster on a Phil's Lab video than this one. Just wanted to say that I genuinely appreciate your quality of videos that you continuously push out.

    • @PhilsLab
      @PhilsLab  2 місяці тому +3

      Thank you very much!

    • @rallymax2
      @rallymax2 2 місяці тому +1

      10000%

  • @abobakeralhadar8854
    @abobakeralhadar8854 2 місяці тому +12

    Ethernet is such a complex topic but when you came to this you make the Most professional and simplified content as usual i think i will make my own one after this video really appreciate your work keep going with much complex ones ❤

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      Thank you very much for your kind comment!

  • @EmbeddedEnigma
    @EmbeddedEnigma 2 місяці тому +12

    man never clicked so fast on the video in my life. I am recently designing Gigabit PoE PSE and was looking for some references and was even going to look at your previous ethernet video and here you uploaded the exact thing. Love you

    • @PhilsLab
      @PhilsLab  2 місяці тому

      That's awesome, thank you - hope all goes well with your design!

  • @mikeselectricstuff
    @mikeselectricstuff 2 місяці тому +9

    Something that can be useful to know is that it's not necessary to length-match between pairs from the Phy to the magjack - I was unsure of this when doing an unusal GbE application, so did some testing and found that it was quite happy with an extra metre of cat5 on one pair!

    • @PhilsLab
      @PhilsLab  2 місяці тому +2

      Yep, exactly! I put that as a note in the video as well in the PCB MagJack section.
      Super interesting though that even having a length-difference of 1m still worked!

    • @cedricb2344
      @cedricb2344 2 місяці тому

      I think your PHY performed some kind of wizardry there aha. It is true that length matching diff pairs is absolutely not needed if the pairs are routed symmetrically. (Not possible with some THT connectors)
      Even better with good uniform prepreg.
      The tight requirements on pair is generally to allow the system to work in spite of a bad link like in general a bad cable.

  • @jefflongo
    @jefflongo 2 місяці тому +5

    Recently had to teach myself all this stuff for work. I would have killed for this video a couple months ago! Excellent video with the perfect amount of depth.

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Thank you very much, Jeff!

  • @bubbasplants189
    @bubbasplants189 2 місяці тому +1

    Thanks Phil! You're a legend for sharing all these videos for free! I've applied some of the knowledge to projects to learn more and it's helped get my resume noticed a lot easier. Keep up the great work!

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Great to hear that these videos have been helpful for your projects, thank you!

  • @Jonathan-ru9zl
    @Jonathan-ru9zl 2 місяці тому +1

    I'm an embedded engineer but your videos are always worth watching ✔☺

  • @siralee4911
    @siralee4911 2 місяці тому +3

    I'm planning on implementing some POE smarthome devices and this is actually very useful (as always)

    • @PhilsLab
      @PhilsLab  2 місяці тому +2

      Awesome, good luck with your designs!

  • @saeedkizzy
    @saeedkizzy 28 днів тому

    thanks Phil, really good video.I like to add some detail about the RGMII bus that is the RX and TX delay according to spec in order to RGMII to work you need 2ns skew for RX and TX clock to data lines, in your chip(RTL8211) add both delays by strapping pin but some chips do not have that option so designer should access some registers through MDIO bus and activate those delays in software.

  • @Talkazo
    @Talkazo Місяць тому +1

    First of all thank you very much for all your videos! These are great!!
    Could you maybe think about making a video that covers like many "just common practices" for Layout of PCB's you are doing now but just learned it the hard way..

  • @timschulz9563
    @timschulz9563 2 місяці тому +3

    Thanks for the video! I'd love to see a video about PoE in the future.

  • @MaX271
    @MaX271 2 місяці тому +2

    Very good quality video as per usual! Pretty exhaustive end-to-end instructions 👍
    However there is some 'gotcha' that's not necessarily well know about RGMII. in the base spec, data are emitted synchronous with the clock, which means that the setup time requirement for the reception part isn't met.
    Either you have to add ~1ns of delay on the clock with a lengthened trace, either the PHY (or maybe MAC) have a retiming functionality built-in. Even though it seems like most PHY integrate this functionality, it's still something to be verified when choosing a matching PHY-MAC combination

    • @PhilsLab
      @PhilsLab  2 місяці тому +2

      Thank you, and yes, very good points I should've mentioned! The PHYs in many cases seem to integrate this functionality (flexible adjustment of RGMII delay, either via strapping or MDIO), from what I've seen across multiple devices.

  • @AzaB2C
    @AzaB2C 2 місяці тому +1

    Neat! Thank you for this one Phil. Love your content, even if my brain is resistant to fully acknowledging and understanding at the data rate you're imparting knowledge.

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Haha thank you very much!

  • @doronlola1763
    @doronlola1763 Місяць тому

    Hey Phil I love your videos. Honestly the only thing I can think of you improving is uploading in 4K just so that some of the text is clearer, otherwise you are so helpful thank you !

  • @M_Gargantua
    @M_Gargantua 2 місяці тому +2

    Would love a follow on device that can do PoE or USB or External, and the resulting mess of smart power switches to prevent backfeeding or overvolting anything during hotswaping.

  • @nathannation
    @nathannation 2 місяці тому +6

    It would be the most epic thing if you did a piece or two on PoE specifically PSE and PD.

  • @miskoL0L
    @miskoL0L 2 місяці тому +1

    This is what I needed right now! Perfect timing!

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      Awesome, glad to hear that!

  • @A_H_SA
    @A_H_SA Місяць тому

    Hello Phil,
    Thanks a lot for your videos, they have been always been great companion and help in my study and later work. Still get excited about every and each new design of you. I have also noticed the esthetics are incredibly beautiful, the designs look pretty cool and pieces of art. As a side note could you please share with us how do you do this gradual Copper to power pins? It seems not manually done but sort of systemically as if using tool in altium. Thanks again for offering your work and explanations for us to learn from.

  • @brannonmcevers1854
    @brannonmcevers1854 Місяць тому

    Phil, another great video! Thanks for sharing your experience and insights. I have an idea for a video. I know you're into audio electronics (as am I). Could you do a video regarding correct PCB design for an audio power amplifier (discrete class AB). These boards are constrained to only 2 layers, they have high and low Z signal sections. Large rectified half sines can be induced into the small signal. Top it all off with a NFB loop that connects input to output. I think a video like this would be valuable for any high power PCB design. Thanks again!

  • @hristiyanvasilev1720
    @hristiyanvasilev1720 2 місяці тому

    This is an excellent video and channel. Thank you for the content and the quality of the videos. Very valuable content.

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Thank you for your kind words!

  • @asprillamangombe8560
    @asprillamangombe8560 2 місяці тому

    Awesome video .Its always a pleasure to learn form you .

  • @Neywiny
    @Neywiny 2 місяці тому

    I would've liked to have seen some mention of current-mode vs voltage-mode PHYs and how you have to choose the magnetics correctly. I couldn't find in the RTL8211 datasheet what the drive mode is, but a lot of dev boards copy-paste old MDI designs with newer PHYs and get it wrong.

  • @fedimakni1200
    @fedimakni1200 2 місяці тому

    Thank you for the amazing videos and all the details.
    Could you make a video about the issues we may face when connecting 2 PCBs with long wires? (power and signal issues - filtering - inductance - how to choose the wires ... and how to solve most of the issues) thanks again.

  • @kiprof4350
    @kiprof4350 2 місяці тому +1

    Hi Phil!, thank you so much for making such a video. This kind of information is truly extremely valuable. Maybe, similar to the Advanced Hardware Design course you did previously, you could provide a course about the design of this nice PCB as well? 😉

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      Thanks a lot for watching! Still working on a new course, which will most likely be an extension ('advanced') to the mixed-signal hardware course!

    • @kiprof4350
      @kiprof4350 2 місяці тому +1

      @@PhilsLab It's really nice to hear that Phil! I had noticed that the above beautiful PCB is for your new course, I'm eagerly awaiting your new course.This will really be a great! Thank you very much!

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      @@kiprof4350 Many thanks again! :)

  • @almc8445
    @almc8445 2 місяці тому

    Bruh I was just doing some research into this very topic a month or so ago - I couldn’t find any good information, so this is perfect!

  • @PedrinCBr
    @PedrinCBr 2 місяці тому

    Hi Phil, how are you? My name is Pedro and I'm studying engineering here in Brazil, my final course project is an aeropendulum and your control system design videos have helped a lot, do you have the continuations of this series? I only found the first 3

  • @natsudragneel293
    @natsudragneel293 2 місяці тому +1

    Can you do a video on esp32-s2 UAC, along with the firmware and testing?

  • @liliansirbu840
    @liliansirbu840 2 місяці тому

    Thank you so much. A few months ago I had to dig in all this because of RGMII and RMII, where I used same ICs. We have a similar approach to such design. BTW, if the traces are longer than 2inches, make sense to add a clock buffer IC, or buffers on each line? Other question migh be from another topic. Are you controlling Phy registers over MDIO interface, or leave them by default, or let Phy do by its own the negotiation with a lan hub? I am ot sure if you have mentioned that, but the difference between RGMII and RMII on the same clock speed, is that the first one is sampling data because of DDR pins properties of FPGA or ASICs. This is important if the design is not related to the PS (SoC) where all this is arranged already. I used in my design the generic FPGA banks.

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      I've never needed to add buffers to these lines, but then again I haven't run the RGMII signals longer than that before. Regarding PHY registers, yes, these I am controlling via MDIO.

    • @liliansirbu840
      @liliansirbu840 2 місяці тому

      @@PhilsLab thank you for quick response. Do you have a video where you are handling MDIO registers? BTW, in case if someone want to analyse the MDIO, the pulse-view can decode that data.

  • @kanyethegoatnocap
    @kanyethegoatnocap 2 місяці тому

    i just finished my first ever pcb thanks to you, i would love if you could give me a small fast review if possible, it would help me prevent losing money and time
    also thanks a lot for making all these videos accessible for everyone , much love from africa

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      Congrats on finishing your first PCB! I'd suggest posting your design in the PCB sub-reddit for a review.

  • @gustavwahl
    @gustavwahl 2 місяці тому

    Always enjoy your videos!!
    Just wodnering have you ever considered doing a tutorial video series from design to a fully finished product? (Similar to your Kicad hardware design tutorials, but going one step further with a specific use case)

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      Thanks, Gustav! I'd like to make a tutorial series like that, but unfortunately it seems that UA-cam + extended tutorial videos (split across multiple videos) don't give terribly many views.

    • @gustavwahl
      @gustavwahl 2 місяці тому

      @@PhilsLab Ohh that's unfortunate, would definetly to see any short showcase of a finished product you have made

  • @sanjikaneki6226
    @sanjikaneki6226 2 місяці тому

    Will you also do a vid on the Petalinux+ linux driver part of the bring up?

  • @patrickrostami
    @patrickrostami 2 місяці тому

    Perfect video as usual 👌

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Thank you, Patrick!

  • @ttschabos
    @ttschabos 24 дні тому

    How do you make the outer ring without solder mask in Altium? Just manually or is there something like the board outline clearance you can use for the solder maks layer?

  • @milindjani7118
    @milindjani7118 2 місяці тому

    Awesome video and great content. What do you usually do for VCC pin on RJ45 connector? As I see in the datasheet, it is center-tap to the transformer!

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Thanks! Depends on the PHY/system set-up. Some PHYs are 'current-mode'/open-collector drivers and require a voltage attached to the center-tap. Alternatively, other use cases are PoE, for example.
      For these types PHY, such as in the video, I generally leave it floating.

  • @C.AMohammedMeeran
    @C.AMohammedMeeran 2 місяці тому

    Hello Phil, I am a mechanical engineering student.
    I am interested in learning PCB designing because I am currently working on a mechatronic project that uses microcontrollers, sensors, and some analog and digital circuits.
    Can you suggest a learning path for how I should start my PCB designing journey from basic to advanced?
    Can you suggest some PCB designing resources?

  • @Bajran_
    @Bajran_ 2 місяці тому

    Wow this is awesome !!! too high level for me.

  • @SkyLab_Aerospace_LTD
    @SkyLab_Aerospace_LTD 2 місяці тому

    Hi Phil, did you release the schematics for your M.2 FPGA Video?

  • @pranjalkushwaha197
    @pranjalkushwaha197 2 місяці тому

    Hi Phil, it was a very informative video with awesome explanations.
    I had a small question.
    In the latest altium academy video where Zach Peterson compares CircuitMinds's auto-generated schematic with a human one at 8:35 he says that diode protection is a nice add to protect against SD card insertion/removal ESD events. Is this a concern for RJ-45 as well?

    • @PhilsLab
      @PhilsLab  2 місяці тому +1

      Thank you! The topic of ESD protection for Ethernet deserves a video on its own. But in short: yes, all/most external interfaces should have adequate ESD protection tailored to requirements of that system. For Ethernet we have the 'issues' of isolation (separate GNDs possible, often can only use TVS diodes differentially, etc.), but also inherent ESD protection in the magnetics/PHY. For simple, home-use boards like this, for Ethernet I haven't found the need to add additional ESD protection devices. For more detail, check out:
      m.littelfuse.com/~/media/electronics/application_notes/esd/littelfuse_ethernet_electrical_threats_and_protection_application_note.pdf.pdf&ved=2ahUKEwjisKXLj42IAxUl0wIHHVs4Onw4ChAWegQIChAB&usg=AOvVaw36fmFoTe5xXUS4iqTgiS_x
      There are also a number of examples on the Electronics StackExchange that go into more detail.

    • @pranjalkushwaha197
      @pranjalkushwaha197 2 місяці тому

      @@PhilsLab Hi Phil, thanks for answering and linking the resource.

  • @vishwakvishu2023
    @vishwakvishu2023 4 дні тому

    Series termination is only at driver side? or is it required at other side also? please clarify this

  • @learner7040
    @learner7040 2 місяці тому

    Hello, I am using KiCAD and would like to start learning high speed PCB Design. Could you please suggest your videos or other resources for the same? Thank you!

  • @akshatmodi4843
    @akshatmodi4843 2 місяці тому

    Hey super nice video buddy! Absolutely fantastic work... Could you also make a video on how to setup a STM32 F4 / F7 chips with LAN 8742A ethernet controllers? The standard STM Schematics are really difficult to work with 😅
    But keep going with the great content, Respect ❤

  • @EngineerAnandu
    @EngineerAnandu 2 місяці тому +1

    Thank u Sir.

  • @brendandurkan3605
    @brendandurkan3605 Місяць тому

    Can you use the same setup for fast ethernet? or do I need different components?

  • @a.villegas3414
    @a.villegas3414 2 місяці тому

    Amazing!!! A long run video! Thank you for all the knowledge that you share with us

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Many thanks for watching!

  • @norm1124
    @norm1124 2 місяці тому

    thanks for the great video

  • @retronexusnet
    @retronexusnet 2 місяці тому

    FINALLY! amazing

  • @andrewlloydwebber2616
    @andrewlloydwebber2616 2 місяці тому

    Great video!

  • @Chris-hi2hn
    @Chris-hi2hn 2 місяці тому

    Does anyone have an example implementing the zynqs ethernet controller. Particularly the remote pc interfacing it, I have a similar setup and building a udp interface using vitis.

  • @awocrf
    @awocrf 2 місяці тому

    Do you make these PCBs for yourself or for work? Are these available somewhere as a finished product?

    • @PhilsLab
      @PhilsLab  2 місяці тому

      The PCBs shown in the YT vids are all personal ones. I'm afraid they aren't currently for sale.

  • @aneeshprasobhan
    @aneeshprasobhan 2 місяці тому

    I designed one in the past few months and to be honest, I spent too much time researching about the Bob Smith termination xD

  • @chengL10
    @chengL10 2 місяці тому

    Is there a new online course coming soon ?

    • @PhilsLab
      @PhilsLab  2 місяці тому +2

      Still working on one - possibly next year!

  • @ameenibrahim7519
    @ameenibrahim7519 2 місяці тому

    Phils can you help me in building electronic circuit, i need only the power circuit , the circuit is for psd laser sensor. If you can please let me know. Thank you.

  • @jeffbeasley8235
    @jeffbeasley8235 2 місяці тому

    great video. always an easy click for me when I see you have uploaded.
    one comment -- the audio cuts in this particular video really annoyed me. it felt in many cases that one sentence was barely finished when the next one came in on top of it, especially in the first half of the video (and even sometimes, mid-sentence an edit was obvious and jarring). I know that editing is very time consuming and you're probably doing it yourself, but that is my honest feedback and I hope it's constructive.

    • @PhilsLab
      @PhilsLab  2 місяці тому

      Thanks for the feedback, Jeff. I'll listen back to the video and try to improve for future videos.
      Edit: Just had a scan through the video to listen, but can't quite pick up on what you mean (probably just used to how I edit these!) - could you please provide some example timestamps where this happens? Thanks!

  • @bobby9568
    @bobby9568 2 місяці тому

    Github link doesn't contain this schematic...😅

  • @sopheaktrachhorn3401
    @sopheaktrachhorn3401 2 місяці тому

    What is the via size for impedance control trace?

    • @PhilsLab
      @PhilsLab  2 місяці тому

      For these 'not-too-high-speed' designs, via sizing isn't too important. As the overall via length can be considered a lumped element and only presents a very short impedance discontinuity. I use vias that I'm already placing in my design (e.g. 0.7mm pad, 0.3mm drill) and if I'm spaced-constrained will reduce drill and pad sizes.

  • @MrKerim2000
    @MrKerim2000 2 місяці тому +1

    Was kostet eigentlich das ganze Projekt?

    • @PhilsLab
      @PhilsLab  2 місяці тому +2

      Das hat für die Prototypen (2 Stück) ca. 1450 USD inkl. Leiterplatten + Bestückung + Komponenten gekostet.

  • @timeltdme4355
    @timeltdme4355 2 місяці тому

    i am curious about this ascope

  • @politismos3929
    @politismos3929 2 місяці тому

    I've been looking for a video like this.... Downloaded saved. Oooooo I'm boutta make a name for myself here