MPC5748G Ethernet Bus Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5748G Ethernet Bus Error

1,181 Views
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);

}

Labels (1)
0 Kudos
2 Replies

997 Views
VinothK
Contributor II

Hi Ankit,

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

0 Kudos

218 Views
JackChen2022
Contributor I

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

0 Kudos