<?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>Working with 1-wire bus on nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98636/working-with-1-wire-bus-on-nrf5340</link><description>Hi there! I&amp;#39;m trying to make the DS18b20 sensor work with nRF5340 under nRF Connect SDK. I tried a Zephyr example (ncs/zephyr/samples/sensor/ds18b20), and, after some debugging, it worked fine, I got the temperature values. 
 After porting all 1-wire</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Apr 2023 09:23:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98636/working-with-1-wire-bus-on-nrf5340" /><item><title>RE: Working with 1-wire bus on nRF5340</title><link>https://devzone.nordicsemi.com/thread/419907?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 09:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6fa663d-bf76-4e38-92da-3687b8f26f03</guid><dc:creator>Dmitry Sysoletin</dc:creator><description>&lt;p&gt;It seems like I&amp;#39;ve figured it out.&lt;br /&gt;With Zephyr (vanilla) firmware, pins 1.1 (port 1, pin 1) and 1.2 work normally, but with Nordic additions over Zephyr - looks like they&amp;#39;re beginning to act differently.&amp;nbsp;&lt;br /&gt;Here&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fchapters%2Fpin.html&amp;amp;cp=3_0_0_8_0"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fchapters%2Fpin.html&amp;amp;cp=3_0_0_8_0&lt;/a&gt;&amp;nbsp;we have information about pin 1.02 and 1.03 are &amp;quot;specially designed for high-speed TWI&amp;quot;. Despite that those pins work fine under Zephyr vanilla, Nordic additions seem to be changing those pins&amp;#39; mode.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Using different pins (1.11 and 1.12) solved my problem, now DS18b20 example works as part of the Nordic Openthread CLI example.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>