How do you use the LWIP hardware checksum

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do you use the LWIP hardware checksum

ソリューションへジャンプ
1,222件の閲覧回数
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 解決策
869件の閲覧回数
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 返信
870件の閲覧回数
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 件の賞賛
返信