<?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 LFCLK sources control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116682/nrf5340-lfclk-sources-control</link><description>Hi, 
 I would like to ask when using zephyr&amp;#39;s k_timer it uses a clock from LFCLK, then it can be generated in the following three ways: 
 32.768 kHz RC oscillator (LFRC) 32.768 kHz crystal oscillator (LFXO) 32.768 kHz synthesized from HFCLK (LFSYNT) </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Nov 2024 13:09:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116682/nrf5340-lfclk-sources-control" /><item><title>RE: nRF5340 LFCLK sources control</title><link>https://devzone.nordicsemi.com/thread/511900?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 13:09:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e87d7db-6112-45ac-b624-d272e5b20028</guid><dc:creator>Zion</dc:creator><description>&lt;p&gt;Ok, thank you for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 LFCLK sources control</title><link>https://devzone.nordicsemi.com/thread/511888?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 12:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e8a4d3-b4a9-48c6-8fae-c46636da146c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Zephyr timer the system clock driver API to create timeout events with rtc1, same as the scheduler. So, the configurations you listed are enabled by default. You can confirm this by checking the generated configuration file in build/&amp;lt;app project name&amp;gt;/zephyr/.config.&lt;/p&gt;
&lt;p&gt;If you want to test with other clock sources, it is sufficient to enable CONFIG_&lt;span&gt;CLOCK_CONTROL_NRF_K32SRC_RC or CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH and remove the&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y line from your project configuration.&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;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>