Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Not obvious that xEventGroupSetBitsFromISR can be delayed if timer task runs late

Posted by hawk777 on November 16, 2014

xEventGroupSetBitsFromISR doesn’t actually set the bits in the event group directly but defers to the timer task. This is extraordinarily confusing if the ISR wakes up some other task (by a mechanism other than the event group in question) that has higher priority than the timer task and which then goes off and expects the event group bits to have been set. Might I recommend a note on the xEventGroupSetBitsFromISR documentation page explaining this and highly recommending that the timer task have maximum priority, or at least that tasks should have priority above the timer task only for every specific, well-defined reasons?


Not obvious that xEventGroupSetBitsFromISR can be delayed if timer task runs late

Posted by rtel on November 16, 2014

How about the following: http://www.freertos.org/xEventGroupSetBitsFromISR.html

You may need to refresh the page in your web browser to see the changes.

Regards.


Not obvious that xEventGroupSetBitsFromISR can be delayed if timer task runs late

Posted by hawk777 on November 17, 2014

Looks good to me, thanks!


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner