W5500 UDP stop sending after a while
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 stop sending after a while
by Eugeny ·
Not clear from your description if send and receive are fully asynchronous.
If yes, this may have problems - send and receive use same registers (e.g. status register, command register) and you must NOT run these handlers concurrently. Queue the tasks.
RE: RE: W5500 UDP stop sending after a while
by besthere ·
Thank you for explanation and suggestion!
I have to do in full asynchronous application scenario. Now I used one socket receiving from pc and added another socket sending to pc. The test seems good with running about an hour without question.
But I still don’t quite understand why receiving kept stable while sending always stops when I used these handlers concurrently.