Quality RTOS & Embedded Software

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


Make realtime loop

Posted by https://www.google.com/accounts on October 20, 2012
I would like to know if it is possible with Rtos to make a loop every 5ms .
In this loop of course I need to use serial port / Can BUS an other task.
I work with a PIC32.
Thanks you

RE: Make realtime loop

Posted by Richard on October 21, 2012

The above links will be a good starting point. Plus look at any of the demo applications in the download.

You might want to consider if you really want to do all these things every 5ms. I might be wrong, as you don't provide much information, but the implication of your post is that you are converting a super loop program into an RTOS program by just copying the superloop into a task. It might be better to work of events generated by your peripherals.


RE: Make realtime loop

Posted by https://www.google.com/accounts on October 21, 2012
Thank you for your answer
I will look at it asap
I need this to make PID and acceleration deravative calculation so I need a good precision in the loop time.

[ 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.

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.


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