<?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>DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55626/dfe-iq-sampling-and-antenna-switching-slots-confusion</link><description>Hi 
 I&amp;#39;m confused by the concept of switching slots and sampling slots, or at least the way they are presented as being interleaved. For BLE, I believe that they are required to be equal (1us or 2us). If they are both set to 2us and are interleaved then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Dec 2019 15:48:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55626/dfe-iq-sampling-and-antenna-switching-slots-confusion" /><item><title>RE: DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/thread/226425?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 15:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f38de450-e2ca-4a42-80c4-e6b8faf2c79e</guid><dc:creator>Pete W</dc:creator><description>&lt;p&gt;Yes, I thought that&amp;nbsp;RADIO_DFECTRL1_TSWITCHSPACING_xxx and&amp;nbsp;RADIO_DFECTRL1_TSAMPLESPACING_xxx were the slot lengths, but clearly not. I&amp;#39;m not intending to use BLE so will just discard the samples that I know fall close to the switch transitions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/thread/226152?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 13:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90863b16-3c54-46a6-ba51-d7a6103a943b</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;I agree, there&amp;#39;s some inconsistency between spec and implementation - &amp;quot;Interval between samples&amp;quot; is not the same as &amp;quot;sample slot length&amp;quot;. IMHO a &amp;quot;switching slot&amp;quot; just means that we should not use IQ data during transition period, but we can take them though, as nFR52811 does.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/thread/226147?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 13:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98dfbe14-a070-4a1b-9c1e-5cb125b110ff</guid><dc:creator>Pete W</dc:creator><description>&lt;p&gt;Hi Dmitry,&lt;/p&gt;
&lt;p&gt;What I meant was that if the antenna switch slots are 2us long, and the sampling slots are also 2us long and fall between the switching slots, as per 5.1 core spec (fig below), then that suggests that sampling is only valid for 2us every 4us, otherwise what is the point of &amp;#39;switching slots&amp;#39;? It also suggests that only 1 antenna change should occur in each switching slot. It would all be so much easier if the spec just said &amp;quot;switch at rate X, sample at rate Y. Avoid sampling within Z ns of switchover&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576674422655v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/thread/226142?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 12:48:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4d792ba-9ed2-4474-ae1a-93bea2afe88b</guid><dc:creator>Pete W</dc:creator><description>&lt;p&gt;Hi B&lt;span&gt;j&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I should&amp;#39;ve added that I have CTEINLINECTRLEN set to 0. I hadn&amp;#39;t investigated what happens in CTE inline enabled mode as I wasn&amp;#39;t intending to use it that way (I thought I&amp;#39;d be stuck with 1 or 2 us timings). I am using AoA mode and I have TSWITCHSPACING set to 2us and TSAMPLESPACING set to 125ns, as I want to oversample for now. I currently don&amp;#39;t do any antenna switching, but I am monitoring the control pins to see when they change. I see a continuous sinusoids in my IQ samples (at least after a 1us jump following the reference) so samples are being taken all the time, i.e. through the switching slots.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m really struggling with the switching slots. Is the antenna switch-over coincident with the centre of the switching slot, so that the slot&amp;#39;s purpose is to allow for slow edges, or is there a switchover at the slot boundaries (as I seem to be seeing)?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If I enable CTE inline mode, and keep&amp;nbsp;&lt;span&gt;TSWITCHSPACING at 2us, then it seems that the sample timing will use CTEINLINERXMODE1US, and the default for that is 2us (CTEINLINECONF&amp;nbsp; FFF=010). But the slots alternate! I keep going round in circles with this - nothing seems to add up for me.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pete&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/thread/226138?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 12:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f5d8c6c-9511-4bbe-8793-d2e2daea81f6</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi Pete,&lt;/p&gt;
[quote userid="79956" url="~/f/nordic-q-a/55626/dfe-iq-sampling-and-antenna-switching-slots-confusion"]but when I select &amp;#39;2us spacing&amp;#39; the lines toggle every 2us. [/quote]
&lt;p&gt;That&amp;#39;s right, 1us/1us sample/switch.&lt;/p&gt;
[quote userid="79956" url="~/f/nordic-q-a/55626/dfe-iq-sampling-and-antenna-switching-slots-confusion"]the 2us sample slots - which apparently are 4us apart[/quote]
&lt;p&gt;A bit confused... with 2us sample slot settings, you will get a sample every 2us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFE IQ sampling and antenna switching slots confusion</title><link>https://devzone.nordicsemi.com/thread/226102?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 10:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc65d87d-ad48-45e1-bc59-b6231b84090b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Peter,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/radio.html?cp=4_1_0_5_17_11_5#register.CTEINLINECONF"&gt;CTEINLINECONF.CTEINLINECTRLEN&lt;/a&gt;&lt;span&gt;&amp;nbsp;set or not?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also what is the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/radio.html?cp=4_1_0_5_17_11#register.DFECTRL1"&gt;TSWITCHSPACING&lt;/a&gt;&amp;nbsp;and the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/radio.html?cp=4_1_0_5_17_11#register.DFECTRL1"&gt;TSAMPLESPACING&amp;nbsp;&lt;/a&gt;set to in the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/radio.html?cp=4_1_0_5_17_11#register.DFECTRL1"&gt;DFECTRL1&amp;nbsp;&lt;/a&gt;&amp;nbsp;register? It is by default set to 2us and 4us respectivly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>