<?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>Zephyr ti_tmp11x driver fails with -16 (EBUSY)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126601/zephyr-ti_tmp11x-driver-fails-with--16-ebusy</link><description>Hi 
 I am trying to integrate a &amp;quot;TMP117&amp;quot; temperature sensor with an nRF54L15 using the existing Zephyr tmp11x sensor driver. The device is detected and initialized correctly, but sensor_sample_fetch() always fails with error -16 (EBUSY), Calls to read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jan 2026 04:27:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126601/zephyr-ti_tmp11x-driver-fails-with--16-ebusy" /><item><title>RE: Zephyr ti_tmp11x driver fails with -16 (EBUSY)</title><link>https://devzone.nordicsemi.com/thread/559216?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2026 04:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:554f6aa5-d28e-490d-b41d-3b601318ee2c</guid><dc:creator>maya@c3mdc</dc:creator><description>&lt;p&gt;hi,&lt;br /&gt;I was able to solve the issue.&lt;br /&gt;&lt;span&gt;I had to explicitly set the &amp;#39;&lt;/span&gt;Sampling Frequency&amp;#39;&lt;span&gt;&amp;nbsp;property in the driver to force the device out of Shutdown and into Continuous Mode.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; also&amp;nbsp;the&amp;nbsp;original code treated&amp;nbsp;&amp;quot;&lt;/span&gt;&lt;code class="max-w-full whitespace-pre-wrap break-all rounded-sm bg-gray-500/10 px-1 py-0.5 font-mono text-xs font-medium text-ide-text-color underline-offset-2"&gt;sensor_sample_fetch()&amp;quot;&lt;/code&gt;&lt;span&gt;&amp;nbsp;failure as a fatal error and exited the program.&amp;nbsp;&amp;nbsp;The TMP117 sensor often returns&amp;nbsp;(&lt;/span&gt;&lt;code class="max-w-full whitespace-pre-wrap break-all rounded-sm bg-gray-500/10 px-1 py-0.5 font-mono text-xs font-medium text-ide-text-color underline-offset-2"&gt;-EBUSY)&lt;/code&gt;&lt;span&gt;&amp;nbsp;for the&amp;nbsp;very first sample&amp;nbsp;(or if polling too fast) because the conversion data isn&amp;#39;t ready buffer yet.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thus i changed &amp;#39;&lt;/span&gt;&lt;code class="max-w-full whitespace-pre-wrap break-all rounded-sm bg-gray-500/10 px-1 py-0.5 font-mono text-xs font-medium text-ide-text-color underline-offset-2"&gt;return&amp;#39;&lt;/code&gt;&lt;span&gt;&amp;nbsp;to&amp;nbsp;&amp;#39;&lt;/span&gt;&lt;code class="max-w-full whitespace-pre-wrap break-all rounded-sm bg-gray-500/10 px-1 py-0.5 font-mono text-xs font-medium text-ide-text-color underline-offset-2"&gt;continue&amp;#39; inside the while loop and was able to read the value on the 2nd loop iteration&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;while (1) {
    ret = sensor_sample_fetch(dev);
    if (ret) {
        printk(&amp;quot;Fetch failed (%d), retrying...\n&amp;quot;, ret);
        k_sleep(K_MSEC(1000));
        continue; // &amp;lt;--- THE FIX: Just wait and try again!
    }
    // ... Success ...
}&lt;/pre&gt;&lt;code class="max-w-full whitespace-pre-wrap break-all rounded-sm bg-gray-500/10 px-1 py-0.5 font-mono text-xs font-medium text-ide-text-color underline-offset-2"&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a id="i1" href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/sensor/tmp11x"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/sensor/tmp11x&lt;/a&gt;&amp;nbsp; this is the sample i mentioned.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr ti_tmp11x driver fails with -16 (EBUSY)</title><link>https://devzone.nordicsemi.com/thread/559168?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 13:48:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c152505-66c7-424e-9fbe-028899d60502</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Could you post some sample code that shows what you are doing ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>