FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2012 Threads] Make realtime loopPosted by https://www.google.com/accounts on October 20, 2012 Hi, 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 loopPosted by Richard on October 21, 2012 http://www.freertos.org/vtaskdelayuntil.html http://www.freertos.org/a00127.html
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.
Regards.
RE: Make realtime loopPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|