<?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>NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111425/nrfx-oscillator-will-never-allow-setting-bypass-for-lfxo</link><description>In NRFX Oscillator header , accessing the function requires the preprocessor macro which in turn requires preprocessor conditional 
 
 The problem is that final conditional is using the &amp;quot;defined&amp;quot; preprocessor macro to check if a typedef type exists which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2024 10:11:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111425/nrfx-oscillator-will-never-allow-setting-bypass-for-lfxo" /><item><title>RE: NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/thread/497994?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 10:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8f4145-1e0a-47a3-836b-64a9b4b6d0b7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Indeed it doesnt look like it was included in the nrfx version that is included with NCS v2.7.0. But the fix has been added in &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/075e9e711383bb3babfae4249fd59c8c8d882f72/hal/nrf_oscillators.h#L71"&gt;nrfx 3.6.0&lt;/a&gt;, so you can pull that version of nrfx.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/thread/497844?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 13:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bb22765-0bfc-499f-bd99-d262241bc429</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me check with the developers again,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll be back with more,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/thread/497842?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 13:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b082fcbb-8ca1-46aa-891e-e11bed2d402c</guid><dc:creator>mpenate0</dc:creator><description>&lt;p&gt;Hi Jared, I am wondering when this fix will be in the main branches of the nrfx repo? NCS 2.7.0 released and this bug still appears to be present.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/thread/485744?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 08:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49c39967-d5ca-4620-9f52-8f396af77df8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is indeed a bug. Temporary fix would be to modify it to check the mask instead of the typedef like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if defined(OSCILLATORS_XOSC32KI_BYPASS_BYPASS_Msk) || defined(__NRFX_DOXYGEN__)
/** @brief Symbol indicating whether LFXO bypass is present. */
#define NRF_OSCILLATORS_HAS_LFXO_BYPASS 1
#else
#define NRF_OSCILLATORS_HAS_LFXO_BYPASS 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/thread/485693?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 20:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f1ba37-8582-4683-9f29-a7efe34871d8</guid><dc:creator>mpenate0</dc:creator><description>&lt;p&gt;Modifying the register directly produces expected results. Glad the feedback is making its way through the channels. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Oscillator will never allow setting bypass for LFXO</title><link>https://devzone.nordicsemi.com/thread/485639?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 12:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a1e822-0164-4f4b-975b-12ba2cb0ef32</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I think you&amp;#39;re right, let me double check with the developers.&lt;/p&gt;
&lt;p&gt;In meantime you can try to set the register directly instead.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>