Commit Graph

32 Commits

Author SHA1 Message Date
Sam Chesney
c422ca5181 Turn on port buffers for p_lrclk and p_bclk when CODEC_MASTER=1 2016-12-21 16:26:07 +00:00
Ross Owen
0ed22a0417 Audio port config functions now get passed SR. Simple clock delay (falling edge) added for xCORE-slave mode when bclk >= 20MHz 2016-03-16 15:21:17 +00:00
Ross Owen
176cbeae28 xpd: Cleaned up whitespace 2015-12-02 22:30:43 +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
f947005eb1 Initial addition of xCORE-200 hardware bit-clock divide (currently not enabled) 2015-11-17 11:39:44 +00:00
Ross Owen
5f7d11d2fb Fixing some build issues when I2S_CHANS_DAC = 0 but DSD_CHANS_DAC != 0 2015-09-07 16:09:57 +01:00
Ross Owen
9bf8075bd3 Build error is I2S_CHANS_ADC/DAC set to zero and CODEC_MASTER enabled. 2015-09-04 13:11:49 +01:00
Ross Owen
55e7084df5 Resolved build issue with CODEC_MASTER enabled 2015-01-06 15:31:40 +00:00
Ross Owen
9be1ef8d70 xpd: Cleaned up whitespace 2014-07-15 12:12:23 +01:00
Ross Owen
4d4c7b8f39 DSD ports now only enabled once - avoids issue with stop_clock and un-driven clock. ConfigAudioPortsWrapper() also simplified. 2014-07-14 14:51:13 +01:00
Ross Owen
8f3067dcaa xpd: Cleaned up whitespace 2014-04-25 12:28:38 +01:00
Ross Owen
3a74a38638 Master clock used to clock bit-clock clock-block directly when BCLK==MCLK. This improves I2S timing (esp at 384kHz when MCLK=24.576Mhz..) 2014-04-25 12:28:09 +01:00
Ross Owen
8966f5db59 xpd: Cleaned up whitespace 2014-04-14 14:00:43 +01:00
Ross Owen
1eec6111d4 Comment correction 2014-04-14 13:59:41 +01:00
Ross Owen
125d4e6eb1 xpd: Cleaned up whitespace 2014-03-28 14:56:42 +00:00
Ross Owen
a9815ca850 EnableBufferedPort() now run on p_dsd_clk on every audio port config. This is because deliver sets p_dsd_clk low to ensure that stop_clock() completes. This avoids a run time exception when p_dsd_clk is not yet turned on. 2014-03-27 19:43:59 +00:00
dan
98b3bdba95 added toplevel makefile for xpd 2014-01-22 11:00:41 +00:00
Ross Owen
62008112b5 Dead code tidy only. 2014-01-20 20:31:28 +00:00
Ross Owen
de3c5b1559 Fixed typo p_dsd_clock -> p_dsd_clk 2014-01-20 18:17:01 +00:00
Ross Owen
0da282dd1c deliver now sets bclk/dsd clk initial high. This was previously done in port config. 2014-01-20 18:10:14 +00:00
Ross Owen
6c5253abb0 A more elegant solution to the DSD stop_clock() pausing issue. Just set ALL clocks to 0 before deliver returns 2013-10-16 19:09:21 +01:00
Ross Owen
5f22f37396 Added quick hack workaround for making sure the clock port is low before a clock block is stopped 2013-10-16 18:12:42 +01:00
Ross Owen
9631982576 Mclk clock-block never stopped 2013-09-09 23:41:26 +01:00
Ross Owen
e2906b7eb2 Fixed up input only build 2013-07-09 17:27:45 +01:00
Ross Owen
a081ef00ae DSD port updates 2013-06-28 12:45:31 +01:00
Ross Owen
7c97fbdb82 More work on DSD - work in progress 2013-06-18 15:24:36 +01:00
Ross Owen
4a2314ecb3 Added audioports.c - This is a C wrapper for audioports.xc so we can me about with port IDs for DSD mode: 2013-05-28 18:26:55 +01:00
Ross Owen
bb095d45d5 reinstate port starting as high. Was removed to allow calling from C 2013-05-28 18:26:01 +01:00
Ross Owen
5adbe0c4a6 Working to add generic DSD support 2013-05-28 17:24:40 +01:00
Ross Owen
e18e9f060f Change to new CODEC_MASTER define 2012-09-17 15:29:28 +01:00
Ross Owen
c5f3867c62 Fixed issue with I2S xcore-slave mode on L1/SU1 where the master clock-block does not have a source causing bad feedback 2012-09-14 16:10:50 +01:00
Ross Owen
99cdee6e2b Doc updates 2012-08-30 14:21:17 +01:00