<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88013/fail-err--11-when-in-df-i-i-can-get-the-iq-samples-but-i-use-them-to-caculate-the-angle-of-tx-how-to-solve-it</link><description>I use both nrf52833 boards to do AOA test.But i use thr antenna array board of silab.The board are 16 antennas.I use the NCS version 1.9.1. 
 The next is my device stcture. 
 
 I conple the precedure and the flash the precedure to my board.i can get the</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 23 May 2022 09:07:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88013/fail-err--11-when-in-df-i-i-can-get-the-iq-samples-but-i-use-them-to-caculate-the-angle-of-tx-how-to-solve-it" /><item><title>RE: fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/thread/368949?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 09:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9edfe3-4e2f-4527-901a-c3348393bb90</guid><dc:creator>user114049</dc:creator><description>&lt;p&gt;ok,thanks.i know whether other antenna array with thiis nordic board make some influence in IQ&amp;nbsp;values.&lt;/p&gt;
&lt;p&gt;as i said some days ago,i find that the IQ&amp;nbsp;sample&amp;nbsp; are so small.&lt;/p&gt;
&lt;p&gt;I get the IQ&amp;nbsp;sample from silab as next.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
	&amp;quot;channel&amp;quot;:	18,
	&amp;quot;rssi&amp;quot;:	-55,
	&amp;quot;sequence&amp;quot;:	173,
	&amp;quot;samples&amp;quot;:	[1, -57, -56, -2, -3, 57, 56, 2, 3, -56, -56, -3, -3, 57, 55, 6, 36, 45, -32, -87, -21, -13, -13, -41, 58, -68, -84, 29, 81, -29, -22, 2, -84, -88, 54, 95, -9, -68, -6, 20, -111, 34, 85, -24, -20, -37, 54, 2, 21, 52, -16, -92, -18, -15, -7, -42, 68, -57, -87, 15, 84, -15, -22, -1, -64, -108, 40, 104, 1, -69, -10, 19, -114, 21, 88, -9, -13, -40, 53, 10, 12, 56, 0, -94, -16, -17, 1, -43, 78, -44, -88, -1, 86, 1, -22, -4, -45, -115, 21, 111, 14, -67, -13, 17, -118, 0, 88, 2, -5, -42, 51, 19, 0, 58, 14, -93, -12, -20, 7, -42, 83, -31, -86, -13, 85, 13, -20, -9, -25, -125, 0, 116, 26, -64, -15, 15, -119, -18, 86, 22, 0, -42, 46, 27, -8, 57, 31, -87, -8, -23, 13, -40, 88, -14, -84, -29, 82, 28, -19, -12, -1, -126, -18, 109]&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The nrf52833 board with antenna array of silab as next&amp;nbsp; as IQ&amp;nbsp;values.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CTE[DE:86:9B:6D:43:F0 (random)]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -580

IQ sample content :

sample[0] = I:-2 Q:13

sample[1] = I:0 Q:-14

sample[2] = I:-2 Q:13

sample[3] = I:1 Q:-14

sample[4] = I:-3 Q:12

sample[5] = I:2 Q:-14

sample[6] = I:-3 Q:13

sample[7] = I:2 Q:-14

sample[8] = I:10 Q:-8

sample[9] = I:-12 Q:-2

sample[10] = I:-9 Q:-10

sample[11] = I:0 Q:-3

sample[12] = I:3 Q:-10

sample[13] = I:-4 Q:5

sample[14] = I:4 Q:7

sample[15] = I:-5 Q:3

sample[16] = I:-6 Q:3

sample[17] = I:-28 Q:5

sample[18] = I:2 Q:-4

sample[19] = I:11 Q:3

sample[20] = I:-2 Q:-13

sample[21] = I:4 Q:-13

sample[22] = I:1 Q:-1

sample[23] = I:10 Q:-2

sample[24] = I:-7 Q:-2

sample[25] = I:-4 Q:7

sample[26] = I:-6 Q:-3

sample[27] = I:-6 Q:-4

sample[28] = I:-18 Q:-24

sample[29] = I:4 Q:-1

sample[30] = I:1 Q:11

sample[31] = I:8 Q:-9

sample[32] = I:12 Q:-4

sample[33] = I:1 Q:1

sample[34] = I:6 Q:7

sample[35] = I:-2 Q:-7

sample[36] = I:-9 Q:0

sample[37] = I:0 Q:-7

sample[38] = I:-1 Q:-7

sample[39] = I:11 Q:-27

sample[40] = I:2 Q:2

sample[41] = I:-10 Q:7

sample[42] = I:12 Q:1

sample[43] = I:9 Q:9

