Hi,
I'm writing some glue-code between the ADI EMAC driver for the ADSP-SC598W and an IP-stack but have run into a strange problem with endianess. The IP-stack sees the ethernet frame as an array of sequential bytes in memory so I need the DMA to treat the data as big endian. However, when I started testing the code it seems that the DMA doesn't do this, it transfers it as little endian. I found the endian setting in the PADS0->PCFG0 register but here is where it gets strange. It was set to big endian, and changing the setting does not cause the endianess of the transmitted data to switch. Am I misunderstanding something here? I've attached screenshots of CCES and Wireshark.
Best regards,
Axel Lindholm