<?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>Wrong IQ value type ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77211/wrong-iq-value-type</link><description>Hi, 
 
 I&amp;#39;m designing my own algorithm for direction finding and for that i need IQ value as input. In NCS v1.6.0, in the locator exemple for aoa, the IQ value are store in a int8_t type in struct bt_df_per_adv_sync_iq_samples_report -&amp;gt; bt_hci_le_iq_sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Jul 2021 13:04:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77211/wrong-iq-value-type" /><item><title>RE: Wrong IQ value type ?</title><link>https://devzone.nordicsemi.com/thread/319194?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 13:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17dcc9a-411c-445e-850c-8068fdfc35b7</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;You will always have the chance of getting I/Q values with 0 value so your SW must support that value as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong IQ value type ?</title><link>https://devzone.nordicsemi.com/thread/319184?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 12:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6317d04-91de-474a-ba80-d856723b954f</guid><dc:creator>Nathan_INOSI</dc:creator><description>&lt;p&gt;Thanks, that make sense to me. The problem with 8bit format is&amp;nbsp;that i often get a &amp;quot;0&amp;quot; value either at I or Q and i get a divide by 0 in my calculation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With my modifications, i get values that seem correct.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong IQ value type ?</title><link>https://devzone.nordicsemi.com/thread/319164?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 12:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6418fb7-6d02-42fd-a0bc-b6b3a32e3dae</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;The example in the nRF Connect SDK is built to be Bluetooth 5.1 compliant and then the data format for IQ data is 8 bits. The HW runs with 12 bit that is then truncated to 8-bit. To utilize the 12 bit mode you would need to use vendor specific HCI commands and that has not been implemented.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>