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] [January 2015 Threads]
I'm evaluation to use FreeRTOS+UDP for a new project (probably based on a LPC18xx or LPC43xx). The project needs a precise time synchronization. I would like to use PTP (IEEE-1588). Has somebody experience with integrating PTP in FreeRTOS+UDP? Or is there another possibility?
FreeRTOS+UDP (and FreeRTOS+TCP) use standard sockets interfaces, so if you have FreeRTOS+UDP running, and you have some PTP code compiling (I believe there are some open source libraries around) then stitching the two together should be simple. I've never done it myself though.
Regards.
Hi Martin,
I did some testing with the Precision Time Protocol (PTP) on a LAN, using FreeRTOS+TCP.
My aim was to use PTP to synchronise playing audio between various MCU's.
These MCU's have their clock from a HCM49, which provides a typical audio frequency of 11.2896 MHz, which finally translates to 44100 Hz.
That also dictates the precision that I hoped to reach, deviations less than 22 us (1/F).
My conclusion: PTP can easily be implemented but I encountered a hardware problem: every XTAL's is slightly different, some are faster and others are slower. I can synchronise the clocks but at the end of a 5-minute song the difference had become too big already.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.