LPC546xx LWIP and Hardware Checksum

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

LPC546xx LWIP and Hardware Checksum

611 Views
florentfortin
Contributor I

Hello
We are using LPC546xx Microcontroler

To Maximizing throughput on the processor, I would like to activate the option "CHECKSUM_BY_HARDWARE"

As proposed here:
https://lwip.fandom.com/wiki/Maximizing_throughput

Do you know what must be done on Ethernet Controler Part ?
I see In the User Manual:

IP checksum offload support for TCP, UDP, or ICMP payloads encapsulated over IP

 

So, I activated the bit 27 "IPC" of  MAC_CONFIG

but as soon activated the Ethernet communication is not working any more

 

 

Labels (1)
0 Kudos
1 Reply

575 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Florent,

I think you have to set the COE bits in the MAC HW Feature0 register, I copy it here:

xiangjun_rong_0-1612688273074.png

Pls check the IPS bit for the IP part checksum.

xiangjun_rong_1-1612688608908.png

 

Hope it can help you

BR

XiangJun Rong

 

 

0 Kudos