cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Rtos and Rtos API

Luca1
Senior

Hi to all!

I have a problem using the osEventFlagsSet() API. Based on documentation i can call this function from an ISR, but if i call this function in the ISR body the flag isn't set. It's my problem or i can't call this function from the ISR?

The second problem that i have is that the STLINK led that is on the cuttable board, doesn't blink between the green and red when I debug an RTOS application. The led remain fixed with the green and red, but the light is weak, is not bright. However the debug session work normally. This appens only if I debug an Rtos application. If I use a non Rtos based application, when i enter in the debug, the led blinky bright between the green and red. This is normal?

Ps

I use a NUCLEO-F767ZI board and STM32CubeIDE.

3 REPLIES 3
Luca1
Senior

Can nobody help me?

Luca1
Senior

In the STM32 enviroments, there is something that work as expected?

I create a Rtos timer using STM32CubeIDE device configuration tool, and the timer callback is never called..

This is the second problem that i have using Rtos implementation of STM32 CMSIS v2.

Is this the official STM32 forum? Can i have some official support please?

kurta999
Senior

"In the STM32 enviroments, there is something that work as expected?" Depends on the thing :D

Try to use the original RTOS call without CMSIS.

https://www.freertos.org/xEventGroupSetBitsFromISR.html