Commit Graph

869 Commits

Author SHA1 Message Date
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
Ross Owen
f995c15020 Quick fix for reduced gain at higher decimation factors 2015-11-16 17:25:58 +00:00
Ross Owen
079b7f8f79 Fixed runtime memory exception (array not double word-aligned) 2015-11-16 11:09:41 +00:00
Ross Owen
4b24007b9a Added required mic_addry_conf.h 2015-11-16 09:54:37 +00:00
Ross Owen
2aef62b434 Added support in UAC1 descriptors for 24, 22.05, 12 and 11.025kHz 2015-11-12 19:03:30 +00:00
Ross Owen
a63663da13 NUM_USB_CHAN_IN_FS and NUM_USB_CHAN_OUT_FS can now be over-ridden for multi-channel at FS. Default is still 2. 2015-11-12 19:02:15 +00:00
Ross Owen
1ec017d1eb Typo in FS_STREAM_FORMAT_INPUT_1_SUBSLOT_BYTES define 2015-11-11 14:33:53 +00:00
Ross Owen
3da6a51d5f Feedback calc allows a couple of extra bits for the multiplication to allow for a better range of mclk/samplerate combos 2015-11-11 14:16:03 +00:00
Ross Owen
ee40514079 PDM/Mic code can now handle rate changes. 2015-11-11 14:10:21 +00:00
Ross Owen
b5c0ddaaf8 Fixed build issue due to checking of NUM_PDM_MICS 2015-11-06 11:20:50 +00:00
Ross Owen
2c16a0f7e7 Updated PDM Mic integration for latest version of lib_mic_array 2015-11-05 15:28:45 +00:00
Ross Owen
563b69c07f Removed accidental inclusion of genclock() from main.xc 2015-10-30 12:05:56 +00:00
Ross Owen
4360799be2 Merge branch 'DEV_PDM_MIC' 2015-10-30 11:58:09 +00:00
Ross Owen
9e7274d3d3 Tidy up mic integration task 2015-10-30 11:52:23 +00:00
Ross Owen
37752f979c Added pcm_pdm_mic.h 2015-10-30 11:51:32 +00:00
Ross Owen
91ac3c60bd Remove hard-coded loopback from deliver() 2015-10-30 11:51:17 +00:00
Ross Owen
ca657877e9 Tidy up mic integration into deliver() 2015-10-30 11:50:59 +00:00
Ross Owen
11c43920ee Removed PDM_PCM_IN define (replaced with check for NUM_PDM_MICS > 0). Also use of PDM_TILE on pcm_pdm_mic() task call. 2015-10-29 20:45:07 +00:00
Ross Owen
2d81bdc7c1 Merge from master and work to tidy PDM code for release 2015-10-20 10:37:07 +01:00
Ross Owen
55f20f68ae 'Release: 6.13.0beta2' 2015-10-13 17:38:50 +01:00
Ross Owen
2580dcc721 Updated pdm code to use latest lib_array_mic code 2015-10-13 17:32:12 +01:00
Ross Owen
2ae88301eb 'Release: 6.13.0beta1' 2015-10-12 15:15:26 +01:00
Ross Owen
9344178fcc xpd: Cleaned up whitespace 2015-10-12 14:19:50 +01:00
Ross Owen
fb6a801b23 xpd: Patched version number 2015-10-12 14:19:50 +01:00
Ross Owen
a587c48f76 Added build config for non-beam and beam-forming demo 2015-10-12 11:52:45 +01:00
Ross Owen
09437dc588 Fixed num mics and loopback. 2015-10-12 11:52:20 +01:00
Ross Owen
49cd36dd67 Exception when SPDIF_TX and ADAT_TX both enabled due to clock-block being configured after already started. Caused by SPDIF_TX define check typo 2015-10-06 16:48:30 +01:00
Ross Owen
b14a0de740 Initial work to move codebase to use lib_array_mic 2015-10-06 16:06:45 +01:00
Ross Owen
e114e32503 8 mic channels now recorded. Fixed bad mic selection and reduced gain. 2015-09-23 16:05:03 +01:00
Ross Owen
5306fda2ab Gain fiddle and fixed LEDs 2015-09-23 10:38:24 +01:00
Andrew Stanford-Jason
38094b90c4 removed the agc and replaced it with a fixed gain 2015-09-23 09:43:16 +01:00