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] [December 2009 Threads] Question about queuePosted by Oliver on December 2, 2009 Hello everybody!
I want to communicate two task in FreeRTOS port to AVR32. I woluld like to known what is the time to send a data (byte) to one queue. Mi RTOS use a tick 1msecond and my clock frequency is 66Mhz Can i use queue? or must i use Semaphore? (i need the fastest solution)
thanks! Oliver
RE: Question about queuePosted by Dave on December 3, 2009 The fastest solution would be to use neither, just use an array as a circular buffer. If you want to send lots of data then use a circular buffer to store the data, and then use a single send to a semaphore to unblock the task that will process the data.
I would say though, only you know what speed you need a response, so try it, see if it works, if it does great, if it doesn't then think again.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|