Commit Graph

899 Commits

Author SHA1 Message Date
Ross Owen
b8e88dfd9e Fixes for lib_mic_array API update in 2.0.0RC1 2016-03-11 15:27:43 +00:00
Andrew Stanford-Jason
54c8176ce0 fixed pdm mic interface to match v2.0.0 lib_mic_array 2016-03-01 14:55:21 +00:00
Andrew Stanford-Jason
1559d36153 Merge branch 'master' of git://git/apps/sc_usb_audio 2016-02-24 10:17:31 +00:00
Andrew Stanford-Jason
6974636bc4 removed unnessessary include to fix the pdm build 2016-02-24 10:17:21 +00:00
Ross Owen
431c7f5db9 comment typo only 2016-02-10 12:32:22 +00:00
Ross Owen
967ac89420 Merge 2016-02-10 12:27:40 +00:00
Ross Owen
75815a0da6 Added the ability to offset DAC data from ADC data (useful if ADC and DAC do not agree on TDM formats as on the xCORE-200-MC-AUDIO board. 2016-02-04 12:39:18 +00:00
Ross Owen
6a80cc85e2 Initialisation issue with DAC ports for TDM slave mode fixed 2016-02-04 12:00:36 +00:00
Ross Owen
0b267e606a Build warning fix with lib_mic_array integration 2016-01-18 15:52:13 +00:00
Ross Owen
cda325397e Required build fixes for latest lib_mic_array updates 2016-01-18 15:49:23 +00:00
Ross Owen
96a11abb80 Updated filter coef naming for latest lib_mic_array 2016-01-15 16:07:40 +00:00
Ross Owen
4743f90747 Temporarily reverted Krishna's commit - was causing audio issues from Mics on array ref v1.0 2016-01-12 13:43:22 +00:00
Ross Owen
fc6a4ef8fc Resolved merge conflict 2016-01-12 12:11:20 +00:00
Ross Owen
dcc81c6dd7 Build issues resolved with latest lib_mic_array 2016-01-12 12:10:06 +00:00
Krishna Balan
bf75f409f7 Support for PDM and I2S to be on same tile; MCLK divider set to 4 to generate PDM clk 2015-12-17 17:17:52 +00:00
Ross Owen
6a76987b17 Fixed up build issue due to lib_mic_array API change 2015-12-11 17:30:07 +00:00
Ross Owen
dde563a63d BCD_DEVICE_M: 14 -> 15 2015-12-09 23:09:22 +00:00
Ross Owen
cc886a643c UAC1.0 descriptors now support multi-channel volume control (previously were hard-coded as stereo) 2015-12-08 16:05:44 +00:00
Ross Owen
2ae99f11e6 Removed 32kHz support when PDM mics enabled (lib_mic_array supports integer decimation factors only) 2015-12-08 15:17:25 +00:00
Ross Owen
47e5629acd Removed multiplication by decimation factor (lib_mic_array fixed) 2015-12-08 12:09:45 +00:00
Ross Owen
176cbeae28 xpd: Cleaned up whitespace 2015-12-02 22:30:43 +00:00
Ross Owen
ee6dd02faa xpd: Patched version number 2015-12-02 22:30:42 +00:00
Ross Owen
8e370e4fb0 Updated BCD_DEVICE_M, 13 -> 14 2015-12-02 16:21:17 +00:00
Ross Owen
dcd42ecd14 Improved build error for >48000 when PDM used. 2015-12-02 15:07:15 +00:00
Ross Owen
f75ac6a38e Build warning tidy (unused channel) 2015-12-02 14:45:32 +00:00
Ross Owen
017dee1099 Fixed build issue due to lib_mic_array API change 2015-12-02 14:40:28 +00:00
Ross Owen
4a60b340db Fixed HID defines (shift off by one..) 2015-12-01 17:14:46 +00:00
Ross Owen
2b9367322d Added build error if NUM_USB_CHAN_IN/OUT_FS > NUM_USB_CHAN_IN/OUT 2015-12-01 13:10:28 +00:00
Ross Owen
8f4bd361ce Fixed trap when setting mix map on xCORE-200 2015-11-26 23:30:25 +00:00
Ross Owen
89f43fabd1 unitId unsigned. 2015-11-25 19:27:01 +00:00
Ross Owen
591a696e55 MAX_FREQ_FS guarded by ifndef so can be over-ridden 2015-11-25 19:26:48 +00:00
Ross Owen
16d527de04 Added an error for MIN_FREQ > MAX_FREQ 2015-11-25 19:26:25 +00:00
Ross Owen
49466b8653 UAC1 descriptors no longer always report 7 freqs - it reports atleast 3 freqs (and up to 7 - over 7 should generate a build error). If < 3 freqs are requested MAX_FREQ_FS is repeated as required. 2015-11-24 18:34:54 +00:00
Ross Owen
ab55f03fc2 Fixes for UAC1 enum issues on Windows - attempt to only expose 7 sample rates (> 7 crashes Windows UAC1 driver) 2015-11-24 11:38:19 +00:00
Ross Owen
ab7db51b17 Removed 22050Hz sample rate for UAC2 lowSampleRateList. Now matches list in UAC1 descriptors. 2015-11-24 11:37:37 +00:00
Ross Owen
e0da7fd2e9 Added MIN_FREQ_FS define to devicedefines.h 2015-11-24 11:35:40 +00:00
Ross Owen
c2c5d4f24e sofCount reset to 1 on sample rate change (was 0). Caused first feedback value to be incorrect. This was a particular issue for FS operation where updates happen more slowly. 2015-11-21 00:09:44 +00:00
Ross Owen
bf1a19a7be mod_from_last_time reset on SF change. 2015-11-20 17:27:44 +00:00
Ross Owen
3bc55bc9b9 Added 8000Hz to UAC1 SF list 2015-11-20 17:27:11 +00:00
Ross Owen
c0f8a60099 Fixed UAC1 sample freq change issue 2015-11-20 17:26:51 +00:00
Ross Owen
a2010a05c0 Fixed FS feedback and input packet sizing 2015-11-20 16:19:49 +00:00
Ross Owen
d919a807cd Fixed UAC1 sample rate change issue. 2015-11-20 16:17:15 +00:00
Ross Owen
68faab7ed2 Attempt to fix up FS mode for new feedback system - still not operational. 2015-11-20 13:46:33 +00:00
Ross Owen
196c82e0dd Fixed up IN endpoint addresses due to typo in USBEndpointNumber_In enum 2015-11-20 13:45:54 +00:00
Ross Owen
7512067905 Fixed build error (typo) 2015-11-20 13:04:23 +00:00
Ross Owen
9efde26514 Async feedback system re-implemented to allow for MasterClock/SampleRate ration not being a power of 2 e.g. 32000Hz from 24.576MHz MClk. 2015-11-20 12:59:57 +00:00
Ross Owen
8fdc9b0986 Fixed I2S data offset when xCORE-200 H/W bit clock-divide used (startup code change) 2015-11-17 17:47:00 +00:00
Ross Owen
2130da665e Fix to feedback factor range fix 2015-11-17 15:22:33 +00:00
Ross Owen
ae6720d0ed Initial addition of SAMPLE_RATE_LIST define 2015-11-17 11:40:11 +00:00
Ross Owen
f947005eb1 Initial addition of xCORE-200 hardware bit-clock divide (currently not enabled) 2015-11-17 11:39:44 +00:00