Commit Graph

128 Commits

Author SHA1 Message Date
Ross Owen
6867bd0923 Fixed bad guard on var dec 2015-09-07 16:30:16 +01:00
Ross Owen
520677ffea Mixer and non-mixer chan comms (decouple->audio path) now the same scheme. 2015-09-07 16:08:52 +01:00
Ross Owen
ace38607b0 xpd: Cleaned up whitespace 2015-07-06 11:08:35 +01:00
Ross Owen
1e379d296a Fixed stream issue when NUM_USB_CHAN_IN < I2S_CHANS_ADC 2015-07-06 10:59:57 +01:00
Ross Owen
f7af9f6132 Fixed build fail due to bad endif placement 2015-07-01 12:35:32 +01:00
Ross Owen
dfeac27a9d Only set DSD clock low if in DSD mode.. caused issues with DFU with DSD (when XUD_TILE!=0) 2015-07-01 12:27:50 +01:00
Ross Owen
4d61773cf3 Fixed SPDIF related build error (bad define name) 2015-06-29 10:59:48 +01:00
Ross Owen
cdc2d74016 xpd: Cleaned up whitespace 2015-06-19 16:11:59 +01:00
Ross Owen
a22fb94e9d DFUHandler now combinable with dummy_deliver 2015-06-12 16:52:58 +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
9be2eece00 xpd: Cleaned up whitespace 2015-05-22 11:29:03 +01:00
Ross Owen
6840e9d95f Fix for input sample alignment in TDM mde. 2015-05-22 11:17:29 +01:00
Ross Owen
91738ee2bc SPDIF -> SPDIF_TX 2015-05-22 11:15:57 +01:00
Ross Owen
a141826700 Working on TDM timing. 2015-05-15 20:51:50 +01:00
Ross Owen
0673639e02 Build warning fix ups. Added build error when ADAT_TX_USE_SHARED_BUFF not used. 2015-05-07 17:19:00 +01:00
Ross Owen
0c8cdd64a0 xpd: Cleaned up whitespace 2015-04-09 15:03:55 +01:00
Ross Owen
31bae905ee Resolving build issues with SPDIF on same core. 2015-04-09 14:54:06 +01:00
Ross Owen
29535560db Merge branch 'MAINTAIN_6v11' 2015-04-08 11:47:16 +01:00
Ross Owen
0634406bbf Fixed stream issue when mixer not enabled. 2015-04-08 11:40:11 +01:00
Ross Owen
2e67773f0f Merge: master -> DEV_X200_BRINGUP 2015-03-23 12:57:57 +00:00
Ross Owen
7cd5631e4b The audio i/o core now uses "underflow" sample as it's request word (i.e. different for PCM/DSD). This gets passed all the way through mixer and on to decouple such that it can be used in the underflow state. This allows the removal of the communication of the underflow state to the audio i/o core from decouple and thus "stand-alone" mixer now works again. 2015-03-20 17:23:24 +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
389546a2b5 Fixed hard-coded adat/mclk multiplier 2015-03-04 15:59:52 +00:00
Ross Owen
ea931680ad Fixed trap when SPDIF_TX and ADAT_TX both enabled - caused by sharing clock block 2015-03-04 15:56:01 +00:00
Ross Owen
1447be3ca0 Added ADAT tx via shared memory buffer. Also added SMUX re-shuffle code. 2015-02-27 19:26:15 +00:00
Ross Owen
385b26b7fb Further work to debug adding adat tx to deliver 2015-02-17 18:23:18 +00:00
Ross Owen
a9de259963 Initial addition of adat sample transfer into audio core 2015-01-30 16:05:58 +00:00
Ross Owen
6816278557 Basic addition of ADAT tx core. 2015-01-29 18:33:45 +00:00
Ross Owen
f5a822d42d Comment only. 2015-01-09 17:19:24 +00:00
Ross Owen
b2e848e9b4 Fix up channel alignment issue in slave mode TDM 2015-01-09 15:55:13 +00:00
Ross Owen
7f53fc08ee Resolved further build issues when CODEC_MASTER enabled 2015-01-06 16:56:42 +00:00
Ross Owen
db961a38f0 Fixed build issue when mixer not enabled. 2014-12-12 15:43:32 +00:00
Ross Owen
a4af4fd0f2 xpd: Cleaned up whitespace 2014-12-12 15:31:07 +00:00
Ross Owen
d22030009c Removed duplicate line due to merge. 2014-12-12 14:59:48 +00:00
Ross Owen
38958db165 xpd: Cleaned up whitespace 2014-12-12 13:19:10 +00:00
Ross Owen
178f0c4580 Merge DEV_TDM -> master 2014-12-12 13:03:57 +00:00
Ross Owen
4ab8cff9a4 I2_CHANS_PER_FRAME default define moved from audio.xc to devicedefines.xc 2014-12-02 14:22:11 +00:00
Ross Owen
7ac0e87e0b Fixed issue with TDM and S/PDIF Tx 2014-12-02 14:07:50 +00:00
Ross Owen
ee0c69c50f Output TDM and I2S code now unified. 2014-11-27 18:29:26 +00:00
Ross Owen
86faae8890 Removed the extra I2S input code. TDM and I2S port input code now shared. 2014-11-27 18:15:04 +00:00
Ross Owen
673946b028 Standard I2S mode up and running again. Still needs more generalisation. 2014-11-27 17:58:07 +00:00
Ross Owen
a6fdb9b22a Digital RX channels sent over in a separate loop in DoSampleTransfer(). Only I2S channels double buffered. 2014-11-27 17:57:28 +00:00
Ross Owen
dbbeddff03 Removed unused debug vars 2014-11-27 12:44:54 +00:00
Ross Owen
3ffbc99456 DoSampleTransfer now takes readBuffNo rather than actual buffer. Now two separate In buffers (was 2D array). Attempts to help compiler. 2014-11-27 12:44:39 +00:00
Ross Owen
69f8e83cc7 TDM code made a bit more generic. Fixed issue with multiple TDM input lines missing channels. 2014-11-20 17:28:48 +00:00
Ross Owen
d26f478835 Introduced second input buffer to take up sample delay on last TDM channel. 2014-11-19 18:03:53 +00:00
Ross Owen
8d6ef4d1d4 Simplified TDM buffer to reduce copying. 2014-11-19 15:52:37 +00:00
Ross Owen
2b85adc01d Simple TDM buffer added to sort channel delay issue. 2014-11-19 14:39:07 +00:00
Ross Owen
c82ddb5726 LRClk startup a bit nicer (was double high) 2014-11-13 15:51:10 +00:00