SGDMA - TSEMAC - SGDMA Loopback problem. TSEMAC internal loopback.
Hi,
I made the program of TSEMAC in internal loopback mode. I use TSEMAC IP in opencore plus. I made the program to transfer frame from Tx_SGDMA to TSEMAC and internal loop back to Rx SGDMA to frame buffer. But it won't work. In the program i used printf for verifying description address allocation, TSEMAC Initailiation register value, etc. For TSEMAC and SGDMA Qsys setting, i have attached snapshot for the same. I have also attached the Nios-II program. I used 8-Bit FIFO with 2048 Depth in TSEMAC.
According to my observation, FIFO in TSEMAC is creating problem, I check and found Tx_SGDMA transfer frame to TSEMAC by checking number of bytes transferred field in descriptor. But TSEMAC is not initiating transmission. I set FIFO in store and forward mode.
Please help to solve this loopback failure.
Thanks and Regards,
Nandish Jasani.