Video Data Output For The A402K - Basler A400K User Manual

Basler a400k
Table of Contents

Advertisement

2.5.5 Video Data Output for the A402k

Depending on the video data output mode selected, A402k cameras output pixel data in either a
2 tap 10 bit, or a 2 tap 8 bit video data stream.
In 2 tap 10 bit mode, on each clock cycle, the camera transmits data for two pixels at 10 bit depth,
a frame valid bit and a line valid bit. In 2 tap 8 bit mode, on each clock cycle, the camera transmits
data for two pixels at 8 bit depth, a frame valid bit and a line valid bit. The assignment of the bits
is shown in Table 2-5.
The pixel clock is used to time data sampling and transmission. As shown in Figures
the camera samples and transmits data on each rising edge of the pixel clock.
The frame valid bit indicates that a valid frame is being transmitted. The line valid bit indicates that
a valid line is being transmitted. Pixel data is only valid when the frame valid bit and the line valid
bit are both high.
The image has a maximum size of 2352 x 1726 pixels. Pixels are transmitted at a pixel clock
frequency of 50 MHz over the Camera Link X transmitter. With each clock cycle, two pixels are
transmitted in parallel at a depth of 10 or 8 bits. Therefore, one line takes a maximum of 1176 clock
cycles to be transmitted.
The image is transmitted line by line from top left to bottom right. Frame Valid (FVAL) and Line
Valid (LVAL) mark the beginning and duration of frame and line.
In 10 bit mode, all bits of data output from each 10-bit ADC are transmitted. In 8 bit mode, the two
least significant bits output from each ADC are dropped and the 8 most significant bits of data per
pixel are transmitted.
The data sequence outlined below, along with Figures
happening at the inputs to the Camera Link transmitter in the camera.
Note that the timing used for sampling the data at the Camera Link receiver in the
frame grabber varies from device to device. On some receivers, data must be sam-
pled on the rising edge of the pixel clock (receive clock), and on others, it must be
sampled on the falling edge. Also, some devices are available which let you select
either rising edge or falling edge sampling. Please consult the data sheet for the re-
ceiver that you are using for specific timing information.
Video Data Sequence for the A402k
When the camera is not transmitting valid data, the frame valid and line valid bits sent on each
cycle of the pixel clock will be low. The camera can begin capturing a new frame while it is sending
data for a previously captured frame. It can also capture a frame and then send it before beginning
capture of a new frame. When frame valid becomes high, the camera starts to send valid data:
• On the pixel clock cycle where frame data transmission begins, the frame valid bit will
become high. 24 pixel clocks (480 ns) later, the line valid bit will become high.
• On the pixel clock cycle where data transmission for line one begins, the line valid bit will
become high. Two data streams, D0 and D1, are transmitted in parallel during this clock
cycle. On this clock cycle, data stream D0 will transmit data for pixel one in line one and data
stream D1 will transmit data for pixel two in line one. Depending on the video data output
mode selected, the pixel data will be at either 10 bit or 8 bit depth.
• On the next cycle of the pixel clock, the line valid bit will be high. On this clock cycle, data
stream D0 will transmit data for pixel three in line one and data stream D1 will transmit data
for pixel four in line one.
Basler A400k
DRAFT
Camera Interface
2-8
and 2-9,
2-8
and 2-9, describe what is
2-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents