RFSoC Data Converter Evaluation Tool User Guide 48
UG1287 (v2018.2) October 1, 2018 www.xilinx.com
Chapter 7
Protocol Specification
The communication between the GUI and Linux application uses a string-based,
space-separated command and response protocol. The Linux application maintains a table
that maps command, arguments, and the corresponding method for that command (see
Figure 7-1).
In the command table, the first member is a command string, the second string is the help
string for the command, the third argument describes the type and number of arguments,
and the last argument is the function pointer which needs to be called for the command.
For the SetMixerSettings command, the type of required arguments is "uiudduuuu". The
type definitions are as follows:
• u: unsigned integer
•i: integer
•d: double
For example: GetMixerSetting takes three arguments:
Type, Tile, Block and type "uiu".
GetMixerSetting 0 1 1
The above example means that it takes a type as an unsigned integer, tile ID as integer, and
block ID as unsigned integer. So the command GetMixerSetting is for ADC, tile 1, and
block 1.
The arguments should be in the same order as described by the third member string, e.g.,
uiddduuuu.
X-Ref Target - Figure 7-1
Figure 7-1: Command Table