<?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 switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76620/ant-switch-pattern-and-iq-sampling</link><description>Hi, 
 
 I&amp;#39;m working on direction finding with nrf52833dk (my own board latter on) and Nordic antenna matrix. I&amp;#39;m using NCS v1.6.0-rc2 and example Direction fing connectionless locator &amp;amp; bacon. I want to compute aoa and since i&amp;#39;ve only one antenna matrix</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jul 2021 14:26:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76620/ant-switch-pattern-and-iq-sampling" /><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/322510?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 14:26:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7ee5fb-03ce-4648-9806-848628fc6182</guid><dc:creator>Saleh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is a comprehensive conversation available in this thread, just I try to write a fresh answer from my point of view, I hope it can help:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="102154" url="~/f/nordic-q-a/76620/ant-switch-pattern-and-iq-sampling"]Why am i having 45 samples? I know there is a guard period and then as many samples as ant_pattern_length but it is 12 antenna long.[/quote]
&lt;p&gt;Number of samples doesn&amp;#39;t depend on the antenna pattern size, it is dependent on two parameters:&lt;/p&gt;
&lt;p&gt;a. CTE duration&lt;/p&gt;
&lt;p&gt;b. TSAMPLESPACING (Corresponds to the 1us or 2us sample slots)&lt;/p&gt;
&lt;p&gt;The first parameter is chosen by the transmitter and can changed here, the default value is the maximum:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/direction_finding_connectionless_tx/src/main.c#L20"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/direction_finding_connectionless_tx/src/main.c#L20&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The second parameter is chosen by the receiver and can be modified here, the default value is 2us sample slot:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/direction_finding_connectionless_rx/src/main.c#L232"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/direction_finding_connectionless_rx/src/main.c#L232&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;NOTE: At the time of writing this answer, there is a bug that prevents the receiver to work on 1us slot, an issue and fix has provided for this problem:&lt;/p&gt;
&lt;p&gt;Issue: &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/37305"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/37305&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fix: &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/37308"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/37308&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="102154" url="~/f/nordic-q-a/76620/ant-switch-pattern-and-iq-sampling"]Since there are more value than i expect, should i make an algorithm in order to discard the wrong one ?[/quote]
&lt;p&gt;The numbers of values is correct, you can calculate it as:&lt;/p&gt;
&lt;p&gt;NumberOfValues = 8 + (CTELength - 12) / (2 * SampleSlot)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hint: 12 is total length of &amp;quot;Gaurd Period&amp;quot; and &amp;quot;Refrence Period&amp;quot; and despite of the TSAMPLESPACING, it generates 8 sample per &amp;quot;Refrence Period&amp;quot;.&lt;/p&gt;
&lt;p&gt;e.g. for CTE with maximum length (160 us), and default value for sample slot (2 us), it will be:&lt;/p&gt;
&lt;p&gt;8 + (160 - 12) / ( 2 * 2)&lt;/p&gt;
&lt;p&gt;= 8 + 148 / 4 = 8 + 37 = 45&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="102154" url="~/f/nordic-q-a/76620/ant-switch-pattern-and-iq-sampling"]s the values correct ? i know the swing of IQ value are bigger than those.[/quote]
&lt;p&gt;At least I am receiving the same values, but I am not sure about it and should be evaluated with a reference, later.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="102154" url="~/f/nordic-q-a/76620/ant-switch-pattern-and-iq-sampling"]Last but not least, where can i find in example project all the parameter such as&amp;nbsp;TSAMPLESPACINGREF / TSAMPLESPACING /&amp;nbsp;TSWITCHSPACING ?[/quote]
&lt;p&gt;These parameters are set by lower layers and is not accessible in application layer. Also it is not recommended to modify these values in lower layers, because they are set by experienced developers for each chip-set.&lt;/p&gt;
&lt;p&gt;but instead you can change the sample slot duration at this line as I mentioned before, it consequently will change those parameters in the lower layers:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/direction_finding_connectionless_rx/src/main.c#L232"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/direction_finding_connectionless_rx/src/main.c#L232&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Saleh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/318653?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 13:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a7935b3-1d42-43fc-ae2e-cb8458931087</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Nathan!&lt;/p&gt;
&lt;p&gt;Sorry for not getting back to you sooner, I&amp;#39;ve been away for a week.&amp;nbsp;Once again I will try to answer your questions, but&amp;nbsp;our support for this is very limited.&lt;/p&gt;
&lt;p&gt;What you&amp;#39;ve found in the Bluetooth Spec and deduced from it seem correct. I think the reason it loops with an interval of 11 instead of 12 is that the first antenna is used in the reference period, and the looping pattern reverts to the one that started the sample period. This is what they define as &amp;quot;the beginning&amp;quot; in the spec. S&lt;a href="https://infocenter.nordicsemi.com/pdf/nwp_036.pdf"&gt;ee figure 12, section 4 in the whitepaper&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that you fixed the sampling issue. I&amp;#39;ll have to get back to you on saturation and gain of IQ samples.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/317428?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 10:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3077bad-5177-4c50-89f2-0ef1633727f1</guid><dc:creator>Nathan_INOSI</dc:creator><description>&lt;p&gt;Hi Ekfving,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found a bug which block switching to slot_durations 0x1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The setup : direction finding locator and beacon, aoa mode only, change slot_durations from 0x2 to 0x1&lt;/p&gt;
&lt;p&gt;The output from locator :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Creating Periodic Advertising Sync...success.
Waiting for periodic sync...
PER_ADV_SYNC[0]: [DEVICE]: 21:9D:41:2C:45:8D (random) synced, Interval 0x0780 (2400 ms), PHY LE 2M
success. Periodic sync established.
Enable receiving of CTE...
failed (err -22)
Scan disable...Success.
Waiting for periodic sync lost...
PER_ADV_SYNC[0]: [DEVICE]: 21:9D:41:2C:45:8D (random), tx_power 127, RSSI -44, CTE AOA, data length 0, data: 
PER_ADV_SYNC[0]: [DEVICE]: 21:9D:41:2C:45:8D (random), tx_power 127, RSSI -44, CTE AOA, data length 0, data: &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The failed error prevent IQ sampling.&amp;nbsp;The problem come from function&amp;nbsp;validate_cte_rx_params in direction.c. If i put in comment the section about slot_durations check (222-226), the failed error disappear.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static int validate_cte_rx_params(const struct bt_df_per_adv_sync_cte_rx_param *params)
{
	if (!(params-&amp;gt;cte_type &amp;amp;
	      (BT_DF_CTE_TYPE_AOA | BT_DF_CTE_TYPE_AOD_1US | BT_DF_CTE_TYPE_AOD_2US))) {
		return -EINVAL;
	}

	if (params-&amp;gt;cte_type &amp;amp; BT_DF_CTE_TYPE_AOA) {
		if (df_ant_info.num_ant &amp;lt; DF_SAMPLING_ANTENNA_NUMBER_MIN ||
		    !BT_FEAT_LE_ANT_SWITCH_RX_AOA(bt_dev.le.features)) {
			return -EINVAL;
		}

		/*if (!(params-&amp;gt;slot_durations == BT_HCI_LE_ANTENNA_SWITCHING_SLOT_2US ||
		      (params-&amp;gt;slot_durations == BT_HCI_LE_ANTENNA_SWITCHING_SLOT_1US &amp;amp;&amp;amp;
		       DF_AOA_RX_1US_SUPPORT(df_ant_info.switch_sample_rates)))) {
			return -EINVAL;
		}*/

        // Workaround
        if (!(params-&amp;gt;slot_durations == BT_HCI_LE_ANTENNA_SWITCHING_SLOT_2US ||
		      params-&amp;gt;slot_durations == BT_HCI_LE_ANTENNA_SWITCHING_SLOT_1US)) {
			return -EINVAL;
		}

		if (params-&amp;gt;num_ant_ids &amp;lt; BT_HCI_LE_SWITCH_PATTERN_LEN_MIN ||
		    params-&amp;gt;num_ant_ids &amp;gt; df_ant_info.max_switch_pattern_len || !params-&amp;gt;ant_ids) {
			return -EINVAL;
		}
	}

	return 0;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It is the &amp;quot;params-&amp;gt;slot_durations == BT_HCI_LE_ANTENNA_SWITCHING_SLOT_1US &amp;amp;&amp;amp; DF_AOA_RX_1US_SUPPORT(df_ant_info.switch_sample_rates)&amp;quot; that don&amp;#39;t return 1, and therefore return error&amp;nbsp;-EINVAL.&lt;/p&gt;
&lt;p&gt;In my build directory, in .conf, the&amp;nbsp;CONFIG_BT_CTLR_DF_ANT_SWITCH_RX and CONFIG_BT_CTLR_DF_CTE_RX_SAMPLE_1US are set.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/317259?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 13:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:503e6820-6e31-4043-9d19-b49e375af001</guid><dc:creator>Nathan_INOSI</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the answer. I learn a lot with those info. I have now some explanation about the parameters, correct me if i&amp;#39;m wrong.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In Bluetooth Core v5.2,&amp;nbsp;6/B/2.5.1 - &amp;quot;The Constant Tone Extension has a variable length; it shall be at least 16 &amp;mu;s and not greater than 160 &amp;mu;s.&amp;quot;&lt;/strong&gt; That explain the choice of 160&amp;micro;s (0x14U in tx exemple) for the CTE length.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;Bluetooth Core v5.2,&amp;nbsp;6/B/2.5.4 - &amp;quot;the receiver shall take an IQ sample each microsecond during the reference period and an IQ sample each sample slot (thus there will be 8 reference IQ samples, 1 to 37 IQ samples with 2 &amp;mu;s slots, and 2 to 74 IQ samples with 1 &amp;mu;s slots, meaning 9 to 82 samples in total).&amp;quot; &lt;/strong&gt;Since the rx example is configured at 2&amp;micro;s by default, we are in the 8+37 samples case which make 45 samples. So as you say, i do not need to discard any sample since they are all usefull.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;Bluetooth Core v5.2,&amp;nbsp;6/A/5.1 - &amp;quot;The first antenna in the pattern shall be used during the reference period [...]. The second antenna in the pattern shall be used during the first sample slot, the third antenna during the second sample slot, and so on. The same antenna ID may appear more than once in the pattern.&lt;span&gt;&amp;nbsp;[...]&amp;nbsp;If the pattern specified by the Host is exhausted before the last sample slot, it shall be restarted from the beginning...&amp;quot; &lt;/span&gt;&lt;/strong&gt;Since i use the 12 antenna patern from Nordic, i expect the pattern to be restart 3 times during the 45 samples. Even with saturation, we can see it in my plot from IQ sampling. But, for some reason, the antenna pattern seem to be 11 antenna long because between two spike i&amp;#39;ve got 11 IQ samples.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In&amp;nbsp;&lt;span&gt;zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_df.c&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void radio_df_ant_switch_pattern_set(uint8_t *patterns, uint8_t len)
{
	/* SWITCHPATTERN is like a moving pointer to underlying buffer.
	 * Each write stores a value and moves the pointer to new free position.
	 * When read it returns number of stored elements since last write to
	 * CLEARPATTERN. There is no need to use subscript operator.
	 *
	 * Some storage entries in the buffer has special purpose for DFE
	 * extension in radio:
	 * - SWITCHPATTERN[0] for idle period (PDU Tx/Rx),
	 * - SWITCHPATTERN[1] for guard and reference period,
	 * - SWITCHPATTERN[2] and following for switch-sampling slots.
	 * Due to that in SWITCHPATTER[0] there is stored a pattern provided by
	 * DTS property dfe_pdu_antenna. This limits number of supported antenna
	 * switch patterns by one.
	 */
	NRF_RADIO-&amp;gt;SWITCHPATTERN = DT_PROP(RADIO, dfe_pdu_antenna);
	for (uint8_t idx = 0; idx &amp;lt; len; ++idx) {
		NRF_RADIO-&amp;gt;SWITCHPATTERN = patterns[idx];
	}
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;SWITCHPATTERN[0] =&amp;nbsp;ANT 12&amp;nbsp;(idle period)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SWITCHPATTERN[1]&amp;nbsp;= ANT 11 (guard and reference period)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SWITCHPATTERN[2..11] = ANT 12 - 1 - 2 - 10 - 3 - 9 - 4 - 8 - 7 - 6 - 5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could i be that the actual switch pattern repeating is&amp;nbsp;patterns[2...11] and could explain my 11 antenna pattern ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Two more thing to add :&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;i didn&amp;#39;t find any IQ sample info about satuation. Do you have any link ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If we change&amp;nbsp;slot_durations to 1, the receiver don&amp;#39;t sample and print nothing.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&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;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nathan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/317042?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 14:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc8e0e0d-5219-4921-a956-0fd77a66d43b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;The spiking antennas are probably caused by multipath issues, this needs to be dealt with. The gain might be the main culprit, that needs to be modified such that&amp;nbsp;the signal doesn&amp;#39;t go to saturation. If it goes to saturation, the entire series should be discarded. There should be a field in the IQ samples that show saturation.&lt;/p&gt;
&lt;p&gt;Regarding your previous questions:&lt;/p&gt;
&lt;p&gt;1. This depends on the sample_count, which&amp;nbsp;depends on sample rate and the length of the CTE. The CTE length can be found and edited in the beacon example, seems it is 160us by default. As you can see in section 4 of the whitepaper, the algorithm basically&amp;nbsp;continues at the start of its antenna switching pattern if it runs out of antennas.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Nothing needs to be discarded per se.&lt;/p&gt;
&lt;p&gt;3. They seem ok, besides what I mentioned above about spikes.&lt;/p&gt;
&lt;p&gt;4. The parameters can be found by using ctrl+shift+F in SES, maybe most notably in zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_df.c.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/316763?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 13:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbefcc87-0248-44f8-baa0-1af0716a3b3c</guid><dc:creator>Nathan_INOSI</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where can i find the sample_count variable ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve made progress in my understanding. I know that :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the amplitude = sqrt(pow(I,2)+pow(Q,2))&amp;nbsp;&lt;/li&gt;
&lt;li&gt;the phase = arctan2(Q,I)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So i decide to plot the amplitude in order to see any incoherence. (sorry for the bad resolution)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="247" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7103.Capture.PNG" width="392" /&gt;&lt;/p&gt;
&lt;p&gt;I put the beacon close to the locator when i reccord the sample.&amp;nbsp;I know for sure that the 8 first sample are the reference, then it&amp;#39;s switch slot and then sample slot. I guess the value close to the reference value are valid and all other sample are taken when the module switch antenna.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find where the code setup the sampling, can you help me ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/316743?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 12:53:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9567fec8-b176-4d7c-b4c3-613345336fac</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Nathan!&lt;/p&gt;
&lt;p&gt;Sadly our support on direction finding is quite limited, but I&amp;#39;ll get back to you on this as soon as I can find answers for you.&lt;/p&gt;
&lt;p&gt;From what i can see right now though, the IQ values seem fine. And the number of samples depends on the sample_count variable, not the number of antennas.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ant switch pattern and IQ sampling</title><link>https://devzone.nordicsemi.com/thread/316593?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 06:45:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f08956-4494-413d-a793-023b56bebf21</guid><dc:creator>Zack_Lee</dc:creator><description>&lt;p&gt;Hi Nathan,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;may i know how to add overlay-aoa.conf to CMAKElist as you mention above?&amp;nbsp; are you adding both to RX and TX or just TX will do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>