
SC5412A Operating & Programming Manual
Rev 1.1.0
13
S
E T T I N G T H E
S C 5 4 1 2 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
sc5412a_RegWrite
function. The syntax for this function is
sc5412a_RegWrite(deviceHandle, registerCommand,
instructWord)
. The
instructWord
takes a 64 bit-word. However, it will only send the required number of
bytes to the device. Table 2 summarizes the register addresses (commands) and the effective bytes of
command data.
Table 2. Configuration registers.
Register (Address)
Reg
Code
Serial
Range
MSB
Bit 7
MSB
Bit 6
MSB
Bit 5
MSB
Bit 4
MSB
Bit 3
MSB
Bit 2
MSB Bit
1
MSB Bit
0
INITIALIZE
0x01
[7:0]
Mode
SET_SYSTEM_ACTIVE
0x02
[7:0]
Enable
SYS 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]
Attenuator #
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
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]
[23:16]
Channel
STORE_STARTUP_STATE
0x1D
[7:0]
USER_EEPROM_WRITE
0x1F
[7:0]
Address [7:0]
[15:8]
Address [15:8]
[23:16]
Byte[7:0]