• arm_mat_inverse_f32 producing incorrect singularities

    patrickrossiter
    patrickrossiter

    Hi there,

    I am trying to invert a matrix using arm_mat_inverse_f32(). I am getting correct results for some martices, but in the code below status3 = ARM_MATH_SINGULAR. status1 and 2 = ARM_MATH_SUCCESS.

    Any ideas what is wrong here? Note that det(m3) = -921600…

    • 4 days ago
    • Software Tools
    • Keil forum
  • How to transfer and read weights, biases and activation functions from trained tensorflow model to nucleo-f446re or any microcontroller in keil

    PrashanthPoobalan
    PrashanthPoobalan

    Hi Arm Community 

    I was wondering is there an efficient/any way to transfer the data(weights & biases & architectural info) or read the hdf5 file  in CMSIS api from a tensorflow model (saved in hdf5) into a nucleo-f446re microcontroller unit programed…

    • 11 days ago
    • Processors
    • Cortex-M / M-Profile forum
  • CMSIS-NN: arm_reshape_s8 functionality

    miguelcosta94
    miguelcosta94

    Hi,

    I am building a CNN where I want to reshape the output vector of a convolutional layer. For this task, the online documentation of CMSIS-NN suggests the "arm_reshape_s8" function. However, this function seems to be missing an argument where…

    • 14 days ago
    • Software Tools
    • Keil forum
  • What is the advantage of uint8_t over char or bool?

    coldspark
    coldspark

    I have to migrate some C++ functions into a µVision project and usually you use uint8_t instead of char and bool. Is there any downside to using bool? I mean including the bool.h will not make the code significantly larger.

    • Answered
    • 26 days ago
    • Software Tools
    • Arm Compilers forum
  • CMSIS5: Matrix assignment doesn't work in my code. How to debug?

    Guglie
    Guglie

    Matrix assignment doesn't work in my code, seems a very strange bug, probably in my code, but how can I debug?

    I tested with CMSIS 5.6 and 5.7

    arm_matrix_instance_f32 Hm;
    static float H[3] = {0}; 
    arm_mat_init_f32(&Hm, 1, 3, (float *)H);
    …
    • 1 month ago
    • Processors
    • Cortex-M / M-Profile forum
  • CMSIS-RTOS API v2 Multiple Event Flag Problem

    yldzmuhammed
    yldzmuhammed

    Hello everyone,

    I am developing an app on Stm32f429 which is irrelevand with my question. My question is about event flags. I have 3 threads. One of them is FreeMODBUS Slave poller task. It waits for an event which timer or uart posts. And my other task…

    • 1 month ago
    • Software Tools
    • Keil forum
  • Using CMSIS Packs with STM32CubeMX and IAR Embedded Workbench

    Marius Schmitt
    Marius Schmitt

    For better portability i'm trying to use the CMSIS-Driver Interface to access Microcontroller Peripherals.

    As a starting point, i tried setting up an application with a simple goal: Transmit a byte using the USART Peripheral via CMSIS-Driver interface…

    • 1 month ago
    • Software Tools
    • Keil forum
  • Are you expected to manually set registers in Keil µVision?

    coldspark
    coldspark

    In the university we had to programm all registers manually. You were only given the header file for the device with all of the registers. From what I have understood Keil acts like an interface to set registers via the CMSIS files. Still some registers…

    • 2 months ago
    • Software Tools
    • Keil forum
  • Where are the DSP prebuild libraries?

    eMKa
    eMKa

    I'm trying to learn a little about DSP in stm32 microcontrollers.

    I follow the instructions on the official site:

    arm-software.github.io/.../index.html

    And i downloaded the CMSIS package from github:

    github.com/.../CMSIS_5


    CMSIS Package manual tells that…

    • 2 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Constructing an arbitrary-frequency NCO/DDS waveform generator with CMSIS-DSP

    Steven Kruyswijk
    Steven Kruyswijk

    Hi all,

    I've been looking into this challenge for a couple of days, I figured now would be a good time for me to ask some questions on a forum like this. I have done some C++ programming in the past; I'm slowly getting back into the mindset and vernacular…

    • 3 months ago
    • Software Tools
    • Keil forum
  • IP4 address changing problem(netIF_SetOption )

    John.Jin
    John.Jin

    Hello,

    I am following this (https://www.keil.com/pack/doc/mw/Network/html/network_create_app.html#Runtime%20Configuration) tutorial about the Network library with CMSIS. I could change the Mac address via " netIF_SetOption (NET_IF_CLASS_ETH | 0,…

    • 4 months ago
    • Software Tools
    • Keil forum
  • Fluent.ai efficient multilingual speech recognition and understanding on Arm Cortex MCUs

    Mary Bennion
    Mary Bennion

    ***All content in this blog written by Vikrant Tomar, Sam Myer and Kirsten Joe of Fluent.ai***

    The rise of deep learning and related Artificial Intelligence (AI) technologies in recent years has fueled a proliferation of voice user interfaces in devices…

    • 4 months ago
    • Processors
    • Machine Learning IP blog
  • How to speed up DSP processing using Cortex-M0+

    Ponsuke606
    Ponsuke606

    My product is using M0+ core of MCU. And it has FFT and FIR process using CMSIS-DSP. 

    But I faced an issue for performance of these process. It cannot finish doing process within some period of system.

    Is there any ideas or ways to improve performance…

    • Answered
    • 4 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • I don't know how to configure the clock and the GPIO with CMSIS for cortex-M3

    vra
    vra

    Hi all, I'm new and I'm doing a project to manage some ports in digital and ADC way but let me start for the basics.

    I have the cortex-M3 stm32f103c6 microcontroller and I'm trying to create a project using CMSIS, CMSIS has a function to initialize…

    • 5 months ago
    • Software Tools
    • Keil forum
  • Newbie needs help on which libs to use with a stm32f103c6 microcontroller

    vra
    vra

    Hi all, how are you?, Im very new with ARM microcontrollers and I've been doing a lite lecture of about 4 books to know how to configure this devices to start programming it, first I did a reading an how to use mbed but I think that I need to do some…

    • 5 months ago
    • Software Tools
    • Keil forum
  • Unexpected MPU fault

    Twoism
    Twoism

    Hello,
    I'm facing an unexpected issue while configuring the MPU on a Cortex-M7 (STM32H7). Basically, after setting the MPU in privileged thread mode, the execution continues up to when I switch to unprivileged thread mode writing into the CONTROL register…

    • 6 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • SPI1 CMSIS STM32F407VG

    Mkarpliuk
    Mkarpliuk

    Hello. Hope it's the right forum to ask such questions. I'm a newbie, using stm32f407VG discovery board, trying to configure SPI1, but it seems it doesn't work. I'm trying to make the nrf24l01 work and the module itself seems to be ok because it works…

    • 7 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Program does not run with optimization disabled, except if debugging

    Enzo Redivo
    Enzo Redivo

    Hello.

    I've been having issues with a program of mine that works perfectly fine while running with optimizations enabled but if I disable it, it doesn't seem to get to main, the only exception being running in debug mode.  I have set up the pins…

    • 7 months ago
    • Software Tools
    • Keil forum
  • Which CMSIS-DSP parts are used by CMSIS-NN

    trembel
    trembel

    Which parts of CMSIS-DSP are used for CMSIS-NN? I'm asking because I want to disable as much options as possible of the CMSIS-DSP.

    • 7 months ago
    • Open Source Software and Platforms
    • Machine Learning forum
  • CMSIS-DSP on ARMv8-m

    trembel
    trembel

    Hi,

    I'm reading through the sources of CMSIS-DSP and came across the following question:

    The define of  "ARM_MATH_DSP" is only set if the target architecture is "ARM_ARCH_7EM". Does this mean, that all functions defined for ARM_MATH_DSP are not used…

    • Answered
    • 7 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Apply Butterworth low pass filter on EMG signal using CMSIS

    Anu123
    Anu123

    I am finding difficulty in applying the Butterworth Low pass filter on EMG signals using the Tiva C series board (tm4c123gh6pm) using the CMSIS library. Please suggested to me.

    • 8 months ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • How to determine CMSIS version?

    brianPTL
    brianPTL

    I have a project with CMSIS already integrated - I would like to find which version of CMSIS - how do I do that?

    I thought perhaps the file: https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/Core/Include/cmsis_version.h

    However, the tagged…

    • 8 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • KL25Z Not Executing SysTick_Handler

    masshakar
    masshakar

    I am new to embedded software development but I have chosen to begin learning through the KL25Z board.  At the moment, I am exploring the use of SysTick interrupts, but after debugging and reducing my code, I see that it never enters the SysTick ISR.  I…

    • 8 months ago
    • Software Tools
    • Keil forum
  • CMSIS DSP DCT Type IV or II

    yoran
    yoran

    I'm trying to use the CMSIS DSP library to compute a DCT, however I don't understand how it works.

    Namely what I don't understand is the pointer to the state buffer. What is this state buffer? It's an input parameter, what should be in that buffer…

    • Answered
    • 8 months ago
    • Software Tools
    • Keil forum
  • Cortex M4 and ARM FIR Q15 Hardfault

    KoRba
    KoRba

    Hi

    I have tried to test CMSIS DSP FIR library in my STM32G474. Unfortunately after writing a simple test code, where i have prepared input signal and fir coefficients (by Matlab, verified) processor after executing arm_fir_q15 instruction goes to the…

    • Answered
    • 8 months ago
    • Processors
    • Cortex-M / M-Profile forum
>