Improving Networks Worldwide. UNH InterOperability Lab Serial Attached SCSI (SAS) Clause 6.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

PeterJ Slide 1 Sep 4, B/10B Coding 64B/66B Coding 1.Transmission Systems 2.8B/10B Coding 3.64B/66B Coding 4.CIP Demonstrator Test Setup.
EIE325: Telecommunication TechnologiesMaciej J. Ogorza ł ek, PolyU, EIE Telecommunication Technologies Week 8 Flow Control Error Control.
William Stallings Data and Computer Communications 7th Edition
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Improving Networks Worldwide. UNH InterOperability Lab Serial ATA (SATA) Clause 9 Considerations.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
Chapter 9: Data Link Control Business Data Communications, 4e.
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
Medium Access Control Sublayer
Local Asynchronous Communication
Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar
INPUT-OUTPUT ORGANIZATION
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
The University of New Hampshire InterOperability Laboratory Serial ATA (SATA) Protocol Chapter 10 – Transport Layer.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
Protocols and the TCP/IP Suite
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Digital Encoding.
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
The OSI Model.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
12006 MAPLD International ConferenceSpaceWire 101 Seminar Glenn Parker Rakow NASA – Goddard Space Flight Center 2006 MAPLD International Conference Washington,
MODULE I NETWORKING CONCEPTS.
Improving Networks Worldwide. UNH InterOperability Lab Serial Attached SCSI (SAS) Testing.
The Data Link Layer Goal –As reliable as possible, efficient communication Point-to-Point –single connection –bits arrive in order sent Not necessarily.
Improving Networks Worldwide. UNH InterOperability Lab Serial Attached SCSI (SAS) Clause 7.
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Improving Networks Worldwide. UNH InterOperability Lab Serial ATA (SATA) Clause 8: OOB and Phy Power States.
Chapter 7 - Packets, Frames and Error Detection 1. Concepts of Packets 2. Motivation for Packet Switching 3. Framing 4. Frame Formats 5. Transmission Errors.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
3.2 Software Fundamentals. A protocol is a formal description of digital message formats and the rules for exchanging those messages in or between computing.
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
FUNDAMENTALS OF NETWORKING
Improving Networks Worldwide. UNH InterOperability Lab Serial Attached SCSI (SAS) Clause 5 Considerations.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
1/30/ :20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011.
Chapter 7 Channel organization. Group members  Bilal Ahmed  Mehmal javed  Faisal khan janjua  Harris bashir.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Chapter 9: Data Link Control Business Data Communications, 4e.
Status and Plans for Xilinx Development
Data and Computer Communications Digital Data Communications Techniques + Error Control+ Digital Data Communications Techniques + Error Control+Multiplexing.
1 HOLA status – February 2011 ● What's been done: ● Firmware for Cyclone IV FPGA for Tang's board – Emulation of TLK2501 transmission protocol – Flow control.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Chapter 9: Data Link Control
Chapter Two Fundamentals of Data and Signals
Data Link Layer.
DATA COMMUNICATION Lecture-20.
A few notes on Altera transceivers
Data link layer (LLC).
Data Communication Networks
DIGITAL DATA COMMUNICATION TECHNIQUES
Chapter 10 Data Link Control
DIGITAL DATA COMMUNICATION TECHNIQUES
Asynchronous Serial Communications
Serial Communication Interface: Using 8251
DIGITAL DATA COMMUNICATION TECHNIQUES
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Joshua Beaudet & Michael Klempa
Chapter 9: Data Link Control
Data Link Layer. Position of the data-link layer.
Introduction Communication Modes Transmission Modes
Presentation transcript:

Improving Networks Worldwide. UNH InterOperability Lab Serial Attached SCSI (SAS) Clause 6

Improving Networks Worldwide.

3 SAS Clause 6 Presentation Topics OOB State Machine Speed Negotiation 8b10B Encoding –Conventions –Running Disparity Synchronization State Machine

4 SAS Clause 6 OOB Signals Review Definition: Out of band (OOB) signals are low- speed signal patterns that do not appear in normal data streams. OOB signals consist of defined amounts of idle time followed by defined amounts of burst time

5 SAS Clause 6 OOB State Machine

6 SAS Clause 6 SAS OOB Sequence Source: HP, STA SAS Overview Presentation

7 SAS Clause 6 SAS OOB Sequence Source: SAS Standard

8 SAS Clause 6 SAS OOB Sequence PHY B misses PHY A’s Initialization Attempt Source: SAS Standard

