LPC546xx LWIP and Hardware Checksum

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

LPC546xx LWIP and Hardware Checksum

686 次查看
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

 

 

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

650 次查看
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 项奖励