SATO CL4NX Programming Reference Manual page 718

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

(1) CRC = CRC XOR Object data(1B)
(1-1) A=CRC AND "0001"
CRC= shift 1bit right of CRC
(1-1) If A=1, CRC XOR Generating
polynomial, and assign the result to
CRC.
If A=0, do nothing
(2-1) Calculate the same as (1-1), and
repeat (1-1) and (1-2) calculation seven
times. (8bits in total)
(2-2) Calculate the same as (1-2). CRC is as
it is since A=0.
(3-1) Calculation the same as (1-1).
(3-2) Calculate the same as (1-2).
(4-1) Calculation the same as (1-1).
(4-2) Calculate the same as (1-2).
(5-1) Calculate the same as (1-1).
(5-2) Calculate the same as (1-2).
(6-1) Calculate the same as (1-1).
(6-2) Calculate the same as (1-2).
(7-1) Calculate the same as (1-1).
(7-2) Calculate the same as (1-2).
(8-1) Calculate the same as (1-1).
(8-2) Calculate the same as (1-2).
CRC calculation for "1B" is completed.
Repeat the same calculation of (1) for next
object data "41" until "03". In this case EC
5E.
Parent topic
Bluetooth
0000 0000 0000 0000
XOR)
0000 0000 0001 1011
CRC = 0000 0000 0001 1011
A = 1
CRC = 0000 0000 0000 1101
0000 0000 0000 1101
XOR) 1010 0000 0000 0001
CRC = 1010 0000 0000 1100
A = 0
CRC = 0101 0000 0000 0110
CRC = 0101 0000 0000 0110
A = 0
CRC = 0010 1000 0000 0011
CRC = 0010 1000 0000 0011
A = 1
CRC = 0001 0100 0000 0001
0001 0100 0000 0001
XOR) 1010 0000 0000 0001
CRC = 1011 0100 0000 0000
A = 0
CRC = 0101 1010 0000 0000
CRC = 0101 1010 0000 0000
A = 0
CRC = 0010 1101 0000 0000
CRC = 0010 1101 0000 0000
A = 0
CRC = 0001 0110 1000 0000
CRC = 0001 0110 1000 0000
A = 0
CRC = 0000 1011 0100 0000
CRC = 0000 1011 0100 0000
Calculation result until 03
CRC = 1110 1100 0101 1110
716
(CRC)
(1B)
(CRC)
(Polynomial)
(CRC)
(Polynomial)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cl6nx

Table of Contents