<?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>Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80285/read-write-network-core-registers-from-application-core</link><description>How can I read and/or write registers belonging to the Network core from the application core. I would like to do it without modifying the hci_rpmsg that is built by default. Is there a hci api to do this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Oct 2021 10:22:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80285/read-write-network-core-registers-from-application-core" /><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/333885?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 10:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:687ba0cd-4cc7-411c-b621-84ad01369438</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="nvelozsavino"]Where&amp;#39;s the hci_rpmsg source code?&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/master/samples/bluetooth/hci_rpmsg"&gt;zephyr/samples/bluetooth/hci_rpmsg&lt;/a&gt; is the location.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="nvelozsavino"]How can we create a project that compiles a custom child image?[/quote]
&lt;p&gt;&lt;span&gt;First, open a command prompt in the build folder of the network sample and enter the following command to erase the flash memory of the network core and program the network sample:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;nrfjprog -f NRF53 --coprocessor CP_NETWORK --program zephyr/zephyr.hex --chiperase&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Then navigate to the build folder of the application sample and enter the following command to erase the flash memory of the application core and program the application sample:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;nrfjprog -f NRF53 --program zephyr/zephyr.hex --chiperase&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Finally, reset the development kit:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;nrfjprog --pinreset&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can build app core and net core separately and flash with nrfjprog.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Regards,&lt;br /&gt;Jonathan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/333847?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 08:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3687e0e4-bae5-4c83-8026-d4acea95f1df</guid><dc:creator>nvelozsavino</dc:creator><description>&lt;p&gt;But that replace the entire hci_rpmsg child image, in fact that sample doesn&amp;#39;t even use the application core. What we need is to use the current hci_rpmsg image in the network core and add the capabiliy to modify the registers from the Application core.&lt;/p&gt;
&lt;p&gt;Where&amp;#39;s the hci_rpmsg source code?&amp;nbsp;&lt;br /&gt;How can we create a project that compiles a custom child image?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/333202?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 08:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb5e17f4-a788-4343-a016-4c3c338ebb1d</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;We do have the radio test example, I recommend that you use that.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/samples/peripheral/radio_test/README.html"&gt;Radio test — nRF Connect SDK 1.7.0 documentation (nordicsemi.com)&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.7.0/samples/peripheral/radio_test"&gt;sdk-nrf/samples/peripheral/radio_test at v1.7.0 · nrfconnect/sdk-nrf (github.com)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/332830?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 12:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8c87a3-3875-4bca-8e82-f576a16b036c</guid><dc:creator>nvelozsavino</dc:creator><description>&lt;p&gt;The device is a medical device, it seems the certification process requires to change these parameters to evaluate the impact on the body. I&amp;nbsp;think in normal operation we won&amp;#39;t allow to modify the frequency parameter. so it should be for certification purposes only. Is there a way to change this value with an API like the TXPOWER?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/332767?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 09:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2802c556-2b96-4e77-9b71-33ab9f8e4207</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What is the goal, if you could explain what you are trying to to then maybe I could provide some better info. Is the goal to do PHY updates ?&lt;br /&gt;&lt;br /&gt;There is a TXPOWER HCI command&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/332608?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 12:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85c5f479-beb5-4afd-a782-f73af50ad0c0</guid><dc:creator>nvelozsavino</dc:creator><description>&lt;p&gt;Ok, I want to avoid modifying the hci_rpmsg image, I only need to access (read and write) 2 registers:&lt;/p&gt;
&lt;p&gt;From FREQUENCY (0x41008508) we need and write FREQUENCY field&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and&amp;nbsp; from&amp;nbsp; TXPOWER (&lt;span&gt;0x41008&lt;/span&gt;50C) we would like to read and write the TXPOWER field&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a way to read/write these parameters using an already existing API?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read/Write network core registers from application core</title><link>https://devzone.nordicsemi.com/thread/332586?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 11:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2392e4ab-52c4-4a12-92a1-905ec0016a75</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am not able to find anything that seems to work the way you want, I believe you will have to modify the hci_rpmsg sample.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are some links with relevant info:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/soc_overview/doc/soc_overview.html?cp=3_0_0_2_0#blockdiagram"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/soc_overview/doc/soc_overview.html?cp=3_0_0_2_0#blockdiagram&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/62876/data-transfer-between-app-core-and-net-core"&gt;Data transfer between APP core and Net core. - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67635/nrf53-nrfx-how-to-do-inter-processor-communication"&gt;nRF53/nrfx: How to do Inter Processor Communication? - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/73371/access-network-core-registers-from-app-core"&gt;Access network core registers from app core - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>