<?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>NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86549/ncs-aoa-iq-sample-data-type</link><description>Hi, 
 I am using Zephyr3.0.0 to validate AOA CTE sampling. 
 Firstly, a s below is the official data format. Nordic Semiconductor Radio peripheral provides 16 bit wide IQ samples and the first 4 bits are the sign bit extension. 
 
 Secondly, BT 5.3 Core</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Apr 2022 03:27:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86549/ncs-aoa-iq-sample-data-type" /><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362936?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 03:27:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e76884a1-461b-45ce-b6b5-69c8e35413ab</guid><dc:creator>swz_nordic</dc:creator><description>&lt;p&gt;ok,thanks.I will try your&amp;nbsp;suggession.but now i see that i can use the iq&amp;nbsp;data&amp;nbsp;to get phase difference,then using it to calclulate&amp;nbsp; the anglr of the receiver.i think it is easier.&lt;img alt=" " src="https://s2.loli.net/2022/04/12/GlHFXTtKDgBdPUW.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362765?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 08:21:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eece0a15-6772-4b0f-9f9c-2fa1a88dbe0d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As I mentioned earlier, you won&amp;#39;t get reliable data from raw IQ data, so I don&amp;#39;t recommend using time/resources on this. You need to convert the IQ data to vector form to get useful data, and then work on any issues from there.&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: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362495?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 07:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe0958c9-3845-4036-99ac-2433ebaa5981</guid><dc:creator>Harvey Zheng</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I try to look at the raw IQ data, because I want to see the difference between the IQ data in&amp;nbsp;&lt;/span&gt;&lt;strong&gt;cte_report_cb&amp;nbsp;&lt;/strong&gt;and the value in the Nordic &lt;strong&gt;register.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I printed the IQ data here:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v3.0.0/subsys/bluetooth/controller/hci/hci.c#L2845"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v3.0.0/subsys/bluetooth/controller/hci/hci.c#L2845&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649402423324v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0068.pastedimage1648881267348v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0xFFC7&lt;/strong&gt; is the data from register，but it becomes &lt;strong&gt;0xFC&lt;/strong&gt; in CTE receive callback.&amp;nbsp;That&amp;#39;s why I think it&amp;nbsp;&lt;span&gt;miss some valid bits after right shift.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362491?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 07:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7baaa4d1-30d4-4c10-8100-3f79daf7f8dd</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you provide some more details on what exactly you&amp;#39;re doing? What bits are you right shifting exactly? Are you still trying to look at the raw IQ data?&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: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362293?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 10:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab8e5e3d-ce17-45f3-8b8a-5f359c0a6182</guid><dc:creator>Harvey Zheng</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;I noticed that by shifting right 4 bits, the data 0xFFC7 becomes 0xFFFC. It can be interpreted as low 4 bits are useless data?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362005?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 09:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dae182be-5d72-4f4b-8af4-255077ba03d1</guid><dc:creator>swz_nordic</dc:creator><description>&lt;p&gt;ok,thanks,could you please tell me the more information abouot&amp;nbsp;&lt;span&gt;LOG_HEXDUMP_INF?.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You have iq sample then use the algorithm to d=get the angle.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/362002?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 09:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a55a9c5a-9d46-408f-af58-0857a62820fb</guid><dc:creator>Harvey Zheng</dc:creator><description>&lt;p&gt;I use the LOG_HEXDUMP_INF macro to print the IQ sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/361999?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 08:55:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13eab6fa-cf36-483a-9b7e-197a699cb008</guid><dc:creator>swz_nordic</dc:creator><description>&lt;p&gt;how do you print the IQ&amp;nbsp;sample？do you use the two nrf5340 boards?&lt;/p&gt;
&lt;p&gt;my output&amp;nbsp; in Rx&amp;nbsp;in&amp;nbsp;here.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PER_ADV_SYNC[0]: [DEVICE]: 0B:2B:C5:4A:72:01 (random), tx_power 127, RSSI -69, CTE AOA, data length 0, data:

CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -690

PER_ADV_SYNC[0]: [DEVICE]: 0B:2B:C5:4A:72:01 (random), tx_power 127, RSSI -65, CTE AOA, data length 0, data:

CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -650
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;beside,what terminator do you use?thanks tor your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS AOA: IQ sample data type.</title><link>https://devzone.nordicsemi.com/thread/361500?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 12:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3203afa9-43e3-4631-8cfc-010087fd1ce7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The AoA direction finding solution we provide will only output the raw IQ data by default, as we don&amp;#39;t provide the AoA algorithm necessary to make use of the data collected by the antenna array. There is no point in looking at the raw data as it needs to be converted into vector form to review it properly. You can check out&lt;a href="https://www.pe0sat.vgnet.nl/sdr/iq-data-explained/"&gt; this page&lt;/a&gt; for information on the various formulas used to translate IQ data between polar and rectangular form.&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></channel></rss>