<?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>nrf52840 ncp bit rate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44927/nrf52840-ncp-bit-rate</link><description>Hello everyone! 
 
 I have started to work with openthread recently, and now I have to build a mqttsn client into a stm32 uController. I&amp;#39;m doing that by using the spinel protocol between stm and a nrf52840. The nrf52840 is configured as NCP. The problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2019 11:12:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44927/nrf52840-ncp-bit-rate" /><item><title>RE: nrf52840 ncp bit rate</title><link>https://devzone.nordicsemi.com/thread/176955?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 11:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02d9d242-e097-4291-9398-f226e526f34f</guid><dc:creator>Tiago Morais</dc:creator><description>&lt;p&gt;Yeah! Once I created a topic about the spinel protocol, but I was able to solve that already :D&lt;/p&gt;
&lt;p&gt;it took me a while, but I was able start a code using the spinel protocol&amp;nbsp;to communicate the uController and the NCP. For a starter version, it works quite well&lt;/p&gt;
&lt;p&gt;I wanted to decrease the bitrate because my team only had the nrf52840 dongle and wanted to try to increase its range. Instead we found another compatible device to work with ncp: BL654 that has a external antenna, and also I received the news, after doing some tests, that the distance we were able to communicate was&amp;nbsp;over&amp;nbsp;1000 m using the ncp code and our mqttsn client.&lt;/p&gt;
&lt;p&gt;Eventhough we were able to increase that range, I was still trying to decrease its bitrate just to test it :D, but since it&amp;#39;s not possible to change the openthread&amp;#39;s default bitrate, I&amp;#39;ll keep that way for now&lt;/p&gt;
&lt;p&gt;Thank you very much Edvin!&lt;/p&gt;
&lt;p&gt;untill next time!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Tiago&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ncp bit rate</title><link>https://devzone.nordicsemi.com/thread/176871?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 07:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3017395-6c04-43db-8501-2cae62f0b918</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ah. It didn&amp;#39;t quite add up, but I saw we discussed spinel and UART in one of your earlier tickets, so I assumed it was the same.&lt;/p&gt;
&lt;p&gt;But unfortunately, no. It is not possible to change the bitrate of IEEE (which is what OpenThread uses). It is by default set to 250kbps using 2.4GHz, and this is included all the headers. You will see that the payload bitrate is lower than this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The only option if you want to change the bitrate between two devices&amp;nbsp; is to run e.g. BLE concurrently. BLE or even ESB (Enhanced ShockBurst, Nordic Proprietary radio protocol, which would require Nordic chips in both ends). This will however not increase the throughput of the network, only between these two nodes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ncp bit rate</title><link>https://devzone.nordicsemi.com/thread/176744?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 13:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcc4c581-3090-4df0-a16a-96f219a6bfce</guid><dc:creator>Tiago Morais</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your reply&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I may have expressed myself badly ( first i talked about the uart, and then asked about the radio, without saying it... sorry)&lt;/p&gt;
&lt;p&gt;what I do want to change is the radio bitrate. Is it possible to change it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Tiago Morais&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ncp bit rate</title><link>https://devzone.nordicsemi.com/thread/176709?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 12:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6275772-0d47-45db-891c-55455d917244</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So is it the UART bitrade that you want to change? Or the radio bitrate?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As you can see &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Thread_SDK/v2-0-0/thread_intro?12#thread_hardware_requirements" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;, a handful of the peripherals such as the UART are set up and compiled in the openthread build that is included in the SDK. If you want to change the UART settings, you must rebuild the openthread library. As you can see from the link, the UART baudrate/bitrate is set in &lt;a href="https://github.com/openthread/openthread/blob/master/examples/platforms/nrf52840/platform-config.h" rel="noopener noreferrer" target="_blank"&gt;platform-config.h&lt;/a&gt;, on line 110. If you want the new openthread build to work with the current SDK, you should use the same build&amp;nbsp;commit that was used with the SDK. The commit number is mentioned in SDK_for_Thread\external\openthread\project\readme.txt.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>