Triple Speed Ethernet Internal Loopback Error
Hello Everybody,
I come to you asking for help regarding an issue I have encountered whilst implementing the intel TSE IP in a project.
I am using a Cyclone 10 board.
I've instantiated the TSE IP as 10/100/100 MAC with RGMII connection and 2 internal FIFOs of size 2048x8. This IP is connected to two AvST interfaces. One is a DMA like device sending data to the transmit port whilst the receive is connected to a MSGDMA (I have verified that the ff_rx_rdy = '1').
The clock configuration of the TSE consists of two clocks for the time being, a 80 Mhz clock for the control port and a 125 Mhz clock connected to the following ports:
-pcs_mac_tx_clock
-pcs_mac_rx_clock
-receive_clock
-transmit_clock
The IP configuration is set_1000 = '1' whilst other signals are low or open. I do not need to use 10/100 Mbs eth speeds only 1Gb.
Regarding the CSR I have followed the recommendations of the Intel user guide.
Screenshots of the top_level file, the C initialization and my Qsys will be linked below.
The issue that I have encountered is that when in internal loopback mode, the IP data is sent onto the AvST ff_tx but not seen on ff_rx. After having investigated this with signal tap for a rather long time I believe the issue is that the data is shifted over by 1 byte in the LBFF (loopback fifo), image is provided below.
Anyone experienced this issue before or have an idea on how to resolve it?
I would very much appreciate your feedback.
Kind Regards
Maximilien