[From QnA]W3150A+ UDP receive problem
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: [From QnA]W3150A+ UDP receive problem
by hjjeon0608 ·
Hello Pawel Szymek,
You may use W3150A driver and sample code from our homepage.
If the Sn_RX_RD is zero, it means you don’t read anything from RX memory of W3150A.
Then the all RX memory will be full (because it receives something from Ethernet) and then it cannot receive anymore.
Anyway your problem seems from Sn_RX_RD writing or RECV command executing.
But the “recv()” function of W3150A driver has no problem because it is already widely good used.
So please check the register read/write function and register map (address).
Thanks.
RE: [From QnA]W3150A+ UDP receive problem
by hjjeon0608 ·
Hello,
thank You for the fast reply. I compared my software with the driver , made few changes (i.e. wait for clearing Sn_CR) but it did not help. However there is one thing i forgot to mention before:
After receiving second datagram or procesing pair send - receive, Socket status register become Sn_SR = 0x01 and remains in that state until socket closing. Chip accepts packets and requests interrupts, but not allow for sending.
This socket state (0x01) is not described in datasheet - what does it indicate? I appeciate any help. Best regards
Pawel
RE: [From QnA]W3150A+ UDP receive problem
by hjjeon0608 ·
Hello Pawel,
As you said the Sn_SR = 0x01 is unrefenced value in our datasheet.
It seems you read a wrong address or interfacing between W3150A and MCU has some problems.
Or the W3150A chip was broken.
So please check it regarding aboved three points.
Thanks.