<?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 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api</link><description>Hi, I get started with nRF53 and Connect SDK. I have developed nRF5X SDK on nRF52840. 
 My goal is that application core send and receive 802.15.4 raw packet for my specific protocol. 
 I have serveral questions about nRF53 and Connect SDK . 
 
 1. Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Dec 2023 13:23:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api" /><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/461576?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2023 13:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4480a6c-0663-44ca-b1d6-4fa4d0a96b27</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can run nRF IEEE 802.15.4: Serialization RPMsg on the network core and use IPC service to communicate between the cores. I recommend using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/nrf/samples/ipc/ipc_service/README.html"&gt;IPC service sample&lt;/a&gt; as a starting point and modify what is sent from the application core to the network core. &lt;br /&gt;Building the sample for the application core will automatically add the nRF IEEE 802.15.4: Serialization RPMsg sample as a child image for the network core.&lt;/p&gt;
&lt;p&gt;Please also see the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/zephyr/services/ipc/ipc_service/ipc_service.html"&gt;IPC service API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Due to holidays we will have reduced staffing next week, and an increase in response time is expected.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/461506?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2023 00:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0425ae29-5a66-4e17-8eaf-62a9801434d9</guid><dc:creator>_maibi</dc:creator><description>[quote userid="92402" url="~/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api/461284"]Can you clarify what it is you want to achieve?[/quote]
&lt;p&gt;My goal is&amp;nbsp;to receive 802.15.4 packet on application core and transmit response packet for private protocol not zigbee. and I don&amp;#39;t care a kind of communication for application core and network core. (If there is no significant difference in performance)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/461284?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 13:27:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc07a393-f7a0-44dc-ba8c-7f57d3e891fb</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="_maibi"]I just want to reach my goal. I don&amp;#39;t want to do this manually.[/quote]
&lt;p&gt;Can you clarify what it is you want to achieve? &lt;br /&gt;If you want to use Zigbee you can just build the Zigbee samples in our SDK (under nrf/samples/zigbee) for the nRF5340 application core and the network core image will automatically be added as a child image. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/461200?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 05:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8118caa0-e45e-49e4-8ec7-0912af4abb53</guid><dc:creator>_maibi</dc:creator><description>[quote userid="92402" url="~/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api/460984"]Can you share the complete build log and the changes you made to the sample?[/quote]
&lt;p&gt;never mind.&amp;nbsp;&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api/460984"]Is there any reason why you are doing this manually? In the Zigbee samples this is already handled automatically by the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/zephyr/samples/boards/nrf/ieee802154/802154_rpmsg/README.html"&gt;nRF IEEE 802.15.4: Serialization RPMsg&lt;/a&gt; sample running on the network core.[/quote]
&lt;p&gt;I just want to reach my goal. I don&amp;#39;t want to do this manually.&lt;/p&gt;
&lt;p&gt;I copied the project of &amp;quot;802.15.4 RPMsg serialization&amp;quot;. It is the project of network core. and I add application core project to the workspace. The application project is &amp;quot;rpmsg_service&amp;quot;.&lt;/p&gt;
&lt;p&gt;But, This workspace failed to build. This is log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1AsnKiW4FuyBkynPhv_AmxsHroUCh-uYO/view?usp=drive_link"&gt;log link&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have no idea why &amp;quot;Insert of code&amp;quot; for uploading log doesn&amp;#39;t work properly. I attach my google drive link.&lt;/p&gt;
&lt;p&gt;application config&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// pg.conf
CONFIG_PRINTK=y
CONFIG_IPM=y
CONFIG_TIMESLICE_SIZE=1
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_RPMSG_SERVICE=y
CONFIG_RPMSG_SERVICE_MODE_MASTER=y
CONFIG_OPENAMP_SLAVE=n

// nrf5340dk_nrf5340_cpuapp.conf
CONFIG_BOARD_ENABLE_CPUNET=y

// nrf5340dk_nrf5340_cpuapp_defconfig
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_NRF53X=y
CONFIG_SOC_NRF5340_CPUAPP_QKAA=y
CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP=y

# Enable MPU
CONFIG_ARM_MPU=y

# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y

# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y

# enable GPIO
CONFIG_GPIO=y

# Enable uart driver
CONFIG_SERIAL=y

# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_PINCTRL=y

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/460984?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 08:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73923d48-c8eb-463a-817e-85bf886d29ca</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="_maibi"]1. Can the application core access radio fucntion directly?&amp;nbsp;[/quote]
&lt;p&gt;I have asked the developers about this.&lt;/p&gt;
[quote user="_maibi"]2. I starts with ipc_service project. I occured fail to build with these configs.[/quote]
&lt;p&gt;Can you share the complete build log and the changes you made to the sample?&lt;/p&gt;
[quote user="_maibi"]3.&amp;nbsp;I am now trying to use the ipc service to receive zigbee data from the network core, process the data in the application core, and then send a response through the ipc service.[/quote]
&lt;p&gt;Is there any reason why you are doing this manually? In the Zigbee samples this is already handled automatically by the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/zephyr/samples/boards/nrf/ieee802154/802154_rpmsg/README.html"&gt;nRF IEEE 802.15.4: Serialization RPMsg&lt;/a&gt; sample running on the network core.&lt;/p&gt;
[quote user="_maibi"]I expect this to be slower than the existing nrf52840, is that correct?[/quote]
&lt;p&gt;I would expect this to be slower, but it should not be enough to be noticeable.&lt;/p&gt;
[quote user="_maibi"]4. What is 802154 serialization? Is it using ipc service?[/quote]
&lt;p&gt;The 802.15.4 serialization uses RPMsg, which is part of OpenAMP, for data transport between the two cores. IPC signaling is used to indicate that there is new data to transport. You can read more about this in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#inter-core-communication"&gt;Inter-core communication&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/460461?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 05:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8ee0fd3-4f5a-4555-8769-6b77c7388af8</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api/460428"]When building the sample for the network core on the nRF5340 DK, the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/nrf5340/empty_app_core/README.html"&gt;nRF5340: Empty firmware for application core&lt;/a&gt; sample will automatically be built as a child image of the 802.15.4 PHY test tool sample.[/quote]
&lt;p&gt;I got it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But, I&amp;#39;m a little confused.&lt;/p&gt;
&lt;p&gt;1. Can the application core access radio fucntion directly?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Even if the registers of the network core cannot be accessed directly, is there a driver type that can be used in the application core in another form, that is, in the form of a function?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. I starts with ipc_service project. I occured fail to build with these configs.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
 *  Executing task: nRF Connect: Build [pristine]: ipc_service/build (active) 

Building ipc_service
west build --build-dir c:/Users/gksrb/ipc_service/build c:/Users/gksrb/ipc_service --pristine --board nrf5340dk_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/gksrb/ipc_service -DCONF_FILE=c:/Users/gksrb/ipc_service/prj.conf;c:/Users/gksrb/ipc_service/boards/nrf5340dk_nrf5340_cpuapp.conf

-- west build: generating a build system
CMake Error at CMakeLists.txt:10 (if):
  if given arguments:

    &amp;quot;c:/Users/gksrb/ipc_service/prj.conf&amp;quot; &amp;quot;c:/Users/gksrb/ipc_service/boards/nrf5340dk_nrf5340_cpuapp.conf&amp;quot; &amp;quot;MATCHES&amp;quot; &amp;quot;prj_(.*).conf&amp;quot;

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe &amp;#39;-Bc:\Users\gksrb\ipc_service\build&amp;#39; -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/gksrb/ipc_service &amp;#39;-DCONF_FILE=c:/Users/gksrb/ipc_service/prj.conf;c:/Users/gksrb/ipc_service/boards/nrf5340dk_nrf5340_cpuapp.conf&amp;#39; &amp;#39;-Sc:\Users\gksrb\ipc_service&amp;#39;

 *  The terminal process failed to launch (exit code: 1). 
 *  Terminal will be reused by tasks, press any key to close it. &lt;/pre&gt;How can I fix?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;I am now trying to use the ipc service to receive zigbee data from the network core, process the data in the application core, and then send a response through the ipc service.&lt;br /&gt;I expect this to be slower than the existing nrf52840, is that correct?&lt;br /&gt;Will this structure produce a response speed that can be used at the product level?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;4. What is 802154 serialization? Is it using ipc service?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/460428?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 17:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ef8819-8afb-4c91-9b6f-4f854619eb2d</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="_maibi"]But, I can build another project of &amp;quot;remote_shell&amp;quot;.[/quote][quote user="_maibi"]and I don&amp;#39;t know what f/w should be flashed on network core.[/quote]