sample[44] = I:-1 Q:1&lt;/pre&gt;as the err(-11)&amp;nbsp;problem,when i meet ,i will call back to you.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/thread/368943?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eb1a1a1-335d-4a87-a414-506088ccde44</guid><dc:creator>user106736</dc:creator><description>&lt;p&gt;From &lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88067/direction-finding-aoa-with-nrf52833/368604#368604"&gt;this answer by Simon&lt;/a&gt;: &lt;br /&gt;&amp;quot;Please note that the output you see from these samples won&amp;#39;t be the &amp;quot;finished&amp;quot; angle of arrival, as this just transmits the raw IQ data to your central device. It is up to you to add an AoA algorithm that handles these values and converts them into readable data.&amp;nbsp;&lt;span&gt;Nordic will not provide the direction finding algorithm, and customers/users are expected to get that elsewhere. I&lt;/span&gt;&lt;span&gt;n order to use the IQ data you get from the beacon you will need an AOA algorithm, which we don&amp;#39;t provide.&amp;nbsp;&lt;/span&gt;&lt;span&gt;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&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.pe0sat.vgnet.nl/sdr/iq-data-explained/"&gt;this page&lt;/a&gt;&lt;span&gt;&amp;nbsp;for information on the various formulas used to translate IQ data between polar and rectangular form. &lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/thread/368941?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74814809-50e3-40d7-b360-984eda50ad02</guid><dc:creator>user114049</dc:creator><description>&lt;p&gt;sorry,now i can&amp;#39;t get this err code.&lt;/p&gt;
&lt;p&gt;i think it is in CTE&amp;nbsp; parser. I think&amp;nbsp;that this err code is&amp;nbsp; my device problem.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;The&amp;nbsp;&lt;/span&gt;&lt;a href="https://no.mouser.com/ProductDetail/Insight-SiP/ISP1907-AOA-DK?qs=TuK3vfAjtkWWs%2FeFU%2Fp4QA%3D%3D"&gt;ISP1907-AOA-DK&lt;/a&gt;&lt;span&gt;&amp;nbsp;is based on our design, so you could have a look at their project.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;If you need our design files, contact your regional sales manager&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;as you menthion,i get the same files of amtenna array.The most files are the&amp;nbsp;circuit diagram of aantenna array.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;what is the more ,i want to get the more information of how to gert the angle of&amp;nbsp;algorithm.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/thread/368938?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:763f74b1-432f-47d7-992e-fe108ae9202a</guid><dc:creator>user106736</dc:creator><description>&lt;p&gt;The &lt;a href="https://no.mouser.com/ProductDetail/Insight-SiP/ISP1907-AOA-DK?qs=TuK3vfAjtkWWs%2FeFU%2Fp4QA%3D%3D"&gt; ISP1907-AOA-DK&lt;/a&gt; is based on our design, so you could have a look at their project.&lt;br /&gt;If you need our design files, contact your regional sales manager.&lt;/p&gt;
[quote user="swz_nordic5340"]how to solve the err(-11) problem[/quote]
&lt;p&gt;Which function returns the -11 error?&lt;/p&gt;
&lt;p&gt;For some more information on the nRF Connect SDK samples for direction finding and their algorithms, see &lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88067/direction-finding-aoa-with-nrf52833/368604#368604"&gt;this answer by Simon&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/thread/368911?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 06:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aebbca32-066f-49bb-a1b2-05adc9d1c3da</guid><dc:creator>user114049</dc:creator><description>&lt;p&gt;ok,thanks.besides,I want to&amp;nbsp;ask&amp;nbsp;how to solve the err(-11) problem.I am sorry that my output code have&amp;#39;t been saved.&lt;/p&gt;
&lt;p&gt;Now i link the line with my device.I find that my err(-11) have disappeared.I want yo know what the err(-11) is linked to?&lt;/p&gt;
&lt;p&gt;is there a device&amp;nbsp; problem?&lt;/p&gt;
&lt;p&gt;if you know,please tell me.Thanks for your advice.&lt;/p&gt;
&lt;p&gt;besides this,i want toi know more information about your antenna array of 12.&lt;/p&gt;
&lt;p&gt;because i want to get the calculation of the angle.As yiuy mentioned,the designe of antenna array is related to the algorithm.&lt;/p&gt;
&lt;p&gt;I am looking forward to your answer.Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail err(-11) when in DF,I i can get the iq samples,but i use them to caculate the angle of Tx,how to solve it?</title><link>https://test-devzone.nordicsemi.com/thread/368331?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 12:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639d52d8-b546-4098-a55d-e1b360530ff8</guid><dc:creator>user106736</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direction_finding_central/README.html#id4"&gt;Bluetooth: Direction finding central&lt;/a&gt; is designed for the Nordic Semiconductor design 12 patch antenna matrix. &lt;br /&gt;You can use this with any other antenna. However, the algorithm will be different for different antennas.&lt;/p&gt;
&lt;p&gt;I suggest that you ask the designers of your antenna about the algorithm for that antenna.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>