Greetings from Germany and sorry for my bad English.

I am using the Sure DSP with ADAU1701 and Sigma Studio for programming. Everything works fine so far but there is one problem I can´t solve.

I want to build up a standard 2.1 System (2 Sattelite Speakers and one Sub)

Is there any Chance to use one of the Sure Potentiometer to adjust the Crossover Function?

Regards

Hello,

It appears from its website that the

SureDSPis a ADAU1701 on a board, equipped with pots to set parameters via the -1701's Aux-ADCs, as well as the needed external components. There's no Arduino or other micro with which to control the -1701's parameters digitally, so we're limited to what we can adjust within the SigmaStudio schematic itself. This knocks out adjustable versions of the best crossovers in the toolbox -- the phase-accurate Linkwitz-Riley crossovers. Of course you can place one of these in your project, but the only way to adjust its crossover frequency at runtime is to calculate sets of Second-Order IIR Filter coefficients, then safeload these into your DSP. The -1701 simply doesn't have the horsepower to handle these calculations -- instead, SigmaStudio does them for you at compile time. The way to adjust filters at runtime is with a microcontroller within your system, programmed to do the same thing. If this sounds complicated, it is -- as I've commented elsewhere, it's like a rite of passage for engineers working with these wonderful chips.So whether you can make an adjustable crossover for your

SureDSPdepends upon the ultimate application. If your intent is to a design a commercial product, forget it -- such devices do the heavy math with a microcontroller, enabling the best filters. On the other hand, if all you're after is optimizing your home theater, DJ system etc., you have some room to play. There's at least two ways to cram a variable-frequency crossover into a barefoot ADAU1701 -- and both are described below:The first and simplest one uses the

State-Variablefilter as a crossover. It has both lowpass and highpass outputs, plus control pins for "Q" (actually (1/Q) or approximate bandwidth), and frequency. All we need to add is aLookup Table, which converts the Aux ADC's output (pot position) to match the filter's frequency input.The -1701's Aux ADC puts out a level from 0.000 to 1.000 in the 5.23 format -- the same format used for audio. We multiply this with an integer 20 to feed the lookup table input. The table contains the values corresponding to desired crossover frequencies, in the form that the State-Variable Filter needs. These I pre-calculated with a spreadsheet. This chart shows the frequency range available from the pot, for both this and the following project:

The second method involves home-made versions of

First-Order IIR Filters. If your're curious how these work, check out this reference:http://www.analog.com/media/en/technical-documentation/dsp-book/dsp_book_Ch19.pdf The whole book is quite suitable for anyone wishing to learn some DSP theory from scratch. I used this stuff to pre-calculate the coefficients for the crossover filters in the project, with the same spreadsheet.

This project is way more complex than the first, so its diagram won't fit here -- download it to examine its innards. Its Lookup Table provides the intermediate variable

x, from which the DSP calculates the lowpass and highpass first-order filter coefficients for the homemade filters built withDelay,Multiply,Signal Add, andFeedbackblocks. Because first-order filters have a sloppy frequency response, I cascaded two for each channel -- making a 12 dB per octave crossover. You can do the same with the State-Variable filters if you wish.Although both these crossovers could be modified for 96 KHz operation, I don't recommend it -- DSP filtering for bass frequencies involves precise numbers out to many decimal places, which become even more demanding at higher sample rates -- and unfortunately, both the State-Variable and the homemade filters are single-precision. If you desire more phase control than the simple 180 degree inversion in these projects you could make a phase control using the Hilbert Transform block -- for an example, see

How to use sigmastudio software to realize an external potentiometer to control phase, the phase of the range is 0 ° to 180 °?

I tested these projects on a stock EVAL-ADAU1701MINIZ board -- you may need to modify them according to what's where in your SureDSP board. Have fun with your DSP!

Best regards,

Bob