<?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>measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102497/measurement-of-rssi-or-transit-time-of-a-message-via-ble-with-the-nordic-52840-and-another-slave-board</link><description>I have this problem, with a Nordic nRF52840 board I have to transmit a byte of known length, which I have to select a priori, and transmit it to a second slave evaluation board and then measure the RSSI value and the time it takes for the data packet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Sep 2023 16:00:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102497/measurement-of-rssi-or-transit-time-of-a-message-via-ble-with-the-nordic-52840-and-another-slave-board" /><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/446499?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 16:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d149b8d1-bb4c-4e66-8bf2-25d833cbe00c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Leonardo Balocchi"]1) how to save the RSSI values from the RSSI viewer desktop application (or if there is another way it may be ok, as long as the RSSI is always correct)[/quote]
&lt;p&gt;It cannot save the RSSI values from the RSSI viewer app which doesn&amp;#39;t provide this feature.&amp;nbsp;&lt;/p&gt;
[quote user="Leonardo Balocchi"]Is there a way perhaps to insert terminal commands directly within the main.c function in VS Code?[/quote]
&lt;p&gt;You could modify the sample and assign the value as you want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/446222?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 10:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bb836be-6a46-477a-b1f0-b711e9b66692</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi Amanda, unfortunately the examples you gave me were not very helpful, they don&amp;#39;t explain how to extract RSSI values over time.&lt;/p&gt;
&lt;p&gt;Concerning the second request, the problem is this, when I use the RSSI viewer on the nRF52840 DK, and the radio_test loaded on the BC840 then I read correctly the RSSI value from the RSSI viewer (the two boards are at a distance of 60 cm, so the path loss at 2.4 GHz is about 36 dB, then on the BC I mounted an antenna that has gain 5 dBi, and transmitting 0 dBm with the BC I see that the RSSI is about -34 dBm, as I expect).&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/Screenshot-_2800_1329_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Leaving the same setup, with the nrf_dm example, it prints me an absolutely incorrect RSSI value, we are around -2 dBm (perhaps because in the latter case I see the sum of several channels?).&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/Screenshot-_2800_1330_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I cannot use the nrf_dm example to extract the RSSi values I need, but I should do it from the RSSI viewer, because from there I read the value I expect according to RSSI theory.&lt;/p&gt;
&lt;p&gt;So my problems are:&lt;br /&gt;1) how to save the RSSI values from the RSSI viewer desktop application (or if there is another way it may be ok, as long as the RSSI is always correct)&lt;br /&gt;2) how to keep the instructions sent from the terminal saved in the BC840&amp;#39;s memory, because otherwise when I disconnect and then reconnect it, what happens is that the transmission instructions are lost (so I think they are saved in volatile memory)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a way perhaps to insert terminal commands directly within the main.c function in VS Code?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Leonardo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/446109?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 15:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af57a009-fd55-4de5-85cc-a33809618fc0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Leonardo Balocchi"]Is there a way to set the single channel and save all the RSSI values that are read so that I can then plot them in a graph?[/quote]
&lt;p&gt;&lt;span&gt;There is no such example, but you can take a look at&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84580/ble-central-to-get-rssi-and-local-name-of-peripherals/352090"&gt;this post&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;span&gt;the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/02956222c991e2c036810a5e39fd60e72aa75866/samples/bluetooth/hci_pwr_ctrl"&gt;hci_pwr_ctrl&lt;/a&gt; sample&lt;/span&gt;&amp;nbsp;to get RSSI values.&amp;nbsp;&lt;/p&gt;
[quote user="Leonardo Balocchi"]To go back to the previous problem, that is, the RSSI value measurement with the &amp;quot;nrf_dm&amp;quot; application, where I was seeing inconsistent RSSI values.[/quote]
&lt;p&gt;Could you elaborate more on what you mean by the &amp;quot;&lt;span&gt;inconsistent RSSI values&lt;/span&gt;&amp;quot;?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/446007?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 09:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871b5e71-254d-4e93-a7a9-52ba506c3c2b</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I was able to solve the problem and now I can send the carrier from one board and view it via RSSI viewer on the other (with the &amp;quot;radio_test&amp;quot; application).&lt;br /&gt;I wanted to ask you another thing, now I would need to set up my experimental setup, as I told you, so that I select a single channel (out of the 40 available) and continuously send bit sequences interspersed between the two boards, so that the RSSI is measured.&lt;br /&gt;Is there a way to set the single channel and save all the RSSI values that are read so that I can then plot them in a graph?&lt;/p&gt;
&lt;p&gt;To go back to the previous problem, that is, the RSSI value measurement with the &amp;quot;nrf_dm&amp;quot; application, where I was seeing inconsistent RSSI values.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Leonardo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/445140?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2023 12:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80f858aa-755a-4b22-a437-4137de4b7249</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Leonardo Balocchi"]Are we sure that&amp;#39;s the right way to programme the BC840E?[/quote]
&lt;p&gt;From the doc, it seems like that. You also could use the J-Link debug probe to replace nRF52840DK for programming. Do you also try other&amp;nbsp;&lt;span&gt;BC840 E boards? If you also have programming issues with the J-Link debug probe, you should contact the provider since&amp;nbsp;BC840 E is not produced by Nordic.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/445071?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2023 07:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11cc1086-727f-4efa-836c-2485a1961868</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;The baud rate is 115200 on the serial settings.&lt;/p&gt;
&lt;p&gt;When I connect only the nRF52840 board to the PC and load the zephyr.hex programme (i.e. without the 10 connection wires to the BC840E) the serial terminal seems to work.&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/Screenshot-_2800_1309_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;Instead it prints in the serial terminal&amp;nbsp;continuously the same values I showed you above if I program the nRF52840 with the 10 connection wires attached and then the BC840E as well.&lt;/p&gt;
&lt;p&gt;I tried changing USBs and Putty and the same thing happens.&lt;br /&gt;Are we sure that&amp;#39;s the right way to programme the BC840E? I&amp;#39;m pretty sure the problem lies in flashing the programme on nRF52840 when the other board (BC840 E) is also attached via 10 wires, because only in this case does the programme give problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/444992?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2023 15:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:507685c2-fd1c-406e-a26b-c651eda9b9db</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Leonardo Balocchi"]The boud rate is correct[/quote]
&lt;p&gt;What the baud rate do you use?&lt;/p&gt;
&lt;p&gt;Could you try to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/testing.html#how-to-connect-with-putty"&gt;connect with Putty&lt;/a&gt;&amp;nbsp;or use another USB cable?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/444973?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2023 14:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eb6aa01-6737-4af3-a7c2-14577c856828</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;OK, I solved the update issue, now the building of the &amp;quot;radio_test&amp;quot; application seems to work.&lt;/p&gt;
&lt;p&gt;I remind you that I have 2 boards, the nRF52840 board and the BC840E evaluation board.&lt;br /&gt;I loaded the radio test programme into the nRF52840 board connected via USB to the PC, and using the &amp;quot;flash&amp;quot; in VS Code.&lt;br /&gt;To this first board the BC840E board is connected via a 10-wire connection (for the power supply the BC840E is not connected via USB to the pc, but to an external battery), and according to what you told me above, by flashing the programme to the nRF52840 connected via 10 wires to the BC840E, the same programme should also be loaded inside this second board.&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/WhatsApp-Image-2023_2D00_09_2D00_07-at-16.01.59.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Then through the serial terminal I give the commands you wrote me above (&amp;quot;start_channel&amp;quot; 40 and &amp;quot;start_tx_modulated_carrier&amp;quot;), always with both boards connected as I described, but opening the serial terminal I see these writings printed:&lt;br /&gt;&amp;quot;bfdegeffcgfedd e!e &amp;quot;f#d$f%f&amp;amp;e&amp;#39;e(f)f*f+c,e-f.g/f0d1g2g3f4f5c6f7g8f9g:c;d&amp;lt;e=g&amp;gt;g?c@eAfBfCgDdEfFeGfHfIdJeKfLeMgNdOfPddffeedee d&lt;br /&gt; f&lt;br /&gt; f&lt;br /&gt;ceffgadfgfddedbgfe e!b &amp;quot;e#f$f%f&amp;amp;e&amp;#39;f(f)e*g+d,g-e.f/g0c1f2f3g4f5e6g7g8e9e:a;g&amp;lt;d=e&amp;gt;f?b@eAfBgCgDdEgFeGfHfIcJfKfLeMhNdOfPfehfeedcd e&lt;br /&gt; f&amp;quot;......&lt;/p&gt;
&lt;p&gt;The boud rate is correct and I have also tried flashing the board via the NRF Programmer, loading the file &amp;#39;zephyr.hex&amp;#39; (always keeping the same configuration), instead by VS Code, but it produces the same result.&lt;br /&gt;&lt;br /&gt;That seems to be the correct way you described to me to programme the second BC840E board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/444564?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2023 16:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2520de79-05a7-4b00-97d2-5c417f9fe92c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which NCS version are you using?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;radio_test sample can be found under&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;samples/peripheral/radio_test&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;in the nRF Connect SDK folder structure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would suggest you update the SDK via the Toolchain Manager and then load the&amp;nbsp;radio_test sample from the NCS instead of downloading it from the web.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1693931568425v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/444333?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 13:02:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e328a02-ff8a-44f3-a658-1f5fa765ba49</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I tried to upload the example you described and which I found within the GitHub repository (&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/peripheral/radio_test/src/radio_test.c"&gt;github.com/.../radio_test.c&lt;/a&gt; ), as within the examples provided by NRF Connect in VS code, there is no radio_test example.&lt;br /&gt;Downloading it and doing &amp;quot;open an existing application&amp;quot; in VS Code gives the following errors during compilation:&lt;/p&gt;
&lt;p&gt;1) &amp;quot;No SOURCES given to Zephyr library: lib__libc__common&amp;quot;.&lt;br /&gt;2) &amp;quot;implicit declaration of function &amp;#39;NRFX_MHZ_TO_HZ&amp;#39; [-Wimplicit-function-declaration]&amp;quot;&lt;/p&gt;
&lt;p&gt;in the default code found on the net, without making any changes.&lt;br /&gt;How can I proceed to resolve these errors?&lt;br /&gt;The library mentioned in the error is also present in other applications that run without errors.&lt;br /&gt;It should also not be a folder location error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and also if I try to add the prj.conf file configuration in the building these errors pop up:&lt;/p&gt;
&lt;p&gt;1) sys/printk.h: No such file or directory&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2) #include errors detected based on information provided by the configurationProvider setting. Squiggles are disabled for this translation unit (C:\Users\leonardo\Downloads\sdk-nrf-master\sdk-nrf-master\samples\peripheral\radio_test\src\radio_cmd.c).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;3) cannot open source file &amp;quot;init.h&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;4) init.h: No such file or directory&lt;/p&gt;
&lt;p&gt;&amp;nbsp;5) cannot open source file &amp;quot;shell/shell.h&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/443746?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 13:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0c90f92-10ed-4006-9bc5-2da1a3179d5f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should make sure&amp;nbsp;&lt;span&gt;the&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html"&gt;Radio test&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;sample&lt;/span&gt;&amp;nbsp;runs on your test target &lt;span&gt;BC840E board&lt;/span&gt;&amp;nbsp;and get the boot-up log as my figure. Then, type the commands and get the corresponding return.&lt;/p&gt;
[quote user="Amanda"]&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0116.pastedimage1693316072540v1.png" alt=" " /&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Then, use a nRF52840DK&amp;nbsp;to&lt;span&gt;&amp;nbsp;connect the nRF RSSI viewer app.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/443705?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 11:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbbc4c64-e89c-4d06-8009-28600d6c2644</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I tried repeating the tests you told me, entering the sequence of commands (start_channel 40 and start_tx_modulated_carrier) but the result is not what I see in your photo.&lt;br /&gt;I attach a photo of the result I see:&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/4540.Screenshot-_2800_2_2900_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/443577?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 13:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c01969-6cd1-4020-800c-c7e08219de7f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Leonardo Balocchi"]To set the parameters you specified, do I have to act directly on the source code, or is there an easier way to do it?[/quote]
&lt;p&gt;Try to send the following commands on the top of the nRF &lt;span&gt;Serial Terminal&amp;nbsp;&lt;/span&gt;&lt;span&gt;to do a modulated carrier at frequency 2440MHz:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;start_channel 40&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;start_tx_modulated_carrier&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1693316072540v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then used an nRF52DK/nRF52840DK connected to the nRF RSSI viewer app&amp;nbsp;(nRF Desktop Connect tool) to confirm that the DUT was transmitting.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1693316610584v4.png" alt=" " /&gt;&lt;br /&gt;You can see the 2440MHz channel rise up.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/443131?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 09:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b42e54c1-dbe6-4c6b-8b21-b33c48d81446</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Amanda, about your answer &amp;quot;&lt;/span&gt;&lt;span&gt;I recommend that you use the&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html"&gt;Radio test&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;sample, then select only one channel, like channel 40 as an example. Then put it in TX mode&lt;/span&gt;&lt;span&gt;&amp;quot;:&amp;nbsp;To set the parameters you specified, do I have to act directly on the source code, or is there an easier way to do it?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I read in the link you sent me about commands that can be entered via the user interface, but I didn&amp;#39;t quite understand what it is and how I can use it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;it is not possible to do this directly from nrf Connect Desktop?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And when I try to insert the commands I found under &amp;quot;user interface&amp;quot; (for example print_rx or start_channel) in the link &amp;quot;Radio test (short range)&amp;quot; example you linked me, in the nrf Serial Terminal (nrf Desktop Connect tool), they do not work.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442613?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 14:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:992b6c97-3a7b-410c-92ae-dbc23800066f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As I mentioned in the first reply,&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;RSSI is not the best way to do these types of measurements, there is often some interference or reflections that will change the expected results\outcome. Therefore, I suggest you&amp;nbsp;use sample&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/nrf_dm/README.html"&gt;Bluetooth: nRF Distance Measurement with Bluetooth LE discovery&lt;/a&gt;&amp;nbsp;which would also report RSSI value. Are you able to get the log with the sample?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Our expert suspects that you are maybe not setting up the test correctly.&amp;nbsp;For best results and most consistent I recommend that you use the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html"&gt;Radio test &lt;/a&gt;sample, then select only one channel, like channel 40 as an example. Then put it in TX mode.&amp;nbsp;This will give them a continuous +0dBm TX stream on channel 40.&amp;nbsp;Then on the receiver side, connect &lt;span&gt;nRF52840DK&lt;/span&gt; to the computer and then use the &amp;nbsp;RSSI Viewer app in nRF Connect for Desktop. You&amp;nbsp;should be able to see what channel spikes when you enable the transmitter(BC840E board).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442568?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 12:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae146bf-3d04-4139-b79e-c0154b98fb88</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;However, I programmed the two boards as you told me, but the main problem persists:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;I placed the two boards 1m apart, and for the 2.4 GHz frequency I should have a path loss of 40.04 dB.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;On the BC840E board I connected a 5 dBi gain antenna.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Knowing that the nRF52840 in transmission I set it for 0 dBm and that the antenna gain on the nRF52840 is 0 dBi, I should see about -35 dBm of RSSI, the problem is that the measured RSSI is about -2 dBm.&lt;/span&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442448?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 08:25:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c77c5762-f725-48a1-be8e-f861e615b12a</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;how can i check the register of the BC840E evaluation board? i can only connect to it via the nRF52840DK to load the programme, as you saw above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442355?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 14:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34715500-6b82-4094-8be7-65b484bf334e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can check the device log on the&lt;span&gt;&amp;nbsp;BC840E to see whether you get the expected log or not.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442333?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:57:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290b1ede-83f8-4656-8f1c-9fae2b3f7cfa</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Okay, and how do I check that the programme has been loaded correctly on the BC840E?&lt;br /&gt;(I don&amp;#39;t think it&amp;#39;s possible to do this via the nRF Connecto for Desktop programmer, because it doesn&amp;#39;t see that board)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442313?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1d4ed33-c191-4486-9016-52cc9ddd5a02</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;yes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442161?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2023 15:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b11800f3-707d-4580-a465-a5b5f06f0acd</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi Amanda,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I told you in a few replies above, using the nrf Connect Programmer, what I can see is only the nRF52840 DK board, although they are both connected and verified as you told me with the j-link Commander:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:200px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x400/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2023_2D00_08_2D00_19-at-17.08.10.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;If I load the zephyr.hex file into the nRF52840DK, will it also automatically load into the BC840E board (even if it is not detected by the nrf Connect Programmer)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442123?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 16:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ffab04-3281-4a84-b2b3-1cda57094ac1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can use nRF Command Line tool or&amp;nbsp;&lt;a title="nRF Connect Programmer" href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_introduction.html?cp=11_3_1"&gt;nRF Connect Programmer&lt;/a&gt;&lt;span&gt;&amp;nbsp;to program the image.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="Leonardo Balocchi"]nrfjprog -f NRF52 --program zephyr.hex --chiperase --reset&amp;quot;[/quote]
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442117?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 15:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57bbcbc1-6399-4e26-a495-8464c8a38e35</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;how? do i have to open the normal command prompt (i.e. not the J-link commander)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442116?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 15:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:640e4f16-a7bc-4a75-a2a0-42d32458acbd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can start to program it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measurement of RSSI or transit time of a message via BLE with the Nordic 52840 and another slave board.</title><link>https://devzone.nordicsemi.com/thread/442114?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 15:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac8f6910-2605-4db3-bf1f-b16bbb83a4cc</guid><dc:creator>Leonardo Balocchi</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;OK, the 2 boards are connected to the computer&amp;#39;s usb and connected to each other via the &amp;#39;10-conductor cable for connection&amp;#39;.&lt;br /&gt;I opened J-link Commander and it returns exactly what you showed me in the reply above.&lt;br /&gt;Now what is the next step?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>