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

How to identify which filter is which on

SigmaDSP & SigmaStudio CoolJavelin Sep 20, 2014 00:00 2 replies Original on forum ↗
Subscribe
CoolJavelin Question
Sep 20, 2014 00:00

I have created a project that has several identical channels, each with several identical filter bands. (Filters->Second Order->Double Precision->1 Ch->Medium Size EQ)

The spi_map.dat file tells me where the 5 coefficients for each of the filters are located in the parameter ram (I think).

The entries begin with the name "EQ1940Single2..." and "EQ1940Single2..." etc...

The problem is, the entities are simply numbered 1 through n (n being the number of filters I have on the circuit.)

I want to be able to change the coefficients using a microprocessor, but I don't know how to identify to which filter the coefficients belong.

I can rename the filter (like chan1band1 or something) but I can't find any way of relating that name to the name in the spi_map file.

I have tried to follow the net_list.cir file, and I may be able to write some algorithm to sort this out, but that seems to be a real PITA.

How is this done?

Thanks, Mark.

ADIApproved Reply
Sep 20, 2014 00:00

Hi Mark:

I believe the addresses assigned are present in a couple of different files. Some of those need to be generated post compile by pressing the button that generates microcontroller export files. Probably the most immediate way to localize coefficient addresses is to use the Capture Window. Have you looked into this or are you looking for more automated ways to finding coefficient locations.

Please comment.

Miguel

CoolJavelin Reply
Sep 21, 2014 00:00

Miguel:

Thanks, I was unaware of the extra step to export much more detailed files for other processor support.

I found it under menu "Action"->"Export System Files"

I see there is also a tool bar button.

The file that ends in ".params" is the magic file I will be needing.

Thanks for the help.

Mark.