garankonic / fpga_ethernet

Provides Ethernet connection between computer and FPGA using Marvel 88E1111 transceiver
5 stars 1 forks source link

Request for help #1

Open CWYH opened 7 years ago

CWYH commented 7 years ago

Dear Garankonic: I am now facing some problems of using 88E1111. My borad uses Xilinx Artix-7 and MGTP pin is connected to the PHY chip. Now I have to use GTP core to connect several FPGA boards using 88E1111. The data transfer uses SGMII, and how can I configure the 88E1111 with FPGA? A lot of thanks to you if you can help me. Best Wishes!

garankonic commented 7 years ago

Dear CWYH, Sorry for the late answer. First of all - I wish you a good luck, because the 88E1111 is super tricky..

  1. Try to check your board specifications: I worked with KC705 Evaluation Board, where were two jumpers responsible for switching from GMII to SGMII mode.
  2. If no - you need to reconfigure the 88E1111 with MDIO after each power-cycle. I have started to understand this interface and succeeded to read-out some registers, but then found that I only need to switch jumpers. I can send the code to you privatly, if you need. The problem with that MDIO interface is that 88E1111 Product Manual is not public, so you need to ask Marvel to send it to you, because it contains register addresses.
  3. The last, but not least: check the PHY_RESET port of the 88E1111 - it's active LOW. So if it's not connected it's always in a reset state. You need to connect this port to '1'.
JasmineJinwal commented 5 years ago

Dear Garankonic: I am facing problems in finding the files mentioned in the build.tcl file due to which I am unable to recreate the project My board is kintex 7 KC705. I have to design Gigabit Ethernet Communication Interface using Kintex-7 KC705 FPGA board. Thank you for taking some time out from your busy schedule and looking into my request. A lot of thanks to you if you can help me. Best Wishes!

garankonic commented 5 years ago

Dear Jasmine, The files missing in the project are related to the custom CERN development... I do not think, that you need them - they provide a dedicated optical interface. So just remove all the files which have *gbt-fpga" mentioned. Or you can simply use the previous commit - here Please, note, that what you can find in this repository - is just a simple example. However, it does not implement a full protocol.

max9901 commented 5 years ago

Dear Garankonic, " If no - you need to reconfigure the 88E1111 with MDIO after each power-cycle. I have started to understand this interface and succeeded to read-out some registers, but then found that I only need to switch jumpers. I can send the code to you privatly, if you need. The problem with that MDIO interface is that 88E1111 Product Manual is not public, so you need to ask Marvel to send it to you, because it contains register addresses. " if it is possible at all i would like to look into the code u mention here. Best Wishes!

garankonic commented 5 years ago

Dear max9901, Unfortunately, it's been a while since I was working on this and I am not able to recover this particular part of the code dedicated to the 88E1111 configuration, sorry. I would just google "88e1111 mdio" and also try contacting Marvel to get the product manual. As for the MDIO itself - I bet you will find a lot of ready implementations of this interface. Cheers