ioLibrary for Cortex M series
What is W5500(WIZ550io) and How to use W5500(WIZ550io) ?
W5500.jpg
What is W5500?

W5500 chip is a Hardwired TCP/IP embedded Ethernet controller that provides easier Internet connection to embedded systems. W5500 enables users to have the Internet connectivity in their applications just by using the single chip in which TCP/IP stack, 10/100 Ethernet MAC and PHY embedded.
WIZnet's Hardwired TCP/IP is the market-proven technology that supports TCP, UDP, IPv4, ICMP, ARP, IGMP, and PPPoE protocols. W5500 embeds the 32Kbyte internal memory buffer for the Ethernet packet processing. If you use W5500, you can implement the Ethernet application just by adding the simple socket program. It's faster and easier way rather than using any other Embedded Ethernet solution. Users can use 8 independent hardware sockets simultaneously.
SPI (Serial Peripheral Interface) is provided for easy integration with the external MCU. The W5500's SPI supports 80 MHz speed and new efficient SPI protocol for the high speed network communication. In order to reduce power consumption of the system, W5500 provides WOL (Wake on LAN) and power down mode.
Features
  • Supports Hardwired TCP/IP Protocols : TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE
  • Supports 8 independent sockets simultaneously
  • Supports Power down mode
  • Supports Wake on LAN over UDP
  • Supports High Speed Serial Peripheral Interface(SPI MODE 0, 3)
  • Internal 32Kbytes Memory for TX/RX Buffers
  • 10BaseT/100BaseTX Ethernet PHY embedded
  • Supports Auto Negotiation (Full and half duplex, 10 and 100-based )
  • Not supports IP Fragmentation
  • 3.3V operation with 5V I/O signal tolerance
  • LED outputs (Full/Half duplex, Link, Speed, Active)
  • 48 Pin LQFP Lead-Free Package (7x7mm, 0.5mm pitch)
How to use W5500 ?

W5500 can provide Internet connectivity simply by setting some register.
WIZnet provides basic I/O funtions, WIZnet SOCKET APIs and this document for your Internet connectivity application. You can learn how to initialize W5500 and communicate according to the protocol types (TCP, UDP) by reviewing example code and you need to follow some sequence.
For example, Wiznet provide platform initialization, network initialization and "TCP SERVER/CLIENT loopback and UDP loopback.
  • Platform initialization
    platform_init() function registers call back function and sets up platform environment such as GPIO, SPI and UART.

  • Network initialization
    After platform initialization, you set up networks such as IP address, subnet mask, gateway address and DNS server address by network_init().
  • Data communication
    After configuration, data communication is possible. We provide some example such as loopback test. If W5500 receive some packets, it send same packet to sender.
Note
WIZ550io has default network information. So network setting is not necessary.