How do you use the LWIP hardware checksum

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

How do you use the LWIP hardware checksum

跳至解决方案
1,592 次查看
calvinday
Contributor III

I am using the K66 and would like to use the ENET hardware checksum.

I have set:

    ENET_TFWR |= ENET_TFWR_STRFWD(1);

    ENET_TACC |= ENET_TACC_IPCHK(1) | ENET_TACC_PROCHK(1);

and defined

     CHECKSUM_BY_HARDWARE

but the checksum does not work. Is there something else I should do?

0 项奖励
回复
1 解答
1,239 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

You also need to enable the ENET_TACC[SHIFT16] & ENET_RACC[SHIFT16] bits.

Wish it helps.

best regards,

Ma Hui

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,240 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

You also need to enable the ENET_TACC[SHIFT16] & ENET_RACC[SHIFT16] bits.

Wish it helps.

best regards,

Ma Hui

0 项奖励
回复