<?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>3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&amp;gt; compilation warning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100594/3-29-158-radio-using-power-register-clears-radio-trim-values---compilation-warning</link><description>Hello ! 
 In errata https://infocenter.nordicsemi.com/pdf/nRF5340_Rev_1_Errata_v1.6.pdf 
 the next code line is in use for workaround : 
 for (index = 0; index &amp;lt; 32ul &amp;amp;&amp;amp; NRF_FICR_NS-&amp;gt;TRIMCNF[index].ADDR != (uint32_t *)0xFFFFFFFFul; index++){ 
 and compiler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jun 2023 14:54:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100594/3-29-158-radio-using-power-register-clears-radio-trim-values---compilation-warning" /><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/432384?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 14:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:845d28ef-81c6-45c4-9011-a502eda6d2da</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I believe that the &lt;span&gt;(&lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;)&amp;nbsp; cast should not be there, a&lt;/span&gt;nd the errata document might be wrong. I&amp;#39;m double checking with the team, and will get back to you.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/430367?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd08acb-1b68-4efd-940e-85dfbf8be547</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;But we talking about this line&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/pastedimage1686555166577v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/430247?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 12:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81e9e3df-558d-4d5d-8097-916906159801</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use the one with the casting.&lt;/p&gt;
&lt;p&gt;That also matches what&amp;#39;s in the errata document.&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/pastedimage1686314991810v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/430243?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 12:39:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5906d00e-3783-454d-b7e8-bcb027a8520d</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;HI !&lt;/p&gt;
&lt;p&gt;This version is compiled without warning becouse&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;) casting is not added.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;What do you think, should it be there or not ?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;What version of workaround I should use ?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/430216?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 11:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa0456c9-6dfa-4cff-8250-a21645b57b53</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try this one instead:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/nrfx-2.11.0/nrfx/mdk/system_nrf5340_network.c#L50"&gt;https://github.com/zephyrproject-rtos/hal_nordic/blob/nrfx-2.11.0/nrfx/mdk/system_nrf5340_network.c#L50&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/429921?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 09:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17d0c14f-0174-41c7-be10-8b8b57b2ba36</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;I have installed fresh 2.4 NCS release and compiler there&lt;/p&gt;
&lt;p&gt;ncs/toolchains/v2.4.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Source code for workaround looks the same but in my case it is also part of radio driver on netcore.&lt;/p&gt;
&lt;p&gt;May be generic code suppress some warnings in some config files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 3.29 [158] RADIO: Using POWER register clears RADIO
trim values -&gt; compilation warning</title><link>https://devzone.nordicsemi.com/thread/429915?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 08:52:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a244de9-bedf-4cf9-8afb-5b53c15ef023</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What compiler are you using?&lt;/p&gt;
&lt;p&gt;You can see how it&amp;#39;s implemented here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-hal_nordic/blob/main/nrfx/mdk/system_nrf5340_network.c#L52"&gt;https://github.com/nrfconnect/sdk-hal_nordic/blob/main/nrfx/mdk/system_nrf5340_network.c#L52&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>