<?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>Assert on locking mutex in ISR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108679/assert-on-locking-mutex-in-isr</link><description>Hello, I&amp;#39;m facing the assertion error because some part of the code tries to lock the mutex from the ISR context. I would like to hunt this ISR down, the xpsr from the assertion log is 0x41000025 but I&amp;#39;m not able to map this 0x25 to the ISR. Where can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Feb 2024 09:44:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108679/assert-on-locking-mutex-in-isr" /><item><title>RE: Assert on locking mutex in ISR</title><link>https://devzone.nordicsemi.com/thread/470965?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 09:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8424c6d5-37f4-4c72-b882-9dc1b12af74f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Enable these in your prj.conf to get more details on the assert.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Debugging configuration
CONFIG_THREAD_NAME=y
CONFIG_THREAD_ANALYZER=y
CONFIG_THREAD_ANALYZER_AUTO=y
CONFIG_THREAD_ANALYZER_RUN_UNLOCKED=y
CONFIG_THREAD_ANALYZER_USE_PRINTK=y

# Add asserts
CONFIG_ASSERT=y
CONFIG_ASSERT_VERBOSE=y
CONFIG_ASSERT_NO_COND_INFO=n
CONFIG_ASSERT_NO_MSG_INFO=n
CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_THREAD_NAME=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I think might have just implemented some callback function that is being called in the isr context from the driver. You are the best to know which callback function you just implemented/enhanced before getting this error.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>