<?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>Timer problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124276/timer-problems</link><description>Currently, only the NRF5340 chip on the NRF5340 development board is powered. Now, we need to first test the Bluetooth performance of this chip. Open a standard example project in VSCODE, which is located in the directory: nrf\samples\bluetooth\peripheral_uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Sep 2025 07:23:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124276/timer-problems" /><item><title>RE: Timer problems</title><link>https://devzone.nordicsemi.com/thread/548314?ContentTypeID=1</link><pubDate>Wed, 10 Sep 2025 07:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e458742f-3eeb-4d94-8a18-d58f99817479</guid><dc:creator>HHJ</dc:creator><description>&lt;p&gt;thanks bro&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer problems</title><link>https://devzone.nordicsemi.com/thread/548301?ContentTypeID=1</link><pubDate>Wed, 10 Sep 2025 04:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9136753d-a477-42d3-89dd-915461da4e2a</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The timer handler function runs in interrupt context, which does not allow &lt;strong&gt;a lot&lt;/strong&gt; of things (mostly stuff that can&amp;nbsp;&lt;em&gt;wait).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Workaround with system work queue is in the timer documentation itself:&lt;a href="https://docs.zephyrproject.org/latest/kernel/services/timing/timers.html#using-a-timer-expiry-function"&gt;Timer expiry function docs&lt;/a&gt;. There are other methods but a work queue is by far the simplest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>