Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

spartan3e ethernet PHY help

Status
Not open for further replies.

colt45

Member level 1
Joined
Feb 26, 2009
Messages
35
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,288
Activity points
1,485
i am using spartan 3e board to transmit UDP packets.

The problem is that i can write to PHY registers but i cannot read them or atleast i cannot see any data in the chipscope pro.
kindly help me out.
 

first of all, which PHY chip are you using?
are you using Xilinx MAC? it has an host interface which will help you to connect with PHY chip.
how do you write to PHY register? if you used MDIO for that, then you can surely read the PHY registers using MDIO.
you need to apply proper settings in the PHY registers in order to get your data transmitted over ethernet.
 

it has SMSC LAN83c185 PHY.
No i am not using xilinx mac rather i've written my own code i.e i am basically trying to send predefined frames.
And yes i am using MDIO interface, i can write to them but i dont know y i cant read. The simulation is working fine but when i run it on FPGA then no success..
 

Maybe you have not reseted you PHY properly, or have
incorrect management interface adress.
Management interface of the PHY is open collector type and then it is
much slower. And do You remember to send preamble (32 ones) before register read.
I have spartan 6 with Marvell Phy at XILINX601 board and I can read from phy regs.
(adress is on the schemo)
I also use own code rather than MAC core, for clocking purposes.
Good luck! ,

Michael

P.S.: How You are handling UDPs at the side of computer for debugging reason?
 

I'm interested in using Ethernet with Digilent Spartan3 board and LAN83C185 PHY. I've checked a lot of VHDL and Verilog code but there was always some bug(s) which prevented it use. So, I have decided to write my own code. Could anyone help me with some example code to start with?

Sincerely,

Vicente.
 

@colt45
i m also starting to work on CHIPSCOPE PRO and i have read the tutorial for that as u have already worked on it can u explain me how to see the signal in my hardware through chipscope pro
 

which tutorial are u following ? the one by xilinx or some other?
 

Hi,

I was just wondering how far you are for this project? I am also trying to do the same thing, and was wondering if you can offer me some help.

Thanks in advance!
 

I've also spent some serious amount of tyme trying to implement Ethernet on Spartan 3 board. Itried different available MAC cores with no success. Finally, I decided to use Xilinx MAC IP-core, but it doesn't work for transmission in my project. And I just have no time to write MAC from scratch.
So, I'm also interested in some working code, especially for transmission form FPGA into network.

Thanks in advance!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top