<?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>The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109665/the-number-of-iq-data-printed-at-once-seems-to-be-limited</link><description>Hi, I have encountered some problems: 
 
 hardware: nrf5340-dk 
 software:Visual Studio Code 
 ncs:2.5.0 
 sample: nrf\samples\bluetooth\direction_finding_central &amp;amp; direction_finding_peripheral (AoD mode) 
 issue: After successfully connecting two nrf5340dk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Dec 2024 11:30:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109665/the-number-of-iq-data-printed-at-once-seems-to-be-limited" /><item><title>RE: The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/thread/514479?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 11:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8acc65ea-88b9-4004-b809-1858c0c49c28</guid><dc:creator>xu shengxian</dc:creator><description>&lt;p&gt;Thank you very much for your reply! I have solved this problem through this method before. But the problem I am currently facing is the Bluetooth sampling rate, which is 1M/s. I don&amp;#39;t know if it can be improved. Some other development boards can increase the sampling rate to 4M/s. Although the test results are still good, it would be even better if &lt;span&gt;the sampling rate&lt;/span&gt; could be improve&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/thread/514470?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 10:43:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a75f10-8a67-4ee7-9598-719908fe2739</guid><dc:creator>yuva</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;I got the same issue of losing first 20 samples and I rectified it by printing 5 IQ samples at a time.&lt;br /&gt;By printing this way, I didn&amp;#39;t lose any IQ samples (Prints from IQ[0] to IQ[44] along with CTE statement)&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;for (uint8_t idx = 0; idx &amp;lt; report-&amp;gt;sample_count-4; idx=idx+5) {
				if (report-&amp;gt;sample_type == BT_DF_IQ_SAMPLE_8_BITS_INT) {
						printk(&amp;quot; IQ[%d]: %d, %d\n IQ[%d]: %d, %d\n IQ[%d]: %d, %d\n IQ[%d]: %d, %d\n IQ[%d]: %d, %d\n&amp;quot;, 
						idx, report-&amp;gt;sample[idx].i,report-&amp;gt;sample[idx].q, 
						(idx+1), report-&amp;gt;sample[idx+1].i, report-&amp;gt;sample[idx+1].q,
						(idx+2), report-&amp;gt;sample[idx+2].i, report-&amp;gt;sample[idx+2].q,
						(idx+3), report-&amp;gt;sample[idx+3].i, report-&amp;gt;sample[idx+3].q,
						(idx+4), report-&amp;gt;sample[idx+4].i, report-&amp;gt;sample[idx+4].q);
				} else 
				if (IS_ENABLED(CONFIG_BT_DF_VS_CONN_IQ_REPORT_16_BITS_IQ_SAMPLES)) {
					printk(&amp;quot; IQ[%&amp;quot; PRIu8 &amp;quot;]: %d, %d\n&amp;quot;, idx,
					       report-&amp;gt;sample16[idx].i, report-&amp;gt;sample16[idx].q);
				} else {
					printk(&amp;quot;Unhandled vendor specific IQ samples type\n&amp;quot;);
					break;
				}
			}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/thread/476446?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 07:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10a6729c-fe57-4c22-a03e-6d2e86acf70d</guid><dc:creator>xu shengxian</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/thread/476444?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 07:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bc694d-24cf-43a1-b741-c63c427615f1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;It should not be a problem to print the data in another format, so there is likely an issue with how it&amp;#39;s being printed I&amp;#39;m afraid.&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: The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/thread/476128?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 11:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9655705c-31a5-4cba-b482-86ad0c288279</guid><dc:creator>xu shengxian</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your reply!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; I think I need to adjust the order of IQ data to restore its original order for further processing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/QQ_2A62FE56_20240327194508.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I need to adjust to：&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/QQ_2A62FE56_20240327194710.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But according to my testing, if I print the data in this way, some IQ data will be lost. Perhaps there is a problem with my code, and I am trying to modify it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The number of IQ data printed at once seems to be limited.</title><link>https://devzone.nordicsemi.com/thread/475911?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 12:53:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c89a1d98-80ce-4f24-b83c-d36d2570a7a6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How you read and print out the IQ data is entirely up to you. Can you explain what is inconvenient with the formatting of your modified print-outs exactly?&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>