Fix app so that it loops (working 32b I2S master)

This commit is contained in:
Ed Clarke
2019-05-01 09:49:36 +01:00
parent b032310302
commit d50c9510c6
2 changed files with 3 additions and 2 deletions

View File

@@ -80,7 +80,8 @@ void loopback(chanend c_i2s)
for (int i=0; i<NUM_USB_CHAN_OUT; i++) outuint(c_i2s, samps[i]);
for (int i=0; i<NUM_USB_CHAN_IN; i++) samps[i] = inuint(c_i2s);
xscope_int(0, samps[0]);
samps[0] = 0xf0aaaaaa; //Test pattern for ch 0 (left)
//xscope_int(0, samps[0]);
}
}

View File

@@ -14,7 +14,7 @@
#define XUD_TILE 1
#define AUDIO_IO_TILE 0
#define MIXER 0
#define XUA_USB_EN 0
#define XUA_USB_EN 1 //switch on transfer samples
#define SPDIF_TX_INDEX 0
#define VENDOR_STR "XMOS"