<?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>nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23298/nrf24l01-ack-issue-tx-giving-max_rt-error-pic18f25k20</link><description>Hi, 
 I am having problem with setting up TX side of my project. It always giving me max_rt error if I am sending only once per cycle. 1 Cycle is every 30seconds. All working fine without ACK enabled, with ACK enabled all stops. Only few times I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jul 2017 10:13:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23298/nrf24l01-ack-issue-tx-giving-max_rt-error-pic18f25k20" /><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91615?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 10:13:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea0c60f-1152-4db2-bf54-cd1632ddd64a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do you have full control of the code ? I would assume CE is controlled by the MCU ?&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m saying is that if you enable the radio, send 1 packet, then disable and enable the radio and send the same packet, the RX will misunderstood that it&amp;#39;s a re-transmission and ignore the packet.&lt;/p&gt;
&lt;p&gt;If you send packet continuously without disable and enable the radio, the PID will be flipped for each packet and then the RX can detect that they are new packets.&lt;/p&gt;
&lt;p&gt;If you want to send packets and disable then enable radio, you should add 1 more byte/bit into the payload and change that bit so that each packet would have different payload.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91616?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2017 12:18:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a10c1e-f482-455e-8197-8b86a7a04e08</guid><dc:creator>Jev</dc:creator><description>&lt;p&gt;Yes, No is CE HIGH before sleep and LOW when in sleep and PWR_UP low. Not sure, might be. As the module is shielded I cannot check it, unless to open it. I will probably do it on Monday.&lt;/p&gt;
&lt;p&gt;If I am sending continuously, it works fine. And receives every-time I am sending even without changing the packet content.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91614?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2017 12:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7428267e-adc7-40b8-b953-af1738357975</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you made sure you set CE = 0 or set PWR_UP = 0 before you cut the power ? Could be that the 16Mhz crystal still running.&lt;/p&gt;
&lt;p&gt;My suggestion is to keep sending (more than 2 time) before you switch mode or doing anything else, just try sending continuously, just for testing. Try to change the content of the data on every packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91610?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2017 07:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95cfa823-9c9e-4a2a-8f7f-97891fc2db15</guid><dc:creator>Jev</dc:creator><description>&lt;p&gt;Hung Bui ,&lt;/p&gt;
&lt;p&gt;Yes, DPL enabled on both ends.
Yes, Radio powered only for a moment. Everytime it is powered it going through configuration routine and then transmission with some delays before and after. So, instead of putting to sleep, I am disconnect the power to radio module as I found even in sleep the module ( nRF24L01 with PA LNA) consumes quite a lot of current (around 1mA) for my application.&lt;/p&gt;
&lt;p&gt;Oh, I see... yes, I am sending same packet twice, but loading it to buffer every time I am transmitting.&lt;/p&gt;
&lt;p&gt;[code]&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    for (a = 0; a &amp;lt; 2; a++)
    { 
        Transmit_nRF24L01_TX(); 
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;[/code]&lt;/p&gt;
&lt;p&gt;So if i am replacing &lt;strong&gt;a &amp;lt; 2&lt;/strong&gt; with &lt;strong&gt;a &amp;lt; 1&lt;/strong&gt;, it transmits ones and receives &lt;strong&gt;max_rt&lt;/strong&gt; error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91613?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 13:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bdd18a9-1ec9-4b39-a23c-aa2e0c26a47b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You need to enable DPL on both side so that the receive also know that the packet length is dynamic and it should check for the NOACK bit.&lt;/p&gt;
&lt;p&gt;Do you mean you transmit and then you disable the radio and then transmit again ?&lt;/p&gt;
&lt;p&gt;If you do that and don&amp;#39;t change the content of each packet you send, the RX will think that it&amp;#39;s a re-transmission  (because PID doesn&amp;#39;t change, content doesn&amp;#39;t change) and ignore them.&lt;/p&gt;
&lt;p&gt;If you send 2 or more packets in a row, the PID will change, and the RX can recognize that it&amp;#39;s a new packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91612?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 09:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64712e2f-b4dd-4402-b082-5c087f3948db</guid><dc:creator>Jev</dc:creator><description>&lt;p&gt;Hung Bui,&lt;/p&gt;
&lt;p&gt;I have tried both DPL enabled and disabled with no luck, at the minute DPL is enabled. Why it should be enabled on both sides? As one works as transmitter another side as receiver only (not taking in account ACK) TX_DC is received only when two messages send one after another. If one packet sent no TX_DS received.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24L01 Ack issue / tx giving max_rt error / PIC18F25K20</title><link>https://devzone.nordicsemi.com/thread/91611?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2017 15:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6abcc899-617c-49b8-a396-4cd248f2c7bc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jev,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not so familiar with the nRF24L01 , but have you enabled DPL, Dynamic payload length ? on both side ?
Do you receive any TX_DS on the PTX ? (and the PRX if you do ack payload ?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>