Commit Graph

1778 Commits

Author SHA1 Message Date
Sam Chesney
6eed769d90 Quick fix to borderline I2S timing issue
The initial receive on c_pdm_pcm channel ensures the mic array
decimator timing requirements are met when running configurations that
use the up and down-samplers.

However it appears to make the I2S timing very marginal, as subsequent
reads from the c_pdm_pcm channel will block for longer.
2017-03-01 17:08:22 +00:00
Ross Owen
af5760f120 Revert "Added some extra timing margin for port setup/buffer (to avoid I2S data-shift)"
This reverts commit 30f0689434.
2017-03-01 14:00:43 +00:00
Ross Owen
30f0689434 Added some extra timing margin for port setup/buffer (to avoid I2S data-shift) 2017-03-01 12:22:46 +00:00
Sam Chesney
df59ac2e56 Fix non PDM mic builds
Guard initial PDM mic channel access.
2017-02-24 13:30:24 +00:00
Sam Chesney
4ed791bb04 Improve I2S to PDM mic ratio naming clarity 2017-02-24 11:37:57 +00:00
Sam Chesney
e0b1711f8f Improve I2S up & down-sampling ratio naming clarity 2017-02-24 11:23:06 +00:00
Sam Chesney
a96c65cb9f Replace magic numbers with defines from lib_src 2017-02-24 11:03:57 +00:00
Sam Chesney
bfea4565c3 Replace separate data_0[] and data_1[] with single mic_decimator_fir_data[]
Updated to match current integration style used in lib_mic_array
exampled apps.
2017-02-23 10:48:48 +00:00
Sam Chesney
98cdd56449 Trim trailing whitespace 2017-02-23 10:48:48 +00:00
Ross Owen
943a30dcf4 CHANGELOG update 2017-02-23 10:08:08 +00:00
Ross Owen
ef812fd333 Fixed memory corruption issue with lib_mic_array if mic frequency < USB frequency 2017-02-22 22:50:00 +00:00
Sam Chesney
b79cf43593 Fix PDM mic transfer rate - use MICS_TO_AUD_RATIO 2017-02-17 09:39:51 +00:00
louis
c85d8206e2 Re-add support for I2S_DOWNSAMPLE_MONO_IN. 2017-02-13 08:37:07 +00:00
Sam Chesney
e70b572551 Add USB_TO_AUD_RATIO and MICS_TO_AUD_RATIO defaults 2017-02-13 08:08:15 +00:00
louis
fcf28537bb Merge 2017-02-10 16:24:57 +00:00
louis
0f3db83b59 Change I2S_DOWNSAMPLE_FACTOR_IN and I2S_UPSAMPLE_FACTOR_OUT to
USB_TO_AUD_RATIO and MICS_TO_AUD_RATIO in audio_io.xc.
2017-02-10 16:18:17 +00:00
Sam Chesney
96ccac033a Fix I2S input down-sampling crosstalk
Simplified and corrected array indexing used in DS3 calls.
2017-02-10 15:31:50 +00:00
Sam Chesney
0cd3e4de77 Bump unreleased version from point to minor - new features added 2017-02-09 10:58:30 +00:00
Sam Chesney
ba37e87dab Add UserBufferManagementInit()
Used to reset any state required in UserBufferManagement(). Weak default
implementation provided, which does nothing.

Also tidied up weak default implementation of UserBufferManagement(),
and added a header file to define both function protypes.
2017-01-31 18:42:19 +00:00
Sam Chesney
342bf64c21 Fix various typos 2017-01-31 18:39:06 +00:00
Sam Chesney
9b4fa7b352 Format I2S US3 calls in same style as rest of file 2017-01-27 18:18:56 +00:00
Sam Chesney
f0ed79e6b5 Move I2S US3 and DS3 counters from global space to deliver() 2017-01-27 15:57:39 +00:00
Sam Chesney
bafad597ef Rename DS3 and US3 to be I2S specific
Ahead of adding DS3 and US3 support for USB in/out.
2017-01-27 15:15:13 +00:00
Sam Chesney
517c02c4bd Update comment 2017-01-27 12:10:10 +00:00
louis
2a28119513 Moved I2S_UPSAMPLE_FACTOR_OUT default to devicedefines.h from the
top of audio_io.xc.
2017-01-27 10:29:43 +00:00
louis
195f1a3611 Un-balls the merge. 2017-01-25 13:42:18 +00:00
louis
9a9227edb8 Merge 2017-01-25 12:52:26 +00:00
louis
4263b9c9d4 Add ability to upsample I2S out (I2S_SAMPLE_FACTOR_OUT). Also fixed new
lib_src coeff naming.
2017-01-25 12:50:38 +00:00
Sam Chesney
d7743edda0 Move DS3 data into deliver() rather than being global 2017-01-20 17:32:33 +00:00
Sam Chesney
82f351cdae Add comments to #endifs 2017-01-20 15:54:01 +00:00
Ross Owen
2f68d1c88a Merge 2017-01-20 11:39:35 +00:00
Ross Owen
ca44477c3d Comments only: UAC1 Descriptors 2017-01-20 11:38:50 +00:00
Sam Chesney
ced1ccd072 Merge remove_i2s_out_ds3 into master 2017-01-19 17:47:35 +00:00
Sam Chesney
04a6a7a370 Revert "Merge add_i2s_out_ds3 into master"
a58b8c3bb9
2017-01-19 17:46:40 +00:00
louis
300a68f5e7 Merge branch 'master' of git://git/apps/sc_usb_audio 2017-01-19 15:57:13 +00:00
louis
4c79429251 Remove USB with define NO_USB in main & audio_io. 2017-01-19 15:57:08 +00:00
Ross Owen
1e1a15c3a4 Merge branch 'master' of git://git.xmos.local/apps/sc_usb_audio 2017-01-17 14:44:36 +00:00
Ross Owen
559b2185e9 Fixed UAC1 build configs with no FB endpoint. 2017-01-17 14:44:09 +00:00
Sam Chesney
7f0d104a37 Bump version and update CHANGELOG after merge 2017-01-16 17:16:35 +00:00
Sam Chesney
a58b8c3bb9 Merge add_i2s_out_ds3 into master 2017-01-16 16:45:52 +00:00
Sam Chesney
d4536e6b1d Merge rename_i2s_in_ds3_support into master 2017-01-16 16:44:59 +00:00
Sam Chesney
b9998088c3 Remove trailing whitespace 2017-01-13 12:31:50 +00:00
Sam Chesney
c67ae39157 Fix CHANGELOG typos 2017-01-13 12:28:09 +00:00
Ross Owen
bbb296534f Changelog update (Added 7.0.1) 2017-01-12 20:25:41 +00:00
Ross Owen
7bb7042cd7 Further improved mic integration 2017-01-12 20:23:21 +00:00
Ross Owen
433946d792 Merge branch 'master' of git://git/apps/sc_usb_audio 2017-01-12 20:17:26 +00:00
Ross Owen
06ad11bebd Fixed mic array getting/transport order. 2017-01-12 20:17:19 +00:00
Sam Chesney
491ec6697e Add DS3 support to I2S output path (USB->DS3->I2S) 2017-01-11 17:02:08 +00:00
Sam Chesney
066905f661 Rename ds3Sum to inputDs3Sum 2017-01-11 16:54:20 +00:00
Sam Chesney
e87ad03237 Rename delayLine to inputDelayLine 2017-01-11 16:54:20 +00:00