&lt;p&gt;You should build the Radio test sample. &lt;br /&gt;From step 2 in the Testing section of the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/nrf5340/remote_shell/README.html"&gt;nRF5340: Remote IPC shell&lt;/a&gt; sample documentation:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;2. Program the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/peripheral/radio_test/README.html#radio-test"&gt;&lt;span&gt;Radio test (short-range)&lt;/span&gt;&lt;/a&gt; sample to the network core.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="_maibi"]It is not true. When I create the project of &amp;quot;802154_phy_test&amp;quot;, It create application and network core project.[/quote]
&lt;p&gt;What I meant by it only being supported on the network core is that the sample only supports building for the network core, i.e. using nrf5340dk_nrf5340_cpunet as build target. When building the sample for the network core on the nRF5340 DK, the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/nrf5340/empty_app_core/README.html"&gt;nRF5340: Empty firmware for application core&lt;/a&gt; sample will automatically be built as a child image of the 802.15.4 PHY test tool sample. So yes, you will get both a project for the network core and the application core, where the 802.15.4 PHY test tool is the firmware image of the network core and the Empty firmware for application core is the firmware image for the application core.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/460266?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 01:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:239ca67b-1d32-4159-a383-2ec41c248696</guid><dc:creator>_maibi</dc:creator><description>[quote userid="92402" url="~/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api/460175"]Can you share your build log?[/quote]
&lt;p&gt;I faild to add these config to project of &amp;quot;802154_phy_test&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(I can&amp;#39;t all logs for now. I think this web site has a problem.)&lt;/p&gt;
&lt;p&gt;shortly,&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;C:/ncs/v2.5.0/zephyr/include/zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld:31:10: fatal error: pm_config.h: No such file or directory&lt;br /&gt; 31 | #include &amp;lt;pm_config.h&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;I added these config to kconfig of application core.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
CONFIG_NRF_802154_SER_HOST=y
CONFIG_IEEE802154_NRF5=y
CONFIG_NETWORKING=y
CONFIG_IEEE802154=y
CONFIG_NET_L2_IEEE802154=y

CONFIG_PARTITION_MANAGER_ENABLED=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But, I can build another project of &amp;quot;remote_shell&amp;quot;.&lt;/p&gt;
&lt;p&gt;It works for these configs, But, It doesn&amp;#39;t run in application.&lt;/p&gt;
&lt;p&gt;It stuck with this log.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt;[00:00:00.423,461] &amp;lt;inf&amp;gt; ieee802154_nrf5: nRF5 802154 radio initialized
*** Booting nRF Connect SDK v2.5.0 ***
[00:00:00.424,468] &amp;lt;inf&amp;gt; remote_shell: Wait for DTR&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and I don&amp;#39;t know what f/w should be flashed on network core.&lt;/p&gt;
&lt;p&gt;I tried the project of 802154_rpmsg. but, It&amp;#39;s same.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/106578/nrf5340-dk-implements-802-15-4-raw-api/460175"]The 802154_phy_test sample is only supported on the nRF5340 network core, not application core.[/quote]
&lt;p&gt;It is not true. When I create the project of &amp;quot;802154_phy_test&amp;quot;, It create application and network core project.&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/pastedimage1702517747556v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SDK 2.5.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK implements 802.15.4 raw API</title><link>https://devzone.nordicsemi.com/thread/460175?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 14:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:decdfa33-dc52-4ad6-9a9c-416cb03211d5</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;1. Can application core of nRF5340 access 802.15.4 API directly? If it can, How to setup kconfig? What f/w flash on network core?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/99503/proprietary-ieee-802-15-4-protocol-with-nrf5340/424731"&gt;proprietary IEE 802.15.4 question&lt;/a&gt;&amp;nbsp;I read this question, but I failed build project properly.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;Can you share your build log?&lt;/p&gt;
[quote user=""]2. I also tested 802154_phy_test sample project. But It looks too slow to implement my project.[/quote]
&lt;p&gt;The 802154_phy_test sample is only supported on the nRF5340 network core, not application core.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>