Skip to main content
Visitor II
May 18, 2020
Question

Problem with Rtos and Rtos API

  • May 18, 2020
  • 3 replies
  • 889 views

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.

    This topic has been closed for replies.

    3 replies

    Luca1Author
    Visitor II
    May 19, 2020

    Can nobody help me?

    Luca1Author
    Visitor II
    May 20, 2020

    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?

    Visitor II
    May 21, 2020

    "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