W5300 sendto 지연 문제
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: W5300 sendto 지연 문제
by hjjeon0608 ·
안녕하세요.
UDP 통신시 데이터를 보내기 전에 ARP를 이용하여 목적지의 MAC주소를 받아오게 됩니다.
만약 목적지의 주소가 하나라면 처음 ARP 요청 이후에는 ARP 요청을 하지 않고 데이터를 내보내게 됩니다.
그러나 목적지의 주소가 둘 이상이면 주소가 변경 될때마다 ARP요청을 하게 됩니다.
그리고 이 ARP요청의 경우 응답을 받지 못하면 Timeout 이 발생하게 되는데 이는
RCR(Retransmission Timeout-period Register)값에 따라 발생하게 됩니다.
기본값으로는 200ms 이므로 2초동안 대기후 응답이 없으면 timeout이 발생하게 됩니다.
따라서 이 레지스터를 설정하여 대기시간을 줄일 수 있습니다.
다만 어플리케이션 상에서 이 값을 변경할 경우 문제가 발생하지 않을지 검토 해봐야 할겁니다.
감사합니다.
RE: W5300 sendto 지연 문제
by hjjeon0608 ·
또한 RCR(Retransmission Retry-Count Register)값의 따라 재전송 횟수가 정해집니다.
이 레지스터를 설정하여 재전송 횟수를 지정할 수도 있습니다.
RE: W5300 sendto 지연 문제
by cc1915 ·
타임아웃전에 카운터 2000번정도 체크후 나오니 되긴하는데요…
케이블연결시도 잘되고요…
정상적인지는 모르겠네요