W5500 빅 또는 리틀 엔디언 여부
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: W5500 빅 또는 리틀 엔디언 여부
by hjjeon0608 ·
안녕하세요.
결론부터 말씀드리면 응용프로그램 개발자분이 들어온 데이터를 읽을때 빅엔디언 방식으로 읽어야 되는 겁니다.
W5500의 경우 1byte씩 처리를 하기 때문에 스왑하고 상관이 없습니다.
PC에서 데이터를 읽을때 4byte씩 읽게 되는데 이때 엔디안 때문에 문제가 발생합니다.
이는 비단 W5500에서의 문제가 아니라 일반적으로 통신에서 빅엔디언을 사용하기 때문에 주의해야 합니다.