ΣSigmaStudio Ask AI Русский Log in

Pushbutton Toggle Multiplexer

SigmaDSP & SigmaStudio ADIApproved May 26, 2011 00:00 4 replies Original on forum ↗
Subscribe
ADIApproved Question
May 26, 2011 00:00

A SigmaDSP user recently asked me how to make a project with multiple signal paths and select a path using GPIO. Here's an example of that.

multiplexer

sigmastudio

gpio

pushbutton

0486.0d9f4116949d9c3566e4a3d2d14ae835.jpg
0486.0d9f4116949d9c3566e4a3d2d14ae835.jpg
0486.0d9f4116949d9c3566e4a3d2d14ae835.jpg-450x255.jpg
0486.0d9f4116949d9c3566e4a3d2d14ae835.jpg-450x255.jpg
KKSL Reply
Jul 24, 2012 00:00

Hello Brett,

If we use 'GROW' the algorithm for the multiplexer to increase the # of inputs, can it still be possible to use the push-button to select the inputs (this time more than two)? I was wondering if we can bring the look-up table entry into picture some how to do this.

Push1: selects input 1

Push2: selects input 2

Push3: selects input 3

Push4: selects input 1

Thanks in advance!

ADIApproved Reply
Jul 24, 2012 00:00
KKSL Reply
Jul 24, 2012 00:00

Thank you!

I will try out the toggle counter soon and report my findings.

I need a similar function. Not one that selects inputs but updates parameter of a particular cell.

Can I have a WRITE block that has 'Address' 'Bytes' 'Data' fields? Such a block can take inputs from a look-up table driven by a push button as mentioned below:

Push1: WRITES X Bytes to Y Location with Z1 data

Push2: WRITES X Bytes to Y Location with Z2 data

Push3: WRITES X Bytes to Y Location with Z3 data

Push4: WRITES X Bytes to Y Location with Z1 data

This and the above will help me implement some user accessible functions using GPIO, thus eliminating a possible use of microcontroller.

Thanks in advance!

ADIApproved Reply
Jul 24, 2012 00:00

The current SigmaDSP architecture does not allow the core to write directly back to memory. So unfortunately this is not possible.