Specifications


SLWS142JJANUARY 2003 − REVISED AUGUST 2007
www.ti.com
64
Variables can have different types in transmit and receive mode. For example, the CIC interpolation (cic_int) is
mandatory in transmit and unused in receive. Any variable may be directly set by the user and that value is used both
to program the chip and in some cases to compute other fields.
A user should first let the software generate values for computed and expert fields before attempting to modify them.
Setting expert_only fields gives a warning and generally should not be attempted. Computed fields (such as gain_lsb
and gain_msb) can reasonably be changed by a user − but most commonly should not need be changed.
Defaulted values should be reviewed to see if they fit the user’s application. Mandatory values must be set − the
software does not generate a configuration without them. Unused variables are programmed to zero − though it does
not matter. Any user set variables are normally used to compute other fields.
The override command is used to allow the user to override the settings of specific variables without impact to any
other variables. The user’s control file is read up to the override command, all computations and analysis are done
and reported, the rest of the control file is read to override specific settings, and finally the control register settings
are written.
Table 7 describes the pseudo_fields. The Rcv column indicates the type in receive mode. The Xmt column indicates
the type in transmit mode. The TYPE column indicates if the variable is per channel or global. Names in the text in
italics refer to cmd5016 variable names described in the following tables.
Table 7. Pseudo Fields in cmd5016
Rcv Xmt NAME TYPE DEFAULT DESCRIPTION
D X agc_cf channel Used for adjusting the agc crest factor, see AGC application note
D X agc_mode channel 0 Selects the AGC mode, see AGC application note. (default is agc off)
D X agc_tc channel Calculates AGC time constant. See AGC application note.
M M bits channel 0 Bits in each word of the output data in receive or input data in transmit. Must be either
4, 8, 12, 16, or 20. An interface with 8-bit real and 8-bit imaginary data would be
programmed to 8.
D D bypass_cic channel 0 Programs the CIC into bypass mode (1) or normal (0). It neither interpolates nor
decimates. Gain is unity in transmit, 1/2 in receive. The data still goes through the CIC.
D D bypass_fir channel 0 Programs the FIR filter to an impulse, with a minimum latency and unity gain (1) or
normal.
D D bypass_mix channel 0 Programs the mixers to be nearly unity gain (2^20−1)/2^20. The sin mixer multipliers
are programmed to multiply by zero. Also sets the frequency to be dc and phase to
zero.
M X cic_dec channel 1 CIC decimation amount (only in receive).
X M cic_int channel 1 CIC interpolation amount (only in transmit).
M X fir_coef channel FIR filter coefficient filename, must be entered for configuration
M X fir_dec channel 1 FIR decimation (only in receive). Values from 1 to 16.
D D fir_diff channel 0 If set, allows multiple data streams in the filter to get different coefficients.
X M fir_int channel 1 FIR interpolation amount (only in transmit) (1−16).
D D fir_nchan channel 1 Specifies how many data streams in the filter (1−16). Almost always the default of 1 is
correct.
D D gain channel 1.0 ratio gain_lsb, and gain_msb adjustment − normally overall_gain is used
D D Overall_gai
n
global 1.0 Used for calculating the channel gain. . See Application notes.
M M pins channel 0 Specifies how many pins are active in the output interface in receive or input interface
in transmit. Must be either 4, 8, or 16.
D X pwr_mtr_on channel 0 (1) automatically configure the power meter ( DDC mode only)
D X rin_cmplx global 0 Receive input data is complex (1) or real (0).
D X rin_rate global 1 Receive input data rate is half (0) for IQ time multiplexed, full (1), or double (2). If double,
splitiq must also be set.
D X routf_tdm global 0 Receive output data is TDM’d (1) onto port DO or normal (0).