eth ethernet mac - infineon technologies

17
ETH Ethernet MAC XMCmicrocontrollers September 2016

Upload: others

Post on 14-Feb-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

ETHEthernet MACXMC™ microcontrollersSeptember 2016

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

2Copyright © Infineon Technologies AG 2016. All rights reserved.

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

3Copyright © Infineon Technologies AG 2016. All rights reserved.

ETHEthernet MAC

Highlights

The Ethernet core supports10/100-Mbit/s data transfer rateswhich is compliant with IEEE 802.3specification and this allows for anexternal fast Ethernet PHY interfacewith RMII/MII.

Customer benefitsKey features

› User do not have to take care of CRCcalculation and pad insertion

› Auto checking of the destination andsource address of receive frame

› Better accuracy to synchronize clocksthroughout a network

› Automatic CRC and pad generation

› Flexible address filtering modes

› Support Ethernet frame timestamping compliant with IEEE1588-2008

Copyright © Infineon Technologies AG 2016. All rights reserved. 4

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

5Copyright © Infineon Technologies AG 2016. All rights reserved.

ETHAutomatic CRC and pad generation

› CRC and pad generation for transmission frame

– When the number of bytes received falls below 60 bytes, the statemachine automatically appends zeros to the Tx frame to make the datalength exactly 46 bytes

– The Transmit CRC Generator module calculates the CRC for the FrameCheck Sequence (FCS) field before transmission to the TPE module

Copyright © Infineon Technologies AG 2016. All rights reserved. 6

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

7Copyright © Infineon Technologies AG 2016. All rights reserved.

ETHFlexible address filtering modes

› The address filtering (AFM) module performs the destination and source addresschecking function on all received frames and reports the address filtering statusto the receive frame controller module

› The Receive Frame Controller (RFC) module performs frame filtering based onthe destination/source address

Copyright © Infineon Technologies AG 2016. All rights reserved. 8

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

9Copyright © Infineon Technologies AG 2016. All rights reserved.

ETHEthernet frame time stamping

› If IEEE 1588 time stamping is enabled for the transmit frame, this block takes asnapshot of the system time when the SFD is put onto the transmit MII bus

› The time stamping feature can be used in precision time protocol to synchronizeclock throughout a network of rotary encoder and control stepping motor atrequired timing

Copyright © Infineon Technologies AG 2016. All rights reserved. 10

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

11Copyright © Infineon Technologies AG 2016. All rights reserved.

ETHSystem integration

› Target applications

– Web server

– FTP server

– MOD bus

The Ethernet MAC can make use of the internalflash or external SDMMC as a resource accessfrom the host.

Additional peripherals such as ADC, GPIO etc,are used to support server side include orcommon gateway interface application.

RAM – For DMA transmit / receive descriptors.

Flash/SDMMC – For html/JPEG files storage.

NVIC – For Ethernet receive interrupt.

ADC/POSIF – For server side include.

GPIO/LED/UART – For common gate wayinterface.

XMC™4400 XMC™4500XMC™4200

● ●XMC™4100

Copyright © Infineon Technologies AG 2016. All rights reserved. 12

Agenda

Overview

Key feature: automatic CRC and pad generation

Key feature: flexible address filtering modes

Key feature: ethernet frame time stamping

System integration

Application example

1

2

3

4

5

6

13Copyright © Infineon Technologies AG 2016. All rights reserved.

Application exampleWeb server

Overview

In brief

The Ethernet MAC in combinationwith the software RTOS and LwIPstack is able to create a webserver application.

The primary function of a web server isto store, process and deliver webpages to clients. The communicationbetween client and server takes placeusing the Hypertext Transfer Protocol(HTTP).

Pages delivered are most frequentlyHTML document, which mayinclude images, stylesheet and scripts in addition to textcontent.

A web browser, initiates communicationby making a request for a specificresource using HTTP and the serverresponds with the content of thatresource or an error message if unableto do so.

Copyright © Infineon Technologies AG 2016. All rights reserved. 14

– Product Briefs

– Selection Guides

– Application Brochures

– Presentations

– Press Releases, Ads

– Application Notes

– Technical Articles

– Simulation Models

– Datasheets, MCDS Files

– PCB Design Data

– Technical Videos

– Product Information

Videos

– Forums

– Product Support

Support material

Collaterals and

Brochures

Technical Material

Videos

Contact

– www.infineon.com/XMC

– www.infineon.com/XMC

– Kits and Boards

– DAVETM

– Software and Tool Ecosystem

– Infineon Media Center

– XMC Mediathek

– Infineon Forums

– Technical Assistance Center (TAC)

Copyright © Infineon Technologies AG 2016. All rights reserved. 15

The information given in this training materials is given as a hint forthe implementation of the Infineon Technologies component only andshall not be regarded as any description or warranty of a certainfunctionality, condition or quality of the Infineon Technologiescomponent.

Infineon Technologies hereby disclaims any and all warranties andliabilities of any kind (including without limitation warranties of non-infringement of intellectual property rights of any third party) withrespect to any and all information given in this training material.

Disclaimer