Tau ReSpeaker Setup V01

Dependencies:   MbedJSONValue mbed

Fork of TAU_ReSpeaker_DSP_Test by Yossi_Students

Revision:
6:e8b4ca41c691
Parent:
5:ec6f2323a263
Child:
7:25c81cb23e42
--- a/filters.h	Thu Jul 12 10:11:20 2018 +0000
+++ b/filters.h	Mon Aug 06 09:34:45 2018 +0000
@@ -204,6 +204,7 @@
             // update dac
             ADCValueOut=(uint16_t)((ADCFloatFiltered +1.0f) * Float2ADC);
             *(__IO uint32_t *) Dac_Reg = ADCValueOut;
+            //*(__IO uint32_t *) Dac_Reg = 0; // test triggered mode
             // delay for set time
             wait_us(trigPause);
         }
@@ -224,6 +225,6 @@
 
     // Output value using DAC
     // HAL_DAC_SetValue(&hdac1, DAC_CHANNEL_1, DAC_ALIGN_12B_R, ADCValueOut);
-    *(__IO uint32_t *) Dac_Reg = ADCValueOut/2;
+    *(__IO uint32_t *) Dac_Reg = ADCValueOut;
     //wait_us(1);
 } // end high pass filter + trigger mode
\ No newline at end of file