I have been using S32K344 EVB(SCH-53189 REV A) to study Ethernet recently , while i try to use Phy to send message in address of 66:55:44:33:22:11, and i monitor the message with wireshark , the data seems wrong.The source address became 65:56:45:30:23:12 and dest address, frame type also not right.
Solved! Go to Solution.
The problem actually has been solved. But the reason seems strange :
I don't understand why Port_Init(); has to be done before Mcu_InitClock();
If this order issue should be considered, I think Det should add this error checking mechanism.
Hello @Kalios_Fang1997
It looks like a clock configuration problem. What is the clock source you're providing for EMAC_TX_RMII_CLK? That clock frequency is supposed to be 25MHz, in case of 100Mbps speed.
Best Regards,
Nam
Btw, i have checked every configuration in EB many times. Maybe you can try with demo project, about the order between port and clock.
The problem actually has been solved. But the reason seems strange :
I don't understand why Port_Init(); has to be done before Mcu_InitClock();
If this order issue should be considered, I think Det should add this error checking mechanism.
Hello @Kalios_Fang1997
Glad to hear that the issue has been solved. We have noted in IM that Port must be initialized before Mcu, otherwise the clock frequency provided to pin might not accurate.
Best Regards,
Nam
Hello @namnguyenviet
Thank you very much , i didn't pay attention to this.
Maybe i just got confused by this.
Anyway, thank you for your support.
and this is the correct data i want to send
Here is the data i got from wireshark