Login

ARM The Architecture For The Digital World  

CMSIS - Cortexマイクロコントローラ ソフトウェア インタフェース規格

CMSIS - Cortexマイクロコントローラ ソフトウェア インタフェース規格 Image
ARM ® Cortexマイクロコントローラ ソフトウェア インタフェース規格(CMSIS) は、Cortex-Mプロセッサ シリーズ向けのベンダに依存しないハードウェア抽象化レイヤです。  CMSISにより、インタフェース ペリフェラル、リアルタイム オペレーティング システム、およびミドルウェアに対して、プロセッサとの間に一貫したシンプルなソフトウェア インタフェースを実現でき、ソフトウェアの再利用が簡素化されます。CMSISを利用することで、新しいマイクロコントローラ開発者の学習が容易になり、新しいデバイスの市場化期間が短縮されます。

CMSIS規格は完全な拡張性を備えており、最小の8 KBデバイスから、Ethernet、USB-OTGなどの高度な通信ペリフェラルを持つデバイスまで、すべてのCortex-Mプロセッサ シリーズ マイクロコントローラに対応します (CMSISがコア ペリフェラル アクセス レイヤに要求するメモリは、コード1 KB未満、RAM 10バイト未満です)。

 


The CMSIS consists of the following components:

  • Peripheral Register and Interrupt Definitions: a consistent interface for device registers and interrupts
  • Core Peripheral Functions: access functions for specific processor features and core peripherals
  • DSP Library: optimized signal processing algorithms and for Cortex-M4 support of SIMD instructions
  • System View Description (SVD): XML file that describes the device peripherals and interrupts.  

The standard is fully scalable to ensure that it is suitable for all Cortex-M processor series microcontrollers from the smallest 8 KB device up to devices with sophisticated communication peripherals such as Ethernet or USB.  (The memory requirement for the Core Peripheral Functions is less than 1 KB code, less than 10 Bytes RAM).


CMSIS defines for a Cortex-M processor-based system:
  • A common way to access peripheral registers and a common way to define exception vectors
  • The register names of the Core Peripherals and the names of the Core Exception Vectors
  • A device independent interface for RTOS Kernels including a debug channel
  • DSP algorithms for digital signal processing and other vector oriented math operations

Peripheral Register & Interrupt Definitions
Each peripheral has a consistent structure that defines the peripheral registers.  All interrupts of a device are defined consistently across CMSIS compliant devices. These definitions may be derived from the CMSIS-SVD (system view description) files to ensure a consistency across all CMSIS compliant devices.

Core Peripheral Functions
Provides a system start-up method and functions to access specific processor features and core peripherals. It includes helper functions for printf-style output via the CoreSight™ debug unit and defines a device independent interface for RTOS Kernels along with a debug channel for kernel awareness.

Note: The silicon vendor may provide additional access functions for device specific peripherals.

DSP Algorithms
The CMSIS-DSP library includes vector operations, matrix computing, complex arithmetic, filter functions, control functions, PID controller, Fourier transforms and many other frequently used DSP algorithms.  Most algorithms are available in floating-point and various fixed-point formats and are optimized for the Cortex-M series processors.  The Cortex-M4 processor implementation uses the ARM DSP SIMD (Single Instruction Multiple Data) instruction set and floating-point hardware to fully enable the capabilities of the Cortex-M4 processor for signal processing algorithms.  The optimized CMSIS-DSP library is written entirely in C and is delivered with source code enabling software programmers to adapt algorithms for specific application requirements.   


The CMSIS is available for free download.

CMSIS documentation and maintenance of the software layer will be provided by ARM.


The System View Description (SVD) files provide peripheral information and other device parameters in formalized XML based format.

The SVD file typically matches the information provided by silicon vendors in device reference manuals.

In order to access the following vendor pages, please login above.

ARM CMSIS
Energy Micro
Freescale Semiconductor
Nuvoton
Silicon Laboratories, Inc.
STMicroelectronics

The CMSIS has been developed in close partnership with several key silicon and software vendors. This collaboration, together with feedback from previous solutions, has resulted in an easy-to-use and easy-to-learn programming interface for Cortex processor-based devices. Current CMSIS Partners include:

Silicon Vendors:

        Energy Micro Freescale           NXP   STMicroelectronics Texas Instruments Toshiba

Tools Vendors:

Code Red        Hitex   IAR   Keil    Micrium   Segger

          


Maximise