<?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>BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112225/ble-radio-testing-tx-continuous-modulated</link><description>We are preparing for all of our radio compliance testing. Our board is inspired from the nrf9160dk design using the nrf9160 chip as the main controller and an nrf52840 flashed with hci_lpuart to function as the BLE passthrough controller. 
 For our testing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jun 2024 13:14:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112225/ble-radio-testing-tx-continuous-modulated" /><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489977?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 13:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25f83670-57a1-45bd-958d-fa5b6410e661</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;Thank you!&lt;br /&gt;&lt;br /&gt;I think I just needed&amp;nbsp; fresh day. I deleted everything (for the 15th time), started from scratch, and grabbed a different J-link probe. Built the project and now it works with the shell over RTT.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Full steps to reproduce it:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Copied the sample project from: &amp;quot;nrf/samples/peripheral/radio_test&amp;quot;&lt;/p&gt;
&lt;p&gt;Added this to the default proj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USE_SEGGER_RTT=y
CONFIG_SHELL_BACKEND_RTT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Created new file &amp;quot;boards/myboard.overlay&amp;quot; with the following contents:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		zephyr,shell = &amp;amp;rtt0;
		zephyr,console = &amp;amp;rtt0;
	};

	rtt0: rtt_chan0 {
		compatible = &amp;quot;segger,rtt-uart&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Build (My board is nrf9160dk_nrf52840), added proj.conf and boards/myboard.overlay&lt;/li&gt;
&lt;li&gt;Flash&lt;/li&gt;
&lt;li&gt;Open J-Link RTT Viewer (v7.96f)&lt;/li&gt;
&lt;li&gt;Connect via SWD 4000khz target (NRF52840_XAA)&lt;/li&gt;
&lt;li&gt;Then you see the shell log printed to the console and can send cli commands to the console.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489888?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f07e497b-33d2-4726-97ef-5b67852489f3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tested the configuration I shared yesterday so that shoudl work. Can you revert&amp;nbsp;your changes and use the radio test example with only the changes I suggested there?&lt;/p&gt;
&lt;p&gt;Also, if you use RTT Viewer note that the cursor must be in the input field in order to input data. That is highlighted with red here:&lt;/p&gt;
&lt;p&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/rtt_5F00_viewer_5F00_input_5F00_field.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489825?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 20:35:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ecafdba-cbad-445c-9bb4-22a1dfe1305d</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;Thank you,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying very hard to get this working but I just can&amp;#39;t seem to get anything (using J-link RTT viewer). I can send bytes but nothing ever logs or responds.&lt;br /&gt;&lt;br /&gt;I also cannot seem to get the &amp;quot;printk&amp;quot; statements to log out anymore so I&amp;#39;m not even sure if the project is building properly now. I feel like I&amp;#39;m going backwards....&lt;br /&gt;&lt;br /&gt;I have added this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# To log printk over RTT
CONFIG_LOG=y
CONFIG_LOG_PRINTK=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had this working yesterday and I would see:&lt;/p&gt;
&lt;p&gt;&amp;gt; Starting Radio Test example&lt;/p&gt;
&lt;p&gt;&amp;gt; Clock has started&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Since trying to add the shell backend I can&amp;#39;t get anything working and I&amp;#39;m not sure what I have changed...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489790?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 14:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f55fc7-c279-44a8-8654-c526e554130a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, you can use RTT over SWD instead of UART. You can control it via RTT instead of UART by adding this to prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SHELL_BACKEND_RTT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And adding an app.overlay file with this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		zephyr,shell = &amp;amp;rtt0;
		zephyr,console = &amp;amp;rtt0;
	};

	rtt0: rtt_chan0 {
		compatible = &amp;quot;segger,rtt-uart&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489591?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 19:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57713167-c9f5-43b1-b42a-ab4813f70e90</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;I am able to log data out from the radio_test program over RTT. Would it be possible to send the shell commands to the radio_test using the RTT interface instead of UART?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489577?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 14:52:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb716bb5-09d2-4c67-bc0e-ae00e5338ed3</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;As far as I can tell that sample is made for the following boards (nrf52dk_nrf52832, nrf52840dk_nrf52840, nrf5340dk_nrf5340_cpunet, nrf7002dk_nrf5340_cpunet).&lt;/p&gt;
&lt;p&gt;Our design follows the nrf9160dk design. So the only uart connected to the nrf52840 is the inter-chip uart between the nrf9160 and nrf52480. I would need to heavily modify the radio_test sample to control it from the nrf9160 chip anyways.&lt;br /&gt;&lt;br /&gt;I feel like I must be able to start modulated tx using the standard adv libraries that I currently use on the nrf9160 while leaving hci_lpuart running on the nrf52840 and avoid flashing different firmwares just to run the test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE radio testing (TX continuous modulated)</title><link>https://devzone.nordicsemi.com/thread/489523?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 12:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb9105f1-cf10-4c3b-9656-49549def0b35</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For radio complience testing I would try to make this simpler and use the radio test sample. You need a way to program the nRF52 anyway, and that can probably also be used during the radio testing. What is the reason for wanting to control this from the 91 side?&lt;/p&gt;
&lt;p&gt;(That said, if you do need to control it you could probably still use the radio test sample with minor adjustments and control it via GPIO from the 91 as you only need to cycle through a few modes).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>