29
CRC (CRCL,CRCH)
Check sum! It is transmitted lower byte first.
All the bytes except the last 2 from the block are used to calculate the check sum.
There must be 0x0000 after the check sum calculation including the last 2 bytes,
if the data have been transmitted error free.
The initial value for check sum calculation is 0xFFFF.
The check sum polynomial and examples for the algorithm realization
are given in the “Application Note 27.
Understanding and Using Cyclic Redundancy Checks with
Dallas Semiconductor iButtonTM Products (
www.dalsemi.com)
”,
in the “CRC-16 computation for ram records in iButtons” section.
CRCL and CRCH can be calculated , particularly, by means of the
tables 1 and 2 according to the rule below:
CRCH’ = Tbl.2 (I),
CRCL’ = Tbl.1 (I) + CRCH, where I = CRCL + InputByte
CRCH and CRCL correspond to higher and lower byte of the current
check sum value, InputByte – next data byte.
CRCH’ and CRCL’ correspond to higher and lower byte of
the new check sum value. Tbl.2 (I) and Tbl.1 (I) correspond to the tables' values,
I is the shift factor in the tables. «+» means bit-wise XOR.
Содержание SE-2000
Страница 1: ...Digital Video Switcher SE 2000 INSTRUCTION MANUAL www datavideo tek com ...
Страница 11: ......
Страница 13: ......
Страница 20: ...20 Example SE 2000 Set Ups ...
Страница 22: ......
Страница 39: ......