Page 1 of 2

Does XMOS stereo driver support 384k?

Posted: Sat Aug 29, 2020 1:33 am
by xchips
Hi everyone,
I'm using XMOS stereo driver for windows 10, version is v4.13.0, my chip is xu208, I added 384/352.8kHz but no such sample rate options in device properties, I've tried VID_20B1, PID_0002/0004/0006/0008/000A/000C, all of them only show sample rate up to 192kHz.
And I have a SMSL SU8 DAC, it supports 384kHz and I can see such sample rate in its properties panel, so I tried to use same VID&PID with SU8, and I found it works! I can use windows media to play wave file, and LRCK=384kHz, BCLK=24.576MHz from scope, currently I just did some simple test.
So I'm confused, not sure if this stereo driver has limits on this but I did check driver specifition table on XMOS official website and it supports 384/352.8kHz.
Anyone knows about this please let me know, thanks a lot!

Re: Does XMOS stereo driver support 384k?

Posted: Mon Aug 31, 2020 10:14 am
by akp
Honestly I don't know. But because Windows 10 supports USB audio 2.0 natively, and I understand it supports 384kHz, you should probably try to use the native Windows 10 USB audio driver.

Re: Does XMOS stereo driver support 384k?

Posted: Tue Sep 01, 2020 4:37 am
by xchips
Oh, didnt notice that win10 already support UAC2.0, I will try it soon, thanks a lot for your info.
Best wish! @akp

Re: Does XMOS stereo driver support 384k?

Posted: Tue Sep 01, 2020 5:00 am
by xchips
I just tried windows 10 native UAC2.0 driver, but it can't work for me, it said 'device is ready to go' but there is '!' sign from device manager panel:
Untitled.png
And Sound setting panel no such audio device too.
I don't know what I missed on this issue, my OS build is win 10: 19041.450.

Re: Does XMOS stereo driver support 384k?

Posted: Tue Sep 01, 2020 9:47 am
by mon2
Double click each exclamation marked device to view the error code / status.

Post each for a review.

Re: Does XMOS stereo driver support 384k?

Posted: Tue Sep 01, 2020 7:38 pm
by akp

Re: Does XMOS stereo driver support 384k?

Posted: Wed Sep 02, 2020 5:34 am
by xchips
@mon2 thanks, I checked it and it syas: This device cannot start. (Code 10).
@akp, thanks for your link, I've check this topic, and I added '#define UAC_FORCE_FEEDBACK_EP (1)' to customdefines.h, my Win10 ran into blue screen, if I don't unplug it, Win10 keep restarting->runs into blue screen,
this is so weird..
Best wishes!

Re: Does XMOS stereo driver support 384k?

Posted: Wed Sep 02, 2020 10:33 am
by akp
Did you say which board and usb ref design sw you are using? Is it a custom board or xmos?

Re: Does XMOS stereo driver support 384k?

Posted: Thu Sep 03, 2020 8:04 am
by xchips
@akp It is a custom board, I use XMOS XU208, SW was migrated from XK216_MC board, a stereo USB Audio 2.0 device.
Thanks for your reply.

Re: Does XMOS stereo driver support 384k?

Posted: Thu Sep 03, 2020 10:38 am
by akp
Your software should be based on the latest reference design https://www.xmos.ai/software/usb-audio and incorporate all the bug fixes etc discussed on the forums. If that's not the case I would go ahead and do that. And maybe get it working at 96k or 192k first. Also, every time you change the configuration of the software (e.g. add a new sampling rate) you will have to uninstall the device first because I understand Windows doesn't change its internal representation of the device even if the usb descriptors change but the vid/pid doesn't.