Other Parts Discussed in Thread: HALCOGEN, TMS570LC4357
Tool/software:
Hi all,
It looks like the first iteration completes, but nothing is transmitted—TXEN and TXDATA stay inactive. On the second iteration, it gets stuck in an infinite loop at:
while (EMAC_BUF_DESC_EOQ != (curr_bd->flags_pktlen & EMAC_BUF_DESC_EOQ));
I'm using the EMAC generated by HALCoGen. The MII pins are configured correctly, since reception works perfectly. The problem is only with transmission.
Also, I noticed I had to use little-endian for the descriptors, even though the microcontroller is big-endian. Previously, I was working with a TMS570LC43 using big-endian and everything worked. On this one, transmission only works with little-endian. Does that make sense? Any suggestions on how to make the transmission work?
Best regards,
Daniel