<?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>Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34275/point-to-point-communication-using-802-15-4-between-nrf52840-and-cc2530</link><description>Where to start? Is it possible? 
 I need to send data between the two chips using 802.15.4. 
 There is no need to form a network. 
 I was looking at the Wireless Uart example in SDK 15. It looks like what we need, but I am not sure how to add more functionality</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jun 2018 12:27:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34275/point-to-point-communication-using-802-15-4-between-nrf52840-and-cc2530" /><item><title>RE: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/134738?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 12:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93688c39-2a51-459c-ba9e-5b3e5dbf6160</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Received a response today:&lt;/p&gt;
&lt;p&gt;The 802.15.4 library uses&amp;nbsp;some old uart hal files that was built for an older SDK when the nRF52 only supported one physical UART, so in this API, it is only possible to use one physical UART at the time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The suggested solution is to use one UART using the 802.15.4 driver, and another using the&amp;nbsp;later versions of nrf_drivers for UART, found in some of the later SDKs (preferably SDK15).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/133637?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 11:46:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61cf84ec-42de-4a4a-92e8-145aec9be5f8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I assume that it is possible to use both of the UARTs with the 802.15.4 driver, but I am not sure exactly how. I have forwarded your question to someone who has worked with these drivers, and I will let you know as soon as I hear back from them. Again, sorry for the delay.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/133308?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 17:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2449f50-c51d-4c9a-98bc-4d86ce0f29bd</guid><dc:creator>dd_microlynx</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was thinking that the problem was in a file that is part of the 802.15.4 library, that is&amp;nbsp;what I meant with &amp;quot; I don&amp;#39;t have the source files&amp;quot;. &amp;nbsp;The problem was that we handle the 15.4 packet structure differently so I was able to fix it by modifying mcps_data_ind() function.&lt;/p&gt;
&lt;p&gt;Now I have another question:&lt;/p&gt;
&lt;p&gt;How can I use both UARTE on the chip. The reason I&amp;#39;m asking is that hal_uart.h says&amp;quot; /**&amp;lt; UART module number. By now zero is the only option.*/&amp;quot; .&lt;/p&gt;
&lt;p&gt;Does this mean that with the provided drivers we can instantiate only UARTE0 ?&lt;/p&gt;
&lt;p&gt;Some of our applications require both UARTs working.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/132668?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 08:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e3635f8-8760-453a-a0d8-5d9d8f53265a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What do you mean with &amp;quot;don&amp;#39;t have the source files&amp;quot;? Do you use the SoftDevice in addition to the 802.15.4?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try the following:&lt;/p&gt;
&lt;p&gt;Define &amp;quot;DEBUG&amp;quot; in your preprocessor defines,&lt;/p&gt;
&lt;p&gt;Disable Optimization (Set to -O0)&lt;/p&gt;
&lt;p&gt;Set a breakpoint in app_error_weak.c on line 90 (NRF_LOG_ERROR(&amp;quot;End of error report&amp;quot;) ), and then add p_info to your watchlist.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to debug, and see if this breakpoint is hit. If it does, what is the function that returned the err_code that was passed into the APP_ERROR_CHECK(err_code); that the p_info is referring to? And what is the err_code?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/132446?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 19:15:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b79a26d8-8f9a-4b57-9811-0ccbb7cb7e60</guid><dc:creator>dd_microlynx</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks promising so far. Both radios are able to communicate but the&amp;nbsp;nRf52840 throws an error under some conditions.&amp;nbsp; I can&amp;#39;t debug the problem because I don&amp;#39;t have the source files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is snapshot from the call stack:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/750x330/__key/communityserver-discussions-components-files/4/Radio_5F00_error_5F00_may17_5F00_2018_5F00_02.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/132038?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 12:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9e92141-8dd9-4b84-a4a3-3133b329d9fe</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Ok. I understand. I think that the wireless UART project is definitely a good starting point. You can read about how to test the Wireless UART application &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fwireless_uart_15_4.html"&gt;here&lt;/a&gt;. There is also information about the IEEE MAC Library &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_802_15_4.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Open the project found in examples\802_15_4\wireless_uart\raw\first&lt;/p&gt;
&lt;p&gt;and change the mac address, and configure the PAN ID and address of your device, and see if you can send and/or receive any messages.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/131933?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 17:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015c4e62-9264-4da8-9a7a-8687b4e33dd7</guid><dc:creator>dd_microlynx</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;Thanks for the fast response. &lt;br /&gt;&lt;br /&gt;The CC2530 is already in the field and we can&amp;#39;t change the protocol. &lt;br /&gt;&lt;br /&gt;It uses 802.15.14 MAC layer only. Both radios have fixed addresses and PAN ID and need to send a messages to each other and get acknowledge. &lt;br /&gt;&lt;br /&gt;The communication is not slotted CSMA/CA point to point, that is why I was thinking the Wireless UART is a good place to start. &lt;br /&gt;&lt;br /&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Point to point communication using 802.15.4 between nRf52840 and CC2530?</title><link>https://devzone.nordicsemi.com/thread/131878?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 12:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58785047-dbe8-4321-98c6-034d9832d9b1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This should be possible. I suggest you look into the SDK for Thread and Zigbee. It is found &lt;a href="https://www.nordicsemi.com/eng/Products/nRF5-SDK-for-Thread"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Then you can look through a couple of the examples inside the thread folder. You need to decide on a protocol. Maybe you can use the set &amp;quot;simple_coap_server&amp;quot; and &amp;quot;simple_coap_client&amp;quot;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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>