Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

For a project I have to fulfill the following conditions: Setup interrupts on the ARM Cortex MCU using CMSIS APIs a) Show how to initialise global interrupts on the ARM Cortex for GPIO pins and ...
Daiyan Khan's user avatar
0 votes
0 answers
49 views

Documentation of CMSIS-RTOS2 function osEventFlagsWait does not indicate restrictions relative to sharing the same event object between two threads waiting for different set of flags. Is there a ...
Mekugi's user avatar
  • 71
0 votes
2 answers
85 views

I am working on CMSIS-POSIX port to CMSIS RTOS2, and I am trying to understand how APIs should behave after osKernelLock was called. My guess it is like in ISR and just functions that can be called ...
arye's user avatar
  • 511
-1 votes
1 answer
114 views

Alright so I'm trying to make the MPU 6500 work with interrupt on motion. My issue is that it worked yesterday and today it stopped working. And I'm proper lost as to why. Currently it constantly ...
BIRD's user avatar
  • 1
1 vote
0 answers
88 views

I'm programming in C on STM32f103rbT6. I'm using STM32CubeIDE. For some strange reason, the __WFI function, instead of waiting for an interrupt to occur, automatically calls itself and doesn't wait ...
MieszkoPasierbek's user avatar
1 vote
1 answer
41 views

I'm working on a project on an STM32F407-DISC and I want to output the attached signal via PWM, I would like to offload as much of this from the processor as possible while keeping the timing of these ...
Jack M.'s user avatar
  • 11
0 votes
0 answers
48 views

I have noticed that the CMSIS packs for no longer include bitfields for the peripheral. https://www.keil.arm.com/packs/ It appears that version 2 had bitfields and then version 3 does not. What ...
Trampas's user avatar
  • 451
2 votes
0 answers
79 views

I am trying to figure out how to use the CMSIS-NN Softmax function for a 16 bit signed input https://github.com/ARM-software/CMSIS-NN/blob/22080c68d040c98139e6cb1549473e3149735f4d/Source/...
Caesar's user avatar
  • 53
0 votes
1 answer
77 views

When I run a static analysis (codesonar) tool, I get security issues related to an uninitialized variable in the cmsis_armcc.h file for the following code: __STATIC_INLINE uint32_t __get_CONTROL(void)...
Vi007's user avatar
  • 11
0 votes
1 answer
129 views

UPD: added an oscilloscope view I am writing a driver to measure acceleration using the accelerometer LIS3LV02DQ. I use STM32F411 and CMSIS. I connected a four-channel SPI and set it to a frequency of ...
Eugene's user avatar
  • 11
0 votes
1 answer
160 views

I'm using I2S DMA to play some wav files (fixed format and sample rate) using double-buffer technique, and somehow when the transmit starts, TxHalfCplt Callback only called once and then stopped ...
Travis Su's user avatar
  • 709
0 votes
0 answers
76 views

I have used STM32CubeMX to create a FreeRTOS task on the STM32F030 development board using the CMSIS-RTOS v2 interface, but the task I created using xTaskCreate() is not scheduling correctly, and the ...
li junhao's user avatar
1 vote
1 answer
82 views

