I think the XMOS output is still configured as PCM, which defines do I have to set to get the DSD output configured?
Should I disable this define?:
#define I2S_CHANS_DAC (2)
And enable this one?
#define DSD_CHANS_DAC (2)
I do have defined them both right now in order to get it compiling. I only just have one (stereo) output to the DAC.
I'm not able to get it compiling when disabling the I2S_Chans_DAC define...
JW
USB audio reference design DOP to Native DSD
- infiniteimprobability
- XCore Legend
- Posts: 1126
- Joined: Thu May 27, 2010 10:08 am
- Contact:
This is expected - DSD support is an addition to PCM output. There is no valid configuration for DSD only. All of the core transport relies on there being a valid output path, which is enabled by setting I2S_Chans_DAC to greater than 0.I'm not able to get it compiling when disabling the I2S_Chans_DAC define...
If there was a valid configuration for DSD only, it would be DSD native only because DoP of course requires PCM to be supported (because of the "oP" bit).
I have to confess I'm not 100% sure what your goal is here. Could you clarify?
Thanks for your answer, that makes sense.
I was able to get it working! Had to adapt/add some divide code because I was using a 1024*44100=45.15MHz masterclock.
Another question, I would like to generate a lrclk in dsdmode, I know it's not needed in dsd mode, but my spdif transmitter needs a lrclk. Can you help me further?
***
else if(dsdMode == DSD_MODE_DOP)
{
p_lrclk <: 0xFF00FF00;// try to generate another (lr)clk in dsd mode, doesn't work, seems to stop the audio stream
if(!everyOther)
**
I was able to get it working! Had to adapt/add some divide code because I was using a 1024*44100=45.15MHz masterclock.
Another question, I would like to generate a lrclk in dsdmode, I know it's not needed in dsd mode, but my spdif transmitter needs a lrclk. Can you help me further?
***
else if(dsdMode == DSD_MODE_DOP)
{
p_lrclk <: 0xFF00FF00;// try to generate another (lr)clk in dsd mode, doesn't work, seems to stop the audio stream
if(!everyOther)
**
Please use a new topic for a new question. Thanks.
Hi JanWW,
Out of curiosity, Are you testing the DOP128 and DOP256 on Windows PC?
Out of curiosity, Are you testing the DOP128 and DOP256 on Windows PC?