BCON Interface
AW00136902000
36
Basler dart BCON
5.2.5
Line Checksum
The Basler BCON interface uses even parity in order to detect transmission errors.
For each image line, a checksum is calculated. The checksum is added to the output data at the
end of each line. The checksum consists of a number of parity bits depending on the selected pixel
format. For every bit position of every pixel of the current line, an even parity bit is calculated.
The checksum is transmitted directly after the data of the last pixel in the image line has been
transmitted (see also Figure 20 on
).
Example:
Assume the camera is set for Mono 8 pixel data and one pixel per clock cycle. To
demonstrate the principle, also assume that the image ROI width is set to 5 pixels only. This means
that each image line consists of 5 x 8 bit image data.
shows sample data for one image
line under these conditions.
In the example shown above, the line checksum data is 0b10000101.
Data
Channel
Bit
Position
Sample Image Data
Count of
1-bits
Checksum Bit
(Even Parity Bit)
Clock Cycle
n
n+1
n+2
n+3
n+4
Bit 0
1
1
0
1
0
3
1
LSB
Bit 1
1
0
1
0
0
2
0
Bit 2
1
0
0
0
0
1
1
Bit 3
1
1
1
0
1
4
0
Bit 4
1
0
1
0
0
2
0
Bit 5
0
0
0
1
1
2
0
Bit 6
0
0
0
0
0
0
0
Bit 7
1
1
0
0
1
3
1
MSB
Table 18: Line Checksum Data (Example)