<?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>Number of Writes in Flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60008/number-of-writes-in-flash</link><description>Hello, I would like to save a log in the nrf5340 FLASH, how many times is possible to write? May I write in the Application CPU Flash from the Network CPU FLASH when the Application CPU is in WFE() status (System ON I suppose). 
 Thank you! Emag</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Apr 2020 09:07:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60008/number-of-writes-in-flash" /><item><title>RE: Number of Writes in Flash</title><link>https://devzone.nordicsemi.com/thread/245461?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 09:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5712536-f193-4824-bdd5-630d10e2f462</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, it is possible to reconfigure the pins between TWI and TWIS in run-time.&amp;nbsp;Just make sure you un-initialize the other instance before you setup the new instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of Writes in Flash</title><link>https://devzone.nordicsemi.com/thread/244946?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed05a5bf-5998-4e7a-bbf4-8f9617c456d9</guid><dc:creator>emag nioj</dc:creator><description>&lt;p&gt;ok i&amp;#39;ll try the peripheral instantiation. Other question: to avoid the USBD not functional I need to add a FTDI USB-&amp;gt;I2C master on my project. May I share the same I2C pins of the nrf5340 as master when the FTDI is not enabled and as Slave when I try to access the I2C Bus with the FTDI chip? Changin on fly the same pin functions for nrf5340 port.&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Emag&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of Writes in Flash</title><link>https://devzone.nordicsemi.com/thread/244757?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 13:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55331449-c6b8-4501-a9e8-641505f169a6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please see my updated answer above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of Writes in Flash</title><link>https://devzone.nordicsemi.com/thread/244499?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 15:07:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e53baee6-c2a4-402e-8cce-974a3937f9b2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Endurance of the flash memory is given in the&amp;nbsp;&lt;a title="Absolute maximum ratings" href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/abs_max_ratings/doc/abs_max_ratings.html?cp=3_0_0_10"&gt;Absolute maximum ratings&lt;/a&gt;:&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="5" headers="d2953319e50 d2953319e52 d2953319e55 d2953319e58 d2953319e61" rowspan="1"&gt;&lt;strong&gt;Flash memory&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2953319e50" rowspan="1"&gt;Endurance&lt;/td&gt;
&lt;td colspan="1" headers="d2953319e52" rowspan="1"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td colspan="1" headers="d2953319e55" rowspan="1"&gt;10 000&lt;/td&gt;
&lt;td colspan="1" headers="d2953319e58" rowspan="1"&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d2953319e61" rowspan="1"&gt;Write/erase cycles&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;[EDIT]:&amp;nbsp;&lt;/strong&gt;The network core&amp;#39;s memory map includes the peripherals, RAM, and flash of the application core. The network core can access the application core&amp;#39;s resources even when the application CPU is in sleep mode,&amp;nbsp;but on the Engineering revision of the chip, the application CPU must be woken to access flash.&lt;/p&gt;
&lt;p&gt;The MDK does not seem to include support for this, as it will either &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/mdk/nrf.h#L148-L153"&gt;include the&amp;nbsp;nrf5340_application.h or&amp;nbsp;nrf5340_network.h&lt;/a&gt;, depending on whether&amp;nbsp;NRF5340_XXAA_APPLICATION or NRF5340_XXAA_NETWORK is defined. These files will only define the peripherals in either APPLICATION or NETWORK domain. To access the APPLICATION domain peripherals, you can use the &lt;a title="Peripheral instantiation" href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/overview/doc/memory/appmem.html?cp=3_0_0_4_2_0#instantiation"&gt;peripheral instantiation&lt;/a&gt;&amp;nbsp;base addresses directly from the network core application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>