[USB协议]USB3.1-Chapter7-Link Layer 数据链路层概览

本章节主要是针对USB3.1 协议中的链路层的大概的了解和总结,其中很多细节和diagram 没有列举出来。详细可以参考USB3.1 spec chapter 7


7,link layer 数据链路层



数据链路层的几个主要的工作范围:

 使用 8b/10b  or 128b/130b??
 packet framing
 link command definition and usage
 link initialization flow control
 ling power mangerment
 error 检测和处理
 reset
 link trainning and status state manchine(LTSSM).

 7.4 reset
 有两种reset,
 一种是power reset,在power提供的时候,会将所有存储,register,清理成default状态。power reset之后LTSSM会处于RX  detect的状态;
 另一种是inband reset,包括hot reset和warm reset。hot reset 与warm reset的区别?
 不管是哪种reset,过程完成之后link层会进入U0状态。

  7.5 LTSSM
 有四种operational link states(power status):

 U0:

U0 is a state where an Enhanced SuperSpeed link is enabled.  Packet transfers are in progress or the link is idle.  

 U1:

U1 is low power link state where no packet transfer is carried out and  the Enhanced SuperSpeed link connectivity can be disabled to allow opportunities for saving the

link power.  

 U2:

U2 is also a low power link state.  Compared with U1, U2 allows for further powersaving opportunities with a penalty of increased exit latency.  

 U3:

U3 is a link suspend state where aggressive power saving opportunities are possible.   

 

另有四种link states,针对初始化和trainning引入的

 there are four link states, Rx.Detect, Polling, Recovery, and Hot Reset, that are introduced for link initialization and training.

Rx.Detect

Polling

Recovery

Hot Reset


 第三类

two other link states, Loopback and Compliance Mode, are introduced for bit error test and transmitter compliance test


 第四类:

  Finally, two more link states are defined.  eSS.Inactive is a link error state where a link is in a non-operable state and software intervention is needed.  eSS.Disabled is a

link state where Enhanced SuperSpeed connectivity is disabled and the link may operate under USB 2.0 mode




  • 0
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值