Remove Ethernet padding using ENET driver

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Ethernet padding using ENET driver

72 Views
D_Tram23
Contributor III

Good day

I would like to remove the padding from Ethernet frames that are received by the ENET_ReadFrame function.

I believe it can be done using ENET_RCR_PADEN_MASK, but I am not sure how to do this.

Also, what rule does this apply when removing padding? (ie. does it wait for a certain number of sequential zeroes to occur and then remove the following part of the frame?)

I am using NXP's RT1064 and MCUXpresso.

Kind regards

Tags (3)
0 Kudos
0 Replies