PowerPC SCC port and EC/ECP HDLC controller Communication

Slides:



Advertisements
Similar presentations
Contents Overview Data Information Frame Format Protocol
Advertisements

Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
HIGH-LEVEL DATA LINK CONTROL (HDLC) HDLC was defined by ISO for use on both point-to-point and multipoint data links. It supports full-duplex communication.
William Stallings Data and Computer Communications 7th Edition
D Channel Data Link Protocol Link access procedure on the D channel - LAPD.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
The OSI Reference Model
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
RS-232 Port Lecture L9.3. Loop feedback RS-232 voltage levels: +5.5 V (logic 0) -5.5 V (logic 1)
Adapted from Tanenbaum's Slides for Computer Networking, 4e The Data Link Layer Chapter 3.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar
HDLC and PPP. The Data Link Layer in the Internet A home personal computer acting as an internet host. Technology like Ethernet cannot provide “high-level”
The University of New Hampshire InterOperability Laboratory Serial ATA (SATA) Protocol Chapter 10 – Transport Layer.
MODULE I NETWORKING CONCEPTS.
Feb. 25, 2004 Prof. Paul Lin 1 CPET The Data Link Layer Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology Purdue University,
資 管 Lee Appendix A1 Link-Layer Support for IPv6. 資 管 Lee Lesson Objectives Basic structure of IPv6 packets LAN media WAN media IPv6 over IPv4.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
NS Training Hardware. Serial Controller - UART.
ECE453 – Introduction to Computer Networks Lecture 4 – Data Link Layer (I)
Layer Two Data Link Layer Collects bits from layer 1 and organizes into frames Passes bits that make up frames to layer 1 for transmission Concerned with.
1 CS4550: Computer Networks II Review Data Link Layer.
Single and 32 Channel HDLC Controllers File Number Here ® LogiCORE Products.
HDLC Controller Solutions with Spartan-II FPGAs for $4 February 2000 File Number Here ®
DATA LINK CONTROL PROTOCOLS. 2 Introduction Data link control layer – often abbreviated simply to data link layer – is concerned with the transfer of.
GBT SCA overview Slide 1-5 Work status Slide 6-10 Shuaib Ahmad Khan.
1 University of Calgary CS 441 Part 3 The Data Link Layer 3.1 Framing & Error Control 3.2 Error & Flow Control.
Review ATA - IDE Project name : ATA – IDE Training Engineer : Minh Nguyen.
Data Communications Data Link Layer.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective.
CS4470 Computer Networking Protocols
Physical Link Layer.
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
The University of Adelaide, School of Computer Science
8279 Keyboard / Display Interface
SB16C1158PCIe SB16C1154PCIe SystemBase’s Semiconductor Products 1.
Lesson 6 Point to Point Protocol
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
Data Link Layer.
Input/Output and Communication
Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU)
CIS 321 Data Communications & Networking
Data Networking via LANs Packets and Frames
UQC113S2 – Embedded Systems
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Part III Datalink Layer 10.
Computer Organization and Design
ECE453 – Introduction to Computer Networks
CT1303 LAN Rehab AlFallaj.
Serial Communication Interface: Using 8251
11. Input-Output Organization
2. Getting connected (part 1)
Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted during transmission. For.
COMP3221: Microprocessors and Embedded Systems
Chapter 7 Error Detection and Correction
ATA over internet.
Layered Protocol Wrappers Design and Interface review
Flow control refers to a set of procedures used to restrict the amount of data that the sender can send before waiting for acknowledgment. Error control.
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
Controller Area Networks (CAN)
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
EEC-484/584 Computer Networks
Error Detection and Correction
Hardware Building Blocks
Multi Chip Module (MCM) The ALICE Silicon Pixel Detector (SPD)
William Stallings Data and Computer Communications
Data Link Layer. Position of the data-link layer.
Introduction Communication Modes Transmission Modes
Presentation transcript:

PowerPC SCC port and EC/ECP HDLC controller Communication SBO, Q2/2005 by James Lee

Overview HDLC is the abbreviation for High-Level Data Link Control published by the International Standards Organization (ISO). The HDLC protocol is defined in ISO3309 and related ISO standards. HDLC was the result of an effort by the international community to develop a standard for data link communication. This data link protocol such as LAPB, LAPD, LLC and SDLC are all based on the HDLC protocol with a few modification. Lattice EC/ECP supports the HDLC core for CCITT, CRC16 and CRC32 standard, also supports Embedded block ram for Data queuing.

Index Feature of HDLC controller Block diagram of HDLC controller Application of HDLC controller Tx data modification for accommodation with SCC Modification Source code Samsung Design description

Features of HDLC controller • Parameterizable number of HDLC channels in multi-channel design. Each channel corresponds to a DS0 channel in the TDM & PCM highway. • CRC (Cyclic Redundancy Check) check with parameterizable FCS (Frame Check Sequence) length and arbitrary polynomials. • Flag insertion and detection • Abort generation and detection • Zero insertion and deletion • Idle insertion • Flag sharing between HDLC frames • Recognize 011111101111110 as two continuous flags • Conforms to ISO/IEC 3309

( HDLC Tx/Rx controller for CCITT, CRC16, CRC32) Block Diagram of HDLC controller EC/ECP Rx HDLC Controller Packet Size FIFO CPU Interface Block Rx Control Logic CPU Line Card R_Buffer 7 F_Detect Z_Unstuff BIT_CNT CRC_CHK R_Control R_Shift A_Detect STATUS Rx_Data Rx HDLC 256x8 Rx FIFO Rx Data Data Rx_Clk 8bits 512x8 Add Interrupt Control ( HDLC Tx/Rx controller for CCITT, CRC16, CRC32) CPU_CS Tx HDLC Controller Register Block CPU_WRn CPU_DSn F_INSERT T_Buffer 7 T_Shift CRC_GEN Z_Stuff A_Insert T_Control 01111110 Tx_Clk Tx FIFO CPU_Clk Tx Data CPU_INTn 8bits 512x8 Tx HDLC Tx Control Logic Tx Modification Logic Tx_Data

Application of HDLC controller Line Card Processor Card PowerPC SCC Line Card PowerPC SCC EC/ECP/XP HDLC Controller . PowerPC . Line Card PowerPC SCC Line Card PowerPC SCC SCC (Serial Communications Controllers) HDLC (High-level Data Link Control)

HDLC Frame Format

Tx Modification for accommodating HDLC format with SCC 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 F 7 E 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 F 7 E 7 E 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 F 7 E 7 E 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 C F 7 E 7 E FCS Flag When the last FCS byte is hx1F, hx9F, hx3F, hxEF, Tx data modulation is needed to avoid abort alarm in PowerPC SCC port

Abort Alarm is occurred in SCC port Tx Modification for accommodation with SCC 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 F 7 E Abort Alarm is occurred in SCC port FCS Flag Flag Whenever there are five consecutive 1’s followed by a zero, the zero will be ignored in PowerPC SCC port. So the zero which is located between FCS and Flag is ignored and SCC port recognized Abort status 1 FCS Modified Flag F 3 7 E Flag To avoid Abort status, Modified flag is need

Modification source code Process(RST, CLK, Int0_reg) begin if rst = '0' then Int0_reg <= ( others => '0'); elsif CLK'event and CLK = '0' then if (Int0_reg(14 downto 0) = "011111011111100") then Int0_reg(16 downto 0) <= int0_reg(15) & "011111001111110" & txdata0a; else Int0_reg(16 downto 0) <= Int0_reg(15 downto 0) & txdata0a; end if; end process; Txdata0 <= Int0_reg(16);