Dear NXP experts,
We are using S32K314 Ethernet and already got demo code of lwip_s32k344 and lwip start guide from NXP FAE ,and we finally change MCU part from S32K344 to S32K314, and I have attached the project with lwip_s32k314_172MQFP_board.zip.
We have some info confirmed:
1) Schematic designed according to:
We use MII mode, pins are correctly routed.
2) PHY TJA1101A works:
with ID1 and ID2: 0x0180 and 0x1D01
when working, status register 23 value is 0xBCE4, SQI seems OK
3) Upon S32K314 board is powered, we could capture the packets on the PC via a ethernet converter.
The packet attached by s32k314_eth_cap_data_not_correct.zip. We found that every packet send from MCU is not all bits right.
to show one example,
THE first frame send from MCU in LWIP stack(dump from GMAC_0_TxRing_0_DataBuffer with debugger):
But actually, we only capture data like below:
We thought something wrong with the GMAC.
Could you figure out what may be wrong?
Thanks.
Hi @ZouShaoxiong ,
Follow to RM:
You configured pin correctly:
But, seem that have a problem with clock configuration, you can try this:
Best regards,
Nhi
We currently do not have one demo board, so we could not test this code with demo code.