Want more control POTs on ADAU1701?

Hello Folks,

I sometimes feel frustrated by the small number of controls on my FreeDSP Classic SMD A/B. ADAU1701 has only four AUXADC for reading control POTs. Well, the ADAU1452/1466 has six AUXADCs. However, in many cases, ADAU1701 is enough for processing. But the control is not enough...
So I start a small project for expanding AUXADC on ADAU1701. The basic idea is to use an external MUX circuit driven by feeding the POT selection signal from the DSP. Unselected POT keeps holding a last-moment value during the opposite POT reading.

The AUXADC multiplexer circuit:
MPX_SChematic.png

Multiplexer Circuit Switching Test Result
HC4053_AnalogSwitchinh.png

SigmaStudioPrototyping
SigmaStudioSiimulation.png

DAC Output
AUXADC_MUX_Sample.png

It seems possible to implement AUXADC multiplexing. So I will start the board design...


CyberPIt
 

Attachments

  • Like
Reactions: xa488
I ordered AUXADC multiplexer board. This board switches 2times three pots.


Front View (for RK09B Dual Pots or RK09K111)
FrontView_AUX_MPX.jpg

(Bottom View)
PCB-BottomView_AUX_MPX.jpg

TopView (for RK09K113 Vertical Pots)
AUX_MPX_ComboTopView.jpg

I have attached ki-CAD-Project and Gerber files here.

CyberPit
 

Attachments

Last edited:
I did parts mounting today. There was a mistake...:headbash:
MistakeFootprint.JPG
It was too narrow. But I soldered it anyway.

Then a board is ready to evalute.
EvaluationBoard.JPG

Evaluation project of reading two pods with one AUXADC simultaneously.

SigmaStudioPrj.png


A timing check result.
SampleTimingCheck.png

Finally, Now I can read 6+1=7 pots simultaneously with ADAU1701. A tough limitation was gone.:cheers:

CyberPit
 
I did a full function test with FreeDSP Classic SMD A/B board.
AUX-MPX_ClassicSMD.JPG

Just connect to J1 with a ribbon cable.

A hierarchy SigmaStudio Project was made.
AUXADC_POT-MUX_SubProject.png


The root layer project is like this way.
AUXADC-MPX_RootPrj.gif


A timing check result
AUXADC_SampleTiming.gif

It worked as I expected!



Another evaluation, 6-Bands Graphic-EQ like project...
AUXADC-MPX_GEQ.gif

Also worked fine.
I will make a GIt-Hub page soon...


CyberPit
 

Attachments

Last edited:
Good Question!

I measured with my FreeDSP Classic SMD A/B.

Embedded ADC (2.0V RMS Input) to DAC through the DSP.
Classic_SMDAB_-10dBThroughDistortion.png


Turn off the signal source, but still ADC through to the DAC. (All pots at the 12 o'clock position)
Classic-SMDAB_MPX_SameValue.png


Odd POT MAX and Even POT min
Classic-SMDAB_MPX_WorstCase.png


There are small crosstalk (-110dB) and its harmonics exist. This might be coming from the on-chip coupling between the AUXADC and the Embedded Audio ADC. It's not so big, but Maybe this crosstalk level will decrease if the POT switching rate sets slow.

CybrePit
 
dzwer-San,

Can you try with 4 channel 2:1 multiplexer for 8 control potentiometers?
Yes, It's possible, if I use the 2 boards. Just connect MP0 in parallel. I wonder the HC4053 has three SPDT circuits, so using two HC4053 and two control lines will enable to read 10 POTs logically.:goodbad:

Non-precise but only a few parts for multiple POT reading ideas.
YetAnaotherMPX.png

Of course, 3 more POTs and diodes are able to be connected to each GPIO.

CyberPit
 
Just I've thought!
But with inverters on 4 MP output pins to 8 pots and to the 4 AUX ADCs.
But actually we can use only the 2 MP output pins(or only 1 with simple BJT/MOSFET inverter), as you drown, with 4 + 4 parallel pots to the 4 AUX ADCs.
I have to check what is the max output source current for these MP pins.
Edit: When set as an output, each pin can typically drive 2 mA.
 
Last edited:
  • Like
Reactions: CyberPit
Last several days I found in different forums, that SigmaStudio is working properly on some Windows 10 machines and on the others there is USB communication problems.
I have this issue on Lenovo L440 laptop with a clean installation of Windows 10 Pro and SigmaStudio 4.7 - the newest version and several ADAU1701 DSP boards. The driver for the USBi is installed and in the SigmaStudio is in green. I can read/write the EEPROM on the DSP board, but I can not connect to the DSP. Tested with several blue CY7C68013A mini boards with 1 and 2 jumpers on them and with several DSP boards, that I know are working properly.
I resolved the issue as I installed a VMWare Player and a Windows 7 Virtual Machine in which I installed the same SigmaStudio 4.7.
Everything worked from the first try and on the same laptop!