Description of the data path
STINGRAY Technical Manual
V2.2.0
118
Loading an LUT into the camera
Loading the LUT is carried out through the data exchange buffer called
GPDATA_BUFFER. As this buffer can hold a maximum of 2 kB, and a complete
LUT at
4096 x 10 bit
is
5 kByte
, programming can not take place in a one
block write step because the size of an LUT is larger than GPDATA_BUFFER.
Therefore input must be handled in several steps. The flow diagram below
shows the sequence required to load data into the camera.
Figure 63: Loading an LUT
Note
L
Configuration
•
To configure this feature in an advanced register: See
Table 124: Advanced register: LUT on page 264
.
•
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER
on page 296.
Query limits from
register:
LUT_INFO and
GPDATA_INFO
Set EnableMemWR
to true (1)
Set AddrOffset to 0
Write
n databytes
in
GPDATA_BUFFER
Offset is increased
in camera after n
bytes are written
Check
EnableMemWR for
no change
Repeat steps until
all data is written
Set EnableMemWR
to false (0)