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

Presets and MUX controlled by GPIO

SigmaDSP & SigmaStudio Christian12 Sep 1, 2011 00:00 4 replies Original on forum ↗
Subscribe
Christian12 Question
Sep 1, 2011 00:00

Hey,

I want to change my presets over a switch from my GPIO-board. Is that possible?

If not is it possible to control a MUX with a switch from my GPIO-board?

Im using the 1442 eval board.

regards

christian

ADIApproved Reply
Sep 6, 2011 00:00

Hi Christian,

Please take a look at AN-951, an application note that describes various uses of the GPIO pins in SigmaStudio:

http://www.analog.com/static/imported-files/application_notes/AN-951.pdf

I think the example called "PUSH-BUTTON-CONTROLLED DEMULTIPLEXER" on page 11 would accomplish what you're trying to do. You would just use a multiplexer instead of a de-multiplexer.

Christian12 Reply
Sep 7, 2011 00:00

Thanks for the answer.

I already found that and realized my design with the help of a MUX, after posting this message.

The problem is that I have to build my audioflow 3 times when I need 3 presets and when I use things like delay I get problems with my limited RAM.

Is it possible to control the A,B,C,D presets (Version 3.5.3) or something similar over the GPIO?

ADIApproved Reply
Sep 7, 2011 00:00

The ability to have presets stored in the chip is, of course, limited by the available RAM. However, there are a few ways to minimize memory usage when doing this. Instead of building three completely separate flows, one for each preset, and selecting them with a multiplexer, you could use some index-selectable cells instead. For example, we have some filters that are index selectable, and this would allow you to save multiple banks of parameters in RAM while only storing one set of filters in program RAM.

Here are a few examples of filters and volume controls with GPIO controllable input.

b4f12d98077af4b7c2bac6095a75fe76.jpg
b4f12d98077af4b7c2bac6095a75fe76.jpg
b4f12d98077af4b7c2bac6095a75fe76.jpg-210x20.jpg
b4f12d98077af4b7c2bac6095a75fe76.jpg-210x20.jpg
3e79a529bf5c8a9cc53209466d126fd5.jpg
3e79a529bf5c8a9cc53209466d126fd5.jpg
3e79a529bf5c8a9cc53209466d126fd5.jpg-202x45.jpg
3e79a529bf5c8a9cc53209466d126fd5.jpg-202x45.jpg
5b38e5ba60efb3afa901203b92d7b25b.jpg
5b38e5ba60efb3afa901203b92d7b25b.jpg
5b38e5ba60efb3afa901203b92d7b25b.jpg-251x48.jpg
5b38e5ba60efb3afa901203b92d7b25b.jpg-251x48.jpg
c0d3536b1097f61d9fba4053ebba70a3.jpg
c0d3536b1097f61d9fba4053ebba70a3.jpg
c0d3536b1097f61d9fba4053ebba70a3.jpg-130x23.jpg
c0d3536b1097f61d9fba4053ebba70a3.jpg-130x23.jpg
f3bc0005663fd25e2f00eacb1ffd5d8d.jpg
f3bc0005663fd25e2f00eacb1ffd5d8d.jpg
f3bc0005663fd25e2f00eacb1ffd5d8d.jpg-130x23.jpg
f3bc0005663fd25e2f00eacb1ffd5d8d.jpg-130x23.jpg
EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin