Ethernet interface debug when send frame

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ethernet interface debug when send frame

1,518件の閲覧回数
aiit
Contributor II

I am debugging the RT1176 ENET_1G Ethernet interface and I find that when sending a mac frame, the system is stuck in the ENET_ActiveSendRing () function, *txDesActive = 0  execution could not be completed.

Debug environment:

broad: Maaxboard_imxRT117x_sbc

SDK: SDK_2_10_0_MIMXRT1170-EVK.tar

I suspect a clock configuration problem,and i try to change clock configuration, *txDesActive = 0 execution can be completed. but system block again. 

Clock configuration below:

 /* Set ENET_1G Tx clock source. */
    IOMUXC_GPR->GPR5 = ((IOMUXC_GPR->GPR5 & ~IOMUXC_GPR_GPR5_ENET1G_TX_CLK_SEL_MASK) | IOMUXC_GPR_GPR5_ENET1G_RGMII_EN_MASK);
    /* Set ENET_1G Ref clock source. */
    IOMUXC_GPR->GPR5 &= ~IOMUXC_GPR_GPR5_ENET1G_REF_CLK_DIR_MASK;
タグ(2)
0 件の賞賛
返信
3 返答(返信)

1,506件の閲覧回数
aiit
Contributor II
static void ENET_ActiveSendRing(ENET_Type *base, uint8_t ringId) func locate at fsl_enet.c
0 件の賞賛
返信

1,483件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @aiit ,

Hope you are doing well!

I was not able to reproduce this issue you mentioned using the 1GEnet sample project in the SDK for NXP's RT1170-EVK. It works fine on my end. The clock configuration you mentioned is also the original configuration in the SDK. Since you are using a 3rd party development board, you may need to contact the 3rd party you purchased it from for support. Thank you in advance for your understanding and collaboration.

Best regards,
Gavin

0 件の賞賛
返信

1,443件の閲覧回数
aiit
Contributor II
Thanks! The original configuration in the SDK works fine at 100M Enet, but is not at 1G Enet!The 3rd party development board offers official enet example which modify from NXP example, i have tryied both above, does not work.
0 件の賞賛
返信