TCP/IP Library

TCP/IP Library

A TCP/UDP/IP protocol stack for XMOS devices. This library connects to the XMOS Ethernet library to provide layer-3 traffic over Ethernet via MII or RGMII.

Features

  • TCP + UDP connection handling
  • DHCP, IP4LL, ICMP, IGMP support
  • Low level, event based interface for efficient memory usage
  • Based on the open-source uIP stack
  • Currently, the library does not officially support IPv6. However, experimental code for IPv6 support is contained in the library. Contact XMOS for more details if you require IPv6.

Typical Resource Usage

This following table shows typical resource usage in some different configurations. Exact resource usage will depend on the particular use of the library by the application.

Configuration

Pins

Ports

Clocks

Ram

Logical cores

Standard

0

0

0

~21.1K

1

Software version and dependencies

This document pertains to version 4.0.1 of this library. It is known to work on version 14.0.4 of the xTIMEcomposer tools suite, it may work on other versions.

This library depends on the following other libraries:

  • lib_otpinfo (>=2.0.0)
  • lib_ethernet (>=3.0.3)

The following application notes use this library:

  • AN00121 - Using the XMOS TCP/IP library