Gustav said:
Andy Peters said:
I wonder if it makes sense to use a dual digital pot for this purpose. The trick would be to get the two pots to update at the same instant, although I think that the user would never notice that one pot had been updated before the other. Even with 100 kHz I2C, which is slow, the update is still fast enough.
Thats my (very limited) understanding so far - Im looking at SPI, and spent a lot of time looking for a distribution hub or similar, then though to checked the amount of bits/transfer speed. In theory...
Gustav
I designed an automatic mixer with 6 mono mic input channels and two stereo line inputs. The company I was designing for/with abandoned the digitally controlled analog automatic mixer project when the market embraced low cost digital consoles. :'(
While they were dragging their feet, I built my own prototype with both VCA and DPOTs available to compare results. I fired up the DPOTs first and they worked so well I didn't even bother to finish populating the VCAs. To bring this on topic I wanted to control both Left and Right level for the stereo channels simultaneously so used the trick of using both A sides of a dual DPOT for one channel, and both B sides for the other channel so updates could be simultaneous.
I was controlling 10 DPOTs total so I rolled my own SPI routine in a microprocessor so I could perform updates quickly enough for audio gain control. This was years ago so details are not fresh in my mind, but something like 1 common spi clock to drive data to all the DPOTS, I used two or three unique data sends, and three or so data latch lines to multiplex data to everything with as few as 3 pushes. In an automatic mixer, the loudest channels get priority for updates.
In practice I could push data updates to the DPOTs fast enough to not hear artifacts while gain sharing between multiple channels in real time. I originally build in a zero crossing synchronization capability to reduce audibility of gain changes but didn’t seem to need that (but the product never reached the market so I probably would have refined it further).
For only a handful of DPOTs without update speed constraints of real time gain control you might be able to handle all with a stock I2S distribution scheme.
As has already been suggested, a single DPOT with a transfer gate switch to select between boost /cut could keep it simpler.
JR
PS: To use 2x DPOTs to mimic a single center tapped pot, send separate feed resistors to each DPOT wiper.