USB Audio 2.0 MC and 24x192K file

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
pdeoliveira
Junior Member
Posts: 6
Joined: Thu Apr 19, 2012 4:47 pm

USB Audio 2.0 MC and 24x192K file

Post by pdeoliveira »

Hello,
I've tried to play high definition (24x192KHz) files (both music and test files) on my USB Audio 2.0 MC Reference Design board and the sound was very distorted. The test was conducted on Linux and Windows and the results were the same. The distorsion disappeared when the volume was decreased by software (but not bit-perfect anymore).
The firmware was generated from the recommendations described in section 3.20.2.3 of the "USB Audio Design Guide" ("Configuration 3").
Did anyone try to play such files and how do they manage to get it work ?

Thanks in advance for your help,
Pascal


User avatar
Ross
XCore Expert
Posts: 968
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

What tools versions and software versions are you using please?

Sounds like you have a shift on the I2S data lines..

Optimisations are set to -O3?
pdeoliveira
Junior Member
Posts: 6
Joined: Thu Apr 19, 2012 4:47 pm

Post by pdeoliveira »

Thanks for your answer, Ross.
I'm using dev tools 11.11.0, both Windows and Linux and both IDE and command line, with the same results. All the compilations are done with standard settings. I'll try to "play" with the optimisation and other settings and see (or hear) the results ...
pdeoliveira
Junior Member
Posts: 6
Joined: Thu Apr 19, 2012 4:47 pm

Post by pdeoliveira »

I've tried -O1/2/3 (in the makefile, the default is 3), without any changes. The -O0 created compilation errors that I need to investigate.