Skip to content

[STM32 HAL] WIZNET W5100(W5500) + TCP CLIENT

[STM32 HAL] WIZNET W5100(W5500) + TCP CLIENT

Components

Hardware components

x 1

Software Apps and online services

x 1

Project description

[Environments] 개발 환경은 다음과 같이 사용하였습니다. - Board : STM32F4-DISCOVERY - W5100 : Arduino Ethernet Shield - STM32CubeMx 5.6.1 - STM32CubeIDE 1.3.1 ? [Ethernet Shield Pinout] 아래 schematic 과 같이 SPI 관련 핀들과 전원이 ICSP 커넥터쪽으로 연결되어 있기 때문에 해당 커넥터를 사용해야 합니다. ? [STM32CubeMx] 기존에는 LwIP 방식으로 TCP 어플리케이션을 구현하였지만 이번에는 외부 TCPIP 칩을 사용하기 때문에 STM32F4-DISCOVERY 보드를 사용하였습니다. ? 1) 전체 Pinout 은 다음과 같습니다. 2) RCC 항목에서 Clock 소스를 설정하여 줍니다. 3) SYS 항목에서 Debug 와 Timebase 소스를 설정하여 줍니다. FreeRTOS 를 사용하기 때문에 Timebase Source 를 TIM6 로 변경하여 줍니다. 4) SPI1 항목을 Full-Duplex Master 로 설정하여 줍니다. W5100 은 데이터시트에 70ns 로 적혀있는데 대략 13Mbps 정도 되니…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like