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

Revision:
0:2381a319fc35
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hydro_dsp.h	Fri Aug 02 02:23:36 2013 +0000
@@ -0,0 +1,18 @@
+#ifndef HYDRO_DSP_H__
+#define HYDRO_DSP_H__
+
+#include "dsp.h"
+
+#define NUM_CHANNELS 6//
+#define FILTER_ORDER 6
+#define BLOCK_SIZE 512
+#define TDOA_THRESH (32767 / 2)
+//#define TDOA_MIN_NUM_HITS 2
+
+void setup_dsp();
+int find_timestamp_tdoa(q15_t* filtered);
+
+extern arm_iir_lattice_instance_q15 iir_filter[NUM_CHANNELS];
+extern q15_t filtered[BLOCK_SIZE];
+
+#endif