element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
PicoZed Hardware Design picoZed 7020 Ethernet interface connections to Ethernet Switch IC
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 173 subscribers
  • Views 547 views
  • Users 0 members are here
Related

picoZed 7020 Ethernet interface connections to Ethernet Switch IC

jesortsan
jesortsan over 4 years ago

Hi, my design consists of a carrier board that provides Ethernet connection redundancy (among many other things) by two Ethernet ports. On the other hand, I'm using a picoZed 7020 SoM (based on Xilinx Zynq platform) which goes plugged into that carrier board, in order to perform as the "CPU" of my system. That SoM has an Ethernet PHY inside, so that it provides 1Gb Ethernet interface lines directly on the module connector.

 

In order to get the Ethernet connection redundancy that I've mentioned before, I'm using the Ethernet Switch KSZ9896CTXI on my carrier board. I have connected KSZ9896CTXI Ethernet port 1 directly to the SoM 1Gb Ethernet lines, and ports 2 and 3 to the Ethernet connectors placed in the carrier board. Yo can see this configuration in the attachment.

 

With this scenario, I'm facing several issues with the Ethernet connection to the SoM (the other Ethernet ports work perfectly once the KSZ9896CTXI is powered). That problem consists in that sometimes (one out of four, approx.) the ARM inside the SoM is not able to initiate the Ethernet link. It looks like the conflict is in the PHY autonegotiation process, which isn't able to be completed and throws an error.

 

In order to find a solution, I've developed an appplication which is executed at the begining and checks the Ethernet connection:

* If it is OK, the application finishes.

* If there's a link problem, the applicaction resets the KSZ9896CTXI (I can control the reset line from the SoM), waits form 20 seconds and repeat the procedure.

 

This application could be a good workaround, since once the link is established, it never fails. But the problem is that the first reset not always solves the problem and the procedure has to be repeated several times. The consecuence is that in those cases the Ethernet link takes a lot of time to be available, so we don't meet one of our most important requirements (equipment must be compeltely running within 60 seconds).

 

I've done many tests in order to discard any software/firmware issue. In that way, I've been testing with the Development Carrier Card that provides the picoZed 7020 SoM manufacturer. That carrier provides a direct Ethernet connector (with no Eth Switch) and Ethernet link works perfectly there.

 

So, I guess I'm doing something wrong with the connection to the SoM from the KSZ9896CTXI. I've done that connection directly, but maybe some trafos (or any other things) are required (I don't know). I would appreciate that somebody checks the schematics that I have attached (to make it easier I've only included the related to this issue, not the entire carrier board) and let me know if you see something wrong in them. Any piece of advise on this issue will be very welcome, since I'm about to manufacture next PCB revision and I would like to completely solve this issue.

 

Please, let me know any other thing you linght need to work on this tech case.

 

Thanks in advance

 

Best Regards

Jesus

Attachments:
imageKSZ9896CTXI_Issue_Schematics.pdf
  • Sign in to reply
  • Cancel
  • jafoste4
    jafoste4 over 4 years ago

    Hi Jesus,

     

    By chance did you develop your own drivers for this PHY? Are you running your application under Linux or Standalone? When we developed the Network FMC which featured the KSZ9031RNX PHY, we were forced to create our own drivers for this board to avoid auto negotiation issues ourselves.

     

    -Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jesortsan
    jesortsan over 4 years ago in reply to jafoste4

    Hi Josh,

     

    since the PHY is on the SoM and I'm using all the BSP given by the SoM manufacturer, I guess the driver works fine. On the other hand, I've been also testing with the Carrier Developmen Board, which provides a direct Ethernet connector (with no Eth Switch) and the Ethernet link works perfectly there. So, my understanding is that I'm doing something wrong with the connection to the SoM from the KSZ9896CTXI.

     

    I'm running my application under Linux.

     

    Developing out own PHY drivers, culd be a solution, but I'm not completely sure the problem is there. Given the behaviour I've described, I think the issue is more related with the connection between the PHY and the Ethernet switch on our custom carrier board.

     

    Thanks for your help.

     

    Best regards

    Jesus

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jafoste4
    jafoste4 over 4 years ago in reply to jesortsan

    Hi Jesus,

     

    I just realized it was a switch and not a PHY, my apologies.Ill start looking into your schematic now.

     

    I would also highly suggest you file a support case with Microchip to help with this effort.

    https://microchipsupport.force.com/s/article/How-to-submit-a-case

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jesortsan
    jesortsan over 4 years ago in reply to jafoste4

    Hi Josh,

     

    I had already opened a support case with Microchip last week, without any response so far. I keep waiting for them to reply. On the other hand, I've also opened a support case on Xilinx web page forums, just in case the issue is related to petalinux and someone can help.

     

    Thanks for you support

     

    Regards

    Jesus

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube