Quality RTOS & Embedded Software

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


How fast context switching on STR912 could be

Posted by Slavec on September 5, 2007

I measured time for context switching on logic state analizer and I get 10us. Please tell me whether it isn't too long for this microcontroller? I need high frequency tick to "very real-time" application, so when I set up TICK_RATE_HZ too high, time for my tasks is very short. I thought that machine like STR912 should switch context much faster. It is possible to decrease time for context switch?


RE: How fast context switching on STR912 could be

Posted by sotd on September 5, 2007
If you have a high precision timing requirement then you can use the FIQ interrupt so the FreeRTOS does not have an effect on your timing. You cannot call API function from that though. Keep in mind that the flash interface makes the original STR9 slower than some ARM7 devices. I think some better versions are out now.

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

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

Latest News

Version 10.1.0 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.


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


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