CMSIS DSP library porting in LPC54608J512BD208

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

CMSIS DSP library porting in LPC54608J512BD208

943 Views
prasannanaik
Contributor III

Hi,

   I am using LPC54608J512BD208 microcontroller in a project. I want to use 32 bit fft functions available in CMSIS library but i am unable to compile the code after calling "arm_rfft_fast_init_f32()"  function. I have referred to "Using CMSIS-DSP with MCUXpresso SDK and IDE " but still getting compilation error 
"cannot find -llibarm_cortexM4lf_math lpcxpresso54608_hello_world C/C++ Problem"

I have given path of library file located in sdk. My sdk is in same workspace.

I have attached the code for reference. Please help in resolving this issue.

Thanks and best regards,

Prasanna

Labels (1)
Tags (1)
0 Kudos
5 Replies

705 Views
soledad
NXP Employee
NXP Employee

Hi, 

Please check the following link: https://community.nxp.com/message/1031640 

let me know if this helps, have a nice day!

Regards 

Soledad

0 Kudos

705 Views
prasannanaik
Contributor III

Hi soledad‌,

      I have even tried explicitly adding the CMSIS folder from SDK into my project and linking that folder as suggested in "https://community.nxp.com/docs/DOC-335465 " but still unable to compile.

Please help in resolving the query.

Thanks and best regards,

Prasanna

0 Kudos

705 Views
soledad
NXP Employee
NXP Employee

Hi, 

In addition to the step fromUsing CMSIS-DSP with MCUXpresso SDK and IDE please add

#define __FPU_PRESENT                  1         /**< Defines if an FPU is present or not */

 

 in core_cm4.h,and in  IDE perspective select the following settings: 

 

pastedImage_1.png

 

 

 

Regards

Soledad

0 Kudos

705 Views
prasannanaik
Contributor III

Hi Soledad,

   I have implemented all the steps mentioned in the link but still unable to compile.

   I have uncompressed sdk and then i have given path of CMSIS folder and CMSIS library of SDK. Is that proper?

   Please check the code attached for any clue.

Thanks and best regards,

Prasanna

0 Kudos

705 Views
prasannanaik
Contributor III

Hi soledad‌,

      Good Day!!!

      Any update on the query?

Thanks and best regards,

Prasanna

0 Kudos