I use FreeRTOS with tiskless mode enabled. I'm having trouble understanding what's happening in the code: I call this function: eSleepModeStatus eTaskConfirmSleepModeStatus( void ) { /* ...
WITC's user avatar
  • 337
0 votes
0 answers
271 views

I'm having trouble getting data from the LSM6DS3 sensor over 4-wire SPI. The datasheet says 4-wire SPI is the default, so I didn't send anything for the sensor settings, and immediately tried to read ...
Дмитро Мачковський's user avatar
1 vote
4 answers
128 views

I have CMSIS RTOS running on an ARM controller. One thread is used for executing stepper motor movements. The stepper motor moves 2000 steps in one direction and returns to the startpoint. Currently, ...
fried's user avatar
  • 11
1 vote
1 answer
239 views

Witn scipy, I did some experiments with a butterworth filter like this: sos = butter(order, normal_cutoff, btype='low', analog=False, output="sos") I expect sos to be the coefficient of the ...
Julien's user avatar
  • 890
0 votes
1 answer
359 views

I'm trying to integrate CMSIS-Core into a project that uses the MSPMOL-1306-Q1 MCU from Texas Instruments. Most examples seem to be for STM32 Cube MCUs. For instance, this and this. I am facing an ...
Skegg's user avatar
  • 900
0 votes
0 answers
130 views

I am configuring the ADC to sequentially digitize the inputs ADC9, ADC14, ADC15, ADC6, ADC7, ADC8 (pins PF3, PF4, PF5, PF6, PF7, PF8). The controller pins are also configured. I also allow interrupts ...
user23292793's user avatar
3 votes
1 answer
2k views

Until now I always used CMSIS 5.7 plus the DSP library in CubeIDE. Unfortunately this version has no arm_atan2_f32 function, which I need for my actual project. So I tried to update to a newer version ...
Chris_B's user avatar
  • 509
2 votes
1 answer
386 views

I'm trying to configure the ADC of the STM32F407VET6 microcontroller. I use the following code. int main(void) { // GPIOF Clock enable RCC->AHB1ENR |= RCC_AHB1ENR_GPIOFEN; // Analog ...
user23292793's user avatar
0 votes
0 answers
139 views

Can the library CMSIS-DSP do matrix convolutional multiplication? When I looking at the documentation of the library I can see that it only supports regular convolutional vector multiplication. ...
euraad's user avatar
  • 2,887
0 votes
1 answer
343 views

I'm using this code below trying to achieve a intensity transition effect upon turning on a light: void output2ControlTask(void *argument) { /* USER CODE BEGIN output2ControlTask */ uint32_t ...
Travis Su's user avatar
  • 709
0 votes
0 answers
143 views

I am developing STM32 firmware based on FreeRTOS. I am using Nucleo-G491RE board. I am using CMSIS V2 and Queue to handle the data received on UART. The UART fires correctly on receipt of data and ...
fossil's user avatar
  • 770
0 votes
1 answer
129 views

My ARM based app reports > 1,250,000 bytes of program memory, but most of that is .rodata ("Read-only const") and not code. I found this in the .map file: .rodata%268 0x00407318 ...
fearless_fool's user avatar
-1 votes
3 answers
638 views

I wanted to use CMSIS driver APIs instead of HAL provided by stm. when I visited the link CMSIS DRIVER APIs No where I found, the most commonly used drivers like pwm, adc, gpio etc., why is that so, ...
Challa Harikrishna's user avatar
-1 votes
1 answer
271 views

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. ...
王舒心's user avatar
0 votes
1 answer
140 views

I use the following functions from ARM DSP library: void arm_fir_f32(const arm_fir_instance_f32 *S, const float32_t *pSrc, float32_t *pDst, uint32_t blockSize); void arm_biquad_cascade_df2T_f32(const ...
maestro's user avatar
  • 186
0 votes
0 answers
170 views

I have an STM32f103c8 with 8Mhz SystemClock i configured My Systick to make delay every 1 seconde , i have a Button Connected to PA1 (Input Pull up) and Two Leds PB8 and PB9 i want when i press first ...
Tchalago's user avatar
0 votes
1 answer
2k views

I was wondering how HAL drivers are implemented, and more in general how CMSIS is involved in peripheral drivers for ARM based microcontrollers (specifically STM32 microcontrollers, but also Cypress ...
aka.Calamaro's user avatar
0 votes
0 answers
164 views

I'm currently working on a distance sensor with stm32f103cbt6 which transmits data serially using UART. I used HAL_UART_Receive function to receive the data but I cannot see any data on Serial Monitor....
Maip N.'s user avatar
0 votes
0 answers
399 views

I'm trying to send data to my STM32F427 MCU using the MCP2210 as the master in SPI communication. The MCP2210 acts as a HID device that converts USB data from the computer to an SPI signal, acting as ...
Diego Rodrigo's user avatar
0 votes
1 answer
944 views

The software does not stand up when I use any function from the Hal library. It goes into While only once and then does nothing. I reinstalled the project, made all the settings again and got the same ...
Enes's user avatar
  • 1
1 vote
1 answer
3k views

When I try and erase the flash memory on my STM32L451 using HAL, the erase operation fails and the when I get the flash error it returns HAL_FLASH_ERROR_PGS. This is a programming sequence error. I'm ...
bluscape's user avatar
  • 373
1 vote
1 answer
623 views

I have used three channels 6,7,8 to read data of 100 samples each. Hence I cannot use sequence continuous mode to read data. I have to switch the channel after reading 100 samples of one channel. For ...
vishnu m c's user avatar
1 vote
1 answer
207 views

I have a project where I need to read in some UART data (in this case, multiple six-byte packets), do some (very minor) processing, then transmit it out on a different UART. I'm having an issue with ...
nobby's user avatar
  • 465
1 vote
1 answer
4k views

my IT is called after receiving 8 bytes: HAL_UART_Receive_IT(&huart2, buffer1, 8); where buffer1 has length 8. in my callback function I copy the 8 bytes to a seperate buffer2 and empty buffer1 &...
Patrick Daly's user avatar
0 votes
0 answers
368 views

I want to build a simple project by programming nucleo f103rb board (just blink led for the moment). I want to use CMSIS library to run my code. ( yes I know there is platform io and Kiel IDEs that ...
lucas mure's user avatar
2 votes
1 answer
765 views

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, ...
IGtti's user avatar
  • 59
0 votes
1 answer
93 views

I use the CMSIS-DSP library to calculate the Fourier transform, but when I want to calculate the magnitude, I run into a problem. This affects other data (a struct variables )and makes them 0 in the ...
Ho3ein H K's user avatar
0 votes
0 answers
418 views

i am writing a code using STM32CubeMx generated code with CMSIS-OSV2/FreeRTOS. I am sending a structure with Queues between tasks. In some point i am having a Hard Fault. enter image description here ...
Ignacio Islas's user avatar
1 vote
0 answers
118 views

Hi im new to embedded system, I am using IAR compiler to work with ST MCUS(stm32f103c8t6) And I want to use CMSIS DSP library which is a large library. and I just have a mcu with 20KB RAM & 64KB ...
Ho3ein H K's user avatar
1 vote
1 answer
37 views

I have a cascade of 4 8x8 matrices working via max7219. I use stm32 f103 for send commands to the cascade. For some reason when I send CommandN, CommandN-1 performs. Here's my code int main(void) { ...
amplifier's user avatar
  • 1,843
-1 votes
2 answers
575 views

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 ...
Amin Mollaei's user avatar
0 votes
0 answers
176 views

I am running an application which reads ADC data through DMA at a frequency of 12kHz and transfers the captured data in a queue as soon as I get an interrupt. Following is the configuration STM32L496 ...
Android_dev's user avatar
2 votes
0 answers
213 views

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. ...
user19402326's user avatar
0 votes
0 answers
123 views

in our Computer Science class, we are learning to use the STEM32 - Nucleo-L controller, to code assembler. I'm a bit further than the rest of the class, so my teacher tasked me to experiment with the &...
Alex Biedermann's user avatar
-1 votes
1 answer
183 views

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 ...
LimetaPeta's user avatar
1 vote
2 answers
1k views

I am using ADC with DMA that captures analog vlaues and generates a callback when transfer is complete. I then, will be transfering the data to a thread to process the data as processing takes some ...
Android_dev's user avatar
0 votes
1 answer
564 views

I am wondering, is it possible to add CMSIS and HAL libraries at the same project in KEIL... based on my knowledge I added CMSIS libraries in different folder but in compiling I got these errors... ...
niloofar's user avatar
0 votes
1 answer
1k views

I realize a CMSIS Project solution with VS Code but I've an error on an include file : #include "stm32f10x.h" And I've got this error : In included file: "Compiler generates FPU ...
Osika91's user avatar