Commit Graph

263 Commits

Author SHA1 Message Date
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
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
d919a807cd Fixed UAC1 sample rate change issue. 2015-11-20 16:17:15 +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
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
2aef62b434 Added support in UAC1 descriptors for 24, 22.05, 12 and 11.025kHz 2015-11-12 19:03:30 +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
9344178fcc xpd: Cleaned up whitespace 2015-10-12 14:19:50 +01:00
Ross Owen
2cda8bb1ac Merge 2015-09-17 17:11:07 +01:00
Ross Owen
3ec94a1fc8 Merge branch 'DEV_IMP_FB' 2015-09-08 11:39:06 +01:00
Ross Owen
cc14679d53 Fixed build issue due to undeclared var when DFU disabled. 2015-09-04 12:56:14 +01:00
Ross Owen
70d8a2fd67 Whitespace only. 2015-08-21 12:09:40 +01:00
Ross Owen
90a91d5da4 DFU now uses absolute address for DFU persistent flag (similar to role-change) to try and improve resilience to code/tools changes. 2015-06-26 11:28:34 +01:00
Ross Owen
04f00a6aee Fixed issue with MAX_MIX_COUNT checking for mixer strings. 2015-06-22 10:18:44 +01:00
Ross Owen
cdc2d74016 xpd: Cleaned up whitespace 2015-06-19 16:11:59 +01:00
Ross Owen
128b0b5d23 Check if DFU mode active before calling audio_requests in ep0 2015-06-19 14:51:47 +01:00
Ross Owen
4d93a9c906 Initial work to run flash code on a remote tile from USB tile. Also added some error passing for DFU (such that device stalls the host). Still needs merging with dummy_deliver. 2015-06-12 14:43:50 +01:00
Ross Owen
ee7d058614 DFU now uses an interface to DFU handler which does flash handling. Should allow access to flash on another tile more easily. 2015-06-08 16:03:08 +01:00
Larry Snizek
6288092c61 Corrected DFU PID warning 2015-05-29 16:17:32 +01:00
Ross Owen
03c3022ac4 Changes to allow new descriptor_defs.h file to be included in XC 2015-04-07 14:58:14 +01:00
Ross Owen
3558bc6049 Conflicted merge: master -> DEV_X200_BRINGUP 2015-04-07 14:52:51 +01:00
Ross Owen
67b217f48f Fixed SPDIF Rx channel string table entry issue due to RX/TX typo (fixed in generation script). Also removed trailing spaces and end of generated lines from generation script. 2015-03-31 22:40:50 +01:00
Ross Owen
2e67773f0f Merge: master -> DEV_X200_BRINGUP 2015-03-23 12:57:57 +00:00
Ross Owen
d7ad6e7a99 Fixed clock selector string index 2015-03-20 09:29:25 +00:00
Ross Owen
b1e69b0590 Various changes to get SPDIF working on x200 board config 2015-03-17 11:52:45 +00:00
Ross Owen
6eaa986eb9 xpd: Cleaned up whitespace 2015-03-04 16:10:04 +00:00
Ross Owen
61f2dd76fe Merge branch 'DEV_ADAT_TX' 2015-03-04 16:00:35 +00:00
Ross Owen
ab392eb373 Channel strings in string table now come from generated header. 2015-03-02 23:43:14 +00:00
Ross Owen
bcf229fdbe Added generated chanstrings header 2015-03-02 23:41:46 +00:00
Ross Owen
e452eaa2b0 Simplication of chanstringgen script and its preprocessor output 2015-03-02 23:40:51 +00:00
Ross Owen
91e0427d5b Added SPDIF channel count to chanstringgen script 2015-03-02 22:31:01 +00:00
Ross Owen
d746e8cad5 Added chanstringgen.py script for generating channel string portion of string table 2015-03-02 21:28:49 +00:00
Ross Owen
130553bae0 White space in preprocessor item only 2015-01-29 15:46:21 +00:00
Ross Owen
b36a7ab555 Audio Class endpoint checks now use ENDPOIN_ADDRESS defines 2015-01-12 18:13:38 +00:00
Ross Owen
129c9390cf UAC1 descriptors now use implicit feedback when sensible 2015-01-12 18:12:59 +00:00
Ross Owen
465b0fe7d3 Merge branch 'master' into DEV_IMP_FB 2015-01-09 17:19:51 +00:00
Ross Owen
8d2b65127e First attempt at complete removal of feedback EP code when not required. 2014-12-08 18:19:56 +00:00
Ross Owen
56e79c0af9 Explicit feedback endpoint removed from Audio Class 2.0 descriptors when input stream is available (or UAC_FORCE_FEEDBACK_EP is defined) 2014-12-08 17:04:23 +00:00
Ross Owen
2576a0e8a4 Added iput channel descriptors for > 24 < 32 channels. 2014-11-25 18:23:46 +00:00
Ross Owen
525a905939 Required descriptor changes for input channel counts over 18 (now handles up to 32) 2014-11-20 17:29:36 +00:00
Ross Owen
4854ea8f4d Added descriptors for larger channel counts 2014-11-10 18:37:34 +00:00
Ross Owen
925ecc631b First cut TDM implementation added 2014-11-07 12:24:16 +00:00
Sam Chesney
e312ed5dcc Change to include iAP module header not conf
The required iAP headers have been updated such
that they can now be included from C, which allows
us to build with a default string for
IAP_EA_NATIVE_TRANS_PROTOCOL_NAME when it has not
been defined in the user app rather than having
to error.
2014-10-01 16:12:14 +01:00
Ross Owen
085c444f40 xpd: Cleaned up whitespace 2014-09-19 13:14:55 +01:00
Ross Owen
273db94ad8 Output channel count from tables rather than define 2014-09-19 12:21:15 +01:00