Altera_Forum
Honored Contributor
14 years agoMarvel PHY 88E1111 and TSE MAC loopback code example
Hi, I am using TSE MAC from Altera and Marvell PHY 88E1111 .The software i am using on nios processor is lwip stack example http://www.alteraforum.com/forum/showthread.php?t=23787 (http://www.alteraforum.com/forum/showthread.php?t=23787)
It works perfectly on evaluation board and it worked well on my custom board.Due to hardware failure (short-circuit),it stopped working ( I am receiving corrupt data packets ).I am now struggling to determine the issue and i want to perform loopback on the PHY (various loopback options are documented on marvell phy datasheet,unable to attach it due to NDA).Does anybody have a loopback code example? I am asking because i pretty much have an idea how to set the appropriate registers (using altera API) ,but i have no idea how to send and receive data through TSE MAC in loopback,should i or should i not have delays in between ,etc.... Thank You, Michael