Manual

RaDeKL Radar ICD
107-201-001 ISSUE 2.10
MULTISPECTRAL SOLUTIONS, INC. PROPRIETARY AND CONFIDENTIAL
13 of 26
3 USB INTERFACE
RaDeKL uses the FT2232 dual channel USB chip from FTDI. Please reference the D2XX
Programmer's Guide when writing your own software to control the RaDeKL radar. Please
note that when scanning the USB bus using the FTDI drivers, each radar device will
show up as two devices because of the dual channel nature of this chip. Channel A is
reserved for future use and therefore should not be used to communicate to the radar
device. Channel B is configured as the communication endpoint to the radar.
3.1 Radar Interface Commands
The entire operation of the radar unit is controlled by writing to registers at certain
address locations. The only two commands that the radar can interpret are read and write
commands.
Using FTDI driver calls, a packet of five bytes is sent to the radar per command
instruction. From these instructions, the user is able to configure the radar and ultimately
command it to take a single or continuous measurements of the radar return pulse.
3.1.1 Low Level Command Syntax
Write:
<0x77><address_msb><address_lsb><data><0xFF>
Read:
<0x72><address_msb><address_lsb><quantity><0xFF>
Each command is five bytes long. The first byte is the command type – 0x77 for writes
and 0x72 for reads. These are the only two commands type currently supported.
Additional commands may be added in the future. If a command type is not understood
by the radar, the entire command packet is ignored. The next two bytes is the 16-bit
address. Depending on the type of command, the fourth byte is either the actual data to
be written or the quantity of bytes to read. For reads with quantity greater than one, the
address value is the starting address for the block read. Finally, the last byte is the
termination character.
3.1.2 Low Level Response Syntax
Write:
<0x234><0x234><0x234><range_bin1>…<range_bin256><0xFF>
Normally the radar will not give a response when issued a write command to any of the
radar-setting registers. To verify that the write was successful, you may elect to do a