<?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>how to set TSAMPLEOFFSET and TSWITCHOFFSET.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106203/how-to-set-tsampleoffset-and-tswitchoffset</link><description>I really do not know to use switchoffset and the sampleoffset. what would happen if we set both to 0? thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2024 09:17:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106203/how-to-set-tsampleoffset-and-tswitchoffset" /><item><title>RE: how to set TSAMPLEOFFSET and TSWITCHOFFSET.</title><link>https://devzone.nordicsemi.com/thread/482978?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 09:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f0799c-a6a0-403c-bfba-c74f03f9b980</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;From the nRF52833 product specification: &amp;quot;TSAMPLEOFFSET - Signed value offset before starting sampling in number of 16M cycles relative to the beginning of the REFERENCE state - 12 µs after switching start.&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set TSAMPLEOFFSET and TSWITCHOFFSET.</title><link>https://devzone.nordicsemi.com/thread/482433?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 07:27:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90bb0e7c-c388-4760-a24b-d5454cf4668f</guid><dc:creator>Zihao</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I understand that TSAMPLEOFFSET is a signed number for a relative offset of the sampling instant.&amp;nbsp; But I&amp;#39;m a little confused.&amp;nbsp; When I set TSAMPLEOFFSET=15, what exactly does 15 mean?&amp;nbsp; Or, what is the unit(like &lt;span&gt;&amp;micro;s&lt;/span&gt;)?&amp;nbsp;&amp;nbsp;&lt;span&gt;My understanding is that TSAMPLEOFFSET is the delay from the end of the antenna switch (or the start of the sampling slot),until the actual sampling action occurs. This delay should not exceed 2 &amp;micro;s.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set TSAMPLEOFFSET and TSWITCHOFFSET.</title><link>https://devzone.nordicsemi.com/thread/462304?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 13:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddbdf067-eaf5-491e-907e-ab202ae11b19</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can set TSWITCHOFFSET with &amp;quot;&lt;strong&gt;DFECTRL2.TSWITCHOFFSET=x&lt;/strong&gt;&amp;quot; where&amp;nbsp;&lt;strong&gt;x&lt;/strong&gt; will be the switch offset to tune the switching instant to your liking. I&amp;#39;m not entirely sure what the problem is here or what you need here. If both offsets are set to 0, there will be no switch offset and no relative offset of the sampling instant. But TSAMPLEOFFSET should not be set to 0, but between 1-20 depending on the PHY and slotDuration you want to use.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1704203142955v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set TSAMPLEOFFSET and TSWITCHOFFSET.</title><link>https://devzone.nordicsemi.com/thread/462183?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 04:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28710c76-3e07-4e4b-aaa3-c54a315280bc</guid><dc:creator>brook</dc:creator><description>&lt;p&gt;sorry， this page did not give me answer.&lt;/p&gt;
&lt;p&gt;lets simple the question.&lt;/p&gt;
&lt;p&gt;I set time N as the base time. I need to samples the first time (reference part) at N.&amp;nbsp; and switch the frist time at N + 8us&lt;/p&gt;
&lt;p&gt;and I set the&amp;nbsp;&amp;nbsp;&lt;strong&gt;&lt;span&gt;TSAMPLEOFFSET&amp;nbsp; to&amp;nbsp; T&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;how can I set the&amp;nbsp;TSWITCHOFFSET&amp;nbsp;?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set TSAMPLEOFFSET and TSWITCHOFFSET.</title><link>https://devzone.nordicsemi.com/thread/458454?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 08:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b9e310b-2944-4a57-a8df-8d8cafc28e35</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In the product specification of the nRF52833 in the TSAMPLEOFFSET and TSWITCHOFFSET register it says that decreasing TSAMPLEOFFSET or TSWITCHOFFSET beyond the trigger of the AoA/AoD procedure will have no effect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please also check out the &lt;a href="https://infocenter.nordicsemi.com/pdf/nwp_036.pdf"&gt;Direction Finding whitepaper&lt;/a&gt; here for more details on it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>