[MPC5748G] FIR filter design question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[MPC5748G] FIR filter design question

Jump to solution
785 Views
jzhang1
Contributor II

Hi,

Does S32 Design studio have the ready-to-use library or function for the FIR filter? Like the command in Matlab "b = firpm(n,f,a)"https://www.mathworks.com/help/signal/ref/firpm.html#d120e59899

I want to design a bandpass or low-pass FIR filter to process the real-time data from the ADC module on the board.

I appreciate your help!

Labels (1)
0 Kudos
1 Solution
709 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Junyi,

you can use FIR filter from AMMCLIB:

Automotive Math and Motor Control Library Set | NXP 

The library is already integrated in the S32 Design Studio:

c:\NXP\S32DS_Power_v2.1\S32DS\software\AMMCLIB_1.1.15\MPC574xG_AMMCLIB_v1.1.15\

Search for  GDFLIB_FilterFIR in the documentation.

Regards,

Lukas

View solution in original post

0 Kudos
1 Reply
710 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Junyi,

you can use FIR filter from AMMCLIB:

Automotive Math and Motor Control Library Set | NXP 

The library is already integrated in the S32 Design Studio:

c:\NXP\S32DS_Power_v2.1\S32DS\software\AMMCLIB_1.1.15\MPC574xG_AMMCLIB_v1.1.15\

Search for  GDFLIB_FilterFIR in the documentation.

Regards,

Lukas

0 Kudos