<?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>nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53843/nrf9160-rs485-modbus</link><description>Hello, 
 I would like to know if the nRF9160 supports RS485 MODBUS Communication protocol ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Aug 2022 10:37:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53843/nrf9160-rs485-modbus" /><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/382428?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 10:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cab4c21-dad7-4b8c-90ba-65861bb9c93d</guid><dc:creator>Waqar Ahmed</dc:creator><description>&lt;p&gt;Hi Adeel,&lt;br /&gt;I am trying to setup modbus(RS485) comm using Zephyr modbus example in v1.9.0.&lt;/p&gt;
&lt;p&gt;But i am getting timeout error.&lt;/p&gt;
&lt;p&gt;i raised the following ticket&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91146/modbus-rs485-communication-using-uart1-on-nrf9160"&gt;Modbus(RS485) communication using UART1 on Nrf9160&lt;/a&gt;&lt;br /&gt;Please suggest&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/292587?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 01:22:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38943ce5-89ef-44e1-b92e-c362894647fd</guid><dc:creator>yugesh</dc:creator><description>&lt;p&gt;Hi Adeel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much for your information :).&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;yugesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/292429?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 10:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56936afe-4afa-4d39-a94f-bdf45b9ac026</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi Yugesh,&lt;/p&gt;
&lt;p&gt;You can get started with this Github project that includes liblightmodbus sample :&amp;nbsp;&lt;a href="https://github.com/linumiz/zephyr/tree/liblightmodbus"&gt;https://github.com/linumiz/zephyr/tree/liblightmodbus&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It has been configured to be used with Zephyr. So you can work around with this :) .&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/292379?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 07:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acadd3f-cb9a-45b1-b667-09ccc4f085c0</guid><dc:creator>yugesh</dc:creator><description>[quote userid="92259" url="~/f/nordic-q-a/53843/nrf9160-rs485-modbus/278733#278733"]&lt;p&gt;Hi Tobjorn,&lt;/p&gt;
&lt;p&gt;Just wanted to let you know that this library can be used and is compatible with Zephyr.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://jacajack.github.io/liblightmodbus/master_8h.html#afbcff357011e2f7c2eb0469ef80e0d7d"&gt;http://jacajack.github.io/liblightmodbus/master_8h.html#afbcff357011e2f7c2eb0469ef80e0d7d&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I worked around with it and got it working :). So, if anyone needs any info to start over with modbus, you can suggest this alternative.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;[/quote]
&lt;p&gt;Hi Adeel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please let me know how did you work around the liblightmodbus library to work with. It would be very helpful.&lt;/p&gt;
&lt;p&gt;Best regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;yugesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/278953?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 10:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d751af80-d48c-46d5-915c-4b4270f3f666</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Adeel&lt;/p&gt;
&lt;p&gt;That is excellent news, thanks for sharing your findings &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Feel free to verify your answer, then it is easier to see that the case is resolved if someone with a similar issue discovers it.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/278733?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 09:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb5271f-efe9-4379-82f0-27baf150fb29</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi Tobjorn,&lt;/p&gt;
&lt;p&gt;Just wanted to let you know that this library can be used and is compatible with Zephyr.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://jacajack.github.io/liblightmodbus/master_8h.html#afbcff357011e2f7c2eb0469ef80e0d7d"&gt;http://jacajack.github.io/liblightmodbus/master_8h.html#afbcff357011e2f7c2eb0469ef80e0d7d&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I worked around with it and got it working :). So, if anyone needs any info to start over with modbus, you can suggest this alternative.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/271435?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 07:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fddd77ba-0930-4892-96fe-e548a68d0a69</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Adeel&lt;/p&gt;
&lt;p&gt;I did some asking around, but I couldn&amp;#39;t find anyone that has experience with this library unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That said it should be relatively easy to integrate if it supports Zephyr and the Zephyr driver model.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The best of luck &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/271110?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 13:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf34cc32-68d6-45ab-940e-ec71613bad36</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi Tobjorn.&lt;/p&gt;
&lt;p&gt;Haha, That is true while porting codes and that is why I was looking around for some libraries:).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;While looking around for other options, I found one open source Library for Modbus RTU (liblightmodbus) that is compatible with Zephyr.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/linumiz/liblightmodbus"&gt;https://github.com/linumiz/liblightmodbus&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Maybe this could be an option to try out as well. It would be too much of an ask but could you enquire with any of your team members whether they have used this library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In any case, I will try to go ahead and work around with this and will update if I get any success :).&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/271087?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 12:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b5314fd-201c-4519-b7bb-2d3f67795273</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Adeel&lt;/p&gt;
&lt;p&gt;In theory you can do that, yes, but any code interfacing to hardware peripherals (such as timers or the UART) will have to be changed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How much work this is is hard to say. You usually get an idea when you port the code over and try to compile it, based on the number of errors that pop up&amp;nbsp; ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/270863?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 13:17:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce794f5-be57-4016-a09d-1f4f54ad8dc1</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi Tobjorn,&lt;/p&gt;
&lt;p&gt;Thanks for the update. So, Could I use an external Modbus library file from Arduino to develop on the software side ? How compatible is it to use the external libraries for the internal nRF development applications ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/270776?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 09:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b29b37-6e90-466f-addc-d3193fdc50f3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Adeel&lt;/p&gt;
&lt;p&gt;Nothing has really changed on our side, no, in terms of adding a modbus example for the nRF9160.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using an RS-485 to UART converter is likely to be the most reliable and easy to implement solution, yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/270666?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 15:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f4c3955-2507-4d33-8997-1370b333db2d</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi Tobjorn.&lt;/p&gt;
&lt;p&gt;Would you still advice using an external driver chip to convert from RS-485 to UART and use the UART_0 pins to read the modbus data in the nrf9160 ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/270484?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 08:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916f10e3-2399-4439-84dd-dbf3e3f4b1c3</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi Tobjorn,&lt;/p&gt;
&lt;p&gt;Any update now on any example program for the Modbus communication devices as I am looking to interface a modbus communication device with the nrf9160DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/219030?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 11:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:449b48e2-7001-4dd4-a9e7-58b786e41d89</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Netanel&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Those settings should work fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t give you a 100% guarantee that the RS485 device will work with the nRF9160 since it hasn&amp;#39;t been tested by us, but I can&amp;#39;t see any reason why it shouldn&amp;#39;t.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/218643?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 15:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:176ac815-7372-40bd-958f-1fab73cf199a</guid><dc:creator>Netanel</dc:creator><description>&lt;p&gt;Hello Torbjorn,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Baud rate is 9600.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;RS-485, 9600, 8N1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/218248?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2019 13:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79806c98-87e5-471b-b512-5cd604ac9c39</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Netanel&lt;/p&gt;
&lt;p&gt;Yes,&amp;nbsp;the Modbus RTU protocol would basically have to be implemented&amp;nbsp;in software, as the UART module doesn&amp;#39;t handle modbus, and this we don&amp;#39;t provide any examples for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will need some more time to investigate if we have tested the modbus protocol to make sure our UART is compatible, but as long as you don&amp;#39;t have to use odd parity bit (we support even or no parity only), and want to use a baudrate that we support, it should work fine.&lt;/p&gt;
&lt;p&gt;Do you know what baudrate you are planning to use?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/217926?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 11:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18b9963a-87c5-4647-bf00-bfc6adfcdabd</guid><dc:creator>Netanel</dc:creator><description>&lt;p style="text-align:center;"&gt;Hello Torbjorn,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to connect sensors via RS485 to the nrf9160.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Temperature, pressure, flow, etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regarding the software side, I mean do I need any driver running on the nrf9160 to collect the data from RS485 and send it to the cloud ? Using MODBUS RTU .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/217915?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 10:11:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09548e3a-9fe7-4de7-a4d1-f3c824fd973d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Netanel&lt;/p&gt;
&lt;p&gt;Like I mentioned in your other case the STR485 should work fine if you can set the UART interface correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What kind of device(s) are you talking to over the bus?&lt;br /&gt;Nordic devices also, or some other type of device?&lt;/p&gt;
&lt;p&gt;When you say software side, are you thinking about the driver for the STR485?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/217751?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 12:13:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e76fc9f-a1a6-4058-8547-82d2af2aefaa</guid><dc:creator>Netanel</dc:creator><description>&lt;p&gt;Hello Torbjorn,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;would the STR485 be suitable? What about the software side ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 RS485 MODBUS</title><link>https://devzone.nordicsemi.com/thread/217748?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 12:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77ed0bb4-8ed0-46ca-9ce0-8edf4b831730</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF9160 does not have RS485 support, no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You would need some kind of driver chip to convert from UART to RS485.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>