diff --git a/examples/app_xua_simple/src/app_xua_simple.xc b/examples/app_xua_simple/src/app_xua_simple.xc index f7a0b065..397c0d99 100644 --- a/examples/app_xua_simple/src/app_xua_simple.xc +++ b/examples/app_xua_simple/src/app_xua_simple.xc @@ -17,6 +17,7 @@ /* Port declarations. Note, the defines come from the xn file */ buffered out port:32 p_i2s_dac[] = {PORT_I2S_DAC0}; /* I2S Data-line(s) */ +buffered in port:32 p_i2s_adc[] = {PORT_I2S_ADC0}; /* I2S Data-line(s) */ buffered out port:32 p_lrclk = PORT_I2S_LRCLK; /* I2S Bit-clock */ buffered out port:32 p_bclk = PORT_I2S_BCLK; /* I2S L/R-clock */ @@ -39,7 +40,6 @@ int main() chan c_ep_out[2]; chan c_ep_in[2]; - /* Channel for communicating SOF notifications from XUD to the Buffering cores */ chan c_sof; diff --git a/examples/app_xua_simple/src/customdefines.h b/examples/app_xua_simple/src/customdefines.h index 409c6d71..7553fdcb 100644 --- a/examples/app_xua_simple/src/customdefines.h +++ b/examples/app_xua_simple/src/customdefines.h @@ -6,9 +6,9 @@ #define __custom_defines_h__ #define NUM_USB_CHAN_OUT 2 -#define NUM_USB_CHAN_IN 0 +#define NUM_USB_CHAN_IN 2 #define I2S_CHANS_DAC 2 -#define I2S_CHANS_ADC 0 +#define I2S_CHANS_ADC 2 #define EXCLUDE_USB_AUDIO_MAIN #define NUM_PDM_MICS 0 #define XUD_TILE 1