Hi,
I'm debugging an issue with the S32K344 on the RMII interface on a custom board.
The S32K344 is setup as the MAC and is connected to a switch port that is acting like a PHY.
The switch port is providing the 50MHz reference clock to the S32K344.
There seems to be some kind of data corruption when the data goes through the MAC layer on the S32K3.
Probing the RMII lines on the board and using a logic analyzer, I'm able to reconstruct a valid ARP packet coming out of the switch and into the S32K344. However, the data the S32K344 the data seems to receive is invalid. Since the data on the wire is okay, I'm thinking the corruption is either happening when the S32K344 is sampling the data or in the settings on the MAC.
On the S32K344 TX side of things the data that comes out on the wire is corrupted .
If I turn off CRC checking on the switch, the corrupted packet can be seen via wireshark. If I turn off CRC checking on the S32K344, the corrupted packet is able to make it to the application.
We used a similar code setup on the MR-CANHUBK344 and were successful.
Any help or knobs to turn on the S32K344 side would be appreciated!
Thank you!