xCore-200 MC AUDIO - help about how to use

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
maqu67
Member++
Posts: 16
Joined: Tue Jan 23, 2018 3:26 pm

xCore-200 MC AUDIO - help about how to use

Postby maqu67 » Wed Jun 20, 2018 7:10 pm

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: 60
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Postby andrewxcav » Thu Jun 21, 2018 2:06 pm

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: 16
Joined: Tue Jan 23, 2018 3:26 pm

Postby maqu67 » Fri Jun 29, 2018 2:08 pm

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: 60
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Postby andrewxcav » Mon Jul 02, 2018 9:19 am

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: 16
Joined: Tue Jan 23, 2018 3:26 pm

Postby maqu67 » Mon Jul 02, 2018 1:04 pm

Dear Andrew,

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

Best Regards

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

Postby maqu67 » Tue Jul 17, 2018 9:46 pm

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: 60
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Postby andrewxcav » Tue Jul 17, 2018 9:58 pm

This thread is visible to the whole community.

Who is online

Users browsing this forum: No registered users and 24 guests