AM263Px MCU+ SDK: Enet CPSW Operation Modes Demo

| AM263Px MCU+ SDK 26.00.00 |

Enet CPSW Operation Modes Demo

# Introduction

- CPSW operates in two modes
  - Switch Mode - packet forwarding is enabled and packets are forwarded to Host + Other MAC ports. This is the default configuration for CPSW.
  - MAC mode - packets are only given to the Host port and are not forwarded to other MAC Ports.

## CPSW DUAL MAC Mode

- In this mode, both the MAC ports of AM263PX are configured to be in MAC mode.
- This mode requires two Network interfaces to operate.
- It is recommended to use two separate subnets for working with DUAL MAC.
- A single implementation of network interface and shared pool is used for both the Netifs.
- Dual MAC feature is illustrated by the below image:

DUAL MAC Operation

# See Also

Ethernet And Networking