How to implement CMSIS-DSP on S32DS

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

How to implement CMSIS-DSP on S32DS

2,029 Views
carolyn_zhang
Contributor II

Hi,

Could someboady tell me how to implement CMSIS-DSP on S32DS? I want to use FFT on S32K3. Thanks.

0 Kudos
Reply
6 Replies

2,005 Views
danielmartynek
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,998 Views
carolyn_zhang
Contributor II

Hi, Daniel,

It looks like the article is too old for reference. The structure of CMSIS had changed.Is there any suggestion? Thanks.

0 Kudos
Reply

1,942 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @carolyn_zhang,

There is no other guidelines for CMSIS integration.

However, NXP provides AMMCLIB for S32K3xx, which is an optimized library for the MCU series.

AMMCLIB:

https://www.nxp.com/design/design-center/software/automotive-software-and-tools/automotive-math-and-...

 

Regards,

Daniel

 

0 Kudos
Reply

1,866 Views
carolyn_zhang
Contributor II

Hi, Daniel,

It looks like only ADFLIB support FFT. However, ADFLIB is for S32Z/E/V. S32K3xx_AMMCLIB_v1.1.41 I downloaded does not have ADFLIB. Could you sent me a ADFLIB suitable for S32K3? Thanks.

carolyn_zhang_0-1757315993337.png

 

0 Kudos
Reply

1,744 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @carolyn_zhang,

You are right, for S32K3xx, CMSIS DSP is the optimal option.

AMMCLib does not currently provide FFT for the K3 device and there is no immediate plan to add it. The main reason is that this functionality is already available in the CMSIS-DSP standard library. CMSIS-DSP is provided by compiler vendors, e.g.:

• IAR: https://www.iar.com/knowledge/learn/programming/using-iar-embedded-workbench-for-arm-and-the-cmsis-d...

• Keil: https://www.keil.com/pack/doc/CMSIS/DSP/html/group__groupTransforms.html

The IAR CMSIS-DSP library can be added to the S32K3 S32 Design Studio project from the settings menu:

danielmartynek_0-1757578830215.jpeg

Regards,

Daniel

 

 

0 Kudos
Reply

2,002 Views
carolyn_zhang
Contributor II

Hi, Daniel,

I want to use FFT lib in CMSIS. Which CMSIS lib should I used, CMSIS_6 or CMSIS_DSP? Should I need to download CMSIS_Core?Thanks.

0 Kudos
Reply