Microchip® Advanced Software Framework

arm_signal_converge_example_f32.c File Reference
#include <asf.h>
#include "arm_math.h"
#include "math_helper.h"

Macros

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

Functions

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

Variables

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

#define BLOCKSIZE   32

Referenced by main().

#define DELTA_COEFF   0.0001f

Referenced by main().

#define DELTA_ERROR   0.000001f

Referenced by main().

#define MU   0.5f

Referenced by main().

#define NUMFRAMES   (TEST_LENGTH_SAMPLES / BLOCKSIZE)

Referenced by main().

#define NUMTAPS   32

Referenced by main().

#define TEST_LENGTH_SAMPLES   1536

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

float32_t err_signal[BLOCKSIZE]

Referenced by main().

float32_t errOutput[TEST_LENGTH_SAMPLES]
const float32_t FIRCoeff_f32[32]

Referenced by main().

float32_t firStateF32[NUMTAPS+BLOCKSIZE]

Referenced by main().

arm_lms_norm_instance_f32 lmsNorm_instance

Referenced by main().

float32_t lmsNormCoeff_f32[32]

Referenced by main().

float32_t lmsStateF32[NUMTAPS+BLOCKSIZE]

Referenced by main().

arm_fir_instance_f32 LPF_instance

Referenced by main().

float32_t testInput_f32[TEST_LENGTH_SAMPLES]
float32_t wire1[BLOCKSIZE]

Referenced by main().

float32_t wire2[BLOCKSIZE]

Referenced by main().

float32_t wire3[BLOCKSIZE]

Referenced by main().