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.
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.
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!
KKSL, you can get that functionality using the Toggle Counter:
http://wiki.analog.com/resources/tools-software/sigmastudio/toolbox/gpioconditioning/togglecounter
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!
The current SigmaDSP architecture does not allow the core to write directly back to memory. So unfortunately this is not possible.