Questions tagged [cmsis]
CMSIS is a vendor-independent hardware abstraction layer for the Cortex-M processor series.
cmsis
194
questions
0
votes
0
answers
21
views
Problems compiling CMSIS-RTOS library in ARM A7 firmware
I'm writing a firmware for STM32MP135 A7 ARM micro.
I'd like to include CMSIS-RTOS2 libraries and compile a simple basic program (to blink 2 LEDS in 2 different threads) by gcc cross toolchain and ...
0
votes
0
answers
4
views
cmsis_os and static memory management
I'm integrating cmsis_os2 in my stm32 project. I'd like to manage memory in a static way, without dynamic allocation. Do you have any tips about it or some examples? thank you a lot.
0
votes
0
answers
14
views
CMSIS-RTOS osThreadResume will unblock osThreadFlagsWait regardless of condition
Suppose I have a thread here
void StartSensorTask(void *argument)
{
/* USER CODE BEGIN StartSensorTask */
/* Infinite loop */
for(;;)
{
osThreadFlagsWait(0x01, osFlagsWaitAny, ...
0
votes
0
answers
35
views
Ho to use CMSIS-Core (Cortex-M) for TM4C123GH6PM and TM4C129ENCPDT in Code Composer Studio
I'm trying to write drivers for TM4C129ENCPDT and TM4C123GH6PM in Code Composer Studio(Linux). I prefer to use CMSIS and not Tivaware. I'm unable to get the CMSIS-Core Device Files (provided by ...
0
votes
0
answers
66
views
LSM6DS3 SPI-communication problem with STM32F4
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 ...
0
votes
0
answers
52
views
no such instruction: `isb 0xF', number of operands mismatch for `ds', no such instruction: `cpsie i'
I'm encountering compiler errors while attempting to conduct unit tests on a C codebase using VectorCast. Specifically, the errors pertain to unrecognized instructions such as dmb, isb, and cpsie i.
\...
1
vote
4
answers
73
views
C How to hold off a thread while stepper motor is running
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, ...
0
votes
0
answers
69
views
Is there any way to get LF/HF ratio using CMSIS DSP Library APIs?
In a c/c++ project, I have been able to run fft, ifft, cfft on given signal using CMSIS DSP APIs. However, I need to extract LF/HF ratio from the signal. In Python there are APIs to measure it using ...
1
vote
1
answer
75
views
scipy butterworth filter to arm cmsis
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 ...
0
votes
1
answer
169
views
Using CMSIS with baremetal ARM cortex-M0 on Texas Instruments
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 ...
0
votes
0
answers
58
views
Problem with STM32F407VET6 ADC via CMSIS. The ADC returns zero values
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 ...
1
vote
1
answer
369
views
How to get CMSIS 6.0 + DSP running in CubeIDE?
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 ...
1
vote
1
answer
125
views
Configuring the STM32F407VET6 ADC using CMSIS
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 ...
0
votes
0
answers
56
views
Matrix convolutional multiplication with CMSIS-DSP
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.
...
0
votes
0
answers
49
views
CMSIS-DSP: Getting multiple definition of `sinTable_f32'
I am trying to compile part of the CMSIS-DSP and want to use the function arm_sin_cos_f32 in file ControllerFunctions/arm_sin_cos_f32.c
Additionally the folder CommonTables is inclued. All others are ...