• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Introducing DSPi | A powerful, user friendly and open source DSP for less than a cup of coffee

What is the procedure for switching from an input implemented using a PCM1808 operating in master mode to a USB signal input? Is it possible to save the signal input configuration? For example, if I have a PCM1808 connected in master mode and switch to USB, the I2S signal settings automatically switch from Slave to Master mode. Because when I switched to USB, the amplifiers stopped working and couldn't detect the I2S signal. This lasted for quite a while. Even after returning to the input with only a USB signal, it still didn't work. I only had some oscillations on the amplifier inputs. One time it showed that the signal was present, the next moment it showed that there was no signal, and I only heard a hum from the speakers, luckily with a small amplitude.
It sounds like you are encountering a clock collision. When DSPi switches to master mode, both it and the ADC are outputting clocks. The simplest solution here would be to reconfigure the ADC for slave operation and run DSPi as a master for both input sources.
 
I couldn't get the PCM1808 converter on this PCB to work in SLAVE mode (even though it was set that way with jumpers), then I wouldn't have such a problem after switching from the I2S input to USB
 
I installed version 1.1.6-beta1. It's nice that the configuration is preserved when updating firmware. But the "Wrap around at the end" on button "Input source" still doesn't work. Switching from the I2S input back to the USB input does not occur.
 
A little demo of the upcoming display support within Control Surfaces. :)


This feature requires a great deal of testing, as it needs to make efficient use of several different character and graphic displays. Users can assign a selection of pages through which the display will automatically cycle, display just one static page (volume, for instance) or cycle through every parameter. The timing is fully customizable.

All applicable parameters can optionally display bar graphs in addition to the numercal value.

1787026050225.png
1787026068324.png


Any parameter adjusted from a Control Surfaces component is automatically displayed. A new class of Display nouns allows a rotary encoder with a push button to scroll between and adjust values on any page.

1787026214421.png
1787026295973.png


I installed version 1.1.6-beta1. It's nice that the configuration is preserved when updating firmware. But the "Wrap around at the end" on button "Input source" still doesn't work. Switching from the I2S input back to the USB input does not occur.
This is actually a firmware bug rather than an issue with Console and it will be squashed very soon.
 
For active 3 (or 4 way) speakers what is the best method to implement this. I would like to install the amplifier boards in the speaker cabinets. Input will be toslink.
1. Is it sufficient to 'split' the toslink signal running cable to each speaker in terms of timing between 2 dspi boards?
2. Another option may be to run the second dspi in i2s slave mode but isn't the physical distance between the speakers a problem then? Or interference?
3. Convert toslink to coax in 1 speaker and link that as input for the second speaker. Again is that sufficient in terms of timing?
4. Or something else :)
 
4. Or something else :)
After much deliberation, I decided to assemble all six amplifiers in a single case, with the speaker housing only the drivers and connectors. A single power supply, short HF connections, and a single DSPi make amplifier configuration easier, easier to maintain and modify, and less expensive, no need to connect power to each speaker. Cooling is also better for the amplifiers, and vibration is reduced. For initial experiments, you can easily use existing speakers; just disable their crossover. Long speaker cables aren't a problem, and they're an advantage for Class D amplifiers. They have a choke and capacitor at the output anyway, so the additional inductance and capacitance of the cable isn't a problem at all.
 
After much deliberation, I decided to assemble all six amplifiers in a single case, with the speaker housing only the drivers and connectors. A single power supply, short HF connections, and a single DSPi make amplifier configuration easier, easier to maintain and modify, and less expensive, no need to connect power to each speaker. Cooling is also better for the amplifiers, and vibration is reduced. For initial experiments, you can easily use existing speakers; just disable their crossover. Long speaker cables aren't a problem, and they're an advantage for Class D amplifiers. They have a choke and capacitor at the output anyway, so the additional inductance and capacitance of the cable isn't a problem at all.
Yeah I just dont want 3 or 4 pairs of cables running from my amps to the speakers. That's kind of the prerequisite. Looking for alternatives that house the amp(s) in the speaker
 
Yeah I just dont want 3 or 4 pairs of cables running from my amps to the speakers. That's kind of the prerequisite. Looking for alternatives that house the amp(s) in the speaker
Your aversion to four cable pairs is understandable. However, Speakon connectors and a dressed wire harness are not completely hideous. See my LX-521 speaker installation. Note: Some consider the LX-521's a hideous abomination; Focus only at the cable exiting the left speaker to the wall.
 
That looks neat via the wall!
Yeah I know there are even speakon NL-8's indeed. The thing is I build these for friends mostly.
So when I make an active pair I want it to be somewhat user friendly. Really looking for an option with amps in the box for now.
 
For active speakers, it would be great to have the console running on an ESP32...

One small request: since there are so many parameters now, it would be helpful to have a lock button to prevent inadvertently changing them.
 
Been hunting for some i2s boards with balanced output (and ADC boards) ready to go so I don't have to lose channels with pseudo balanced settings in DSPi. Only one I can find that seems reasonable are the wondom PCM5122 and PCM1822 boards they sell. Was wondering if anyone had found some other options. I can't say I've been satisfied with the measurements and sound of the pcm5xxx stuff though. None of my setups with them get near some of the posted measurements of the chips. Best I can ever squeeze out is ~-83db THD and sometimes -76db which is not great. I've also noticed when applying filters some distortion is generated that looks like a saw tooth pattern.
 
