195 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
84
views
IoT Nano 33 Timer Issues
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 ...
0
votes
0
answers
51
views
Can I call CMSIS-RTOS2 osEventFlagsWait from 2 threads?
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 ...
0
votes
2
answers
95
views
CMSIS RTOS2 behaviour upon kernel lock
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 ...
-1
votes
1
answer
121
views
MPU 6500 WAKE-ON-MOTION INTERRUPT not working
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 ...
1
vote
0
answers
92
views
__WFI() does not work as it should in STMCube
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 ...
1
vote
1
answer
43
views
STM32F407 TIM PWM mixed offset signals
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 ...
0
votes
0
answers
48
views
Embedded CMSIS pack no longer have bitfields
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 ...
2
votes
0
answers
83
views
How to use Arm CMSIS-NN Softmax function for Embedded ML
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/...
0
votes
1
answer
78
views
Uninitialialized variable warning in cmsis_armcc.h
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)...
0
votes
1
answer
130
views
How to write data to the control registers of the accelerometer LIS3LV02DQ?
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 ...
0
votes
1
answer
173
views
STM32 I2S DMA TxHalfCplt Callback only execute once
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 ...
0
votes
0
answers
78
views
STM32CubeMX xTaskCreate() not scheduling on STM32F030
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 ...
1
vote
1
answer
83
views
Why does eTaskConfirmSleepModeStatus not return eNoTasksWaitingTimeout?
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 )
{
/* ...
0
votes
0
answers
282
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 ...
1
vote
4
answers
128
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, ...