Questions tagged [cmsis]

CMSIS is a vendor-independent hardware abstraction layer for the Cortex-M processor series.

The ARM Cortex Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex-M processor series with the following components:

  • CMSIS-CORE: API for the processor core, peripherals and the instruction intrinsics.
  • CMSIS-Driver: Standard API for Ethernet, I2C, MCI, NAND Flash, NOR Flash, SPI, USART, USB etc.
  • CMSIS-DSP: SIMD optimized DSP Library for fix-point (q7, q15, q31) and single precision floating-point (32-bit) data types.
  • CMSIS-RTOS: Common API for Real-Time operating systems.
  • CMSIS-Pack: XML based package description of the user and device relevant parts of a file collection that includes source, header, and library files, documentation, Flash programming algorithms, source code templates, and example projects.
  • CMSIS-SVD: XML based description of the peripherals for debuggers.
  • CMSIS-DAP: A USB to Debug Access Port protocol and reference firmware implementation. Can be used by pyOCD.
183 questions
0
votes
2 answers

why CMSIS does not offer a functo to read an IRQ enable/disable status?

functions NVIC_EnableIRQ and NVIC_DisableIRQ are meant to enable and disable interrupts on a given IRQ number. Why there is no function to get the current enable/disable status of that IRQ? The use case is the typical function that needs to disable…
0
votes
3 answers

Fixed time for executing a task on the KEIL RTX RTOS

I am using KEIL RTX RTOS which used pre-emptive round robin scheduler.I have a LCD for displaying data and a few tasks have access to this LCD(there are some other tasks also),These tasks need fixed time for handling the LCD(e.g. first task handle…
0
votes
1 answer

CMSIS UART driver for Tiva launchpad

I'm trying to make the CMSIS UART driver example work on my Tiva launchpad: https://www.keil.com/pack/doc/CMSIS/Driver/html/group__usart__interface__gr.html My code is the following: #include "Driver_USART.h" #include /*…
Botond
  • 2,640
  • 6
  • 28
  • 44
0
votes
1 answer

CMSIS for NXP LPC1769

I downloaded the CMSIS version 3 and I have had some problems to use it. The main problem is in startup_device.s. I have no idea how to fulfill this file correctly and I couldn't find any good documentation. Has anyone tried to use this cmsis…
Leandro Lima
  • 1,140
  • 3
  • 24
  • 42
-1
votes
1 answer

Why does cmsis-nn determine “#if defined(ARM_MATH_DSP) && !defined(ARM_MATH_MVEI)”

I'm compiling the cmsis-nn library, and in that library there are some functions which determine "#if defined(ARM_MATH_DSP) && !defined(ARM_MATH_MVEI)". For example arm_relu_q15.c. He looks like: if the judgment is successful then use the…
-1
votes
0 answers

STM32F303RET6 USART config

I'm new with stm32 microcontrollers, I decided to start with STM32F303RET6 nucleoboard. I'm trying to set up the simplest usart transmission using CMSIS, but for some reason, I cannot see anything in Putty terminal. There are no problems with it if…
-1
votes
2 answers

How can I use hardware timer with cmsis-rtos2?

I know very well how to setup timer with hal API in stm32cubemx but I'm new to keil-rtx. Unfortunately STM32CubeMX does not support CMSIS-RTOS2. My question is I wanna have a timer with less than 1 ms interval. I want to know how to use hardware…
-1
votes
1 answer

STM32 SPDIFRX Peripheral problem (interupts not firing)

I am trying to make myself Digital audio to Analog audio converter I have STM32F769i Discovery0: https://www.st.com/en/evaluation-tools/32f769idiscovery.html Which has SPDIFRX and SPDIFTX ports I found a fearly good starting point here:…
LimetaPeta
  • 67
  • 5
-1
votes
2 answers

Platform configuration lost between _start and main

I am using https://github.com/ARM-software/CMSIS_5/blob/develop/Device/ARM/ARMCM33/Source/startup_ARMCM33.c file with following modifications: _NO_RETURN void Reset_Handler(void) { __set_MSPLIM((uint32_t)(&__STACK_LIMIT)); SystemInit(); …
Nee
  • 159
  • 10
-1
votes
2 answers

STM32F407 Disc E31 Error message in debugging

I will ask a question about my STM32F407 Discovery board. I want to learn about external interrupts and I was making a small circuit. I connected PH0 to my button and PH1 to the LED. But these pins are connected to the mcu's crystal pins. But I…
RasimGök
  • 1
  • 2
  • 7
-1
votes
1 answer

xSemaphoreGive() gets stuck when used by different threads

I am working on STM32F756ZG with FreeRTOS. I have one network thread that is made using osThreadDef() which is a part of the CMSIS-RTOS API. I also have other tasks running that are created using xTaskCreate() which is a part of the freeRTOS API. I…
Neharika
  • 21
  • 4
-1
votes
1 answer

Compilation of CMSIS-DSP application, .a library not recognized

I am using GNU MCU ECLIPSE and the ARM toolchain to target CortexM MCUs, and I want to use functions from CMSIS DSP library. I have downloaded the library from the repository from https://github.com/ARM-software/CMSIS_5, added to the compiler…
Antonino
  • 9
  • 3
-1
votes
1 answer

Keil microVision "Cannot download file ... Cannot write destination file"

Trying to download the ARM::CMSIS-RTOS pack my mouse is hovering over and I get the errors in red at the bottom ("Cannot download file http://www.keil.com/pack/ARM.CMSIS-RTOS_Validation.1.1.0.pack: Cannot write destination file"). The project is…
-1
votes
1 answer

CMSIS - Peripheral Definitions - Structs With Unions Syntax?

I've moving over from 8 bit bare-metal registers, and having to learn some new C Kungfu to wrap my head around the CMSIS Core approach. I have a snippet of code here from a Peripheral Access Layer from a ARM Cortex M vendor. They create this…
Leroy105
  • 139
  • 5
-1
votes
1 answer

Discussion: CMSIS VS Hardware Abstraction Layer by method of Texas Instruments

I have used TI TMS320 MCUs for years. TI provides header and source files for accessing hardware. TI Implements a hardware abstraction layer to do that as you probably know. ARM micro-controllers come with CMSIS, an standard for hardware abstraction…
Rasool
  • 3
  • 3
1 2 3
12
13