Search found 11 matches

by danielone
Sat Dec 27, 2014 9:44 pm
Forum: Other Applications
Topic: USB Audio Ref. Design: L and R channel on different ports
Replies: 2
Views: 3319

Re: USB Audio Ref. Design: L and R channel on different port

Hi,

I made a further step this evening. Please look at the relevant file. Now I have to transform the L/R clock in a latch enable. I would be grateful if you could give me an input :)
audio.xc
(28.31 KiB) Downloaded 287 times
audio.xc
(28.31 KiB) Downloaded 287 times
ok.jpg
(227.51 KiB) Not downloaded yet
ok.jpg
(227.51 KiB) Not downloaded yet
by danielone
Fri Dec 26, 2014 1:55 am
Forum: Other Applications
Topic: USB Audio Ref. Design: L and R channel on different ports
Replies: 2
Views: 3319

USB Audio Ref. Design: L and R channel on different ports

Hi All and merry xmos xmas lol My project requires two mono PCM1704 DAC. The L/R clock is substituted with a latch enable like a common SPI device. This is the data format and timing requirements of PCM1704. Screen Shot 2014-11-19 at 23.35.03.png At the beginning I thought to use some discrete latch...
by danielone
Thu Dec 04, 2014 12:17 pm
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

Re: USB Audio Reference Design: change output format

Hi Kenmac, After your feedback I made a try yesterday evening: to avoid Core Audio performing the resampling. And you are right: I took a 16/44.1 file, I open it in Audacity (freeware wave editor) and I resampled it to 24/96. Then, if, in the audio settings panel, you choose 24/96, the file is corre...
by danielone
Sun Nov 30, 2014 2:14 am
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

Re: USB Audio Reference Design: change output format

Hi all, I managed to right justify the 24 bit sample format shifting the LR clock 8 bits right: #ifndef CODEC_MASTER p_lrclk <: 0xFFFFFF; doI2SClocks(divide); #endif and #ifndef CODEC_MASTER p_lrclk <: 0xFF000000; doI2SClocks(divide); #endif Now, the strange thing is that on MacOS 10.10, despite sel...
by danielone
Thu Nov 27, 2014 2:14 pm
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

Re: USB Audio Reference Design: change output format

Hi Kenmac, I wonder, at this point, what does the 4.5.1 section in the USB Audio Design Guide means where it says: "Other values can be used (currently 4, 3 and 2 are supported by the design)." PS. http://www.usb.org/developers/devclass_docs/Audio2.0_final.zip in foot note is a dead link. ...
by danielone
Wed Nov 26, 2014 6:31 pm
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

Re: USB Audio Reference Design: change output format

Hi all, I performed some tests and I am quite confused. First of all I compiled the 16b2 - 24b3 - 32b4 version of the software. This because if I am able to obtain a 24 bit sample in a 24 bit frame I need no justification. Then, connecting to my Mac, I select the sample resolution but for 16,24 and ...
by danielone
Wed Nov 19, 2014 10:49 am
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

Re: USB Audio Reference Design: change output format

Hi Ross,

I need this format instead of I2S

Thanks
by danielone
Tue Nov 18, 2014 1:19 pm
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

Re: USB Audio Reference Design: change output format

Hi kenmac, and thanks for your valuable help. I will check your suggestion. I2S is a LJ format, so I think a right bitshift will be implemented in order to right-justify. PCM1704 only considers the last 24 bits in a 32 bit frame. "tier 2" simply refer to a further step after obtaining a RJ...
by danielone
Mon Nov 17, 2014 3:02 pm
Forum: Other Applications
Topic: USB Audio Reference Design: change output format
Replies: 12
Views: 18473

USB Audio Reference Design: change output format

Hi all, In order to suit the USB Audio Reference Design to my needs I need to perform two step of modification on the output: tier 1: change from I2S to Right-Justified tier 2: address two ports that outputs audio data at the same time for each channel in RJ format port 1: right data RJ format port ...
by danielone
Sat Nov 15, 2014 1:40 am
Forum: Getting started
Topic: Multifun audio board "Cannot load image, XCore 0 is not en."
Replies: 2
Views: 4889

Re: Multifun audio board "Cannot load image, XCore 0 is not

Solved thanks.

I was compiling for the wrong target board.