<?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>NRF52 Dallas slave (1-wire) with BT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30474/nrf52-dallas-slave-1-wire-with-bt</link><description>Hi, 
 I developed a unit on NRF52 which is &amp;quot;CENTRAL&amp;quot;. This unit connects to multiple &amp;quot;PHERIPHERAL&amp;quot; units and it&amp;#39;s working great. 
 Now, i need to connect this &amp;quot;CENTRAL&amp;quot; unit to a &amp;quot;DALLAS MASTER&amp;quot; (1-wire) external unit. so i need to implement &amp;quot;DALLAS SLAVE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Mar 2018 12:56:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30474/nrf52-dallas-slave-1-wire-with-bt" /><item><title>RE: NRF52 Dallas slave (1-wire) with BT</title><link>https://devzone.nordicsemi.com/thread/125540?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 12:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fb0da86-cd36-4aad-a0c9-df5b87840b31</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It might be possible, but I guess it depends on the length of the transfers. Please have a look at the &lt;a href="https://devzone.nordicsemi.com/tutorials/b/software-development-kit/posts/setting-up-the-timeslot-api"&gt;timeslot API tutorial&lt;/a&gt;. If you are having issues with timeslots, please post a new thread about your issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Dallas slave (1-wire) with BT</title><link>https://devzone.nordicsemi.com/thread/125534?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 12:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c2eea59-0089-45cd-b124-49c9d1eab638</guid><dc:creator>RenatoMorelli</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Thanks for the reply. Do you know if it would it be possible to achieve if I made readings through the Timeslot API? I could ask the softdevice for some continuous time, theoretically, and have an extension with enough time to send and receive data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I&amp;#39;m trying this, but I&amp;#39;m having some problems from various sources.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Dallas slave (1-wire) with BT</title><link>https://devzone.nordicsemi.com/thread/125526?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 12:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4b14eec-22dc-4e3c-8b69-137efb77abba</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;As I mention above, most likely not. The protocol will have to wait for the softdevice events to complete before reading/writing GPIOs.&amp;nbsp;You will then not be able to read incoming messages on the bus and respond appropriately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Dallas slave (1-wire) with BT</title><link>https://devzone.nordicsemi.com/thread/125524?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 12:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fda5413-c18b-4588-80a0-df1dd048c146</guid><dc:creator>RenatoMorelli</dc:creator><description>&lt;p&gt;Hi Yuval,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I can make a One Wire peripheral work, but no along with BLE so far. I am wondering if it is possible to make them both work along.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I used &lt;a href="https://github.com/PaulStoffregen/OneWire/"&gt;this library&lt;/a&gt;, not too dificult to adapt.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Renato Morelli&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Dallas slave (1-wire) with BT</title><link>https://devzone.nordicsemi.com/thread/120805?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 10:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a453013f-72cd-440a-95c9-2739777610d6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no hardware support for 1-wire in the nRF52 ICs. It looks like the &lt;a href="https://github.com/pabigot/bspacm/blob/master/device/nrf51/src/utility/onewire.c"&gt;implementation for nRF51&lt;/a&gt; that I could find, is bit-banging the protocol.&amp;nbsp;I&amp;#39;m not familiar with the details of the 1-wire specifications, but if it is timing critical, it will be hard to get this working perfectly together with the softdevice. The softdevice will always have highest priority, and will preemt any other tasks running on the CPU, when timing critical events must be handled. You can toggle GPIOs using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s"&gt;PPI&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpiote.html?cp=2_1_0_20#concept_knz_kww_lr"&gt;GPIOTE&lt;/a&gt; peripherals, without use of CPU, but I don&amp;#39;t think you will be able to implement the protocol using this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>