©2019
Rev 1.0
27
Hardware Registers
Register 0x20 GET_RF_PARAMETERS (1 Byte sent, 8 Bytes received)
Write to this register the required RF parameter to query from the device.
Bit Type Name
Width Description
[3:0]
WO
Parameter
4
Data specifies the parameter to retrieve:
0x00 = Current RF Freq (7 valid bytes return)
0x01 = Sweep Start Freq (7 valid bytes return)
0x02 = Sweep Stop Freq (7 valid bytes return)
0x03 = Sweep Step Freq (7 valid bytes return)
0x04 = Sweep Dwell Time (4 valid bytes return)
0x05 = Sweep Cycle Count (4 valid bytes return)
0x06 = Sweep List Buffer Pts (4 valid bytes return)
0x07 = Current RF Phase (4 valid bytes return*)
0x08 = Current RF Level (4 valid bytes return*)
0x09 = Current Sensor Freq (7 Valid bytes)
0x0A = Sensor ADC value (2 valid bytes)
(*) is 4 bytes of a float format number, for
example:
float phase=*(float*)&read_in_unsigned_int
[7:4]
WO
Unused
4
Set all bits to zero
[63:0]
RO
Data
64
Data with varying sizes of unsigned type
Register 0x21 GET_TEMPERATURE (1 Byte, 8 Bytes)
Write to this register to query the device temperature.
Bit Type Name
Width Description
[7:0]
WO
Unused
8
Set all to zero
[31:0]
RO
Valid flatten float
type temperature
32
The data is returned in unsigned integer form of
flatten float type. To recast the unsigned integer
back to float use:
float temp = *(float*)&read_in_unsigned_int_var
[63:32]
RO
Invalid data
32
zeros