xCore-200 MC AUDIO - help about how to use

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
maqu67
Member++
Posts: 22
Joined: Tue Jan 23, 2018 3:26 pm

xCore-200 MC AUDIO - help about how to use

Post 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


User avatar
andrewxcav
Active Member
Posts: 62
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Post 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.
maqu67
Member++
Posts: 22
Joined: Tue Jan 23, 2018 3:26 pm

Post 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
User avatar
andrewxcav
Active Member
Posts: 62
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Post 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.
maqu67
Member++
Posts: 22
Joined: Tue Jan 23, 2018 3:26 pm

Post by maqu67 »

Dear Andrew,

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

Best Regards

Massimiliano
maqu67
Member++
Posts: 22
Joined: Tue Jan 23, 2018 3:26 pm

Post by maqu67 »

Hello Andrew,

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

Best Regards

Massimiliano
User avatar
andrewxcav
Active Member
Posts: 62
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Post by andrewxcav »

This thread is visible to the whole community.
Post Reply