Does XMOS stereo driver support 384k?

If you have a simple question and just want an answer.
xchips
Active Member
Posts: 51
Joined: Wed Jun 22, 2016 8:08 am

Does XMOS stereo driver support 384k?

Post 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!


User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post 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.
xchips
Active Member
Posts: 51
Joined: Wed Jun 22, 2016 8:08 am

Post 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
xchips
Active Member
Posts: 51
Joined: Wed Jun 22, 2016 8:08 am

Post 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
(30.41 KiB) Not downloaded yet
Untitled.png
(30.41 KiB) Not downloaded yet
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.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Double click each exclamation marked device to view the error code / status.

Post each for a review.
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

xchips
Active Member
Posts: 51
Joined: Wed Jun 22, 2016 8:08 am

Post 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!
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Did you say which board and usb ref design sw you are using? Is it a custom board or xmos?
xchips
Active Member
Posts: 51
Joined: Wed Jun 22, 2016 8:08 am

Post 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.
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post 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.
Post Reply