W5500 UDP Recieve Working but SEND not working
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 Recieve Working but SEND not working
by Eugeny ·
This situation may happen in the following circumstances:
RE: W5500 UDP Recieve Working but SEND not working
by Sachin Singh ·
Thanks for quick repply, i managed to solve the issue
I get PING reply from W5500. i was making 3 mistakes
(1) i was sending data on a UDP socket which was not open , and after this Polling methd recieve and transmit started to work as expected
later i wanted to use interrupt which was not working but i found out following error
(2) correected SIMR = 0x0018. it was previously set to 0x0016
Now Interrupt would keep firing Endlessly. Send would fire Send_Ok interrupt which would set my volatile DataRecieved = 1 so SendData function was executed endlessly
To fix this , i disabled all interrupts at start of SendData function and enabled only Socket_0 interrupt in the end
(3)
Now things are working as expected
Thanks for your reply
Here is the complete UDP working code both by polling and interrupt on stm32F100RB and Wiznet W5500