音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

24945 Datasheet

  • 24945

  • Implementing SDLC on the Am186CC or Am186CH Microcontroller ...

  • 4頁

  • ETC

掃碼查看芯片數(shù)據(jù)手冊(cè)

上傳產(chǎn)品規(guī)格書

PDF預(yù)覽

Implementing SDLC on the Am186鈩C or
Am186CH Microcontroller
Application Note
by Erwin Han
SDLC is a layer 2 communication protocol similar to the HDLC protocol. The Am186鈩C and
Am186CH microcontrollers support SDLC bit manipulation via their address match and address
mask registers. An SDLC environment might use any of several encoding methods. Whether these
microcontrollers can be used in an SDLC environment depends on the encoding method used.
OVERVIEW
This application note describes the difference between
High-level Data Link Control (HDLC) and Synchronous
Data Link Control (SDLC), and various methods of en-
coding used in serial communication. It points out de-
sign considerations for using the Am186鈩C or
Am186CH microcontroller in an SDLC system.
Address
Because the layer 2 (data link layer) frame can be
transmitted over a point-to-point link, a broadcast net-
work, or packet switched systems, there is an address
field in the frame to carry the frame鈥檚 destination ad-
dress. The length of this field is commonly 0, 8, or 16
bits for the 鈥淗DLC family鈥?protocols, depending on the
layer 2 protocol. For instance, HDLC and LAPD use a
16-bit address; SDLC and LAPB use an 8-bit address.
Control
The 8- or 16-bit control field provides a flow control
number and defines the frame type (control or data).
The exact length and use of this field depends on the
protocol.
Information/Data
Data is transmitted in the information field, which can
vary in length depending on the protocol. Layer 3
frames are carried in this information field.
Error Control
Error control is implemented by appending a Cyclic Re-
dundancy Check (CRC) to the frame. All data transmit-
ted between the opening and closing flags (excluding
inserted 0s) are included in the CRC calculation. The
calculated CRC is appended to the end of the frame
just before the closing flag. The CRC field is 16-bits
long in most protocols, but may be 32-bits long in some
protocols.
Order of Transmitting
In HDLC and SDLC, the least-significant bit (LSB) of
each data octet is transmitted first, and the most-signif-
icant bit (MSB) of the CRC is transmitted first.
BIT MANIPULATION
The following sections introduce basic concepts of
HDLC and related protocols, describe the difference
between HDLC and SDLC, and explain SDLC address-
ing considerations.
Introduction to HDLC
In the 7-layer Open System Interconnection (OSI)
model, layer 2 is the data link layer. This layer provides
control between physical nodes: link initialization, flow
control, and error control. One of the most common
layer 2 protocols is HDLC. In HDLC, all transmissions
are in frames. Actually, many other common layer 2
protocols are based on the framing structure of HDLC,
like SDLC, LAPB, LAPD, etc. Figure 1 shows the frame
structure of HDLC.
Flag
The flag field is defined as 7Eh (hexadecimal), which is
01111110b (binary) in serial transmission.
Zero Insertion
HDLC uses a zero insertion/deletion scheme (inserting
a 0 bit after five continuous 1 bits when transmitting,
then deleting the added bits when receiving) to ensure
that the flag bit pattern (01111110) does not occur in the
fields between flags.
Opening Flag
8 bits
Address
16 bits
Control
8/16 bits
Information (Optional)
8N bits (N=0,1,2鈥?
CRC
16 bits
Closing Flag
8 bits
Figure 1. HDLC Frame Structure
漏 Copyright 2001 Advanced Micro Devices, Inc. All rights reserved.
Publication#
24945
Rev:
A
Amendment/0
Issue Date:
April 2001

24945相關(guān)型號(hào)PDF文件下載

您可能感興趣的PDF文件資料

熱門IC型號(hào)推薦

掃碼下載APP,
一鍵連接廣大的電子世界。

在線人工客服

買家服務(wù):
賣家服務(wù):
技術(shù)客服:

0571-85317607

網(wǎng)站技術(shù)支持

13606545031

客服在線時(shí)間周一至周五
9:00-17:30

關(guān)注官方微信號(hào),
第一時(shí)間獲取資訊。

建議反饋
返回頂部

建議反饋

聯(lián)系人:

聯(lián)系方式:

按住滑塊,拖拽到最右邊
>>
感謝您向阿庫提出的寶貴意見,您的參與是維庫提升服務(wù)的動(dòng)力!意見一經(jīng)采納,將有感恩紅包奉上哦!