HWA Common Config.
HWA common config parameters that are used with the HWA_ConfigCommon() call.
Data Fields | |
uint32_t | configMask |
uint16_t | numLoops |
uint8_t | paramStartIdx |
uint8_t | paramStopIdx |
struct { | |
uint8_t fft1DEnable | |
uint16_t bpmRate | |
uint32_t bpmPattern [2] | |
uint32_t interferenceThreshold | |
uint8_t twidDitherEnable | |
uint32_t lfsrSeed | |
uint8_t fftSumDiv | |
} | fftConfig |
struct { | |
uint32_t cfarThresholdScale | |
} | cfarConfig |
struct { | |
uint32_t i_cmult_scale | |
uint32_t q_cmult_scale | |
} | scalarMult |
struct { | |
uint8_t EGEKparam [HWA_CMP_K_ARR_LEN] | |
} | compressMode |
uint32_t HWA_CommonConfig::configMask |
See HWA_COMMONCONFIG_MASK macros for correct values. Set this to specify which of the fields are valid when calling HWA_ConfigCommon API.
uint16_t HWA_CommonConfig::numLoops |
number of loops to run from paramStartIdx to paramStopIdx valid value (12 bits): 0-4094; 4095 for infinitie. Sets the NUMLOOPS
uint8_t HWA_CommonConfig::paramStartIdx |
start index of paramset through which state machine loops through valid value: 5bits (0-31) Sets the PARAMSTART
uint8_t HWA_CommonConfig::paramStopIdx |
stop index of paramset through which state machine loops through valid value: 5bits (0-31) Sets the PARAMSTOP
uint8_t HWA_CommonConfig::fft1DEnable |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Setting to 1 enables HWA in FFT1D mode - ACCEL_MEM0 and ACCEL_MEM1 are assumed to be shared with the ping-pong ADC buffers. At the end of the active transmission portion of a frame, this bit can be reset, so that the accelerator has access to all the four local memories independently. Sets FFT1DEN bit of HWACCREG1
uint16_t HWA_CommonConfig::bpmRate |
10 bit value: specifies the number of input samples corresponding to each BPM chip. value of 0 is invalid Sets BPMRATE bits in HWACCREG7
uint32_t HWA_CommonConfig::bpmPattern[2] |
64-bit value: specifies a Binary Phase Modulation (BPM) pattern to be removed on the input samples prior to FFT Sets HWACCREG5 (MSB,bpmPattern[1]) and HWACCREG6 (LSB,bpmPattern[0]) registers
uint32_t HWA_CommonConfig::interferenceThreshold |
24-bit value: Interference zero-out threshold - is used to zero-out sample(s), whose magnitude (24-bit absolute value of the 24-bit complex input) is very high, prior to computing the FFT The HWA_AccelModeFFT_t::interfZeroOutEn field should be enabled in the intended paramset for this threshold to be used
uint8_t HWA_CommonConfig::twidDitherEnable |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Setting to 1 Enable Dithering for Twiddle Factors It is recommended to keep this register bit always set to 1 (i.e., dithering enabled) Sets the DITHERTWIDEN bit in HWACCREG7 register
uint32_t HWA_CommonConfig::lfsrSeed |
29-bit value: LFSR seed. Sets the LFSRSEED bits in HWACCREG11
uint8_t HWA_CommonConfig::fftSumDiv |
5-bit value: specifies the number of bits to right-shift the sum statistic (36-bit) before it is written to destination memory (24-bit) Sets the FFTSUMDIV bits in HWACCREG8 register
struct { ... } HWA_CommonConfig::fftConfig |
uint32_t HWA_CommonConfig::cfarThresholdScale |
18-bit value: specifies the threshold scale factor that is used to either multiply or add to the 'surrounding noise average' to determine the threshold used for detection of the present cell under test in log mode, this value should be represented as 7.11. in mag/mag-sqr mode, this value should be represented as 14.4. Sets the CFAR_THRESH bits in HWACCREG13 register
struct { ... } HWA_CommonConfig::cfarConfig |
uint32_t HWA_CommonConfig::i_cmult_scale |
21 bit value: real part of the scalar complex number used for scalar mult mode i.e. HWA_ComplexMultiply::mode = HWA_COMPLEX_MULTIPLY_MODE_SCALAR_MULT Sets the ICMULT_SCALE bits of HWACCREG9
uint32_t HWA_CommonConfig::q_cmult_scale |
21 bit value: imaginary part of the scalar complex number used for scalar mult mode i.e. HWA_ComplexMultiply::mode = HWA_COMPLEX_MULTIPLY_MODE_SCALAR_MULT Sets the ICMULT_SCALE bits of HWACCREG10
struct { ... } HWA_CommonConfig::scalarMult |
uint8_t HWA_CommonConfig::EGEKparam[HWA_CMP_K_ARR_LEN] |
An Array of length 8 consisting of 5 bit values: list of k-parameters to be optimized during EGE compression. Sets the ICMULT_SCALE bits of HWACCREG9
struct { ... } HWA_CommonConfig::compressMode |