DSP program for the Surfboard hardware (PCB to be open sourced) http://www.avbotz.com/ourauv/electrical/signal-processing/

Dependencies:   MODDMA SimpleIOMacros mbed-dsp mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers hydro_dsp.h Source File

hydro_dsp.h

00001 #ifndef HYDRO_DSP_H__
00002 #define HYDRO_DSP_H__
00003 
00004 #include "dsp.h"
00005 
00006 #define NUM_CHANNELS 6//
00007 #define FILTER_ORDER 6
00008 #define BLOCK_SIZE 512
00009 #define TDOA_THRESH (32767 / 2)
00010 //#define TDOA_MIN_NUM_HITS 2
00011 
00012 void setup_dsp();
00013 int find_timestamp_tdoa(q15_t* filtered);
00014 
00015 extern arm_iir_lattice_instance_q15 iir_filter[NUM_CHANNELS];
00016 extern q15_t filtered[BLOCK_SIZE];
00017 
00018 #endif