Other Parts Discussed in Thread: DP83640
Hello,
I was trying to use your LwIP demo v00.03.00 TMS570LS31x on TMS570LS3137PGE.
I can receive packet, even UDP packets after forced adding IP to arp list in my computer. But cant send anything out(ethernet statistic counter register - transmitted = 0), after 3-4 send attempts it will halt in hdkif.c at line
/* TODO: (This is a workaround) Wait for the EOQ bit is set */ while (EMAC_BUF_DESC_EOQ != (hdkif_swizzle_data(curr_bd->flags_pktlen) & EMAC_BUF_DESC_EOQ));
i was trying to find out problem, but i can see data are pushed to EMAC, so im thinking that this is working well.
My PHY is set to 100 Mbit full duplex MII PHY, 25 MHz output MII clocks, maybe the problem is in the VLCK4, because before divider this value is 80 so nearest adjustable value is 26.667MHz which is not same.
Or it can be somewhere in my PHY, which is included in switch connected to MCU over MII? (for communication with phy i was editing phy_dp83640.c file for my needed)
or do you have any other suggestion where can be problem?
Thank you for any suggestions.
Best regards Poštulka.