W3150A+ UDP receive issue
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
MCU & Boards
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: W3150A+ UDP receive issue
by dkay ·
Hi, btprg.
First, test that your interface is collect. Reading version register many times or writing & reading some registers which are available to read&write
I recommend that you read RX_RSR twice. If each value is same, try to read receive buffer data.
For example,
If problem is not resolved, please contact us again.
And if you can open your code, please share it.
Thank you.
RE: W3150A+ UDP receive issue
by btprg ·
Hi dkay,
The random register read/write operations work normally.
My original code was this:
Before reading your message, I implemented a version that uses the UDP header size parameter (as the datasheet suggests) if the RX_RSR value is smaller than it. This works fine.
Then I implemented the multiple RX_RSR reading suggested by you, and it also works well.
So my problem is solved, thank you
But I am wondering what is the reason of this thing that RX_RSR sometimes contains too small number…
If you are interested, I could send the whole driver. It only supports UDP, but it is much less complicated than the example driver provided by WIZnet.
Best wishes.