Forum Discussion
Altera_Forum
Honored Contributor
15 years agoOpenCores 10/100 Ethernet MAC with Avalon Interface on MotionFire kit
Looking at the forums it seems I am another muppet who has bought a MotionFire development system.
I have managed to rewrite the trajectory program to control a motor along a smooth curve. What I have been unable to do is get the eth_ocm component to work. The packet data has about half the bytes corrupt. Some bytes are more prone to corruption than others. Data is being clocked correctly as the correct data always appears in the expected part of the frame. In addition if the received frame rate is relatively high then when I dump info out of a packet (using printf) I see the data changing in the same packet, so there must be an interrupt or DMA transfer overwriting data. Is there any one there who has working code for the ethernet?2 Replies
- Altera_Forum
Honored Contributor
hi bmarshall..........
i use eth_ocm and it works fine....without error in rx and tx ........ you need to set a register in your phy chip to adjust the clock in rx ........ ...and the clock in tx need phase 180.......... what phy you use???? Franz Wagner - Altera_Forum
Honored Contributor
The MotionFire board is fitted with the DP83848C PHYTER which should be supported by the software drivers I have.
I have had a look at the drivers and device spec but I can't see which registers you are referring to for adjusting the RX and TX clock. regds Bruce PS I met with a salesman from Arrow today. He was appalled to learn from me that MotionFire support is non-existent.