[W5100] W5100 RTR / RCR 세팅 관련
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: [W5100] W5100 RTR / RCR 세팅 관련
by becky ·
안녕하세요
글이 중복으로 올라와있어서 이전글들은 삭제하고 카테고리를 한국어 포럼으로 이동하였습니다.
RE: [W5100] W5100 RTR / RCR 세팅 관련
by becky ·
안녕하세요
RTR값이 15000인경우 재전송주기가 15000100us= 1.5s로
재전송 과정후 Timeout 발생하여 통신에러가 발생하는데 소요되는 총시간은
1.5s + 1.5s2 + 1.5s4 + 1.5s8 + 1.5s *16=46.5s로 문제가없다고 생각됩니다.
위의 image는 W5100 datasheet의 일부분으로 해당 Address에 값을 write해주시면됩니다.
ioLibrary를 사용하고 계시는 경우 아래와 같이 작성해주시면 됩니다.
setRTR(15000)
setRCR(5)
RE: RE: [W5100] W5100 RTR / RCR 세팅 관련
by finepulse ·
답변 감사 드립니다.
그렇다면 현재 통신 주기가 1sec인 상황에서 1.5s로 재전송이 세팅을 하는것보다,
기본 세팅 값인 200ms로 하는 것이 만약 재전송 케이스가 발생하다면
다음 요청 패킷이 들어오기 전에 미리 처리할수 있기 때문에 효과적이라고 판단해도 될까요?
Ack 시점 확인 결과 일반적으로 120~205ms 정도에 들어오기 때문에 220ms로 세팅을 하려고 합니다.
RE: [W5100] W5100 RTR / RCR 세팅 관련
by becky ·
안녕하세요
200ms 하는것이 재전송이 더빠른 주기로 발생하여
해당패킷이 수신완료가 될때까지 걸리는 시간이 더 빠르기때문에 효과적이라고 판단됩니다.