Ethernet controller

OP (Company: sewrew) #2491349
Rate this post
useful
not useful
Hello , i want to send data to my ethernet controller on my
FPGA(cyclone) board of Altera.
What algorithm of sending data via this interface ?? What first steps i
need to do in order to accomplish this mission. Maybe someone can advise
me some book that can help me in this project.
Thanks.
Guest #2491446
Rate this post
useful
not useful
Hi Fetz , ia want to specify my problem , I need information of how to 
do configuration of my ethernet controller on my FPGA board. Hence, how 
i say to controller that i want to work in full duplex ?? speed ? How 
configure the Ethernet PHY registers to operate in 10/100/Gigabit Mode 
??
Guest #2491579
Rate this post
useful
not useful
Sorry, if you don't get it ... There is more than one board out there 
and there is more than one ethernet-controller out there and so on and 
so on ...

Nobody will be able to help you if you don't tell us your exact 
model of your FPGA board ...
Guest #2492496
Rate this post
useful
not useful
More important than the FPGA-type is the used PHY.

I use a marvel 88E1111. For this chip the correct reset sequence is 
important. Second this chips needs a GTX-Clock, which has a phase of 90 
degrees. This can be done by a PLL.

Altera offers an Ethernet IP-core (Triple Speed Ethernet TSE), which 
supports also this Phy. I use this core, a self written reset-logic, and 
can receive data from ethernet.

The PHY itself is controlled over the MDIO interface. The TSE maps the 
phy-registers, that you dont have to access MDIO by yourself.
Guest #2492566
Rate this post
useful
not useful
There is no good book.

I gathered all information out of several buletin boards (like this 
here).
Marvell has a Technical Data Sheet, but you get it only under a NDA. So 
I had to work without it.

The reset logic is a simple state machine:
Wait 10 msec before apply the reset signal.
Do the reset signal for at least 10 msec.
Wait a longer time, (I used 3 seconds) before accessing the chip.

Next step would set up the MDIO registers.
This can be done over setting values in the TSE register section.

In the Altera TSE-Documentation the registers are described (section 5, 
Mac configuration register space)
Attached files:

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now