WIZ810SMJ Start 기본 동작
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: WIZ810SMJ Start 기본 동작
by Member 11149 ·
wizchip_setnetinfo(&netInfo); 실행시 scope shot 입니다.
아마도 mac, ip 세팅시 spi writting 을 수행 하는것 같습니다.
첫 CS 구간에서 9byte 가 나가는데 맞나요? OPCODE(1byte) + ADDESS(2byte) + MAC(byte) 로 총 9byte 일 것 같은데…
해당 확대 이미지는 앞에 1-2byte 를 확인 하였습니다.
그리고 다음 3-4 byte 입니다.
해당 scope 가 정상적으로 통신 하고 있는지 답변 드립니다.
RE: WIZ810SMJ Start 기본 동작
by Member 11149 ·
해결됬습니다. 현재 ping 과 telnet 모두 접속 됩니다.
그런데 좀 이상한게 W5100S 는 Address 가 2byte 라고 해서 callback write 함수를 아래와 같이 사용하면 안됩니다.
void spi_wb(uint16_t b) {
HAL_SPI_Transmit(&hspi1, &b, 2, 0xFFFFFFFF);
}
아래와 같이 size 1 로 보내야 합니다.
void spi_wb(uint16_t b) {
HAL_SPI_Transmit(&hspi1, &b, 1, 0xFFFFFFFF);
}
저가를 size 1 로 변경하니 되네요. 명확히 답변 부탁 드립니다.
HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout);