Long FIR Filter

11 posts / 0 new
Last post
eenrique_dsp
Offline
Last seen: 1 month 1 day ago
Joined: 12/29/2016 - 4:33pm
Long FIR Filter

Hi,

In the Audio Weaver Module User's Guide,  it talks about a Long FIR Filter.  It is mentioned that this module is under

a DSP Concepts IP.  I wanted to ask how people can avail on using this module.

I noticed that if you are running native mode this module is available but for sample targets like Ez kits

this module is not included. 

Thank you.

 

Axel Nilsson
Offline
Last seen: 2 hours 14 min ago
Joined: 12/19/2016 - 2:02pm

Hey Emilson,

 

The Long FIR module was recently added to the Advanced module pack (in 6.17.06 version of Designer). While it is available on the native/Windows target, the SHARC v1.2 packages that you have were created before the Long FIR module was moved to the Advanced module pack so it is not included. 

 

We will work on creating a new version of the SHARC packages that include this Long FIR filter module in the Advanced module pack. 

 

Thanks

Axel

 

info_2092
Offline
Last seen: 1 year 9 months ago
Joined: 02/24/2018 - 11:48am

Hello,

I just also tried to use Long FIR module on the STM32F407 and STM32F746 without success.

I'm using a free trial Standard edition V6.5.10.17 that I have downloaded for the purpose to try before making a decision.

The Youtube video is showing the STM32F407 running it  with AWE V4.0.0.2 (https://youtu.be/cUQwjPdwTVA?t=76)

How can I make it working ?

I have tried to build the Long FIR module following another Youtube (https://www.youtube.com/watch?v=aYm4pWp7OXs) Video but File properties doesn't exist anymore...

 

Please help so that I can try the Long FIR module on my boards.

Best regards,

Jean

Axel Nilsson
Offline
Last seen: 2 hours 14 min ago
Joined: 12/19/2016 - 2:02pm

Hi Jean,

 

The free STM32 BSPs on our website only provide the Standard module pack, which does not include the Long FIR filter. You should be able to test the Long FIR module running natively (on Windows), but without purchasing the full STM32 BSP you will not be able to use the module on your ST device. 

 

For a quote, please email info@dspconcepts.com.

 

Thanks

Axel

bidule
Offline
Last seen: 1 year 9 months ago
Joined: 02/08/2018 - 9:48am

Thank you Axel for your Answer.

I did download the 1 month free trial of the Standard Audio Weaver Edition along with the AWE_BSP_stm32f407_s1.4_Installer.exe

What do you mean by "running natively" ?

I'm not looking for the time being for Flashing the board for a stand alone use, I just want to make it running connected to my computer.

What am I supposed to do for this approach ?

Best regards,

Jean

 

 

 

 

Axel Nilsson
Offline
Last seen: 2 hours 14 min ago
Joined: 12/19/2016 - 2:02pm

By running natively, I just mean running an audio layout on your Windows PC. "Native" is the default connection type in the Audio Weaver Server when you launch Designer - any layout that you run with this native connection will run in Windows. Since we support both the Standard and Advanced module packs in Windows, you can test out the performance of the Long FIR filter module in this native connection mode.

To connect to your ST device, you can change the connection type to USB and fill in the PID/FID as described in the Audio Weaver STM32F4xx User Guide (https://dspconcepts.com/support). Once you've connected the server to your device, any layout you run in Designer will run on your device. Howerver, since the free ST binaries provided in the stm32f407 reference BSP only support the Standard module pack, you won't be able to use the Long FIR filter while running on your ST device.

 

Hope this clears things up for you,

Axel

bidule
Offline
Last seen: 1 year 9 months ago
Joined: 02/08/2018 - 9:48am

Hi Axel,

 

Yes, everything is clear now, Thank you

eenrique_dsp
Offline
Last seen: 1 month 1 day ago
Joined: 12/29/2016 - 4:33pm

Hi,

I have an earlier post way back with version 6.17.06, where the question was what needs to be added to the SHARC code base for platforms to make the SHARC targets run the Long FIR Filter.   Now that we are in version 7.A.0.8, I post the same question now; what do I need to include in the module list so a SHARC target can run the Long FIR Filter?  Another way in phrasing the question is that what are the classes (similar to my list below) that I should add to the platform build so that the Long FIR Filter will be supported with the SHARC targets.  

When I run through the current BSP 21489 Ez kit module list and search 'FIR' these (below) are the following that I find. 

extern const ModClassModule awe_modFIRFract32Class;
extern const ModClassModule awe_modFIRClass;
extern const ModClassModule awe_modFIRDecimatorFract32Class;
extern const ModClassModule awe_modFIRDecimatorClass;
extern const ModClassModule awe_modFIRInterpolatorFract32Class;
extern const ModClassModule awe_modFIRInterpolatorClass;
extern const ModClassModule awe_modFIRLoadingFract32Class;
extern const ModClassModule awe_modFIRLoadingClass;
extern const ModClassModule awe_modFIRSparseClass;
extern const ModClassModule awe_modFIRSparseReaderFract16Class;
extern const ModClassModule awe_modFIRSparseReaderFract32Class;
extern const ModClassModule awe_modFIRSparseReaderClass;
extern const ModClassModule awe_modSbComplexFIRClass;
extern const ModClassModule awe_modSbComplexFIRvlClass;

Thank you,

Emilson

Axel Nilsson
Offline
Last seen: 2 hours 14 min ago
Joined: 12/19/2016 - 2:02pm

Hi Emilson,

 

The Long FIR is a subsystem that is comprised of multiple different module classes, which is why you don't see a specific Long FIR module class. To find out which module classes you need to include on your target to use the Long FIR subsystem, you can use the 'Generate Target Files' tool and select the ModuleList.h option with a layout that contains only the Long FIR filter. I've copied the contents here for convenience:

 

extern const ModClassModule awe_modCfftClass;
extern const ModClassModule awe_modComplexModulateClass;
extern const ModClassModule awe_modComplexToRealImagClass;
extern const ModClassModule awe_modNullSinkClass;
extern const ModClassModule awe_modSbComplexFIRClass;

 

Hope this helps,

-Axel

dhedin_4469
Offline
Last seen: 5 months 1 day ago
Joined: 07/03/2019 - 5:55pm

If the filter is used for audio, can you change the filter coefficients on the Long FIR Filter real-time without distorting the audio?

Axel Nilsson
Offline
Last seen: 2 hours 14 min ago
Joined: 12/19/2016 - 2:02pm

Hello,

 

The array of coefficients provided as arguments to the Long FIR module in Designer end up being manipulated by the module itself to generate a new set of coefficients, so the user provided coefficients are never directly processed by the module. This internal manipulation is what enables the performance improvement in the module, but it also makes it impossible to update the Long FIR coefficients on the fly. 

 

See the FIR module and this post for discussion of how to update the FIR module coefficients in real time: https://dspconcepts.com/forums/audio-weaver-general/555-large-table-lookup

 

Hope this helps,

-Axel