• 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…

    • 1 month ago
    • Software Tools
    • Keil 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…

    • 1 month 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
    • 1 month ago
    • Software Tools
    • Arm Compilers 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…

    • 2 months 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…

    • 2 months 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…

    • 3 months ago
    • Software Tools
    • Keil 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…

    • 4 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,…

    • 5 months ago
    • Software Tools
    • Keil 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…

    • 6 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…

    • 6 months ago
    • Software Tools
    • Keil 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…

    • 8 months ago
    • Software Tools
    • Keil 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…

    • 9 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
    • 9 months ago
    • Software Tools
    • Keil forum
  • Setting clock stm32f407 discovery

    Mkarpliuk
    Mkarpliuk

    Hello. I’m using stm32f407VG discovery and Keil uvision 5 and I can’t find an indtruction how to set clock properly. I wanna use internal 16 MHz SYSCLK for communication throughout virtual COM port. Here is a code I have found in a book, but it doesn…

    • 9 months ago
    • Software Tools
    • Keil forum
  • How to use the Arm Cortex-M55 Processor with the open-source CMSIS library

    Jason Andrews
    Jason Andrews

    Arm recently announced the Cortex-M55 processor, the first to feature Arm Helium technology, also known as the M-Profile Vector Extensions (MVE), introduced with the Armv8.1-M architecture. The vector extensions enable increased DSP and machine learning (ML…

    • 9 months ago
    • Software Tools
    • Tools, Software and IDEs blog
  • FFT Computation using CMSIS DSP library

    ravikandury
    ravikandury

    I have a code that computes FFT using fftpack functions npy_rffti and npy_rfftf . I want to replace them using arm library functions. I have a real signal. I wrote the below code.

    arm_rfft_fast_instance_f32 rfft_instance;
    
    arm_rfft_fast_init_f32…

    • 11 months ago
    • Software Tools
    • Keil forum
  • [BUG] CMSIS I2C Driver for STM32F4xx (v2.9)

    Eugene Sinkevich
    Eugene Sinkevich

    Hello,

    Memory overflow occurs when receiving 2 bytes using the driver.  Works fine for 1 byte.

    Here is a code to simulate the problem:

    ARM_DRIVER_I2C *I2Cdrv = &Driver_I2C1;
    uint8_t buf[2];
    uint32_t n;
    
    I2Cdrv->MasterReceive(0x55, buf, 2, false);…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • CMSIS DSP Libraries integration

    Aditi Mishra
    Aditi Mishra

    Hello,

    I am using TI Hercules Evaluation Board TMS570LS0714 which is ARM Cortex R. For this processor TI provides pre-compiled libraries, available at http://www.ti.com/tool/HERCULES-DSPLIB .I am able to add these libraries to my project in code composer…

    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • Using CMSIS with Arm Compiler 6, without an IDE

    Salman Arif
    Salman Arif

    What is CMSIS?

    The Cortex Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for microcontrollers that are based on Arm Cortex processors. It defines generic tool interfaces and enables consistent device…

    • over 1 year ago
    • Software Tools
    • Tools, Software and IDEs blog
  • CMSIS driver callbacks don't support user data

    tterho
    tterho

    I'm trying to write an object-based solution on top of the CMSIS Driver_I2C which would allow simultaneous handling of multiple I2C interfaces connected to devices of certain type. Things got complicated because the event callbacks of the CMSIS driver…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • New CMSIS WiFi Interface

    Giacomo Debug
    Giacomo Debug

    Hi,

    I have seen that a WIFI Interface has been added to the CMSIS standard.

    I expected it to be usable as a backend for the Middleware TCP/IP stack, but it seams not.

    Is Keil planning to upgrade the TCP/IP stack to make it fully functional with this new…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • CMSIS DSP handle large matrices

    mamessaoud
    mamessaoud

    Hello I'm using a cortex-m3 low power MCU to remove baseline from a signal acquired through a sensor, 256 float32_t samples

    for that I'm trying to implement the Asymmetric Least Squares Baseline Subtraction algorithm and subtract the baseline from…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • rfft_fast_f32 Not Producing Expected Output

    superkittens
    superkittens

    I have been trying to use the RFFT functions in the CMSIS DSP library which has been giving me some confusing outputs.

    From the documentation:

    Looking at the data, we see that we can uniquely represent the FFT using only N/2 complex numbers. These are…

    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • Convert arm_bitreversal2.S file to c code

    Yura Cobain
    Yura Cobain

    Hi,

    I am working on porting FFT functionality from CMSIS DSP library to another architecture.
    Unfortunate I faced with problem that arm_bitreversal_32 function is implemented in assembler.

    Does any body tried to convert it to C code?

    • Answered
    • over 5 years ago
    • Software Tools
    • Keil forum
  • Why the CMSIS DSP Matrix Multiplication outputs 0 after few iterations?

    Shreyas007
    Shreyas007

    Hi.

    I am using the CMSIS DSP library for multiplying two matrices on the keil mcb 1800 board using MCU Xpresso IDE. I am using the external SDRAM of 16 MB for storing the result.

    Matrix "xmat" is 1604*8 and omega_transpose is of size 8*100.....Thus the…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel
>