- 1、本文档共34页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
STM32 Connectivity Line
Ethernet TCP/IP introduction
2009年STM32 全国研讨会
北京、深圳、上海、台北、
青岛、重庆、南京、哈尔滨、
武汉、福州、西安
Content
STM32F107 Ethernet
STM32 全国研讨会 14-25/09/2009 2
The STM32F107 MAC block diagram
? Configurable and flexible MAC 802.3
? Support two industry standard interfaces for the PHY
– Media Independent Interface (MII)
– Reduced Media Independent Interface (RMII)
? Integrated DMA controller
? Hardware support of IEEE 1588
? Ethernet wakeup event
Ethernet
IEEE 1588
DMA FIFO FIFO MII /
TX RX
RMII
MAC
802.3
PHY
MDC / MDIO Wake up event
STM32F107
STM32 全国研讨会 14-25/09/2009 3
Precision Time Protocol (IEEE1588) : What is it
? It is a protocol designed to synchronize real-time clocks of
the devices of a network
? Synchronization is done with the most accurate clock found
in a packet-based network: called the Grand Master Clock.
? Accuracy is Sub-μsecond
Detailed PTP
description
09:00 09:00
Grand
Master
Clock
09:00
09:00 09:00
STM32 全国研讨会 14-25/09/2009 4
Content
Generic information about TCP-IP
STM32 全国研讨会 14-25/09/2009 5
Generic information about TCP-IP
SMTP
BOOTP
?
FTP
?
DHCP
HTTP ?
? ?
POP3
?
IP TFTP
SNMP
ICMP ?
PPP
?
DNS
?
ARP
Telnet
?
? UDP
TCP
STM32 全国研讨会 14-25/09/2009 6
TCP-IP : A layered protocol stack
Application
Layer
? The main interface for the user.
? Higher level protocols
Transport
Layer
? End-to-end connections (UDP and TCP)
? Ensure reliability (TCP)
Internet
Layer
? Intra Inter-Network communication
? no guaranty of delivery
Data link
Layer
?Intra-Network communication
?Transport data on the physical support
STM32 全国研讨会 14-25/09/2009 7
TCP-IP : Encapsulation
User
Data
TFTP
Header
User
Data
UDP
Header
TFTP
Header
User
Data
IP UDP TFTP User
Header Header Header Data
Ethernet IP UDP TFTP User Ethernet
Header Header Header Header Data Trailer
TCP-IP : Key Protocols
I want to IP
send data to
27
Transport Layer
TCP UDP
I want to
UDP
send a datagram
on the port #
Internet Layer
I want to
TCP
send data in
a reliable way
on the port #
Datalink Lay
文档评论(0)