That looks neat via the wall!
Yeah I know there are even speakon NL-8's indeed. The thing is I build these for friends mostly.
So when I make an active pair I want it to be somewhat user friendly. Really looking for an option with amps in the box for now.
You can put the box close to (behind) the speaker just like an external xover, so just signal an power in and neutrix speakon out.
 
Been hunting for some i2s boards with balanced output (and ADC boards) ready to go so I don't have to lose channels with pseudo balanced settings in DSPi. Only one I can find that seems reasonable are the wondom PCM5122 and PCM1822 boards they sell. Was wondering if anyone had found some other options. I can't say I've been satisfied with the measurements and sound of the pcm5xxx stuff though. None of my setups with them get near some of the posted measurements of the chips. Best I can ever squeeze out is ~-83db THD and sometimes -76db which is not great. I've also noticed when applying filters some distortion is generated that looks like a saw tooth pattern.

Some options here if you hadn't already seen them:

 
Some options here if you hadn't already seen them:


A bit too high in price for me.
 
Some options here if you hadn't already seen them:

For near those prices you could get a DX1 ii.
 
Been hunting for some i2s boards with balanced output (and ADC boards) ready to go so I don't have to lose channels with pseudo balanced settings in DSPi. Only one I can find that seems reasonable are the wondom PCM5122 and PCM1822 boards they sell. Was wondering if anyone had found some other options. I can't say I've been satisfied with the measurements and sound of the pcm5xxx stuff though. None of my setups with them get near some of the posted measurements of the chips. Best I can ever squeeze out is ~-83db THD and sometimes -76db which is not great. I've also noticed when applying filters some distortion is generated that looks like a saw tooth pattern.
I couldn't find any good simple balanced DACs so I made my own. They cost about $11 each ($16 w shipping and tariffs) in qty 20 at JLCPCB. I'm happy to share the gerbers and BOM if you're interested or maybe sell a few (at most 3 or 4) of the ones I built. They use the TAD5242 and measure very well. The design is for balanced output (one mini-TRS output per channel) since the output voltage is 0-3VDC. You can use them in single-ended but spec is to then use a blocking output cap, which the board has holes for. My build has no input connectors since I stack them 3 at a time for my 6-channel system.

My system went from a tiny but annoying amount of hum single-ended to dead quiet with balanced input. All my amps are fully balanced. The output spectrum test was done using a DSPi to drive the DAC.

1787136196292.jpeg
1787136406796.png
1787136764957.png

Mark
 
Last edited:
I do have plans for an "official" plug-and-play device but there are a few core milestones that I need to reach with the firmware before designing it. We are about to have multichannel and slave mode support (spoiler!), followed by external interfaces (I2C, UART, mappable GPIO controls).

Once those major functions are in place, that will determine the shape of the official board and future additions such as ADAT will simply make use of the existing hardware. There are major advantages to a custom board, beyond just the convenience of built-in connectors. We can make use of an RP2350B with much more GPIO and replace the 12MHz XO with a much nicer 24.576MHz VCXO that will enable much cleaner (from an engineering, not audibility perspective) SPDIF and I2S outputs from SPDIF inputs.

Regarding funding, I am relying entirely upon donations and covering things out of pocket where possible. This was never intended to be a for-profit project and I certainly didn't expect to be upending the budget DSP industry! I think keeping the firmware/software fully open source and selling dedicated devices for those who value convenience is a reasonable compromise. :)


I believe this might be a known bug on GPIO 0 and 1 due to contention. Those pins will either be properly freed or made unavailable in the next beta. If you move the External Mute Control to a higher pin like GPIO 4, that should sort it out.

Troy, you mentioned before that once the main firmware milestones were done — multichannel, slave mode, and the external interfaces (I²C, UART, and mappable GPIO) — you’d have a clearer idea of what the official custom PCB would look like and what hardware it would need.

Now that DSPi keeps gaining features, has that picture of the PCB become any clearer?

I’m especially curious what the official plug-and-play board is likely to include hardware-wise.

Also, you previously mentioned the RP2350B and a 24.576 MHz VCXO.

Not looking for a final spec, just interested in what the intended scope of the official board looks like now, especially compared to the original DSPi.
 
I couldn't find any good simple balanced DACs so I made my own. They cost about $11 each ($16 w shipping and tariffs) in qty 20 at JLCPCB. I'm happy to share the gerbers and BOM if you're interested or maybe sell a few (at most 3 or 4) of the ones I built. They use the TAD5242 and measure very well. The design is for balanced output (one mini-TRS output per channel) since the output voltage is 0-3VDC. You can use them in single-ended but spec is to then use a blocking output cap, which the board has holes for. My build has no input connectors since I stack them 3 at a time for my 6-channel system.

My system went from a tiny but annoying amount of hum single-ended to dead quiet with balanced input. All my amps are fully balanced. The output spectrum test was done using a DSPi to drive the DAC.

View attachment 552772View attachment 552773View attachment 552774
Mark
Can you please share download link. Thanks.
 
Back
Top Bottom