CMSIS-DSP  
CMSIS DSP Software Library
arm_signal_converge_example_f32.c File Reference

Macros

#define TEST_LENGTH_SAMPLES   1536
 
#define NUMTAPS   32
 
#define BLOCKSIZE   32
 
#define DELTA_ERROR   0.00009f
 
#define DELTA_COEFF   0.0001f
 
#define MU   0.5f
 
#define NUMFRAMES   (TEST_LENGTH_SAMPLES / BLOCKSIZE)
 

Functions

arm_status test_signal_converge_example (void)
 
arm_status test_signal_converge (float32_t *err_signal, uint32_t blockSize)
 
void getinput (float32_t *input, uint32_t fr_cnt, uint32_t blockSize)
 
int32_t main (void)
 

Variables

float32_t firStateF32 [32+32]
 
arm_fir_instance_f32 LPF_instance
 
float32_t lmsStateF32 [32+32]
 
float32_t errOutput [1536]
 
arm_lms_norm_instance_f32 lmsNorm_instance
 
float32_t testInput_f32 [1536]
 
float32_t lmsNormCoeff_f32 [32]
 
const float32_t FIRCoeff_f32 [32]
 
float32_t wire1 [32]
 
float32_t wire2 [32]
 
float32_t wire3 [32]
 
float32_t err_signal [32]
 

Macro Definition Documentation

◆ BLOCKSIZE

#define BLOCKSIZE   32

◆ DELTA_COEFF

#define DELTA_COEFF   0.0001f

◆ DELTA_ERROR

#define DELTA_ERROR   0.00009f

◆ MU

#define MU   0.5f

◆ NUMFRAMES

◆ NUMTAPS

#define NUMTAPS   32

◆ TEST_LENGTH_SAMPLES

#define TEST_LENGTH_SAMPLES   1536

Function Documentation

◆ getinput()

void getinput ( float32_t input,
uint32_t  fr_cnt,
uint32_t  blockSize 
)

◆ main()

int32_t main ( void  )

◆ test_signal_converge()

arm_status test_signal_converge ( float32_t err_signal,
uint32_t  blockSize 
)

◆ test_signal_converge_example()

arm_status test_signal_converge_example ( void  )

Variable Documentation

◆ err_signal

◆ errOutput

float32_t errOutput[1536]

◆ FIRCoeff_f32

const float32_t FIRCoeff_f32[32]
extern

◆ firStateF32

◆ lmsNorm_instance

◆ lmsNormCoeff_f32

float32_t lmsNormCoeff_f32[32]
extern

◆ lmsStateF32

float32_t lmsStateF32[32+ 32]

◆ LPF_instance

◆ testInput_f32

float32_t testInput_f32[1536]
extern

◆ wire1

◆ wire2

◆ wire3