forked from PAWPAW-Mirror/lib_xua
Fix app so that it loops (working 32b I2S master)
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user