MPC5748G Ethernet Bus Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5748G Ethernet Bus Error

1,699 次查看
aniket_patel
Contributor I

I am using S32 Design Studio for MPC5748G DEV kit and I have come across following issue while testing LWIP ethernet example. SDK version which i am using is RMT1.0.0.

when I have init ethernet driver and Set MPC5748G Ethernet RDAR "Receive Descriptor Active Register" then I will Get Ethernet Inttrupt Event Register EEBERR(Ethernet Bus Error) error on EIR Register and Register ECR bit ETHEREN is disabled("Enables/disables the Ethernet MAC").

Due to above issue i could not transmit and receive ethernet packet.

Would you please help me out for this issue.

static inline void ENET_ActivateReceive(ENET_Type *base, uint8_t ring)
{
    if (ring == 0U)
    {
       base->RDAR = ENET_RDAR_RDAR_MASK;
    }
#if (FEATURE_ENET_RING_COUNT > 1U)
    if (ring == 1U)
    {
        base->RDAR1 = ENET_RDAR_RDAR_MASK;
    }
#endif /* (FEATURE_ENET_RING_COUNT > 1U) */
#if (FEATURE_ENET_RING_COUNT > 2U)
    if (ring == 2U)
    {
        base->RDAR2 = ENET_RDAR_RDAR_MASK;
    }
#endif /* (FEATURE_ENET_RING_COUNT > 2U) */
}

ENET_DRV_Init()

{

...

ENET_ActivateReceive(base, 0);

}

标签 (1)
0 项奖励
回复
2 回复数

1,515 次查看
VinothK
Contributor II

Hi Ankit,

Am facing a similar issue. Did you find a solution?

0 项奖励
回复

736 次查看
JackChen2022
Contributor I

你好,在S32K148上我也遇到一个同样的问题,请问你后面是怎么解决的啊

0 项奖励
回复