AM263Px MCU+ SDK: Enet LLD Introduction

| AM263Px MCU+ SDK 26.00.00 |

Enet LLD Introduction

# Introduction

The Unified Ethernet Low-Level Driver (Enet LLD) is a driver that aims at providing an unified interface for the different Ethernet peripherals found in TI SoCs.

The Enet LLD is composed of the following layers: top-layer APIs, peripheral layer, module layer and CSL. The diagram below depicts the layers in the Enet LLD.

Back To Top

# Application Programming Interface

The Enet LLD provides two sets of APIs: control and DMA.

## Control path API

The control API is an IOCTL-based interface which is used by applications to control the Ethernet peripheral and its submodules.

For further details on the top-level control APIs, refer to the Enet Main API.

## Data path (DMA) API

The DMA API is used by applications to perform data movement related operations, such as opening and closing DMA channels, submitting and retrieving packets from the underlying DMA controller.

For further details on the top-level control APIs, refer to the Enet Data Path (DMA).

## Life cycle of an Enet LLD based application

The following diagram shows the usage of Enet LLD top-level APIs by local and remote clients.

Back To Top

# Enet Peripherals

Enet LLD supports two families of Ethernet devices: CPSW and ICSSG.

## CPSW Peripheral

Common Port SWitch (CPSW) subsystems is an IP providing networking functionality. It provide Ethernet packet communication between the connected port(s) and the System on Chip. The total number of ports include host port which is an internal port providing the packet streaming interface to the device internal cores. The external ports are MAC ports supporting Media Independent Interface (MII) like MII, Gigabit Media Independent Interface (GMII), Reduced Media Independent Interface (RMII), Reduced Gigabit Media Independent Interface (RGMII), Serial Gigabit Media Independent Interface (SGMII) and Quad Serial Gigabit Media Independent Interface (QSGMII). The MII modes supported vary based on device variant.

CPSW3G is an integrated Ethernet switch IP with three-port: two MAC ports and a CPPI DMA host port. The CPSW3G switch facilitates the transfer of data between external ports along with internal traffic.

# Document Revision History

Revision | Date | Author | Description | Status
--- | --- | --- | --- | ---
0.1 | 17 Aug 2020 | Misael Lopez | First version | Draft
0.1 | 1 Sept 2021 | Prasad Jondhale | Updates for MCU+ SDK | 0.1