
SC5305A Operating & Programming Manual
Rev 2.1.0
16
S
E T T I N G T H E
S C 5 3 0 5 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
sc5305a_RegWrite
function directly. Table 2 lists the register address (command) and the effective bytes of command data.
Data must be formatted into an unsigned integer of 32 bits prior to passing it to the function. As an
example to write the byte 0xEE into address 0xA8BB of the user EEPROM, the user would call the
sc5305a_RegWrite
as follows:
sc5305a_RegWrite(deviceHandle, 0x23, 0x00A8BBEE)
Table 2: Configuration registers.
Register (Address)
Data
Bytes
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default
INITIALIZE (0x01)
[7:0]
Open
Open
Open
Open
Open
Open
Open
Mode
0x00
SET_SYSTEM_ACTIVE (0x02)
[7:0]
Open
Open
Open
Open
Open
Open
Open
Enable
SYS LED
0x00
POWER_SHUT_DOWN (0x05)
[7:0]
Open
Open
Open
Open
Open
Open
Open
Enable
0x00
[7:0]
0x00
[15:8]
0x00
[23:16]
0x00
[31:24]
0x00
[7:0]
0x00
[15:8]
0x00
RF_PREAMPLIFIER_SETTING (0x12)
[7:0]
Open
Open
Open
Open
Open
Open
Open
Enable
0x00
RF_MODE_SETTING (0x13)
[7:0]
Open
Open
Open
Open
Open
Fast
Tune
Enable
0x00
IF_BAND_SELECT (0x15)
[7:0]
Open
Open
Open
Open
Open
Open
Open
Band
0x00
REFERENCE_SETTING (0x16)
[7:0]
Open
Open
Open
Open
Reserv
100 MHz
Out Sel
Ref Out
Enable
Lock
Enable
0x00
[7:0]
0x00
[15:8]
0x00
IF_INVERT_SETTING (0x1D)
[7:0]
Open
Open
Open
Open
Open
Open
Open
Enable
[7:0]
[15:8]
[23:16]
[7:0]
0x00
[15:8]
Open
Open
0x00
Units Value [13:8]
PHASE_SETTING (0x32)
EEPROM DATA [7:0]
WRITE_USER_EEPROM (0x23)
EEPROM Address [7:0]
EEPROM Address [15:8]
Tenths Value
Units Value[7:4]
Attenuator Value
Attenuator
ATTENUATOR_SETTING (0x11)
Fine Tune
REFERENCE_DAC (0x17)
DAC word [7:0]
DAC word [15:8]
Frequency Word [23:16]
Frequency Word [7:0]
Frequency Word [15:8]
Frequency Word [31:24]
RF_FREQUENCY (0x10)
Tuning the RF Frequency
The frequency of the first local oscillator (LO1) is set by writing the RF_FREQUENCY register (0x10). This
register requires four data bytes, these data bytes being the bytes comprising an unsigned 32-bit
integer. The data bytes contain the frequency tuning word in Hertz. For example, to tune to a frequency
of 2.4 GHz, the data word would be d2400000000 in decimal or 0x8F0D1800 in hexadecimal.