<?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>how to save thread power calibration table to available non-volatile partition with nRF52811</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70408/how-to-save-thread-power-calibration-table-to-available-non-volatile-partition-with-nrf52811</link><description>We are using nRF52811, is there any sample code support to set/save thread power calibration table/data to available non-volatile partition. 
 thanks, Webber</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 08:46:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70408/how-to-save-thread-power-calibration-table-to-available-non-volatile-partition-with-nrf52811" /><item><title>RE: how to save thread power calibration table to available non-volatile partition with nRF52811</title><link>https://devzone.nordicsemi.com/thread/290944?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 08:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20b3290c-eb2b-4efb-b788-d7e8f405d111</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;I will close this case since a new case has been created for this new question. Please always do this for the new questions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/263470"&gt;how to find Makefile with correct directory to add including file from libraries&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to save thread power calibration table to available non-volatile partition with nRF52811</title><link>https://devzone.nordicsemi.com/thread/290539?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 13:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ee62439-9ede-442b-b9cf-365608cdb2a9</guid><dc:creator>Webber</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Is there any document which shows how to config the .h and .c file from libraries for building hex file?&lt;/p&gt;
&lt;p&gt;I copied folder fds from \nRF5_SDK_17.0.2_d674dde\components\libraries to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;openthread\third_party\NordicSemiconductor\libraries, and got below errors as&amp;nbsp;&lt;/p&gt;
&lt;p&gt;../../../examples/platforms/nrf528xx/libopenthread-nrf52811.a(libopenthread_nrf52811_a-diag.o): In function `fds_test_init&amp;#39;:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/media/public01/webber/openthread/examples/../examples/platforms/nrf528xx/src/diag.c:669: undefined reference to `fds_register&amp;#39;&lt;/p&gt;
&lt;p&gt;what command I using to generate hex file is &amp;quot;make -f examples/Makefile-nrf52811 NCP_SPI=1 FULL_LOGS=1 DIAGNOSTIC=1 &amp;amp;&amp;amp; arm-none-eabi-objcopy -O ihex output/nrf52811/bin/ot-ncp-mtd output/nrf52811/bin/ot-ncp-mtd.hex&amp;quot;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Webber&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to save thread power calibration table to available non-volatile partition with nRF52811</title><link>https://devzone.nordicsemi.com/thread/289078?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 08:12:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38bbca4b-dcf1-4b3b-a99b-acc26c3ddcbb</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Have you tried&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_fds.html"&gt;Flash Data Storage (FDS)&lt;/a&gt;&amp;nbsp;&lt;span&gt;example?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;From my understanding, your hardware structure nRF52811 and thread chip are connected through an interface. nRF52811 store the calibration data from the thread chip after calibration operation and send the data back to thread chip during startup. If this is how it works, FDS should be OK, and you only need to add read, write drivers for this interface.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to save thread power calibration table to available non-volatile partition with nRF52811</title><link>https://devzone.nordicsemi.com/thread/289051?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 01:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a86c4e-21e9-48f4-b073-f5ca26a98ab2</guid><dc:creator>Webber</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Thanks for your reply, what&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;thread power calibration table/data&lt;/span&gt;&lt;span&gt;&amp;quot; is the calibrated result of power and voltage values such as &amp;quot;-r A0 -t 11,3,1100/14,11,1000/25,2,1100 -b 11,3,4 -s 1050,-4,300/970,-4,240/630,-8,320/580,-8,120.....&amp;quot;&amp;nbsp; with size of around 200 to 300bytes, and it should be set to and loaded from thread chip when it bootup, we&amp;#39;re trying to implement this function on diagnostic mode with diag.c for reference, please advise us if there is other way&amp;nbsp;recommend.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Webber&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to save thread power calibration table to available non-volatile partition with nRF52811</title><link>https://devzone.nordicsemi.com/thread/288958?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 14:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03d84fdc-4cd2-44f3-b209-b4d506f30beb</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Webber,&lt;/p&gt;
&lt;p&gt;Can you explain what is &amp;quot;&lt;span&gt;thread power calibration table/data&lt;/span&gt;&amp;quot;? I assume it is not related to our &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_main.html"&gt;Thread &lt;/a&gt;since nRF52811 has too small memory and flash to support Thread.&lt;/p&gt;
&lt;p&gt;Back to the question, you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_fds.html"&gt;Flash Data Storage (FDS)&lt;/a&gt;&lt;span&gt;&amp;nbsp;library&amp;nbsp;&lt;/span&gt;to store custom data flash with or without Softdevice enable. Please refer to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/fds_example.html"&gt;Flash Data Storage&amp;nbsp;Example&lt;/a&gt;, specifically you can modify &amp;quot;m_dummy_cfg&amp;quot;&amp;nbsp;to your own target data structure.&lt;/p&gt;
&lt;p&gt;Since there is no direct example for nRF52811, please modify the existing example &amp;quot;&lt;strong&gt;Section Placement Macros&lt;/strong&gt;&amp;quot;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;( project option -&amp;gt; common -&amp;gt; Linker-&amp;gt; Section Placement Macro)&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to the following configuration to fit nRF52811 memory map.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FLASH_PH_START=0x0
FLASH_PH_SIZE=0x30000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x6000
FLASH_START=0x0
FLASH_SIZE=0x30000
RAM_START=0x20000000
RAM_SIZE=0x6000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>