Page 1 of 1

xCore-200 MC AUDIO - help about how to use

Posted: Wed Jun 20, 2018 7:10 pm
by maqu67
Dear sirs,

I'm trying to start with your xCore-200 MC AUDIO board but I'm having big problems without any success.

As first step I'd like to send via usb stream a song from my pc (windows 10) and get the analog conversion to the Line-out ports.
Can you drive me step by step ?

Hoping to receive a feedback,

Thanks in advance

Massimiliano

Re: xCore-200 MC AUDIO - help about how to use

Posted: Thu Jun 21, 2018 2:06 pm
by andrewxcav
I would check in device manager that the MC Audio board is showing up as a sound card. If it is, you just need to go to your playback devices configuration (right click on volume control in system tray) and select it for the application you are playing music from.

Using something like Audacity will make it easier to see exactly what input and output sources you are using.

Re: xCore-200 MC AUDIO - help about how to use

Posted: Fri Jun 29, 2018 2:08 pm
by maqu67
Thanks a lot.

Now I'm able to stream audio from PC (via USB) to the analog-output of the board XCORE-200_Audio.
I flashed a demo with AUDIO CLASS 1 but the driver was for AUDIO CLASS 2.

Now I flashed the demo for AUDIO CLASS 2 and all is working fine.

Another question for you... Now I'd like to enter in the XCORE-200_Audio board with analog input signal and extract the audio in analog from analog output.
It's a test .. Analog Input --> ADC --> XMOS --> DAC --> Analog Output

Can you give me an idea on what I need to change in the software?

Best Regards

Massimiliano

Re: xCore-200 MC AUDIO - help about how to use

Posted: Mon Jul 02, 2018 9:19 am
by andrewxcav
I am not super familiar with the code on that board, but I suspect that there is an I2S receive from the ADC and an I2S transmit to the DAC. Assuming the sample rates are the same, you should just need to set up a channel to read in the ADC samples then just copy them and read out the DAC samples.

I imagine there is an App note that does something similar, just keep in mind it's for a different kit, so copying the code won't work.

https://www.xmos.com/support/appnotes/AN00201

You should be able to see the basic structures as far as where the I2S cores are and what I/O they are hooked up to.

Re: xCore-200 MC AUDIO - help about how to use

Posted: Mon Jul 02, 2018 1:04 pm
by maqu67
Dear Andrew,

thanks a lot.
I'll have a look to the Application Note.

Best Regards

Massimiliano

Re: xCore-200 MC AUDIO - help about how to use

Posted: Tue Jul 17, 2018 9:46 pm
by maqu67
Hello Andrew,

Do I able to ask questions to the Whole XMOS community now?
How can I do it?

Best Regards

Massimiliano

Re: xCore-200 MC AUDIO - help about how to use

Posted: Tue Jul 17, 2018 9:58 pm
by andrewxcav
This thread is visible to the whole community.