<?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>ERRATA 89 -the second line of the code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80941/errata-89--the-second-line-of-the-code</link><description>Hello , 
 What is the purpose of the second line of the code in errata 89 ? 
 I mean this line ; 
 *(volatile uint32_t *)0x40003FFC; 
 did you use this one like nop ? 
 
 best regards,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Oct 2021 13:27:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80941/errata-89--the-second-line-of-the-code" /><item><title>RE: ERRATA 89 -the second line of the code</title><link>https://devzone.nordicsemi.com/thread/335768?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 13:27:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9fbc8a3-5b33-4446-bd51-d30b3afef816</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Regarding your query- &amp;#39;&amp;#39;When we just define a pointer on that address, also creates a read code ?&amp;#39;&amp;#39;&amp;nbsp; The code will read/load the value of that address (0x40003FFC) into one of the CPU registers.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Was this you intend to know?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR&lt;br /&gt;kazi&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERRATA 89 -the second line of the code</title><link>https://devzone.nordicsemi.com/thread/335549?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 22:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36421e98-5016-4356-9fa3-bf646998637c</guid><dc:creator>MCB</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;any read on the system bus requires the write buffer to be emptied first.&amp;nbsp;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am glad to ask that question because I learned another detail.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By the way , so when we just define a pointer on that address, also creates a read code ? Because code it self looks like just a definition,not reading or value assigning ... I think this is the second thing that I learned as a detail.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERRATA 89 -the second line of the code</title><link>https://devzone.nordicsemi.com/thread/335432?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 09:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2912f22-1e23-4ca5-ae7d-043160b7c5e8</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello MB,&lt;/p&gt;
&lt;p&gt;The purpose of the second line of the code in errata 89 was to make sure there is no extra current draw. So, we have to disable the TWIM (TWI Master with easy DMA) /SPIM (Serial Peripheral Interface Master) properly by turning the TWIM/SWIM off (0) and back on (1) after it has been disabled. To do so, it has to be written 0 followed by 1 to the power register (address 0XFFC) of the TWIM/SPIM that must be disabled.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Therefore,&lt;span&gt;&amp;nbsp;this line&amp;nbsp;&lt;strong&gt;*(volatile uint32_t *)0x40003FFC&lt;/strong&gt;&amp;nbsp;assures the effect of Read Back Register as any read on the system bus requires the write buffer to be emptied first. Then we ensure it sets to &amp;#39;0&amp;#39;&amp;nbsp;before it sets to &amp;#39;1&amp;#39;. You can say to give an extra clock cycle before it sets to 1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope it helps. Feel free to ask if you have further query.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kazi Afroza Sultana&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>