Atmega 128과 w5300 연결
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: Atmega 128과 w5300 연결
by viewnsys ·
자료를 찾아보니 DMA 방식으로 연결하라고 되어 있는 부분이 있는데
Atmega128 DMA 방식 핀 연결하는 방법은 어떻게 하는 것인지요?
RE: Atmega 128과 w5300 연결
by bangbh ·
안녕하세요. ^^
DMA는 Direct memory access의 약어로 주변기기가 메모리를 컨트롤할 수 있는 기능을 이야기합니다. 따라서 atmega128과는 상관이 없습니다.
atmega128은 DMA 기능을 가지고 있지 않습니다.
대신 External memory interface를 가지고 있습니다. Memory bus가 핀으로 나와 있는 것을 이야기합니다.
W5300을 External memory로 간주하고 사용하는 것이죠.
정해진 번지를 읽고 쓰는 것만으로 W5300을 컨트롤/이더넷 데이터 읽고 쓰는 동작이 가능하게 됩니다.
atmega128은 아래와 같이 정해진 port 가 있습니다.
PA0~PA7 : AD0~AD7
PC7~PC1 : A15~A9
PG2:ALE
PG1:RD
PG0:WR
위의 핀을 사용하셔서 W5300과 연결하셔야 합니다.
atmega128의 데이터시트 26 page를 보시면 설정 방법이 나와 있으며
atmega128의 데이터시트 27page를 보시면 연결을 위한 개략도가 나와 있습니다.
(google에서 “atmega128 w5300 circuit” 문장으로 이미지 검색하셔도 많은 회로들이 있습니다.)
그리고 atmega128의 데이터시스 32~33 page를 보시면 0x8000번지 부터 External memory를 위한 주소라고 표현되어 있습니다.
더 궁금한 점이 있으면 언제라도 포스팅 하시기 바랍니다.
수고하세요. ^^
RE: Atmega 128과 w5300 연결
by viewnsys ·
감사합니다.
도움이 많이 되었습니다.