Quality RTOS & Embedded Software

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




Loading

About configMAX_SYSCALL_INTERRUPT_PRIORITY and xQueueSendFromISR

Posted by joe_her on January 26, 2016

I have a STM32F4 UART interrupt which sends a queue msg as soon as data is ready. When UART interrupt priority was 0, I had assertion fail. The text describes the failure (thanks for the comment near the assertion, very helpful) , and changing the priority to 15 ( was 0) solves the problem. However I am not sure I fully understand what I did. The configMAXSYSCALLINTERRUPT_PRIORITY equals 0x50 ( which I don't get as the interrupt priority can be 0 - 15). Why when the UART priority is 0 (highest) it does not work? What should be the correct value of the UART interrupt priority for safe operation?

Thanks Johanan


About configMAX_SYSCALL_INTERRUPT_PRIORITY and xQueueSendFromISR

Posted by davedoors on January 26, 2016

did you see this page already http://www.freertos.org/RTOS-Cortex-M3-M4.html ?


About configMAX_SYSCALL_INTERRUPT_PRIORITY and xQueueSendFromISR

Posted by joe_her on January 26, 2016

Now I did :-) Thanks


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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