<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16346/ant-time-synchronization-example-understanding</link><description>Hello, 
 could you please explain how the time synchronization works? 
 What does the function sd_ant_time_sync_broadcast_tx(...) do?
Does it include the rtc value of the transmitter into the message that is sent to the receiver when the transmitter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Sep 2016 10:56:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16346/ant-time-synchronization-example-understanding" /><item><title>RE: ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/thread/62499?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 10:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d0901d-b035-4103-9e23-134efdd65cfd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;They are going to release an app note explaining this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/thread/62497?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 10:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f613386b-8cb7-4f73-a48a-530b208819b0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, I know. But that is what the flag byte is. To me it almost seems that Dynastream is going to release a new spec or something. I will try to contact them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/thread/62498?ContentTypeID=1</link><pubDate>Sat, 17 Sep 2016 12:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eccc623-58e4-4699-b5fa-886dd0a5ee6d</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Now i had time to think about your answer and I think there is a problem. If the flag byte is 0x20 then there are only two bytes for &amp;quot;RX timestamp&amp;quot; information, see page 36 of ANT_Message_Protocol_and_Usage_Rev_5.1. But in the receive example they access four bytes (  pstEventMessage-&amp;gt;ANT_MESSAGE_aucExtData[0] to pstEventMessage-&amp;gt;ANT_MESSAGE_aucExtData[3]).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/thread/62496?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 16:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee880d1a-c371-44cf-a11f-1bfd102eeea6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It depends a bit, they obviously know most about how their stack works, but we will try to help you as best as we can.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/thread/62495?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 14:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b7644c-6a79-41a1-9a41-e254dca32774</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Thanks for the answer! Yes, I posted the question also on their forum. Just for upcoming questions, which forum should I use for ANT Softdevice questions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Time Synchronization Example Understanding</title><link>https://devzone.nordicsemi.com/thread/62494?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 11:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b040800-4484-4333-bf74-39c5eece08c9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I think I know what it does, but I think you have to wait for Dynastream to confirm it. It saw that you posted a question on their forum.&lt;/p&gt;
&lt;p&gt;This is what makes sense to me:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;sd_ant_time_sync_broadcast_tx() is called with the count of RTC1. When the ANT stack actually sends the packet it will exchange this count with the current count of RTC1 - count = offset.&lt;/li&gt;
&lt;li&gt;When the packet is received, the ANT stack will time stamp the count of RTC1, and send it up to the application.&lt;/li&gt;
&lt;li&gt;The CC value of RTC1 is set to time stamp - offset + LED_INVERT_PERIOD.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The flag byte is 0x20, RX time stamp.&lt;/p&gt;
&lt;p&gt;It seems to me that are some (serious) lack in the documentation, but we will see what they say on the Dynastream forum.&lt;/p&gt;
&lt;p&gt;Edit: &lt;a href="https://www.thisisant.com/forum/viewthread/6578/"&gt;What they said on the Dynastream forum.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>