<?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>nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103954/nrf5340-audio-how-to-remove-dependence-on-32k-oscillator</link><description>We have a custom development board based on 5340 audio, and based on cost control, we want to remove the 32k oscillator. But after removing it, the program cannot run normally. Is there any dependence on it in the nrf5340 audio demo? How should I remove</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Sep 2023 11:16:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103954/nrf5340-audio-how-to-remove-dependence-on-32k-oscillator" /><item><title>RE: nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/thread/447688?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 11:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cee344a0-0048-43c5-811f-c68250f0f8a4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for the update. This is great to know.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/thread/447658?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 09:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c585e75f-efe6-46e5-b557-d08befe8f160</guid><dc:creator>Reskyllr</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I added this to the subimage,work well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Reskyllr&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/thread/447644?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 08:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:691baad2-425a-42fa-b779-5d670c04b735</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try adding configuration options which specify that LFCLK will not be taken from 32.768 KHz crystal. Instead, it will be synthesized from 32 MHz clock.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/thread/447635?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 07:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:951a266e-c554-45de-bbaf-8b1c79b429e0</guid><dc:creator>Reskyllr</dc:creator><description>&lt;p&gt;Hi, there is new progress,&lt;br /&gt;I try to add the following config under mcuboot:&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y&lt;br /&gt;The log begins to output, but the network core BLE cannot be enabled.&lt;br /&gt;On the development board with a crystal oscillator, it works normally, with the same hex.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;HL [00:00:00.201,385] &amp;lt;inf&amp;gt; fw_info: 
   nRF5340 Audio nRF5340 Audio DK cpuapp           
   NCS base version: 2.4.0           
   Cmake run : Tue Sep 26 14:55:50 2023
HL [00:00:00.201,385] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
HL [00:00:00.201,385] &amp;lt;inf&amp;gt; fw_info: HEADSET left device
HL [00:00:00.701,446] &amp;lt;err&amp;gt; ble: No response from NET core, check if NET core is programmed
HL [00:00:00.701,446] &amp;lt;err&amp;gt; ble: ERR_CHK Err_code: [-5] @ line: 43  
HL [00:00:00.701,477] &amp;lt;err&amp;gt; os: r0/a1:  0x00000003  r1/a2:  0x00000002  r2/a3:  0x00000001
HL [00:00:00.701,477] &amp;lt;err&amp;gt; os: r3/a4:  0x00090a0f r12/ip:  0x00000010 r14/lr:  0x00090a99
HL [00:00:00.701,477] &amp;lt;err&amp;gt; os:  xpsr:  0x41000025
HL [00:00:00.701,507] &amp;lt;err&amp;gt; os: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
HL [00:00:00.701,507] &amp;lt;err&amp;gt; os: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
HL [00:00:00.701,538] &amp;lt;err&amp;gt; os: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
HL [00:00:00.701,538] &amp;lt;err&amp;gt; os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
HL [00:00:00.701,568] &amp;lt;err&amp;gt; os: fpscr:  0x00000000
HL [00:00:00.701,568] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x0001590a
HL [00:00:00.701,599] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
HL [00:00:00.701,599] &amp;lt;err&amp;gt; os: Fault during interrupt handling

HL [00:00:00.701,629] &amp;lt;err&amp;gt; os: Current thread: 0x20005658 (idle)
HL [00:00:00.701,660] &amp;lt;err&amp;gt; error_handler: Caught system error -- reason 3. Entering infinite loop&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/thread/447620?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 06:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee7eda70-9f0e-4412-981d-8c98383fc731</guid><dc:creator>Reskyllr</dc:creator><description>&lt;p&gt;Hi, Dejan&lt;/p&gt;
&lt;p&gt;Yes, I want to tear them down.&lt;/p&gt;
&lt;p&gt;The current location is that when the external flash memory DFU function is started, the program cannot run (it should be that MCUBoot is waiting for the crystal oscillator device).&lt;br /&gt;But I don&amp;#39;t know how to modify it, currently I added the following configuration to disable them.&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Reskyllr&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio: How to remove dependence on 32k oscillator</title><link>https://devzone.nordicsemi.com/thread/446923?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2023 14:47:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6b19c77-19b8-47df-a211-519fd50fd45b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]We have a custom development board based on 5340 audio, and based on cost control, we want to remove the 32k oscillator.[/quote]
&lt;p&gt;Do you want to remove 32.678 KHz crystal X2 which is connected to XL1 and XL2 as shown in the chapter 3.3 of the &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF5340_Audio_UG_v1.0.0.pdf"&gt;nrf5340 audio dk hardware user guide&lt;/a&gt;?&lt;/p&gt;
[quote user=""]But after removing it, the program cannot run normally.[/quote]
&lt;p&gt;Could you describe what happens to your application after the removal of the crystal? Could you provide application log when program cannot run properly?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>