Omega CN1166 manual Normal Bit Order, Reversed Bit Order Used, Most significant byte

Models: CN1166

1 88
Download 88 pages 37.01 Kb
Page 60
Image 60
Normal Bit Order

ii.Because only the remainder is of interest, the MSB (the rightmost bit) may be discarded.

This means the polynomial has the value Hex A001. The CRC algorithm is as follows:

XOR 1st 8 bits

of data with MSB

of result

Pre-load 16-bit

result with 0x0FF

XOR next 8 bits of data with MSB of result

No

 

All

 

 

8 bits

 

 

shifted?

Yes

 

No

 

 

Shift result

 

 

right 1 bit

 

No

Is

 

bit shifted

 

 

 

 

out set?

 

 

Yes

 

 

XOR result

 

 

with

 

 

polynomial

 

Data

finished?

Yes

Append

16 bits of

result to

data

Most significant bit

Least significant bit

Normal Bit Order

 

Most significant byte

 

Least significant byte

 

 

 

 

 

 

Reversed Bit Order

Least significant byte Most significant byte

REVERSED BIT ORDER USED

Least significant bit

Most significant bit

4-6

Volume II

O077-4

Page 60
Image 60
Omega CN1166 manual Normal Bit Order, Reversed Bit Order Used, Most significant byte, Least significant byte