Forum Discussion
Altera_Forum
Honored Contributor
16 years agoEthernet with DSP Dev. Kit Cyclone III (no NIOS)
Hi,
I have the dsp development kit, cyclone iii edition (http://www.altera.com/products/devkits/altera/kit-cyc3-dsp.html). How can I use the Ethernet? In my altera > 80 > ip Directory I have triple_speed_ethernet. Will that work with this board? Or will I need additional IP-Cores? Will they also be shipped with my dev. kit? And are there IP-Cores for USB-Communication? Kind regards, Stefan__66 Replies
- Altera_Forum
Honored Contributor
I didn't ;)
When you start to put a Nios processor and a TSE to a system, the compile time increases a lot. - Altera_Forum
Honored Contributor
Well, so far I can create the NiosII3C120DesignExample.
But if the board is OK I wonder why my Triple Speed Ethernet Core in Quartus does not work... Do you have a simple fpga design with TSE that works or do you have only NIOS software? - Altera_Forum
Honored Contributor
I had a simple design on the Nios forum, but not as good as thi one from the wiki. It would work only in gigabit mode.
But if on your design the PHY doesn't even autonegotiate a speed, the problem must be a simple one, related to signals directly connected to the PHY. Maybe the reset signal, a clock, or one of the MDIO signals. You can try and find the differences between your design and the wiki example in those areas. - Altera_Forum
Honored Contributor
Finally at least the physical connection works with the FPGA. :)
I think I owe you to say where the error was: I connected resetN to an (unassigned) input with default value = VCC. This was obviously wrong. I deleted the input pin and replaced it with primitives > other > vcc and then it worked. - Altera_Forum
Honored Contributor
I was about to suggest to put a proper reset signal generator for the PHY. The Nios example uses one (in global_reset_generator.v) that could serve that purpose.
The marvel chip is known for having reset issues on the Stratix board (it won't init properly if it didn't have a reset pulse at power up) but as far as I know the Cyclone III board doesn't have the problem. Still it is a good idea to reset properly the PHY at power up, it can't hurt ;) - Altera_Forum
Honored Contributor
--- Quote Start --- Still it is a good idea to reset properly the PHY at power up, it can't hurt ;) --- Quote End --- Yes, I noticed too that it sometimes doesn't work if no reset is done at startup. To send packets I think that I must prepare three things:- clock setup
- time constraints
- register settings
- Altera_Forum
Honored Contributor
I suggest reading the avalon specification (http://www.altera.com/literature/manual/mnl_avalon_spec.pdf).
The write signal is normally '0'. To perform a write, supply the correct vectors to writedata and address, change write to '1', wait until waitrequest is '0', and change write to '0' again (except if you want to write again) - Altera_Forum
Honored Contributor
--- Quote Start --- ...wait until waitrequest is '0'... --- Quote End --- Somehow waitrequest is always 1. I have put read and write to GND but still waitrequest is 1. Maybe it is inverted, but then it would be named waitrequest_n. The register clock (clk) is 25 MHz which I think is OK. - Altera_Forum
Honored Contributor
Did you reset the TSE core before using it?
- Altera_Forum
Honored Contributor
--- Quote Start --- Did you reset the TSE core before using it? --- Quote End --- Yes, I resetted TSE as well as the PHY.