9 SAS Clause 6 SAS-SATA OOB Sequence Source: HP, STA, SAS Overview Presentation

10 SAS Clause 6 Speed Negotiation -- SAS 1.1 Goal: Find a commonly supported speed between two link partners Covers 1.5 and 3.0 Gbps speeds – SAS 2.0 Speed Negotiation will be covered separately Devices that support 3.0 Gbps typically also support 1.5 Gbps

11 SAS Clause 6 Speed Negotiation Comprised of 4 “Speed Negotiation Windows” –SNW-1, SNW-2, SNW-3, SNW-F Each window is divided into two parts Rate Change Delay Speed Negotiation Transit

12 SAS Clause 6 Speed Negotiation Times Rate Change Delay Time: The time a transmitted shall transmit D.C. idle between rates during speed negotiation – OOBI Speed Negotiation Transit Time: The time during which ALIGN (0) or ALIGN (1) is transmitted at the specified physical link rate for the given window – OOBI

13 SAS Clause 6 Speed Negotiation Times Speed Negotiation Lock Time: The maximum time during the speed negotiation window for a transmitted device to replay with ALIGN (1) primitives – OOBI Speed Negotiation Window Time: The duration of the entire speed negotiation window. Equal to RCDT + SNTT – OOBI

14 SAS Clause 6 Generic SNW

15 SAS Clause 6 SNW-1 Following successful exchange of COMSAS between two Phys: –If a device supports 1.5Gbps speeds then after one RCDT it will being transmitting ALIGN (0) primitives –If a device detects ALIGN (0) primitives in return, it will be being transmitting ALIGN (1) Primitives to indicate a lock

16 SAS Clause 6 SNW-2 After the SNWT has lapsed for SNW-1, devices will stop transmitting ALIGN primitives and being transmitting D.C. Idle for one RCDT again –If a device supporst 3.0 Gbps, then it will begin transmitting ALIGN (0) primitives at that speed –If a device detects ALIGN (0) primitives in return, it will begin transmitting ALIGN (1) primitives to indicate a lock

17 SAS Clause 6 SNW-3 SNW-3 is unused in SAS 1.1 After the SNWT has lapsed for SNW-2, devices will stop transmitting ALIGN primitives and being transmitting D.C. Idle for the entire SNWT for SNW-3.

18 SAS Clause 6 SNW-F After the SNWT has lapsed for SNW-D, devices will continue to transmit D.C. Idle for one more RCDT. –A device will then transmit ALIGN (0) primitives at the highest speed for which it obtained lock during the previous SNWs. –If a device receives ALIGN (0) primitives at the same speed in return, it will begin transmitting ALIGN (1) primitives to indicate a lock –If a lock is obtained within the SNWT, control of the transmitter and receiver is handed over to the link layer applications

19 SAS Clause 6 Speed Negotiation Example 1 The following example provides a demonstration of the Speed Negotiation Procedures for SAS 1.1 Phy A supports 1.5, 3.0, and an unspecified higher speed Phy B supports only 3.0 Gbps Link is negotiated to 3.0 Gbps

20 SAS Clause 6 Speed Negotiation Example 1

21 SAS Clause 6 Speed Negotiation Example 2 The following example provides a demonstration of the Speed Negotiation Procedures for SAS 1.1 Phy A supports 1.5, 3.0, and an unspecified higher speed Phy B supports 1.5 and 3.0 Gbps Speed Negotiation fails due to Phy B being unable to obtain lock in SNW-F

22 SAS Clause 6 Speed Negotiation Example 2

23 SAS Clause 6 SAS 2.0 Changes to Speed Negotiation SNW-1, SNW-2, and SNW-F remain unchanged to provide backwards compatibility with non-SAS2.0 devices SNW-3 used to communicate capabilities between phys while remaining ‘Out-Of-Band’ SNW-3 and SNW-F used to allow devices to negotiate to speeds higher than 3.0 Gbps

24 SAS Clause 6 SAS 2.0 SNW-3 ALIGN Primitives are NOT transmitted at 6.0 Gbps Instead, a series of COMWAKE signals and periods of D.C. Idle are transmitted –Called: “Phy Capabilities Bits” –32 Bits long – One complete COMWAKE signal (six bursts) = 1 Bit –Absense of a COMWAKE = 0 Bit –Used to indicate the speeds and signal settings supported by the transmitter

