This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

When to use the CMSIS APIs?

I am new to programming both the nRF518122 as well as the Cortex-m0. As I have been building and running the example apps that come with the nrf51 sdk, I run across the CMSIS APIs

I have recently started using the Eclipse IDE for nRF51 DK development.

When would I need to download and use the CMSIS APIs?

Does the nrf51 SDK use the CMSIS APIs?

thank you.

Parents
  • At a minimum CMSIS API contains the initialization of the processor. The nRF51 SDK also uses it and all other ARM based MCU. The minimum implementation is the file system_nrf51.c. It contains SystemInit and SystemCoreClock. Beside from the init functions which are usually provided by the chip vendor. CMSIS also contains many utility functions and DSP mathematical implementation that are optimized for ARM. If you work in multi vendor environment, it is better to have the CMSIS in one place to be use by all.

Reply
  • At a minimum CMSIS API contains the initialization of the processor. The nRF51 SDK also uses it and all other ARM based MCU. The minimum implementation is the file system_nrf51.c. It contains SystemInit and SystemCoreClock. Beside from the init functions which are usually provided by the chip vendor. CMSIS also contains many utility functions and DSP mathematical implementation that are optimized for ARM. If you work in multi vendor environment, it is better to have the CMSIS in one place to be use by all.

Children
Related