Constants Definitions - SIGNALCORE SC5506A Operating & Programming Manual

25 mhz to 6 ghz rf signal source usb, spi and rs-232 interfaces
Table of Contents

Advertisement

Constants Definitions

// Parameters for storing data in the onboard EEPROM
#define
CALEEPROMSIZE
#define
USEREEPROMSIZE
// Assign channel names
#define
CH1
#define
CH2
// Attenuator assignments
#define
CH1ATTEN0
#define
CH1ATTEN1
#define
CH2ATTEN0
#define
CH2ATTEN1
// Define error codes
#define
SUCCESS
#define
USBDEVICEERROR
#define
USBTRANSFERERROR
#define
INPUTNULL
#define
COMMERROR
#define
INPUTNOTALLOC
#define
EEPROMOUTBOUNDS
#define
INVALIDARGUMENT
#define
INPUTOUTRANGE
#define
NOREFWHENLOCK
#define
NORESOURCEFOUND
#define
INVALIDCOMMAND
// Define device registers
#define
INITIALIZE
#define
SET_SYSTEM_ACTIVE
#define
RF_FREQUENCY
#define
RF_POWER
#define
RF_OUT_ENABLE
#define
AUTO_PWR_DISABLE
#define
RF_ALC_MODE
#define
DEVICE_STANDBY
#define
REFERENCE_MODE
#define
GET_TEMPERATURE
#define
GET_DEVICE_STATUS
#define
USER_EEPROM_READ
#define
USER_EEPROM_WRITE
#define
REFERENCE_DAC_SETTING
#define
CAL_EEPROM_READ
#define
STORE_STARTUP_STATE
#define
SET_ALC_DAC_VALUE
#define
GET_ALC_DAC_VALUE
SC5506A Operating & Programming Manual
65536
// bytes
32768
// bytes
0
1
0
1
2
3
0
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
0x01
// initialize the device
0x02
// set the system "active" light
0x10
// set the frequency
0x11
// set power of LO1
0x12
// enable RF output
0x13
// disable auto power leveling
0x14
// select closed (0) or open (1) loop ALC modes
0x15
// place the selected channel in standby mode
0x16
// reference settings
0x17
// get the internal temperature of device
0x18
// read the device status
0x1A
// read a byte from the user EEPROM
0x1B
// write a byte to the user EEPROM
0x1D
// set the reference DAC value
0x21
// read a byte from the calibration EEPROM
0x23
// store the new default state
0x24
// set the RF ALC DAC value
0x39
// read back the RF ALC DAC value
Rev 2.1.1
21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SC5506A and is the answer not in the manual?

This manual is also suitable for:

7100036-017100036-02

Table of Contents