W5500 UDP Clearing RX and TX data
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W5500 UDP Clearing RX and TX data
by becky ·
I don’t understand your question.
When receiving data, check the value of Sn_RX_RSR and if it is greater than 0, read Sn_RX_RD to find the pointer address of data, and then read data as much as Sn_RX_RSR. Then, increase the value to Sn_RX_RD as much as read data and transmit the RECV command.
You just need to read Sn_RX_RD every time you receive data, and you don’t need to prepare for the next message.