How do you use the LWIP hardware checksum

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

How do you use the LWIP hardware checksum

Jump to solution
1,049 Views
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 Kudos
1 Solution
696 Views
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

View solution in original post

0 Kudos
1 Reply
697 Views
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 Kudos