EFM32GG11 와 W5500 SPI 통신 문제
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: EFM32GG11 와 W5500 SPI 통신 문제
by louis ·
안녕하세요
SPI와 UART는 별도의 프로토콜인데 SPI(SEND/RECV)함수 내부에서 UART를 실행하는 것 같습니다.
SPI로 칩과 통신하는 코드를 첨부해드리겠습니다. 참고부탁드리겠습니다.
감사합니다.
RE: RE: EFM32GG11 와 W5500 SPI 통신 문제
by Member 11121 ·
EFM32 mcu 에서는 SPIDRV라는 별도의 spi lib 를 이용하거나
다음과 같이 USART tx, rx, clk, scs 를 사용하여 spi를 구현하여 사용하는 것 같습니다.
위 구현 내용도 이걸 참고한 것입니다.
그러나 두 방법으로도 W5500과 spi 통신이 정상적으로 이루어 지지 않습니다.
(아두이노를 slave로 하여 ioLibrary 사용하여 mac 쓰기, 읽기 관련하여 spi 통신하면 원하는 데이터를 받습니다.)
RE: EFM32GG11 와 W5500 SPI 통신 문제
by irina WIZnet ·
아래와 같이 선택되어있는지 확인을 해주세요.
정상적인 SPI 동작이라면, 0x04 가 읽혀집니다.
만일 동작하게 설정을 해놨음에도 동작하지 않는다면, SPI Frame을 정상적으로 보내고 있는지 확인하셔야합니다.