AM273x MCU+ SDK  08.02.00

Detailed Description

HWA Paramset Config for CFAR block.

HWA paramset config parameters for the CFAR block inside HWA_ParamConfig which is used with the HWA_ConfigParamSet() call.

Data Fields

uint8_t numNoiseSamplesLeft
 
uint8_t numNoiseSamplesRight
 
uint8_t numGuardCells
 
uint8_t nAvgDivFactor
 
uint8_t nAvgMode
 
uint8_t cfarOsKvalue
 
uint8_t cfarOsEdgeKScaleEn
 
uint8_t operMode
 
uint8_t outputMode
 
uint8_t cfarAdvOutMode
 
uint8_t peakGroupEn
 
uint8_t cyclicModeEn
 

Field Documentation

◆ numNoiseSamplesLeft

uint8_t HWA_AccelModeCFAR::numNoiseSamplesLeft

6 bit value: specify the number of samples used for noise averaging to the left of the cell under test. Note: The actual number of samples used for noise averaging in H/W is equal to the value of this field multiplied by 2. for cfar-ca mode, it supports 0-63, not support 1 for cfar-os mode, it supports 0,4,6,8,12,16,24, 32 only. Sets the CFAR_AVG_LEFT (add note of factor of 2) bits of CFAR_CFG register in paramset

◆ numNoiseSamplesRight

uint8_t HWA_AccelModeCFAR::numNoiseSamplesRight

6 bit value: specify the number of samples used for noise averaging to the right of the cell under test. Note: The actual number of samples used for noise averaging in H/W is equal to the value of this field multiplied by 2 Sets the CFAR_AVG_RIGHT (add note of factor of 2) bits of CFAR_CFG in paramset

◆ numGuardCells

uint8_t HWA_AccelModeCFAR::numGuardCells

3 bit value: specifies the number of guard cells to ignore on either side of the cell under test Sets the CFAR_GUARD_INT bits of CFAR_CFG register in paramset

◆ nAvgDivFactor

uint8_t HWA_AccelModeCFAR::nAvgDivFactor

4 bit value: specifies the division factor by which the noise sum calculated from the left and right noise windows are divided by in order to get the final surrounding noise average value. The division factor is equal to 2^nAvgDivFactor Valid values: 0-8 Sets the CFAR_NOISEDIV bits of CFAR_CFG register in paramset

◆ nAvgMode

uint8_t HWA_AccelModeCFAR::nAvgMode

See HWA_NOISE_AVG_MODE_CFAR macros for correct values. configures the noise averaging mode in the CFAR detector Sets the CFAR_CA_MODE bits of CFAR_EN register in paramset

◆ cfarOsKvalue

uint8_t HWA_AccelModeCFAR::cfarOsKvalue

7 bit value: specifies ordered statistics, in CFAR-OS mode, maximum is 127 sets the CFAR_OS_KVAL bits of CFAR_CFG register in paramset

◆ cfarOsEdgeKScaleEn

uint8_t HWA_AccelModeCFAR::cfarOsEdgeKScaleEn

1 bits: enable scaling of K value for the edge samples in non-cyclic CFAR-OS mode; only used in CFAR-oS in non-cyclic mode. sets the CFAR_OS_KVAL bits of CFAR_CFG register in paramset

◆ operMode

uint8_t HWA_AccelModeCFAR::operMode

See HWA_CFAR_OPER_MODE macros for correct values. Sets the CFAR_LOG_MODE, CFAR_INP_MODE, CFAR_ABS_MODE bits of CFAR_EN register in paramset

◆ outputMode

uint8_t HWA_AccelModeCFAR::outputMode

See HWA_CFAR_OUTPUT_MODE macros for correct values. select the output mode of the CFAR engine Sets the CFAR_OUT_MODE bits of CFAR_EN register in paramset

◆ cfarAdvOutMode

uint8_t HWA_AccelModeCFAR::cfarAdvOutMode

See HWA_FEATURE_BIT macros for correct values. if it is disabled, HWA_AccelModeCFAR::outputMode, see HWA_CFAR_OUTPUT_MODE if it is enabled, HWA_AccelModeCFAR::outputMode should be set to 1. sets the CFAR_ADV_OUT_MODE bits of CFAR_EN register in paramset

◆ peakGroupEn

uint8_t HWA_AccelModeCFAR::peakGroupEn

See HWA_FEATURE_BIT macros for correct values. specifies whether peak grouping should be enabled HWA_FEATURE_BIT_DISABLE - peak grouping is disabled, which means that a peak is declared as detected as long as the cell under test exceeds the threshold HWA_FEATURE_BIT_ENABLE - peak is declared as detected only if it the cell under test exceeds the threshold, as well as, if the cell under test exceeds the two neighboring cells to its immediate left and right Sets the CFAR_GROUPING_EN bits of CFAR_EN register in paramset

◆ cyclicModeEn

uint8_t HWA_AccelModeCFAR::cyclicModeEn

See HWA_FEATURE_BIT macros for correct values. specifies whether the CFAR-CA detector needs to work in cyclic mode or in non-cyclic mode HWA_FEATURE_BIT_DISABLE=non-cyclic mode HWA_FEATURE_BIT_ENABLE=cyclic mode Sets the CFAR_CYCLIC bits of CFAR_EN register in paramset