<?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>Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41195/problems-in-the-implementation-of-tdma-protocol-with-nrf52832</link><description>HI devzone 
 We now use NRF52832 to implement TDMA protocol. 
 In our application, there is one primary node and six sub-nodes.The communication process is as follows: 
 After a primary node broadcasts a packet of data, all six sub-nodes receive the data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Dec 2018 09:17:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41195/problems-in-the-implementation-of-tdma-protocol-with-nrf52832" /><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160897?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 09:17:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3cef388-4922-427c-a1d9-6128cccf91be</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;When you start up the nRF24L radio, it will use 130 us to start up the PLL and other radio logic, before entering either TX or RX mode. Please see figure 4 in the nRF24L01+ datasheet for more detailed information about the different states in the radio.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160654?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 02:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db7df7c0-0e02-4185-8427-e21e19e6b714</guid><dc:creator>liang</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;When the one node&amp;#39;s radio is sending data, can other node radio go to ramp-up state?&lt;/p&gt;
&lt;p&gt;Would you please to give us a brief description of the Radio ramp-up process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160540?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 10:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d54680a-121f-411c-a031-84fe55b9e3b0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;For nRF24L-series devices, the Radio ramp-up time is 130 us. You will use approx. 130 us + (0.5 us * 8 bit * 37 bytes) = 278 us to transmit/receive per payload.&lt;/p&gt;
&lt;p&gt;Try extending your timeslot even further.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160488?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 02:41:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36e0c1d9-d2a4-438a-98fb-8e43d5f49fc2</guid><dc:creator>liang</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;1、The primary node broadcast a packet every 10 ms.&amp;nbsp; After broadcasting the primer nods will&amp;nbsp;transfer&amp;nbsp;form TXIDLE state to RX state.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; After receiving the broadcast packet, all the slave nodes will take 2ms to&amp;nbsp;transfer from RXIDLE state to TXIDLE state. So it is not necessary to consider about the impact of the clock drift. Beacause the clocks of all the slave nodes are synchronized with the primary node every 10ms.&lt;/p&gt;
&lt;p&gt;Repy to Q1：Yes, expending Rx window will improve the scenario，but there are still some nodes packets can not be received. We expend the time-slot to 250us.&lt;/p&gt;
&lt;p&gt;Reply to Q2：Packets of some nodes are always not received in one package, while packets of the other nodes can be received in all. Pretty weird !!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Q1: Is the Rx packet Address matching done before the address event, or after? We are not sure.&lt;/p&gt;
&lt;p&gt;Q2: We use Nrf24l01 as slave nodes, and nrf52832 as primary node.It seems that the communication is ok.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160338?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 10:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a4cef8-5f3f-47b3-934f-26b65623a043</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="liang"][/quote]&lt;/p&gt;
&lt;p&gt;But We can not certain if there is a limit by 52832 radio config?&lt;/p&gt;
&lt;p&gt;Would you please tell us if there are some default radio config that may cause this situation?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If the radio is in RX, and the configuration is equal on transmitter and receiver (ie: same channel, etc) and you are within range of each other, then it should receive the packet. You might ofcourse miss a packet every now-and-then, as there&amp;#39;s no guarantees in wireless communication. This all depends on your own protocol is setup.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;30 bytes in 200 us time frame is very short. Given that clocks drift over time, this window seems very low. If one clock source (transmitter) has a drift of -30 ppm, and the receiver has a drift of +30 ppm, this will account for a total drift between them of 30+30 us over a timeframe of one second.&lt;/p&gt;
&lt;p&gt;30 bytes + address/preamble/CRC overhead + radio ramp-up time (40 us fast ramp-up, 130 with slow ramp up) will exceed (200-60) us.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Q1: Could you please try to expand your RX window on the nodes to see if this improves the scenario?&lt;/p&gt;
&lt;p&gt;Q2: Does the other nodes always miss the packet, or is it &amp;quot;once every now and then&amp;quot; that they miss it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160296?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 04:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a3e233-27a6-4a21-a91f-29272acd7a03</guid><dc:creator>liang</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;Yes, We can certain that all the sub-nodes can receive the broadcast at the same time.&lt;/p&gt;
&lt;p&gt;We think that it&amp;#39;s possible to transfer 30 bytes in 200 us if the data rate is 2m bit/s.&lt;/p&gt;
&lt;p&gt;But We can not certain if there is a limit by 52832 radio config?&lt;/p&gt;
&lt;p&gt;Would you please tell us if there are some default radio config that may cause this situation?&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems in the Implementation of TDMA Protocol with nrf52832</title><link>https://devzone.nordicsemi.com/thread/160196?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 12:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc508c3-b563-4272-bf5d-5008b49027f7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It sounds like there is a timing issue in the synchronization routine for each node. Are you certain that they are all in RX mode when the broadcast occurs?&lt;/p&gt;
&lt;p&gt;A slot of 200 us might be too low. Have you tried extending this to see if this has an effect on the reception between the nodes?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>