Ethernet

The Ethernet software for new generation F2838x devices runs on the Communication Manager (CM). The C2000Ware package contains the necessary software to get started with Ethernet. The package contains the low level driver Ethernet.c and Ethernet.h. There are also ports of lwIP, ptpd (third party stacks). Even though the CM side runs the stack and low level driver, the clock configurations and Pin Mux configurations should be done from the CPU1 side of F2838x before running the code on CM side.

Ethernet examples in C2000Ware:

  1. Low Level Ethernet Driver Examples - Present in <C2000Ware Installation Directory>/driverlib/f2838x/examples/cm/ethernet. These are low level Driver examples, which show how to configure the Low level driver to use different features of the driver.

  2. LWIP HTTP webserver Example - This uses the LWIP open source community stack and creates a webserver on F2838x device present in <C2000Ware Installation Directory>/libraries/communications/Ethernet/third_party/lwip/examples/enet_lwip

  3. PTPD example - This example uses ptpd community stack for the precision time Control and runs a PTP slave, and synchronizes the Ethernet PTP clock to the Master Clock based on PTP protocol. It is available at <C2000Ware Installation Directory>/libraries/communications/Ethernet/third_party/ptpd/examples/enet_ptpd

  1. LWIP UDP Example - This example application demonstrates the operation of the F2838x microcontroller Ethernet controller using the lwIP TCP/IP Stack. This example sets up the Ethernet MAC. F2838x device receives and sends data over UDP. This example is located in <C2000Ware Installation Directory>/libraries/communications/Ethernet/third_party/lwip/examples/enet_lwip