Filter brewing for the Soekris R2R

Great...

Please be with me...I spent now an hour to try to understand how the upload, filter selection etc would work...I found only this:

"UPLOADING DIGITAL FILTERS

Now that we know how to update the firmware, uploading digital filters uses the same procedure. Lots of filters have been crafted by users in the diyaudio filter brewing thread [link]. Filter files ready to be uploaded are binary files. The filter text files cannot be uploaded. They need to be converted to binary format with the “filter tools” provided by Soren [link]

The procedure for uploading a filter file is hereby summarized:

After invoking the uManager, type “download” in the terminal window. The DAC will acknowledge your command and wait for you to start the xmodem transfer
In the “File” pull down menu select “Transfer” -> “Xmodem” -> “Send”. You will see the XMODEM send dialog box. Select the filter file you wish to upload and click “Open”
After completion, power-cycle the DAC. Note: changing the input or changing a track with a different sample rate also triggers reloading of the filters"

from here Soekris dam 1021 R-2R DAC ILLUSTRATED GUIDE | H i F i D U I N O

...but this leaves a few questions...

1. will the new filters be selectable over the front display switches like the four filter the dac came with ?

2. How do I know which is which ?

3. What is I mess it up...how ro get back to factory filters ?

4. Any firmware issues with the lastest filters and the 1941 1.23 firmware ?

5. Is only 44.1khz supported ? I am only using pcm, but a wild mix of different sample rates from 44.1k to 192k.
 
Thanks a lot...now I understand the previous posts...great job you guys are doing here...I am impressed.


...now I need to dig into my usb-rs232 cable box and see if the stuff I got is working...3.3V I believe...is there a cheap reference cable which everybody is using and which will work from any windows system ?
 
I did...3.3V for the 1941.....no my question was more related to chipset/driver which works in w10 and w7 equally...I found that is sometimes gambling if the stuff really works or not...sorry ifthis goes a bit off topic...I will try the stuff i got here, maybe it will work, should be switchable between 3.3 and 5v
 
It is not a matter of switching between 3.3v and 5v. The signal levels are dramatically different between RS232 and TTL and there is inversion. If an adapter works with one it will not work with the other.

If using a micro or an RPi for control it is certainly better to have a TTL interface, but if using a PC with an RS232 port then you will need a MAX232 to do the conversion.

Ideally the DAM should have both interfaces; a cost cutting worth a few cents makes it really annoying for most users who now have to buy different USB/TTL adapters. And we know how randomly these tend to work.

https://www.sparkfun.com/tutorials/215
 
Ok, found the right cable in my box...and updated my 1941 to latest 1.23 and after that to the latest 1021 filter pack from last page, TNT´s version to follow.

Wow. These are not subtile chamges, the DAC plays very different depending on the filter. Not sure yet what my favourite will ne, but I can see your point fully.

Do I understand the colour code right:

Red-F4
Orange-F5
Green-F6
Off-F7
 
So NewNOS disables FIR2 right?
Running external FIR1 filter to x8 rates 352.4/384 should make the analogue filter take care of the rest.
I know this is how the schiit yggdrasill DAC does it, so depending upon the analogue filter implementation in the soekris it should be okay...

Though to be honest I don't really hear a difference between FIR2 enabled/disabled when running external FIR1 to 352/384.
 
This might not be the right thread but at least this one is active. In my project the DAM1021 is controlled over the isolated serial from an Arduino. This is for instance how I switch the inputs, or better, that is what I want... I think I discovered a bug and I wanted to ask if somebody else has noticed this behavior:
The DAM1021 does not want to lock on a SPDIF signal (neither in auto-input or via serial I1 ,I2) unless you boot the DAM while music is playing via USB. Really strange and is best explained via the following examples:

1) Boot while NO music on USB and SPDIF. Serial output :R1.21, I3, L00, F4, PN, V+00, I3, I0, L044 ) looks okay; auto-input, locked to the i2s XMOS USB interface on 44.1KHz. The latter is a bit strange, because no music is playing... LED is constant on.
2) Play music via SPDIF, No sound
3) Play music via USB, Sound is playing
4) Stop playing music via USB, wait 30 secs, led is still steady.
5) Play music via SPDIF, No sound.
There is no additional serial data at step 2 till 5. The DAM is locked on USB and that’s it...

Exactly the same is happening if I boot while music is playing via SPDIF only. Like before I can only hear sound played via USB interface.

Now it becomes funny... or actually not.
1) Boot while music is playing on USB. Serial output :R1.21, I3, L00, F4, PN, V+00, I3, I0, L044 ) The same as in the first example. After boot is finished, music is outputted, as expected. BUT...
2) Stop USB, wait 30 sec to idle the XMOS
3) Play music via SPDIF, and YES, now the DAM locks on SPDIF!!! music is outputted.
4) Stop playing music via SPDIF and wait 30 secs.
5) Play music via USB, and USB music is on the output again.

So, the DAM only behaves as expected when it is booted while music is playing via USB. Also, only in this way it is possible to functionally switch the inputs via serial commands.

Curious to learn if somebody knows a solution… Thanks!

By the way; im am using 1021filt.zip from Spikestabber, with QuasiNOS as my favorite. Great work!
 
I ran your filter at -6db on firmware 1.20 to get comparable volume i need to run the dac at either 2db+, or increase the amplifier volume, curiously even sending 352+khz material which bypasses FIR1 still has the volume lower on the red filter slot compared to F5/F6/F7 so i think i narrowed it down to either the firmware or FIR2.
 
Last edited:

TNT

Member
Joined 2003
Paid Member
Filter selection....

Playing "CD"..

(umanager....)

#exit

L044

dam1121 uManager Rev 1.08 20160523 FPGA Rev 1.08 Press ? for help.

# filters

04 TNT441Lin2 Linear Phase FIR1, 44.1 Ksps, 0-19,4 Khz - 0.3 db, 22.04 Khz -163
08 Linear Phase FIR2, 384 Ksps, 0-76 Khz -1 db, 192 Khz -100 db
16 90 1,5 -3
17 800 2 -4,5
18 3k 2 -2
19 16k 0,7 3
20 HS3k 0,4 -5
21 16k 1,5 4
22 9,5k 1 3
23 6k 1,5 -2,5
24 200 0,7 1
25 85 0,5 1,5
26 2,2k 1,5 -0,5
27 1,5k 1,5 0,6
29 DC Blocking IIR, 352.8 Ksps, 2 Hz HP 1st order
30 Deemphasis IIR, 352.8 Ksps, 50/15 uS

# exit

Switch to playing internet radio


L048


dam1121 uManager Rev 1.08 20160523 FPGA Rev 1.08 Press ? for help.

# filters

04 Linear Phase FIR1, 48 Ksps, 0-21 Khz - 1 db, 24.3 Khz -150db
08 Linear Phase FIR2, 384 Ksps, 0-76 Khz -1 db, 192 Khz -100 db
29 DC Blocking IIR, 384 Ksps, 2 Hz HP 1st order
30 Deemphasis IIR, 384 Ksps, 50/15 uS

- - - - - - -

Why isn't my biquads being engaged when playing 48?

//