25 SAS Clause 6 Phy Capabilities Bits Start Bit - always set to one; used to lock on to beginning of transmission of the Phy Capabilities Bits

26 SAS Clause 6 Phy Capabilities Bits TX SSC Type – Type of SSC used by the device –0 indicates down spreading, 1 indicates center spreading

27 SAS Clause 6 Phy Capabilities Bits Request Logical Link Rate –Multiplexing related setting used to determine the link speed of any logical connections made across the phy

28 SAS Clause 6 Phy Capabilities Bits Bits 1:2 though 1:7 –Capabilities bits –Only 1.5, 3.0, and 6.0 Gbps currently defined –One bit for each speed and SSC setting

29 SAS Clause 6 Phy Capabilities Bits Reserved Bits –A COMWAKE asserted in any bit that is Reserved will be considered an error condition by the Link Partner and the entire SNW will be rejected

30 SAS Clause 6 Phy Capabilities Bits Parity Bit –The Parity Bit shall be set such that the total number of bits set to one is even, including the Start Bit and the Parity Bit

31 SAS Clause 6 8b10b Encoding All information transferred in SAS is encoded into 10-bit characters using 8b10b encoding 1024 possible 10-bit characters

32 SAS Clause 6 8b10b Encoding 256 possible 8b characters –Mapped to 512 different 10b characters Two for each 8b character, + and – running disparity –12 control characters defined Used for sending Primitives The rest of the characters are invalid

33 SAS Clause 6 Data Characters...

34 SAS Clause 6 Control Characters

35 SAS Clause 6 DWords All characters transferred in SAS are grouped into four-character sequences called DWords Data DWords are built from 4 data characters Example: –D10.4 D20.2 D28.5 D03.0

36 SAS Clause 6 DWords Primitives are DWords are built from a control character and three data characters Example: –K28.5 D16.7 D16.7 D16.7 Always starts with the control character –Control character in any other position is a “Misaligned K-Code” error

37 SAS Clause 6 Running Disparity To further reduce the likely hood that long strings of 0s or 1s will occur, running disparity is implented Recall, each 8b character is mapped to 2 10b characters, one positive running disparity, one negative

38 SAS Clause 6 Running Disparity Each 10b character is divided in to two parts (sub-blocks) –First 6 bits –Last 4 bits Changes in running disparity are determined by the last sub-block transmitted

39 SAS Clause 6 Running Disparity Changes Running disparity at the beginning of 6- bit sub-block is determined by the end of the previous character Running disparity at the beginning of the 4-bit sub-block is determined by the end of the 6-bit sub-block Running disparity at the end of the character is what is determined at the end of the 4-bit sub-block

40 SAS Clause 6 Running Disparity Changes Running disparity is made positive if: –The sub block contains more 1s than 0s –If the sub-block is 6-bits and contains b –If a sub-block is 4-bits and contains 0011b

41 SAS Clause 6 Running Disparity Changes Running disparity is made negative if: –The sub block contains more 0s than 1s –If the sub-block is 6-bits and contains b –If a sub-block is 4-bits and contains 1100b

42 SAS Clause 6 Running Disparity Changes Running disparity is not changed if a sub-block contains an equal number of 0s and 1s and is not b, b, 1100b, or 0011b

43 SAS Clause 6 Synchronization State Machine Errors Four Basic Error Types –Invalid Transmission Character –Running Disparity Error –Incorrect Special Character –Misaligned Special Character

44 SAS Clause 6 Invalid Transmission Character Character transmitted is not: –One of the 512 valid data characters –One of the 12 valid control characters Normally involves a long string of either 0s or 1s

45 SAS Clause 6 Running Disparity Error Character transmitted contained an incorrect running disparity transition –Made a + to – transition or a – to + transition unexpectedly –Failed to maintain running disparity

46 SAS Clause 6 Incorrect Special Character The only valid control character used in SAS are: –K28.5 –K28.6 –K28.3 Any other special character is considered an error

47 SAS Clause 6 Misaligned Special Character A Control character that does not appear at the beginning of a Dword Example: –D10.3 K28.5 D16.7 D16.7

48 SAS Clause 6 Synchronization State Machine

49 SAS Clause 6 Synchronization State Machine Basics: –After 4 errors are received synchronization is considered lost –Synchronization can be regained upon reception of primitives from the link partner –If in a loss of synchronization state for more than 1ms, a device MAY transmit COMINIT

50 SAS Clause 6 Synchronization State Machine Device may only respond to frames/primitives when in the Sync Acquired State