Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

GETH

Gigabit Ethernet MAC

AURIX™ TC3xx Microcontroller Training


V1.0 2020-09
Please read the Important Notice and Warnings at the end of this document
GETH
Gigabit Ethernet MAC

S Tx Highlights
DMA Buffer
R AHB/SRI Rx
I DMA
RAM
› 10/100/1000 Mbps IEEE 802.3-2008 Ethernet
MAC and MII, RMII and RGMII PHY interfaces
S Control &
MII › IEEE 802.1Q: Virtual LAN (VLAN)
P Status
RMII
› IEEE 802.1Qav: Forwarding and Queuing
B Registers MAC Enhancements for Time-Sensitive Streams
Core RG › IEEE 802.1AS: Timing and Synchronization for
MII
Time-Sensitive
Clock MD
Control IO › IEEE 1588: Precision Time Protocol for
precision networked clock synchronization

Key Features Customer Benefits


Packet Filtering › Reducing the processor’s load

CRC and Pad generation

Multiple DMA Channels and Queues › Deterministic behavior for automotive


applications
QoS Support

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 2


GETH
Packet Filtering

› The main advantage is the AURIXTM


unloading of the CPU SW Stacks

TriCore™ y
TriCore™ x
by: CPU RAM CPU RAM

– Pre-processing of data traffic in


HW (no SW load)
SRI Bus
– Three levels of filters:

DMAs
DMAs
– MAC addresses
– VLAN Tags and PCP

Queues
Queues
Ethernet MAC
– Ethernet protocols AVB, PTP,
TCP/UDP/IP Unicast and
Multicast

Shaper
Filter
xMII

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 3


GETH
CRC and Pad generation

› CRC and Pad generation for Transmission frame


– When the number of bytes received falls below 64 bytes, the state machine
automatically appends zeros to the Tx frame to make the data length exactly
46 bytes (if no VLAN is used) or 42 bytes (if VLAN tag is used) .
– The Transmit CRC Generator module calculate the CRC for the Frame Check
Sequence (FCS) field before transmission to the TPE module.

MAC
Core
Transmit CRC
Generator ( CTX) Automatic CRC and pad generation
State machine
( DA+ SA+ LT+ DATA) < 64 bytes

Data = 46 Bytes or 42 Bytes


Frame Check Ethernet Transmission Frame
Pad
Sequence CRC Type / Source Destination
Payload / Data SFD Preamble
Length address address

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 4


GETH
Multiple DMA Channels and Queues

› Data traffic separated into 4 queues:


– Up to 4 Tx queues sharing 4 KB AURIXTM
FIFO
– Up to 4 Rx queues sharing 8 KB

TriCore™
FIFO CPU RAM

› Each queue can be connected to


any CPU SRI Bus

› Time Stamp Unit for IEEE 802.1AS:


DMA DMA

Ethernet MAC
– HW unit for IEEE 802.1AS (PTP) Queue Queue
– Required for clock Filter Shaper
synchronization
– Supports master and slave mode Time
Stamp
Time
Stamp
– Supports 1-step time stamp
xMII
› All these features ensure a
deterministic behavior of the
Ethernet traffic

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 5


GETH
QoS Support

› Shapers for QoS support AURIXTM

TriCore™ y
TriCore™ x
– 4 Credit Based Shaper CPU RAM CPU RAM

– IEEE 802.1Q compatible


– 4 Time Based Shapers
SRI Bus
– For time triggered
deterministic traffic

DMAs

DMAs
– Each queue provides
both shapers

Queues
Queues
Ethernet MAC
– Each shaper can be
enabled / disabled
individually

Shaper
Filter

xMII

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 6


GETH
System integration

The Gigabit Ethernet MAC can make


use of the internal Flash/RAM for
data storage and handling. The
internal RAM is used as well for DMA
Transmit / Receive descriptors and RAM GETH Interrupt Router

Ethernet Frame storage. The


DMA
Interrupt Router handles all requests Transmit /
Software
Receive
coming from the Ethernet, as descriptors RTOS/TCP IP

example a received frame FLASH ADC GPIO

notification. Combined with the RAM GTM LED

automotive AUTOSAR™ software ASCLIN

new Applications can be developed. Data storage Sensors Actuators

Faster ECU Firmware updates,


Service oriented communication via
SOME/IP or Service and diagnosis
via DoIP are just some examples.

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 7


Application example
Firmware updates of multiple ECUs

AURIX™ TC2xx
AUTOSAR™

Host PHY GETH MAC PDU router CAN-FD CAN ECUs

TCP IP stack CAN

Overview Advantages
› Firmware updates in cars can make use › The Gigabit Ethernet MAC allows with
of Ethernet to exchange data much the high speed data transfer to update
faster compared to other existing multiple ECUs in parallel in a car
communication interfaces
› The faster update time saves money at
line end programming and in field garage
firmware updates

2020-08-13 Copyright © Infineon Technologies AG 2020. All rights reserved. 8


Trademarks
All referenced product or service names and trademarks are the property of their respective owners.

Edition 2020-09 IMPORTANT NOTICE For further information on the product,


Published by The information given in this document shall in no technology, delivery terms and conditions and
Infineon Technologies AG event be regarded as a guarantee of conditions or prices please contact your nearest Infineon
81726 Munich, Germany characteristics (“Beschaffenheitsgarantie”) . Technologies office (www.infineon.com).
With respect to any examples, hints or any typical
© 2020 Infineon Technologies AG. WARNINGS
values stated herein and/or any information
All Rights Reserved. Due to technical requirements products may
regarding the application of the product, Infineon
contain dangerous substances. For information
Technologies hereby disclaims any and all
Do you have a question about this on the types in question please contact your
warranties and liabilities of any kind, including
document? nearest Infineon Technologies office.
without limitation warranties of non-infringement
Email: erratum@infineon.com
of intellectual property rights of any third party. Except as otherwise explicitly approved by
Infineon Technologies in a written document
Document reference In addition, any information given in this
signed by authorized representatives of Infineon
AURIX_Training_2_ document is subject to customer’s compliance
Technologies, Infineon Technologies’ products
Gigabit_Ethernet_MAC with its obligations stated in this document and
may not be used in any applications where a
any applicable legal requirements, norms and
failure of the product or any consequences of the
standards concerning customer’s products and
use thereof can reasonably be expected to result
any use of the product of Infineon Technologies in
in personal injury.
customer’s applications.
The data contained in this document is exclusively
intended for technically trained staff. It is the
responsibility of customer’s technical
departments to evaluate the suitability of the
product for the intended application and the
completeness of the product information given in
this document with respect to such application.

You might also like