w5100 interrupt 발생 시점
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 interrupt 발생 시점
by louis ·
안녕하세요.
Sn_IR은 소켓의 상태변화나 Command 수행 결과를 알려줍니다.
이 부분에서, send 명령 후 Sn_IR 확인을 통해 SEND_OK interrupt 를 확인하는 것으로 보이는데,
이 interrupt 발생 시점이 data 전송 후, ACK 를 통해 전송 완료 확인까지 한 뒤인가요?
= Sn_CR 커멘트 레지스터가 Send를 완료했을 경우 SEND OK Interrupt가 발생합니다.
RCR, RTR 에 따라 Retry 를 시도한 뒤, Timeout Interrupt 를 발생하나요?
= ARP 또는 TCP 통신 과정에서 Sn_RCR(Socket Retransmission Count Register)이상의 재전송이 발생하면 Timeout이 발생합니다
감사합니다.
RE: RE: w5100 interrupt 발생 시점
by drkim ·
우선, 답변 감사드립니다
해주신 답변 중, “Sn_CR 커멘트 레지스터가 Send를 완료했을 경우” 라는 것이
위 그림처럼 전송한 data 를 받은 상대방이 회신한 ACK 를 수신하게 되는 시점 직후를 의미하는 것인지,
아니면 data 를 전송한 시점을 나타내는 것인지 궁금합니다.
RE: w5100 interrupt 발생 시점
by louis ·
Data를 ACK로 수신한 직후에 Interrupt가 발생하는 것이 아니고 현재 전송한 시점을 기준으로 SEND OK interrupt가 발생하는 것 입니다.
감사합니다
RE: w5100 interrupt 발생 시점
by drkim ·
그렇다면 두 번째 답변이었던, “ARP 또는 TCP 통신 과정에서 Sn_RCR(Socket Retransmission Count Register)이상의 재전송이 발생하면 Timeout이 발생합니다” 에 대해서
data 전송 이후, ACK 를 받지 못한 상태로 RTR 이 만료된 경우에 Retry 를 발생하는 것으로 이해하면 될까요?
RE: w5100 interrupt 발생 시점
by louis ·
네, 상대방이 응답이 없을 경우에 Retransmission이 발생합니다.
상대방이 응답을 수신할 때까지 설정된 RTR (Retransmission Time Register)시간 값에 따라 Packet을 전송하고 지정된 RCR (Retransmission count register)을 초과하면 Timeout이 발생합니다.
감사합니다