class spirack.S5i_module(spi_rack, module, frequency=100e6, enable_output=1, output_level=0.0)
S5i module interface class. This class does the low level interfacing with the S5i RF generator module. It requires an SPI Rack object and module number at initialization. A start up frequency can be given, otherwise it defaults to 100 MHz. The output power will default to 0 dBm.
Sets the frequency with the grid set by
set_stepsize. Will calculate the correct register values and raises ValueErrors if the frequency is not possible. This can be due to limitations in the stepsize or when it exceeds the chip limitations.
Calculates the optimal stepsize for a given frequency such that the phase noise in minimised.
Returns - the optimal stepsize in Hz (float)
Sets the stepsize with which the frequency will be set in
Sets the output power of the unit. Can be varied from -14 dBm to 20 dBm.
Enables/disable the output of the RF generator IC. This is not the same as the mute input on the front of the module. It disables the chip output internally: it has less attenuation and is slower.
Writes data via the SPI Rack class to the S5i module. Writes the current register settings to the ADF4351 in reversed order of storage: REG5 to REG0. This is required according to the datasheet. The output is only updated when REG0 is written to
||the module number set by the user (must coincide with hardware)|
||the currently set RF output frequency in Hz|
||the set stepsize in Hz|