:orphan:

######################################
AN00120: 100Mbps RMII ethernet example
######################################

:vendor: XMOS
:version: 3.1.0
:scope: Example
:description: 100Mbps RMII ICMP ping example
:category: Networking
:keywords: Ethernet, MAC, RMII, ICMP, SMI
:hardware: XK-ETH-316-DUAL

*******
Summary
*******

Ethernet connectivity is an essential part of the explosion of connected
devices known collectively as the Internet of Things (IoT).  XMOS technology is
perfectly suited to these applications - offering future proof and reliable
ethernet connectivity whilst offering the flexibility to interface to a huge
variety of "Things".

This example that demonstrates the use of the `XMOS Ethernet library <https://www.xmos.com/file/lib_ethernet>`_ to create a layer 2 ethernet MAC
interface on an XMOS multicore microcontroller.

The code associated with this application note provides an example of
using the Ethernet Library to provide a framework for the creation of an
ethernet Reduced Media Independent Interface (RMII) and MAC interface for
100Mbps.

The application note uses ``lib_ethernet`` to provide a simple IP stack
capable of responding to an ICMP ping message. The code used in the
application note provides both RMII communication to the PHY and a MAC
transport layer for ethernet packets and enables a client to connect
to it and send/receive packets.

********
Features
********

* RMII L2 MAC interface
* SMI serial interface
* ICMP packet processing

************
Known issues
************

* None

**************
Required tools
**************

* XMOS XTC Tools: 15.3.1

*********************************
Required libraries (dependencies)
*********************************

* `lib_ethernet <https://www.xmos.com/file/lib_ethernet>`_
* `lib_logging <https://www.xmos.com/file/lib_logging>`_
* `lib_board_support <https://www.xmos.com/file/lib_board_support>`_

*************************
Related application notes
*************************

* `AN00199: XMOS Gigabit Ethernet application note (XK_EVK_XE216) <https://www.xmos.com/file/an00199-xmos-gigabit-ethernet-application-note>`_
