<?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>The SPIM3 module of the nrf52840 causes the app_timer to fail to trigger after communication, and this issue only affects timers that are triggered once. Timers that are triggered repeatedly are not affected；</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127452/the-spim3-module-of-the-nrf52840-causes-the-app_timer-to-fail-to-trigger-after-communication-and-this-issue-only-affects-timers-that-are-triggered-once-timers-that-are-triggered-repeatedly-are-not-affected</link><description>If I call app_timer_stop(ble_recv_timeout_id) before starting the timer, the system will crash after running at most 7 times: 
 this is my timer code:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Mar 2026 16:31:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127452/the-spim3-module-of-the-nrf52840-causes-the-app_timer-to-fail-to-trigger-after-communication-and-this-issue-only-affects-timers-that-are-triggered-once-timers-that-are-triggered-repeatedly-are-not-affected" /><item><title>RE: The SPIM3 module of the nrf52840 causes the app_timer to fail to trigger after communication, and this issue only affects timers that are triggered once. Timers that are triggered repeatedly are not affected；</title><link>https://devzone.nordicsemi.com/thread/563490?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 16:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b973e9e8-a488-4f2f-b328-518ea1d1ecba</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s been a long time since nRF5 SDK , so it might be that you trigger an unknown issue here, if you start and stop timers very quickly, so you may need to try to avoid that. That said, you can try to set&amp;nbsp;MAX_RTC_TASKS_DELAY 100 (instead of 47) in \components\libraries\timer\app_timer.c. I do remember that the default value was a bit too optimistic.&lt;/p&gt;
&lt;p&gt;I am not sure if you are using the&amp;nbsp;APP_TIMER_CONFIG_USE_SCHEDULER, you can see if that helps.&lt;/p&gt;
&lt;p&gt;Also try to increase&amp;nbsp;APP_TIMER_CONFIG_OP_QUEUE_SIZE in case that has an impact and enable&amp;nbsp;APP_TIMER_KEEPS_RTC_ACTIVE.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>