Doesn’t the dam require 32-bit audio words? Might need to configure something there. Anecdotal evidence only here: my dam1121 works out-of-the-box for 16-bit 44,1 kHz I2S with moOde 7.
So I need resampling from 16 to 32 bit depth?
With the scope I have seen the player outputs correctly 16 bit word length since the BCK runs at 1.4112 MHz (16+16 * 44.1kHz).
So I believe the DAM does not support native redbook. Bad thing.
Yes I think so.
Edit: the PCM input is limited to 24 bit and should not need upsampling however the I2S format needs to be 32 bit words.
Edit: the PCM input is limited to 24 bit and should not need upsampling however the I2S format needs to be 32 bit words.
Last edited:
Yes I think so.
Edit: the PCM input is limited to 24 bit and should not need upsampling however the I2S format needs to be 32 bit words.
I'm a little disappointed, every I2S device support 16 and 32 bit depth, Ian's FIFO and TDA1541 DAC for example.
Even our FIFO Lite supports any I2S bit depth, the FPGA does the math to align the incoming signal to the desired output simply adding trailing zeros.
Maybe the designer should specify the limitation in the user's manual.
That he should have. Documentation is not complete unfortunately - especially as it is ment for IIY (Integrate It Yourself) projects. But it is evident in many places that it is very hard for an engineer to produce truly usable and complete documentation of ones own design. One know too much about it and lacks the strength and often time to really put oneself into the ignorant users situation. "... If it was hard to design, it should be hard to use" as the saying goes... 🙂
//
//
Last edited:
Why are you calling this "upsampling"? Is it not just zero stuffing? And why is it a big deal?
Why are you calling this "upsampling"? Is it not just zero stuffing? And why is it a big deal?
Because Volumio calling this "upsampling" with algorithm, so I believe it does not simply add trailing zeros.
IMHO the DAM should do the job since I2S bit depth can be 16 or 32.
Stuffing zeros at uppsampling is not the same as filling a serial interfaces with zeros in order to meet as certain required word length.
//
//
The dam1021 (and dam19x1 and dam1121) do only support 32 bit I2S.... When the code was designed looong time ago, I was in a time crunch and 32 bit only seemed fine...
Anyway, most streamers can be fixed at 32 bit, needed anyway for 24 bit audio....
This was covered looong time ago on this thread, but don't seems like anybody are aware that diyaudio have a search function....
Anyway, most streamers can be fixed at 32 bit, needed anyway for 24 bit audio....
This was covered looong time ago on this thread, but don't seems like anybody are aware that diyaudio have a search function....
That he should have. Documentation is not complete unfortunately - especially as it is ment for IIY (Integrate It Yourself) projects. But it is evident in many places that it is very hard for an engineer to produce truly usable and complete documentation of ones own design. One know too much about it and lacks the strength and often time to really put oneself into the ignorant users situation. "... If it was hard to design, it should be hard to use" as the saying goes... 🙂
//
I don't agree, I know one gets tired producing manual and documentation but a professional device should be accompanied by suitable documentation.
And it's not related to the user ignorance because the I2S specification has not the limitation to 32 bit depth:
"The bit clock pulses once for each discrete bit of data on the data lines. The bit clock frequency is the product of the sample rate, the number of bits per channel and the number of channels. So, for example, CD Audio with a sample frequency of 44.1 kHz, with 16 bits of precision and two channels (stereo) has a bit clock frequency of: 44.1 kHz × 16 × 2 = 1.4112 MHz"
In other words the DAM1021 is not I2S compliant.
The dam1021 (and dam19x1 and dam1121) do only support 32 bit I2S.... When the code was designed looong time ago, I was in a time crunch and 32 bit only seemed fine...
Anyway, most streamers can be fixed at 32 bit, needed anyway for 24 bit audio....
This was covered looong time ago on this thread, but don't seems like anybody are aware that diyaudio have a search function....
Then I believe you should add the limitation in the user's manual.
One expects to know this from the manual and not from a diyaudio search.
Stuffing zeros at uppsampling is not the same as filling a serial interfaces with zeros in order to meet as certain required word length.
//
I don't know what Volumio does, I'm not the designer of the player.
I would add trailing zeros rather than upsampling with interpolation algorithm.
Soekris Audio ApS, Products dam1021
"Input I2S PCM Fully Isolated, Up to 24 bit / 384 Khz"
If you convert everything to 24 bit, its works.
"Input I2S PCM Fully Isolated, Up to 24 bit / 384 Khz"
If you convert everything to 24 bit, its works.
Isn't it strange that it only seem to show at 44,1?
//
It has nothing to do with the sampling frequency, the issue is related to the word length.
Soekris Audio ApS, Products dam1021
"Input I2S PCM Fully Isolated, Up to 24 bit / 384 Khz"
If you convert everything to 24 bit, its works.
Indeed I have set Volumio to 24 bit output and it works, but it's not native.
I don't know what Volumio does, I'm not the designer of the player.
I would add trailing zeros rather than upsampling with interpolation algorithm.
I believe the description should be enough if one masters the concepts. The use of the word "upsampling" gav it away.
On an other note... In no way is a several hundred pages of forum proper "documentation". Thats not that way to treat customers.
//
Mine also plays redbook from a raspberry over I2S, using moode.
Evidently moode operates the resampling (or simply add trailing zeros) to 24 bit, as Soeren stated the DAM does not accept native 16 bit I2S.
I don’t know exactly how moOde does it, but this is with SoX upsampling off. You just select the dam1021/1121 as output device and it uses the generic I2S driver. It must do the 32 bit output on a driver level.
Last edited:
It has nothing to do with the sampling frequency, the issue is related to the word length.
I made a false assumption from this I suppose...
"It works correctly with Hi-res material but it does not lock with 16 bit/44kHz material."
//
- Home
- Vendor's Bazaar
- Reference DAC Module - Discrete R-2R Sign Magnitude 24 bit 384 KHz