Skip to content

Commit

Permalink
Added documentation to app_rmii_100bit_icmp example
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuchita Khare committed Jan 16, 2025
1 parent 416a1e0 commit 8ddef4e
Show file tree
Hide file tree
Showing 11 changed files with 211 additions and 249 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ pipeline {
dir("${REPO}") {
warnError("Docs") {
buildDocs()
dir("examples/app_rmii_100Mbit_icmp") {
buildDocs()
}
}
}
}
Expand Down
62 changes: 37 additions & 25 deletions examples/app_rmii_100Mbit_icmp/README.rst
Original file line number Diff line number Diff line change
@@ -1,61 +1,73 @@
XMOS 100Mbit Ethernet application note
======================================
:orphan

#############################
100Mbit Ethernet RMII example
#############################

*******
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 application note shows a simple example that demonstrates the use
This example that demonstrates the use
of the XMOS Ethernet library 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 Media Independent Interface (MII) and MAC interface for
ethernet Reduced Media Independent Interface (RMII) and MAC interface for
100Mbps.

The applcation note uses XMOS libraries to provide a simple IP stack
capable of responding to an ICMP ping message. The code used in the
application note provides both MII communication to the PHY and a MAC
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.

Required tools and libraries
............................
*****************
Required hardware
*****************

The example code provided with this application has been implemented and tested
on the xk_eth_xu316_dual_100m board.

For a list of direct dependencies, look for USED_MODULES in the Makefile.
**************
Required tools
**************

Required hardware
.................
* XMOS XTC Tools: 15.3.0

This application note is designed to run on an XMOS xCORE-200
series device.
The example code provided with the application has been implemented
and tested on the X200 sliceKIT 1V0 (XK-SK-X200-ST) core board using
ethernet sliceCARD 1V1 (XA-SK-E100). There is no dependancy on this
core board - it can be modified to run on any (XMOS) development board
which has the option to connect to the ethernet sliceCARD.
*********************************
Required libraries (dependencies)
*********************************

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


*************
Prerequisites
..............
*************

* This document assumes familarity with the XMOS xCORE architecture,
the Ethernet standards IEEE 802.3u (MII), the XMOS tool chain and
the xC language. Documentation related to these aspects which are
the Ethernet standards IEEE 802.3u (RMII), the XMOS tool chain and
the XC language. Documentation related to these aspects which are
not specific to this application note are linked to in the
references appendix.

* For a description of XMOS related terms found in this document
please see the XMOS Glossary [#]_.

* For an overview of the Ethernet library, please see the Ethernet
library user guide.

.. [#] http://www.xmos.com/published/glossary

*******
Support
*******

This package is supported by XMOS Ltd. Issues can be raised against the software at: http://www.xmos.com/support
6 changes: 6 additions & 0 deletions examples/app_rmii_100Mbit_icmp/doc/exclude_patterns.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# The following patterns are to be excluded from the documentation build
examples
tests
.pytest_cache
CHANGELOG.rst
LICENSE.rst
Loading

0 comments on commit 8ddef4e

Please sign in to comment.