Interfacing CMSIS Library in Codewarrior?

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

Interfacing CMSIS Library in Codewarrior?

Jump to solution
4,315 Views
Amit_Kumar1
Senior Contributor II

Hi

I am unable to find any documentation on how to add CMSIS library in Codewarrior. Presently I am using CodeWarrior  10.5 and I want to add the CMSIS's DSP Library in that.  Thanks in advance

 

Kind Regards

Amit Kumar

Labels (1)
1 Solution
1,944 Views
Amit_Kumar1
Senior Contributor II

Hi

I have made a document on how to implement the CMSIS library using the following links.

http://mcuoneclipse.com/2013/02/14/tutorial-using-the-arm-cmsis-library/

https://community.freescale.com/docs/DOC-100149

Thanks a lot to Erich Styger and Eli Hughes for their wonderful blogs. I Hope people will get benefited with this post.

Kind Regards

Amit Kumar

View solution in original post

0 Kudos
9 Replies
1,944 Views
BlackNight
NXP Employee
NXP Employee
1,944 Views
Amit_Kumar1
Senior Contributor II

Hi Erich

I am facing an issue while implementing he CMSIS. I followed your blog  upto build and debug I did and after that I am getting 13 errors below is the snapshot

Untitled.jpg

Please have a look . I have attached my test project also. Do I need to use the earlier version of CMSIS library (3.20) or we can resolve the issue in the current lib. i.e (4.00)? I will try with the earlier version and will update the same. Thanks

0 Kudos
1,945 Views
Amit_Kumar1
Senior Contributor II

Hi

I have made a document on how to implement the CMSIS library using the following links.

http://mcuoneclipse.com/2013/02/14/tutorial-using-the-arm-cmsis-library/

https://community.freescale.com/docs/DOC-100149

Thanks a lot to Erich Styger and Eli Hughes for their wonderful blogs. I Hope people will get benefited with this post.

Kind Regards

Amit Kumar

0 Kudos
1,944 Views
eli_hughes
Contributor V

A couple notes/comments:

1.   Are you using fixed point functions in CMSIS?  or Floating point?.    The code setup in MonkeyJam is 100% fixed point.   You don't have to select any floating point settings.   In your instructions,  there is assumption that one will use the floating point functions and there is no hardware floating point available

2.)   Some of the the cortex M4s have hardware floating point.  Selecting software floating in the setup make CMSIS slow.   The functions will work but there is no acceleration.   If you have an M4 without an FPU,  I would highly recommend using fixed point.   The CMSIS code will use the actually high precision MAC instructions.  

0 Kudos
1,944 Views
charanreddy
Contributor III

Hi,

Can any one post an example project of implementing FFT in KL25Z using CMSIS. I have tried all the methods to interface CMSIS Library with CodeWarrior 10.6 but i was struck with some errors which i am not able to resolve. Can anyone help me.

Regards,

Charan kumar

0 Kudos
1,944 Views
Amit_Kumar1
Senior Contributor II

Hi Charan

Can you post the screenshot of the errors you are getting? This process was tested for FRDM-K20M, there might be some minor changes for KL25Z .

Regards

Amit

0 Kudos
1,944 Views
charanreddy
Contributor III

Hi Amit,

I fallowed the steps to interface CMSIS library to Codewarrior from this link,

Tutorial: Using the ARM CMSIS Library | MCU on Eclipse

i am getting an error during Debugging as,

CHARAN.png

Regards,

Charan Kumar

0 Kudos
1,944 Views
charanreddy
Contributor III

Hi Amit,

Now my program of calculating FFT is working fine. I created new project and fallowed the same steps and it is working fine. I don't know what wrong i did before. Thank you very much for your replay.

Regards,

Charan Kumar

0 Kudos
1,944 Views
Amit_Kumar1
Senior Contributor II

Thanks a lot.

0 Kudos