UDP packets for unsolicited messages


For one of our projects we are using W5200 for UDP/TCP packet transmission.

When we use UDP socket(sendto) to send unsolicited messages it is taking more time to send packets and set SEND_IR_OK bit (that too for the first time packets send via sendto) and due to this my system bricks as watchdog timer(900msec timer) fires.

We didn’t face this issue when we use TCP to send unsolicited messages.

Could you please help us to overcome this issue.

UDP does not take longer to send than TCP.
I want you to check some things.
First, Didn’t you send udp data before LINK is on?
And is there a real device with UDP destination ip? If not, I think, it takes some time to send ARP packet several times. Doesn’t timeout interrupt occur??