注册 登录
电子工程世界-论坛 返回首页 EEWORLD首页 频道 EE大学堂 下载中心 Datasheet 专题
tinaliang的个人空间 https://home.eeworld.com.cn/space-uid-420098.html [收藏] [复制] [分享] [RSS]
日志

STM32F2XX的以太网怎么用。要是谁有中文版的资料也可以贴出来共享下。

已有 1126 次阅读2012-6-8 18:04

Frame check sequence: 4-byte field that contains the cyclic redundancy check (CRC)
value. The CRC computation is based on the following fields: source address,

destination address, QTag prefix, length/type, LLC data and PAD (that is, all fields
except the preamble, SFD). The generating polynomial is the following:
The CRC value of a frame is computed as follows:
● The first 2 bits of the frame are complemented
● The n-bits of the frame are the coefficients of a polynomial M(x) of degree (n – 1). The
first bit of the destination address corresponds to the xn – 1 term and the last bit of the
data field corresponds to the x0 term
● M(x) is multiplied by x32 and divided by G(x), producing a remainder R(x) of degree
≤ 31
● The coefficients of R(x) are considered as a 32-bit sequence
● The bit sequence is complemented and the result is the CRC
● The 32-bits of the CRC value are placed in the frame check sequence. The x32 term is
the first transmitted, the x0 term is the last one

 

看得很晕,不知道有谁可以讲解下。。

全部作者的其他最新日志
评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

热门文章