<?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 External high-speed clock source &amp;amp; Lowpower</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116605/nrf5340-external-high-speed-clock-source-lowpower</link><description>Hello, 
 I have a few questions: 1. How to add a prj.conf or an overlay file to enable peripherals to use an external high-frequency crystal oscillator as the clock source? I tested by configuring the device tree as follows, but the high-frequency clock</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 23 Nov 2024 04:56:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116605/nrf5340-external-high-speed-clock-source-lowpower" /><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511762?ContentTypeID=1</link><pubDate>Sat, 23 Nov 2024 04:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:877e1254-cf80-4db0-99c6-f122e2cee66a</guid><dc:creator>zy_wen</dc:creator><description>&lt;p&gt;Ok, thank you very much for your patience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511732?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 16:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58408721-5883-48d7-b398-92809961bf32</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You typically don&amp;#39;t need a high-accuracy clock source for serial interfaces such as QSPI, SPI, or TWI, as they use a shared clock. However, UART is asynchronous and relies on the clocks on both sides&amp;nbsp;to not drift too far apart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511708?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 15:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b09d9683-e8f4-40e6-a5c1-9a4233e71937</guid><dc:creator>zy_wen</dc:creator><description>&lt;p&gt;Another question, regarding the SDK modules you mentioned, when using LORA or QSPI flash, does the driver clock under it switch to the external high-speed clock?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511699?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 14:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:722cace6-6e35-4841-8f8b-cdb3855f0dad</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It should be fine as long as the application does not release its request for HFXO while UART is enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511688?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 14:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:457b604c-259a-44cf-b2c4-7e380b9b1e61</guid><dc:creator>zy_wen</dc:creator><description>&lt;p&gt;I use the CONFIG_PM_DEVICE_RUNTIME=y, pm_device_runtime_enable(uart_dev); to lower the power consumption of serial ports. It shouldn&amp;#39;t be affected, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511679?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 14:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ca6c4c-6967-4986-9abe-83695d06570b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the HFXO should be enabled when while UART is enabled. I have created a request internally that we should implement this in our UART examples. I posted a demo sample that does this here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/112115/suspending-uart-async-using-pm_device-action_suspend-causes-crash/489916"&gt;RE: Suspending UART Async using PM_DEVICE ACTION_SUSPEND causes crash.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="zywen"]that all peripherals are currently using the high-speed external clock?[/quote]
&lt;p&gt;Yes, correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511652?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 12:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d8a59ec-c8a5-488e-b6d3-81e6f15474ec</guid><dc:creator>Zion</dc:creator><description>&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-8 w-8 items-center justify-center overflow-hidden rounded-full"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;So when I use the UART, do I need to enable the external high-speed clock in the application when needed and disable it when not? Does enabling the external high-speed crystal clock mean that all peripherals are currently using the high-speed external clock?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 External high-speed clock source &amp; Lowpower</title><link>https://devzone.nordicsemi.com/thread/511643?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 12:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c953dbc8-82b2-480f-a815-c1c9564c38a8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The crystal oscillator&amp;nbsp;is only active&amp;nbsp;when requested by the application or one of the SDK modules. For example, the Bluetooth stack requests the crystal oscillator during protocol events but releases it afterward to allow the HF clock to shut down in sleep mode (System ON mode) to reduce the idle current. If you want to keep the crystal oscillator always on, you can request it using the onoff API as&amp;nbsp;shown in this sample:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/ea2994fb4458302e5c3bb8404eabad28c1def943/samples/peripheral/radio_test/src/main.c#L18"&gt;https://github.com/nrfconnect/sdk-nrf/blob/ea2994fb4458302e5c3bb8404eabad28c1def943/samples/peripheral/radio_test/src/main.c#L18&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>