SC5313A Operating & Programming Manual
Rev 1.0.2
13
S
E T T I N G T H E
S C 5 3 1 3 A :
W
R I T I N G T O
C
O N F I G U R A T I O N
R
E G I S T E R S
Configuration Registers
The users may write the configuration registers (write only) directly by calling the
sc5313a_RegWrite
function. The syntax for this function is
sc5313a_RegWrite(deviceHandle, registerCommand,
instructWord)
. The
instructWord
takes a 64 bit-word. However, it will only send the required number of
bytes to the device. These registers are common USB, SPI, and RS232 interfaces; see the SPI and RS232
sections for data transfer details. Table 4 summarizes the register addresses (commands) and the
effective bytes of command data.
Table 4. Configuration registers.
Register Name
Register
Address
Serial
Range
Bit 7
(MSB)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
(LSB)
INITIALIZE
0x01
[7:0]
Mode
SET_SYSTEM_ACTIVE
0x02
[7:0]
Enable
“active”
LED
RF_FREQUENCY
0x10
[7:0]
MHz Frequency Word [7:0]
[15:8]
MHz Frequency Word [15:8]
[23:16]
MHz Frequency Word [23:16]
[31:24]
MHz Frequency Word [31:24]
[39:32]
MHz Frequency Word [39:32]
RF_AMPLIFIER
0x12
[7:0]
Amplifier
Mode
RF_ATTENUATION
0x13
[7:0]
Attenuation
[15:8]
Atten #
RF_PATH
0x14
[7:0]
Path
RF_FILTER_SELECT
0x15
[7:0]
Filter [3:0]
LO_FILTER_SELECT
0x16
[7:0]
Filter [3:0]
LO_OUT_ENABLE
0x17
[7:0]
Enable
“LO out”
port
IF_GAIN_DAC
0x18
[7:0]
DAC value [5:0]
[15:8]
Channel
VCOM_OUT_DAC
0x19
[7:0]
DAC value [7:0]
[15:8]
DAC value [13:8]
[23:16]
Channel
DC_OFFSET_DAC
0x1A
[7:0]
DAC value [7:0]
[15:8]
DAC value [13:8]
[23:16]
Channel
LINEARITY_DAC
0x1B
[7:0]
DAC value [7:0]
[15:8]
DAC value [13:8]
STORE_STARTUP_STATE
0x1D
[7:0]
USER_EEPROM_WRITE
0x1F
[7:0]
Data [7:0]
[15:8]
Address [7:0]
[23:16]
Address [15:8]