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
3
votes
1 answer

STM32F427's USART1 sometimes sets 8th data bit as if it would be parity bit

I'm working with STM32F427 UASRT1 via the following class: void DebugUartOperator::Init() { // for USART1 and USART6 ::RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1, ENABLE); // USART1 via PORTA …
Victor Che
  • 75
  • 7
2
votes
1 answer

STM32 entering in STOP mode with FreeRTOS

I am trying to enter in STOP mode and wakeup using the RTC Alarm. It works fine when testing the code before starting the FreeRTOS Kernel. After starting the FreeRTOS Kernel the wakeup does not work, the system continues in STOP mode. I believe the…
IGtti
  • 49
  • 6
2
votes
0 answers

CMSIS DSP library for ARM and MATLAB gives two different results of FFT

I am working on a project where I have to compute FFT of a signal. Same signal is fed through both MATLAB and STM32 controller and results are compared. Results seems to be different from each other. I don't know what I am doing wrong. The STM32…
2
votes
1 answer

How to compile CMSIS DSP library for a bare metal project?

I'm working on a bare-metal project on the STM32F4Discovery Board and I'm trying to integrate the CMSIS DSP library. I've downloaded the pre-compiled library and include files for the Cortex M4 processor from this Github Repository. I also…
Gio
  • 61
  • 1
  • 6
2
votes
0 answers

Eigen matrix template library over ARM CMSIS-DSP?

I need to do a bunch of matrix operations on an MCU (ARM Cortex M). ARM provides a set of basic matrix operations in CMSIS-DSP, in varieties optimized for instruction sets available on different MCUs, but not including some of the advanced…
Dave Nadler
  • 316
  • 4
  • 15
2
votes
1 answer

STM32 FreeRTOS give binary semaphore from ISR not working

I've generated a RTOS-cmsis_v1 project for stm32f103 using stm32cubemx and defined four tasks as below: osThreadDef(defaultTask, StartDefaultTask, osPriorityLow, 0, 128); defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL); /*…
mehdi
  • 167
  • 11
2
votes
0 answers

How to turn all gpio pins into analog mode. Stm32

I am currently working on a project, with stm32l0 and cmsis library, which I need to make it as low power as I can. So I noticed that if we use a mode of low power for example stop mode, we can reduce the power more by making all gpio pins into…
gregni
  • 417
  • 3
  • 12
2
votes
1 answer

STM32F10x Flash size mismatch

I have a bunch of Blue Pill boards I'm re-animating (ye olde chippe shortage, y'know). Attacking them with stm32flash reports a flash size of 128 kBytes. On the other hand, 0x1FFFF7E0 contains 0x40, indicating 64 kBytes of flash as per ST's RM0008…
Matthias Urlichs
  • 2,301
  • 19
  • 29
2
votes
1 answer

Channel first and channel last in convolution

I saw there are two types of data: channel first and last in the world of convolutional networks. According to many websites, "channel-first" refers to NCHW format, while "channel-last" is equivalent to NHWC format. This is clear because in channel…
MAMO
  • 21
  • 2
2
votes
1 answer

Is it possible to configure TFLite to return a model with bias quantized to int8?

I'm working with Keras/Tensorflow to develop an ANN that will be deployed to a low-end MCU. For this purpose, I have quantized the original ANN using the post-training quantization mechanism offered by Tensorflow Lite. If the weights are indeed…
2
votes
1 answer

CMSIS-Driver peripherals

I was wandering, why there are no implementations of the devices written in CMSIS-Driver? I mean that I have few peripherals: LCD, temperature and pressure sensor, current meter etc. - all of them very popular used in arduino and learning sets. …
2
votes
1 answer

Control AMIS-30543 with STM32F030R8 via SPI

I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm…
GollumInATuxedo
  • 153
  • 1
  • 1
  • 10
2
votes
1 answer

UART Communication Between STM32F03 and ESP-8266-01

I'm attempting to get a smartphone app to communicate with an MCU (STM32F030R8). The step I'm currently on is getting the WiFi module to talk with the MCU. I'm able use the AT firmware to configure the ESP when using an Arduino Uno/PC terminal, but…
GollumInATuxedo
  • 153
  • 1
  • 1
  • 10
2
votes
3 answers

What is the best way to block all threads except one?

I am working on a project where I need to block all threads when a certain thread starts execution. I have considered using thread flags, but I believe this would involve adding checks to all the threads. I have also considered using a mutex to…
wolly981
  • 29
  • 8
2
votes
1 answer

How to include the CMSIS-DSP headers in Atollic TrueStudio

I am trying to implement the use of DSP in the STM32 F411RE board, but I cannot seem to include the necessary files without invoking numerous errors. Background I have previously had CMSIS and CMSIS-DSP working in Keil uVision, but given the code…
Nanne118
  • 125
  • 1
  • 13
1
2
3
12 13