anyone used legacy descriptors in MPC5748G enet

cancel
Showing results for 
Search instead for 
Did you mean: 

anyone used legacy descriptors in MPC5748G enet

368 Views
dheerajr1
Contributor II

Hi, 

I'm able to transmit the frame by programming the MPC5748G ENET Controller register using Legacy Descriptors, It is transmitting the frame which is visible at wire shark, but it also generates the EIR.EBERR and EIR.BABT interrupt.

EIR.BABT interrupt this is generated when frame is transmitted which exceeded maximum length but in this case frame length is only 44 bytes and EIR.EBERR this is bus error but buffer address is correct and descriptor address is correct.

please help with this it is very helpful if anyone can provide demo code using legacy descriptors

Labels (1)
0 Kudos
2 Replies

182 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

not sure if there is any MPC5748G example using legacy descriptors.

You can refer to AN4577 (https://www.nxp.com/docs/en/application-note/AN4577.pdf ) and its SW package. It is for MPC564xC but the module is very similar.

Also you can look at below thread, where you can find some useful information about ENET configuration. There are some examples too, but enhanced descriptors are used, I think.

MPC5748G ENET 

Finally, check if RX/TX descriptors and buffers are properly aligned (128-bit aligned, i.e. evenly divisible by 16) and whole placed in non-cacheable memory region.

BR, Petr

0 Kudos

182 Views
dheerajr1
Contributor II

Hi Petr,

Thanks for your response, I resolved the problem and tested with the with legacy descriptors.

Regards,

Dheeraj Rane

0 Kudos