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…
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…
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.
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…
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…
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…
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…
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,…
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…
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…
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…
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…
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…

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…
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…
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…
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);…
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…
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…
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…
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…
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…
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…
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?
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…
I'm excited to announce that Arm has just released the latest Arm Development Studio update. Compared to the previous version, this 2019.0-1 (and 2019.a-1 Platinum Edition) update has implemented some important bug fixes and other general performance…