This section provides the performance numbers of Ethernet drivers using CPSW peripheral in MCU+ SDK
SOC Details | Values |
---|---|
Core | Main R5F0 Core 0 |
Core Operating Speed | 800 MHz |
Memory Type | DDR |
Cache status | Enabled |
EVM Type | AM62D-EVM |
PHY Card used | DP83867 Add-on Card |
Configuration | Value |
---|---|
Processing Core | Main R5F0 Core 0 |
Core Frequency | 800 MHz |
Ethernet Interface Type | RGMII at 1 Gbps |
Packet buffer memory | DDR (uncached) |
Scatter-gather TX | Yes |
Scatter-gather RX | Yes |
UDMA interrupt pacing | NO |
RTOS | FreeRTOS |
RTOS application | Modified Enet CPSW Loopback Example example |
Host PC tool version | nload |
Rx packet length | 200 B |
Tx packet length | 200 B |
Parameter | CPU<->CPSW Latency Value (ns) | PHY (DP83867IR) Latency (from datasheet) in ns | Total Latency (ns) |
RX Latency | 19000 | 288 | 19288 |
TX Latency | 11000 | 384 | 11384 |
Configuration | Value |
---|---|
Processing Core | Main R5F0 Core 0 |
Core Frequency | 800 MHz |
Ethernet Interface Type | RGMII at 1 Gbps |
Packet buffer memory | DDR (cached) |
Hardware checksum offload | Enabled on both Tx and Rx Side |
Scatter-gather TX | Yes |
Scatter-gather RX | Yes |
UDMA interrupt pacing | Yes (realized with timer based polling at 1ms interval) |
RTOS | FreeRTOS |
RTOS application | Enet Lwip CPSW Example in examples |
TCP/IP stack | LwIP version STABLE-2_2_0_RELEASE |
Host PC tool version | iperf v2.0.5 |
Number of Rx packet buffers | 32 |
Number of Tx packet buffers | 16 |
Test | Bandwidth (Mbps) | CPU Load (%) |
TCP RX | 154 | 99 |
TCP TX | 83 | 99 |
TCP Bidirectional | RX=52 TX=52 | 100 |
Host PC commands:
iperf -c <evm_ip> -r
iperf -c <evm_ip> -d
Test | Datagram Length = 64B | Datagram Length = 256B | Datagram Length = 512B | Datagram Length = 1470B | ||||||||
Bandwidth (Mbps) | CPU Load (%) | Packet Loss (%) | Bandwidth (Mbps) | CPU Load (%) | Packet Loss (%) | Bandwidth (Mbps) | CPU Load (%) | Packet Loss (%) | Bandwidth (Mbps) | CPU Load (%) | Packet Loss (%) | |
UDP RX | 5 | 58 | 0.0 | 5 | 18 | 0.0 | 25 | 42 | 0.0 | 50 | 36 | 0.0 |
10 | 98 | 8.5 | 15 | 46 | 0.0 | 50 | 82 | 0.1 | 60 | 43 | 0.0 | |
15 | 98 | 37 | 25 | 76 | 0 | 55 | 95 | 0.1 | 95 | 66 | 0 | |
UDP RX (Max) | 7 | 81 | 0.099 | 29.9 | 99 | 0.84 | 56 | 98 | 0.26 | 131 | 95 | 0.045 |
UDP TX (Max) | 13.2 | 100 | 0 | 52.8 | 100 | 0.0093 | 105 | 100 | 0.025 | 302 | 100 | 0.039 |
Host PC commands:
iperf -c <evm_ip> -u -l64 -b <bw> -r
iperf -c <evm_ip> -u -l 256 -b <bw> -r
iperf -c <evm_ip> -u -l 512 -b <bw> -r
iperf -c <evm_ip> -u -b <bw> -r
Configuration | Value |
---|---|
Processing Core | Main R5F0 Core 0 |
Core Frequency | 800 MHz |
Ethernet Interface Type | RGMII at 1 Gbps |
Packet buffer memory | DDR (cached) |
UDMA interrupt pacing | No (Disabled for gptp flow) |
RTOS | FreeRTOS |
gptp Configuration | Refer to Ethernet TSN gPTP Examples on quick sync configuration |
Test | Measured value | 802.1AS Parameters |
---|---|---|
802.1AS Time to Initial Sync | 700ms | - sync interval = 15.625ms - pdelay req = 15.625ms - BMCA fixed configuration |
802.1AS Sync Accuracy | 70ns | - sync interval = 125ms - pdelay req = 1s |