Question Multiple WDM interface

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Post Reply
NicoE
New User
Posts: 3
Joined: Wed Jan 18, 2017 8:52 pm

Question Multiple WDM interface

Post by NicoE »

Hello , I´m starting with XMOS . I have a xCORE-200 Multichannel Audio board and i can run the sample apps
For my first project i use TDM in/out to xCORE-200 (8ch in/8ch out ) and should run in Windows 7 or 10.
would b e nice to be able that Windows see the device as x4 stereo WDM interfaces in Class 1.0 driver free.
this is posible? Can someone guide me how to start with this mod?
Thanks


User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

You should be able to do that by configuring your firmware to class 1 (set AUDIO_CLASS to 1) and the appropriate I2S/USB channel counts (I2S_CHANS_ADC/I2S_CHANS_DAC and NUM_USB_CHAN_IN/OUT).
NicoE
New User
Posts: 3
Joined: Wed Jan 18, 2017 8:52 pm

Post by NicoE »

I've checked this but Windows always sees the USB device as a single audio card in the control panel.
The play device only appears as stereo does not have multichannell options.
The recording device has multiple channels in advanced options
I want to it be listed as several stereo audio play / rec devices
As does my PCI card (and other usb cards like MOTU or RME)

I have also tested multi-channel audio Class2.0 with the Thesycon evaluation driver but also see a single wdm play / rec device. I have sent the query to Thesycon and CEntrance to find out if it is possible to get a driver with multiple WDM devices but still have not reply.
Thanks

Image
ffomich
Experienced Member
Posts: 119
Joined: Mon Sep 15, 2014 1:32 pm

Post by ffomich »

Hi NicoE,

1. If you want to split 7.1 audio device into 4*stereo devices, please contact Thesycon. They can send you customized driver for your VID/PID or customized driver for XMOS board.
This is reply from Thesycon for my request:
"The sound channel setup can be configured through the .inf and the registry. You have nothing to change on your board.
Please send us the VID/PID of your eval board and we will create an actual driver package with the 4 stereo devices instead of 7.1.
The sound device configuration cannot be changed on the fly. This is configured in the driver package. If no settings are made in the registry the driver creates a 7.1 sound device by default in your case."
2. I asked Thesycon about splitting recording device also:
Is it possible to split Recording device also: 5.1 -> 3 х stereo?

For example, default device configuration: Playout 7.1 + Record 5.1.
Can driver split it to 4 audio devices:
- device 1 = stereo IN + stereo OUT
- device 2 = stereo IN + stereo OUT
- device 3 = stereo IN + stereo OUT
- device 4 = stereo OUT
Answer:
Yes that's possible. But Thesycon has to do this. For this reason you have to order the Customization Package, price-list section 4.
NicoE
New User
Posts: 3
Joined: Wed Jan 18, 2017 8:52 pm

Post by NicoE »

Hi ffomich,
I have already contacted with thesycon and they sent me a custom eval driver to test it and it works just as I need it
It would also be interesting modify the firmware to be identified as multiple usb audio 1.0 devices and do not need to install drivers
Thanks
ffomich
Experienced Member
Posts: 119
Joined: Mon Sep 15, 2014 1:32 pm

Post by ffomich »

Hi NicoE,

Realize of multichannel usb audio 1.0 device is one of my main task. The first step is adding second recording device. Now I have successfully added interface in the USB descriptor and now my USB device has two recording devices in Windows. The next step is adding data transfer to the new device. As I understand I need to modify the code in the buffer, decoupler and endpoint0 modules.

Good luck! Report your successes.
Post Reply