![SIGNALCORE SC5520A Hardware Manual Download Page 28](http://html.mh-extra.com/html/signalcore/sc5520a/sc5520a_hardware-manual_1268314028.webp)
©2020
Rev 1.1
27
Hardware Registers
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 attenuator value (1 valid bytes)
0x0A = Current level DAC 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
Register 0x22 GET_DEVICE_STATUS (1 Byte, 8 Bytes)
Write to this register to query the current operating conditions.