<?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>nrf5340 radio test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74747/nrf5340-radio-test</link><description>I&amp;#39;m debugging radio test sample and I&amp;#39;m having some problems. The first step is to compile NRF / samples / peripheral / radio with SES_ Zephyr.hex in test project. Second, use west to download zephyr. Hex to the network core. In the third step, use SES</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 May 2021 14:38:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74747/nrf5340-radio-test" /><item><title>RE: nrf5340 radio test</title><link>https://devzone.nordicsemi.com/thread/308775?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 14:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c531879-1982-485f-99f3-2ac54a658514</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;It&amp;#39;s initialized with the &lt;a href="https://docs.zephyrproject.org/latest/reference/drivers/index.html#c.SYS_INIT"&gt;SYS_INIT&lt;/a&gt;&amp;nbsp;macro.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.5.1/samples/peripheral/radio_test/src/radio_cmd.c#L1344"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.5.1/samples/peripheral/radio_test/src/radio_cmd.c#L1344&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 radio test</title><link>https://devzone.nordicsemi.com/thread/308628?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 01:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:001881dd-9651-4296-a0aa-2fb18a64ac2b</guid><dc:creator>mingjkl</dc:creator><description>&lt;p&gt;Thank you for your answer. I want to ask another question about radio test. I see that in the project of radio test, in the main (void) of main.c, the first execution is printk, and then clock_ Init (), but I can&amp;#39;t see the initialization code of radio and UART. How did UART and radio start to work.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2020 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
 */

#include &amp;lt;sys/printk.h&amp;gt;
#include &amp;lt;drivers/clock_control.h&amp;gt;
#include &amp;lt;drivers/clock_control/nrf_clock_control.h&amp;gt;

static void clock_init(void)
{
	int err;
	int res;
	struct onoff_manager *clk_mgr;
	struct onoff_client clk_cli;

	clk_mgr = z_nrf_clock_control_get_onoff(CLOCK_CONTROL_NRF_SUBSYS_HF);
	if (!clk_mgr) {
		printk(&amp;quot;Unable to get the Clock manager\n&amp;quot;);
		return;
	}

	sys_notify_init_spinwait(&amp;amp;clk_cli.notify);

	err = onoff_request(clk_mgr, &amp;amp;clk_cli);
	if (err &amp;lt; 0) {
		printk(&amp;quot;Clock request failed: %d\n&amp;quot;, err);
		return;
	}

	do {
		err = sys_notify_fetch_result(&amp;amp;clk_cli.notify, &amp;amp;res);
		if (!err &amp;amp;&amp;amp; res) {
			printk(&amp;quot;Clock could not be started: %d\n&amp;quot;, res);
			return;
		}
	} while (err);

	printk(&amp;quot;Clock has started\n&amp;quot;);
}

void main(void)
{
	printk(&amp;quot;Starting Radio Test example\n&amp;quot;);

	clock_init();
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 radio test</title><link>https://devzone.nordicsemi.com/thread/308481?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 09:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a902e75-e002-41c2-a0fc-6cbbaa4043fa</guid><dc:creator>Sigurd</dc:creator><description>[quote user="mingjkl"]Do these three com correspond to application core and network core respectively?[/quote]
&lt;p&gt;&amp;nbsp;Yes, from &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/ug_nrf5340.html#getting-logging-output"&gt;this link&lt;/a&gt;, we have the following:&lt;/p&gt;
&lt;p&gt;When connected to the computer, the nRF5340 DK emulates three virtual COM ports. In the default configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Logging output from the application core sample is available on the third (last) COM port.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Logging output from the network core (if available) is routed to the first COM port.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The second (middle) COM port is silent.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 radio test</title><link>https://devzone.nordicsemi.com/thread/308435?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 06:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d75d976-28a0-4e13-8744-99b62eb0dff0</guid><dc:creator>mingjkl</dc:creator><description>&lt;p&gt;Thank you for your reply. After connecting nrf5340dk, three com will appear in the serial communication tool. Do these three com correspond to application core and network core respectively?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 radio test</title><link>https://devzone.nordicsemi.com/thread/308415?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 21:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c778ea0b-d445-4dc8-bd7f-2a4283ea6aab</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]serial port returns the following[/quote]
&lt;p&gt;&amp;nbsp;Did you check the other serial ports? It might be that the output you are looking at here is the app-core serial port, just running&amp;nbsp;empty_app_core, and you need to be looking at the network serial port?&lt;/p&gt;
&lt;p&gt;PS: We recommend using PuTTY when testing the radio_test sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/gs_testing.html#putty"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/gs_testing.html#putty&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>