Clear EnetTx buffer in FRDM-K64F board

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

Clear EnetTx buffer in FRDM-K64F board

396 Views
maksim_lipskiy
Contributor III

Hello everybody!
Sometimes when working with the FRDM-K64F board, there is a situation when the transmit buffer may not be cleared "ENET_DRV_CleanupTxBuffDescrip(enetIfPtr);".

Flag enetIfPtr->bdContext.isTxBdFull  is always set.
How do I fix this error?
Thanks.

PS: Sorry form my English.

0 Kudos
1 Reply

321 Views
isaacavila
NXP Employee
NXP Employee

Hello,

This flag is set as long as last packet is not sent (or ACKed on a TCP transmission). Stack (in your case, lwIP) should handle the logic to change TxPointers once these message are sent.

In other words, you should not clear this flag manually until lwIP defines if previous packet was sent correctly

What application are you using? Did you try to use a sniffer to check if data is sent/receive correctly?

Regards,

Isaac

0 Kudos