Multiple/Concurrent UDP receiving with W5500 chip
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: Multiple/Concurrent UDP receiving with W5500 chip
by WIZnet AI AI generated ·
RE: RE: Multiple/Concurrent UDP receiving with W5500 chip
by jwlee156 ·
1. **Multiple/Concurrent UDP Receiving Issue:** -
- **해결책:** - 수신 버퍼의 크기를 늘려보세요. -- 수신 소켓 0: 버퍼 2kB, packcet size는 34 byte이고 수신 소켓 1: 버퍼 2kB, packcet size는 48 byte입니다. 각각 10ms(또는 그 이상) 마다 보내고 있읍니다. 소켓의 수신 대기열을 주기적으로 확인하고, 데이터가 쌓이지 않도록 최대한 빠르게 처리하고 있구요. 멀티스레딩은 현재 OS(RTOS)가 없어서 고려하지 않고 있습니다. 별도의 스레드도 마찬가지로 구현하지 않고 있구요.
2. **Tx Buffer Issue:** - 송신 시 버퍼가 가득 차고 처음으로 돌아갈 때 데이터 손실이 발생하는 문제는 버퍼 관리의 문제로 이해하고 있는데요
. - **해결책:** - 송신 버퍼는 2kB로 설정되어 있고, 버퍼의 끝에서 문제가 발생됩니다. 송신 패킷이 48bytes인데 끝에서 시작으로 넘어갈때 시작부분에 해당되는 , 데이터가 써지지 않는 것 같습니다. W5500에 송신후 버퍼를 비우는 기능이 있나요?
혹 전화로 문의 통화할수가 있나요?