![background image](http://html1.mh-extra.com/html/illunis/rmv-11002/rmv-11002_operation-manual_2044107084.webp)
RMV Operations Manual Revision Copyright illunis LLC, 2014
Page 84
5.6: Image Processing
Flat Field Correction Continued
The FFC table is loaded using a sequence of character commands that are
acknowledged
with a return character from the camera. Each command component
should wait for the return character and check its status.
The table must be loaded in two passes as the internal FPGA data path to the
LUT memory is only a single byte wide. The high byte is loaded in the first pass, then
the low nibble is loaded in the second pass.
SIZE = 4096 for FPGA revisions < E8, 8192 for FPGA revisions > E8
The command sequence for loading the FFC table is as follows:
Command
Ack char
Description
{w04421000F0}
:
Sets the FFC master gain to 1.0x
{w04430001FF}
:
!
Optional FFC mode
= load from com port, save to EEPROM.
{w0440000000}
:
!
FFC load command
>
:
!
Starts the FFC load sequence
Send SIZE entries for the FFC LUT high byte
#xxxx
:
@
Loads a byte to the FFC LUT
where xxxx = hex number high byte
Example: 0x1234 => 0x12
:
$
Indicates end of first sequence
Send SIZE entries for the FFC LUT low byte
&xxxx
:
*
Loads a byte to the FFC LUT
where xxxx = hex number low byte
Example: 0x1234 => 0x34
:
%
Indicates end of second sequence
Acknowledgement of load sequence
:
!
Indicates end of FFC load
Once the FFC is saved into EEPROM it can be reloaded into the FPGA with:
(Note: FPGA revision E8 only !)
Command
Ack char
Description
{w04430002FE}
:
!
Set to FFC EEPROM load mode
{w0440000000}
:
!
FFC load command