Hi, this is post to Avnet tech support. It requires expertise on DP83640 vs DP83848 PHYs, so i post it here as well:
I have problem making standard design for Avnet LX16 board with XPS_ETHERNETLITE core working with FMC-ISMNET card (DP83640 PHY). This problem can be characterized as "XPS_ETHERNETLITE core in PLB design and DP83640 PHY don't work together". XPS version is 13.1. ISMNET card has two DP83640 PHYs, Avnet LX16 board has one DP83848 PHY. on-board DP83848 works fine with standard network designs for LX16 kit and also passes MII loopback test ("ls_emaclite_test_1" procedure, line 415 of \sys_test_0\src\ls_xemac_test.c file attached).
For ISMNET's DP83640 PHY fails MII loopback test with XPS_ETHERNETLITE core design. MDIO access to DP83640 works fine. All registers are readable and MII loopback mode sets fine. MII loopback test (in ls_emaclite_test_1) uses polling mode. it sends frame fine, but zero characters are received. In addition, I have a custom board with XC6SLX45 device and dual DP83640 PHYs, made with same schematic as ISMNET FMC card.
XPS_ETHERNETLITE PLB design doesn't on that board either. Custom board has better access to pins, i probed it. Clocks and timing looks fine, except that for MII loopback PHY asserts RX_ER high for about 7 microseconds, so likely frame is discarded by MAC core. I haven't tried detailed Chipscope tests. It is not clear why DP83640 fails with XPS_ETHERNETLITE while DP83848 works fine.
Please see source code, UCF/MHS files and log files with PHYs register maps in attached ZIP file. C source code is derived from Avnet's and Xilinx examples and designs, there is nothing proprietary in it, please feel free to use it.
ISMNET FMC doesn't come with either XPS_ETHERNETLITE or XPS LL TEMAC designs, only with custom IP core industrial Ethernet designs for LX150T kit.
I think it would make sense to have XPS_ETHERNETLITE design running for ISMNET FMC either on LX16, SP605 or LX150T kit. I have SP605, ML605, LX16, ISMNET FMC kits in the lab (all except LX150T kit). i am almost sure that tracking this problem on either Spartan-6 kit and either PLB or AXI design will fix it.
Thank you.