Quality RTOS & Embedded Software

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




Loading

How to configure the 1 us task switching time in FreeRTOS? Is it possible?

Posted by naveenkumarbece on March 18, 2016

i have created two rtos task which will read data from USB. In this case, the RTOS task is polling every 7 ms, Hwo can i reduce this to get the data in micro seconds?


How to configure the 1 us task switching time in FreeRTOS? Is it possible?

Posted by rtel on March 18, 2016

Can you please be more specific as to what your question is as the subject line and content of your post don't seem to match. Are you wanting to switch between tasks at 1us (which is highly undesirable, if even possible), or poll something?


How to configure the 1 us task switching time in FreeRTOS? Is it possible?

Posted by hs2sf on March 18, 2016

Better avoid this kind of design. Continous microsec response times are pretty hard to achieve reliably even today and you'd need a pretty fast processor. In short is this really required and/or matches the requirements of your USB data source ?


How to configure the 1 us task switching time in FreeRTOS? Is it possible?

Posted by richard_damon on March 18, 2016

Any action that needs a 1us response time basically needs to be in the ISR, which also limits what it can do. You also need to be sure no higher priority interrupts can block it.

USB ideally has DMA to fetch a packet, and you don't need to do much until you have a packet, and then you don't need us time scale operations.


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists