<?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>Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101190/replacing-rs485-link-with-nrf24l01</link><description>As Pevious ticket: Using NRF24L01+ with pure assembler programing becomes very long, I open a new one as Torbj&amp;#248;rn suggested 
 This is a description about what I have doing in my proyect and at the end there are some questions. 
 .....................</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Aug 2024 09:37:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101190/replacing-rs485-link-with-nrf24l01" /><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/498775?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 09:37:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f96b17a-0e65-4d06-9c5e-8006fc5166ba</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t already, do check out the application notes (with code example) on how to use the nRF24L with ack payload for comparison:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_appnotes/struct/appnotes_nan24-12.html"&gt;https://infocenter.nordicsemi.com/topic/struct_appnotes/struct/appnotes_nan24-12.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/498671?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 14:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e2780a-b4fa-44d9-8cae-ae7f15d6d208</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Thank you for your reply&lt;/p&gt;
&lt;p&gt;At the moment I have a lot of parts of my proyect working ok , with PTX sending &amp;nbsp;packets with ack with payload and also with only ack received&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At PTX&amp;nbsp;I have enbled IRQ for RX_DR and also for TX_SD , for the case of ACK with no payload.&lt;/p&gt;
&lt;p&gt;PRX dvice&amp;nbsp;remains in&amp;nbsp;PRX mode all the time. &amp;nbsp; Only&amp;nbsp;TX for&amp;nbsp;the automatic ack &amp;nbsp;&lt;/p&gt;
&lt;p&gt;One kind of packet sent from PTX &amp;nbsp;has ack received after 400us from&amp;nbsp;the tx &amp;nbsp;- OK&lt;/p&gt;
&lt;p&gt;At PRX &amp;nbsp;there is the ack by RX_RD at 200us but &amp;nbsp;many times&amp;nbsp;IT IS NOT PRESENT&lt;/p&gt;
&lt;p&gt;There are not SPI activity at this time.&lt;/p&gt;
&lt;p&gt;So I can see in logic analyzer the IRQ at PTX but not at&amp;nbsp;PRX side for the same packet (????)&lt;/p&gt;
&lt;p&gt;Followinq packet may be normal.&lt;/p&gt;
&lt;p&gt;Please give any suggestion about the matter&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best &amp;nbsp;Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/498086?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 13:53:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0958926-0537-408f-8244-d95443b3ec81</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We do not really provide technical support for the nRF24-series anymore, the device is 15+ years, and we have provided other nRF series afterwards that provide better solutions.&lt;/p&gt;
&lt;p&gt;You should not draw any specific current from the IRQ output, if you need a number I would simply say max 10uA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As a PRX, after receiving a packet, make sure that you wait a period of time to ensure the ack is sent before you try to reconfigure the radio or change operation or similiar on the PRX.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/495861?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 20:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e5bdd2-c538-4413-a2c7-501047dd8527</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn&lt;/p&gt;
&lt;p&gt;My proyect is neart o be &amp;nbsp;finished.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did an important change in operating mode&lt;/p&gt;
&lt;p&gt;Original way with 1 Rx and 6 Tx becomed to complicated for debug&lt;/p&gt;
&lt;p&gt;In logic analizer there are two packets to be analized for each message.&lt;/p&gt;
&lt;p&gt;Two consecutive TX to same device works well with&amp;nbsp;time sincronized &amp;nbsp;schema but when usind more than one devices and many sucesive messages&amp;nbsp;some problems arises&lt;/p&gt;
&lt;p&gt;So I move to the same configuration of my RS 485 system&lt;/p&gt;
&lt;p&gt;One master (PTX) sends a Call with individual&amp;nbsp;number for each PRX device (authorizing a reply) and when no reply or ending messages with this PRX, it sends a Call for the following device.&lt;/p&gt;
&lt;p&gt;It is much easyer to analize and debug. There is no complicated&amp;nbsp;to change Address for each new trasmition&amp;nbsp;( only LSB&amp;nbsp;byte).&lt;/p&gt;
&lt;p&gt;It becomes very simple sending a broadcast message ( the same for all PRX):&lt;/p&gt;
&lt;p&gt;Only matter: &amp;nbsp;it needs to be send with no ACK option.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I for this purpose y stated the same PIPE0 addr. for all the PRX. &amp;nbsp; 5A 5A 3B&lt;/p&gt;
&lt;p&gt;for PIPE1 &amp;nbsp;5A 5A A1 &amp;nbsp; &amp;nbsp;&lt;span&gt;5A 5A B1&amp;nbsp; &amp;nbsp;----- &amp;nbsp;&amp;nbsp;5A 5A&amp;nbsp;F1 &amp;nbsp; &amp;nbsp; &amp;nbsp;Allows individual access to each PRX&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;for PIPE2 &amp;nbsp;5A 5A A2&amp;nbsp; &amp;nbsp; 5A 5A B2 &amp;nbsp; ----- &amp;nbsp; 5A 5A F1 &amp;nbsp; &amp;nbsp; &amp;nbsp;also&amp;nbsp;&amp;nbsp;individual&amp;nbsp;messages allowed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-------------------- I have some last questions -----------------&lt;/p&gt;
&lt;p&gt;1) I can&amp;acute;t find in data sheet the max.&amp;nbsp;load (mA) for the IRQ output.&lt;br /&gt;please give me this information&lt;/p&gt;
&lt;p&gt;2) From NRF2401 data sheet, instruction E2 ( FLUSH Rx FIFO ): &amp;nbsp;Should not be used when ACK be transmited and not completed ( for a PRX device )&lt;br /&gt;&amp;iquest; I guess that the ack payload is stored in RX FIFO ?&lt;/p&gt;
&lt;p&gt;I use this secuence at PRX side (payload length from 2 to 7 bytes, ussualy)&lt;br /&gt;- load ACK payload&lt;br /&gt;- when IRQ arises for a RX packet arrived, I read it and after that I do E1 and E2 commands &lt;br /&gt;and erase STATUS flags. &lt;br /&gt;- If there is some message to be load as ACK payload , I do it&lt;br /&gt;SPI uses 4MHz so reading packet and flushes may occur meanwhile the ack and payload be &lt;br /&gt;trasmited&lt;br /&gt;So I must use some delay about 300us from IRQ fall to the flush commands&lt;/p&gt;
&lt;p&gt;I know that may be not need of&amp;nbsp;use as frequently E1 and E2 commands.&lt;/p&gt;
&lt;p&gt;I will study this question later.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;3) I move from 2MHz rate to 1 MHz rate and got an better distance with no errors , about 7 m &lt;br /&gt;changes to about 10 m&lt;br /&gt; I use the smaller usually available 15mm x 30mm board.&lt;br /&gt;I also tested with the board with amplifiers and antena at PTX side but have not more distance, it seems to be worst.&lt;br /&gt;I guess the program needs no change&lt;br /&gt;Using the amplfied board with antena at two sides, there is an improved working distance.&lt;/p&gt;
&lt;p&gt;Thank you in advanced for your reply&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regard, Osvaldo Hojvat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/481215?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 07:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:615ada7e-6b86-4799-998c-de29f391d065</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
&lt;p&gt;Great, good luck finalizing your project &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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/481158?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 16:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:278d51d9-1876-4776-b14a-daa9c5d1090e</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Hi&amp;nbsp; Torbj&amp;oslash;rn&lt;/p&gt;
&lt;p&gt;Thank you for yor reply.&lt;/p&gt;
&lt;p&gt;I will do some testing about distances for RF link&lt;/p&gt;
&lt;p&gt;Also I will add retrasmiting n times.&lt;/p&gt;
&lt;p&gt;If I may need some aditional help I will open a new ticket.&lt;/p&gt;
&lt;p&gt;Best Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/480945?ContentTypeID=1</link><pubDate>Sat, 27 Apr 2024 08:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e100acd0-c9b4-405a-9281-b8c16c2fdcae</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
[quote user="o.hojvat"]In PRX mode, Tx address is not used . PIPE0 works&amp;nbsp; similar to the others PIPES[/quote]
&lt;p&gt;Correct. You don&amp;#39;t need to worry about the TX address in PRX mode, setting the RX addresses is sufficient.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]In PRX mode,&amp;nbsp; only Tx address and PIPE0 address are used and must be the same[/quote]
&lt;p&gt;Assuming you mean in PTX mode, then yes. Only TX and pipe 0 addresses are used, and they both need to be set to the same address as the device you are transmitting to.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]PIPE number is not defined at Tx - The number of PIPE are detected at PRX device because&amp;nbsp; the matching with this PIPE rxaddres matces wiith the received packet.[/quote]
&lt;p&gt;Correct. You always use pipe 0 in PTX mode, but in PRX mode you can receive on any of the enabled pipes.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]This PIPE number must be detected in STATUS_REG and used for ACK payload.[/quote]
&lt;p&gt;The RX_P_NO field of the STATUS register will contain the pipe number of the oldest payload in the FIFO. If you only have one packet in the FIFO it will be the pipe number of the previously received packet.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]In production parts I will not use default values and channels.[/quote]
&lt;p&gt;Good &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;It is recommended to use a randomized address, and ensure that you have a certain number of bit shifts in the address (avoid several bytes of 0x00 or 0xFF).&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/480779?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 23:11:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:081129ca-febc-4dd1-910d-b06ab6f4eb19</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Thank you for your reply&lt;/p&gt;
&lt;p&gt;As the ticket seems to be closed , I press Verify answer but I did not know for what function it is, sorry.&lt;/p&gt;
&lt;p&gt;I read again carefully page 75 of data sheet and I gess I undestand well the matter.&lt;/p&gt;
&lt;p&gt;Please confirm:&lt;/p&gt;
&lt;p&gt;In PRX mode, Tx address is not used . PIPE0 works&amp;nbsp; similar to the others PIPES&lt;/p&gt;
&lt;p&gt;In PRX mode,&amp;nbsp; only Tx address and PIPE0 address are used and must be the same&lt;/p&gt;
&lt;p&gt;PIPE number is not defined at Tx - The number of PIPE are detected at PRX device because&amp;nbsp; the matching with this PIPE rxaddres matces wiith the received packet.&lt;/p&gt;
&lt;p&gt;This PIPE number must be detected in STATUS_REG and used for ACK payload.&lt;/p&gt;
&lt;p&gt;.....................................................................&lt;/p&gt;
&lt;p&gt;I can use any of the 6 PIPEs ok&lt;/p&gt;
&lt;p&gt;The minimal instructions are:&lt;/p&gt;
&lt;p&gt;PRX&amp;nbsp;&amp;nbsp;&amp;nbsp; write 3F to Reg02&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; all Rx PIPES&amp;nbsp;&amp;nbsp;&amp;nbsp; ON&lt;/p&gt;
&lt;p&gt;PTX6 &amp;nbsp; &amp;nbsp;&amp;nbsp; tx and PIPE0&amp;nbsp; default addr..&amp;nbsp;&amp;nbsp; E7E7E7E7E7&lt;/p&gt;
&lt;p&gt;In each PTX 1 to 5&amp;nbsp;&amp;nbsp;&amp;nbsp; set TXaddr and PIPE0&amp;nbsp; RX addr with same default values&amp;nbsp; from PIPES 1 to 5 of the PRX.&amp;nbsp;&amp;nbsp;&amp;nbsp; C2C2C2C2C2 - C2C2C2C2C3 -C2C2C2C2C4-C2C2C2C2C5-C2C2C2C2C6&lt;/p&gt;
&lt;p&gt;It is working.&amp;nbsp; I expect have no errors when writing this&amp;nbsp; information.&lt;/p&gt;
&lt;p&gt;In production parts I will not use default values and channels.&lt;/p&gt;
&lt;p&gt;Some remaining problems that are in my program will be solved using 8 ch. logic analyzer and MPLAB 8.92&amp;nbsp; with PIC16F1936 and PIC16F1826.&lt;/p&gt;
&lt;p&gt;Best Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/480612?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 08:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0cb33d-92f6-43a4-99e9-6b774253c3f1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
&lt;p&gt;Did you figure this out, since you marked your reply as verified answer, or do you still have some questions you need help with?&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/480083?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 04:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfaabc98-2c58-4a06-ace6-6dab5aef5771</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn&lt;br /&gt;&lt;br /&gt;My NRF project is behind schedule but close to completion.&lt;br /&gt;&lt;br /&gt;I now need to enable and use the 6 PIPES and I want to confirm some points.&lt;br /&gt;&lt;br /&gt;In each PTX I must choose a PIPE and set with the same value, TXaddress, RX address of pipe0 and also the RX address of the chosen PIPE, if it is not PIPE0&lt;br /&gt;This is what the example on page 75 with PIPE5 explains.&lt;br /&gt;&lt;br /&gt;It is necessary to set the corresponding bit of the reg. 02 EN_RXADDR ?&lt;br /&gt;&lt;br /&gt;RXaddress of PIPE1 must be set in all cases, because it contains the MSBs of PIPES 2 to 5&lt;br /&gt;as explained on page 60&lt;br /&gt;.................................................. ..........&lt;br /&gt;&lt;br /&gt;In the PRX&amp;nbsp; I understand that I must set all the bits of reg 02, since I want to enable 6 PTX, each with its PIPE&lt;br /&gt;Additionally, for each PIPE&amp;nbsp; I must set the same RXaddress that I put in the corresponding PTX&lt;br /&gt;__________________________________________________________________&lt;br /&gt;&lt;br /&gt;One of the drawbacks to using assembler with Microchip microprocesors is that it can only use MPLABX version 5.35 or earlier.&lt;br /&gt;Any more or less new microprocessor must be verified that it is included in the assembler of that version.&lt;br /&gt;If it is new enough not to be in previous versions, the debug does not work well due to errors not yet resolved.&lt;br /&gt;This forces me to have to make everything work with two models that are different in their internal registers, the more flexible pic16F18855 for production and the pic16F1936, easier to use for debugging.&lt;br /&gt;&lt;br /&gt;Best Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/438991?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 11:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1031c35b-a921-45be-8545-a36a897350f7</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
[quote user="o.hojvat"]&lt;p&gt;&lt;strong&gt;&amp;nbsp;--- It is needed waiting 100ms before any access to the&amp;nbsp; NRF&amp;nbsp; SPI after applied power supply to theNRF&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;--- After this time It may be sent all NRF settitngs and an aditional 4.5 ms&amp;nbsp; is needed for&amp;nbsp; Power Down -&amp;nbsp; Standby mode.&amp;nbsp; ( Write command and status registers).&lt;/strong&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Correct. When the supply voltage to the nRF24L01+ is provided for the first time you have to wait at least 100ms after the supply voltage has stabilized before sending any commands to the nRF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The delay between power down and standby comes in addition to this, but depending on the crystal used the delay could be shorter than 4.5ms as detailed in the table.&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/438355?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 16:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e5a7920-d4c6-4bb7-a607-ddcefa78a854</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn&lt;/p&gt;
&lt;p&gt;Please note that&amp;nbsp; syncronizing are working OK as shown in captures 2 and 3&lt;/p&gt;
&lt;p&gt;The correct procedure is to wait&amp;nbsp; the second ACK payload before&amp;nbsp; the PTX counter-timer update.&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;I have done a lot of work adding the PTX test&amp;nbsp; program with the existing&amp;nbsp; Handeld control one&lt;/p&gt;
&lt;p&gt;All the program lines related with the USART was deleted to make room for the new lines for NRF&lt;/p&gt;
&lt;p&gt;My actual question is about table 14 , page 20&lt;/p&gt;
&lt;p&gt;It stated Power On reset 1ms to 100ms&lt;/p&gt;
&lt;p&gt;I guess:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;--- It is needed waiting 100ms before any access to the&amp;nbsp; NRF&amp;nbsp; SPI after applied power supply to theNRF&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;--- After this time It may be sent all NRF settitngs and an aditional 4.5 ms&amp;nbsp; is needed for&amp;nbsp; Power Down -&amp;nbsp; Standby mode.&amp;nbsp; ( Write command and status registers).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using the usual 8 pins board&amp;nbsp; with NR24L01P , 16M cristal and printed antena&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Please comment about&amp;nbsp; this two matters&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I must consider that PTX side&amp;nbsp; may be powered &lt;strong&gt;after&lt;/strong&gt; or&lt;strong&gt; before&lt;/strong&gt;&amp;nbsp; than the PRX&amp;nbsp; and this times will be important.&lt;/p&gt;
&lt;p&gt;Best Regards, Osvaldo&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/435403?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 07:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:464dfc14-5895-4318-8dd4-fe31c39b9a18</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
&lt;p&gt;Thanks for sharing the PDF, I can see it now.&lt;/p&gt;
&lt;p&gt;What would you say is the amplitude of the oscillations, in time?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am guessing that the problem with oscillations stem from the fact that you are not properly correcting for delay caused by the transfer of time from the PTX to the PRX.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are several sources of delay to take into account. First the delay caused by the readout of the time and the assembly of the payload (relatively small I assume), then the delay introduced by the upload of the packet and the packet transmission, and then the delay caused by the readout and processing of the payload on the RX side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The result of the delay is that the real PTX timing will be further along than the number implies, and you need to add some constant factor to the PTX timestamp before you do any further processing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the oscillations are consistent you can probably find this value just by experimentation. Start with 1 and work your way upwards. If your time resolution is 0.5ms I expect this value should be quite small, maybe somewhere in the 1-5 range.&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/435101?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 03:37:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c14332d-72b5-446d-8798-6b71c9f85cbc</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;PTX&amp;nbsp; &amp;nbsp;SPI&lt;/p&gt;
&lt;p&gt;PRX&amp;nbsp; (MIRF)&amp;nbsp; SPI&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Timers-sincronizing-oscillating-and-corrected.pdf"&gt;devzone.nordicsemi.com/.../Timers-sincronizing-oscillating-and-corrected.pdf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Timers-sincronizing-oscillating-and-corrected.pdf"&gt;devzone.nordicsemi.com/.../Timers-sincronizing-oscillating-and-corrected.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434835?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 06:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b12f5522-54fd-4a49-861a-f0ed732ecd1d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
&lt;p&gt;You should be able to attach any file by&amp;nbsp;drag dropping it onto the message reply window.&lt;/p&gt;
&lt;p&gt;The window should turn gray when you drag a file over it, and then you can release it.&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434784?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 17:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb1add4-3480-44d4-a955-e3a59055df66</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Please tell me how to attach a PDF&amp;nbsp; file&lt;/p&gt;
&lt;p&gt;I am using WindowsXP but I can move to a W10&amp;nbsp; PC&lt;/p&gt;
&lt;p&gt;Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434781?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 16:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66e5bb50-6d5f-4a8e-9038-1dc98332f01b</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn&lt;/p&gt;
&lt;p&gt;The correct procedure to synchronize the timer of the PTX is the following;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;PTX sends a packet &lt;br /&gt;&lt;br /&gt;PRX responds with ACK and payload and at that moment loads the value of its timer as payload&lt;br /&gt;&lt;br /&gt;&amp;nbsp;PTX receives ACK but discards the possible payload because it does not have the information recently loaded.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;PTX sends a second packet 128ms after the first one&lt;br /&gt;&lt;br /&gt;&amp;nbsp;PRX responds with ACK and in the payload it has the timer information.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This information corresponds to 128 ms previous, but at that time both timers overflow and return to the same value (+/- 0.5ms in the case of PRX) &lt;br /&gt;&lt;br /&gt;PRX gets an ACK payload and place the value received in its timer -&amp;gt; both are synchronized.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;It can be repeated but always transmitting two packets and using the ack payload of the second. &lt;br /&gt;&lt;br /&gt;The error was in modifying the time between the two packets sent by PTX, by updating the PTX timer when receiving the first ack. &lt;br /&gt;If the correction was 0 or almost 0, the oscillation was not noticed.&lt;/p&gt;
&lt;p&gt;I will send images in next post&lt;br /&gt;&lt;br /&gt;Best Regads, Osvaldo&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434778?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 16:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e1e3391-c6cd-4bd4-91e2-112d16316cc3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
[quote user="o.hojvat"]&amp;nbsp;Every 128ms PTX sends a packet that starts with F5 and then the value of its PTXtimer, which will always be the same at this moment.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;PRX recognizes F5 code and only loads the value of the difference (PRXtimer - PTXtimer) as ACK payload&lt;br /&gt;.&lt;br /&gt;&amp;nbsp;PTX receives it and adds that value to the PTX timer with which it remains synchronized.[/quote]
&lt;p&gt;You mean to say you send two packets from the PTX?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One with the F5 command and a second one to pick up the ACK payload?&lt;/p&gt;
[quote user="o.hojvat"]I used transmit the difference in case there is a delay due to ret-ransmissions o other, but I can measure and correct that.[/quote]
&lt;p&gt;You can disable retransmission if you want, and do it manually. If you don&amp;#39;t get an ACK just restart the process, and use an updated PTXtimer value to ensure that the timing is accurate.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]This way it seems to work OK, but a few times it initiates and remains oscillating indefinitely.[/quote]
&lt;p&gt;Can you provide more details regarding this oscillation? You mean the timing keeps oscillating between different offsets?&lt;/p&gt;
&lt;p&gt;Getting a trace of the SPI bus of hte PTX and PRX makes sense. Then you might be able to spot what the reason for the problem is. For instance it might be caused by packet loss somewhere, which should be easy to spot from the trace.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]&amp;nbsp;I will send the result when I have it solved.[/quote]
&lt;p&gt;Sounds like a plan. Just get back to me when you have the traces.&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434553?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 20:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d3830cf-7f5e-4159-bfa5-013d7d655a3c</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;&lt;br /&gt;Hi Torbj&amp;oslash;rn &lt;br /&gt;&lt;br /&gt;Thank you very much for your always kind answer. I will take into account all your suggestions. &lt;br /&gt;&lt;br /&gt;Now I&amp;#39;m trying to get the synchronization of the PTX timer with the PRX timer working, using the periodic transmission which is necessary anyway.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Every 128ms PTX sends a packet that starts with F5 and then the value of its PTXtimer, which will always be the same at this moment.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;PRX recognizes F5 code and only loads the value of the difference (PRXtimer - PTXtimer) as ACK payload&lt;br /&gt;.&lt;br /&gt;&amp;nbsp;PTX receives it and adds that value to the PTX timer with which it remains synchronized. &lt;br /&gt;&lt;br /&gt;The total time is 420us and the timers advance every 500us, so there is no problem that they change during the process. &lt;br /&gt;&lt;br /&gt;I used transmit the difference in case there is a delay due to ret-ransmissions o other, but I can measure and correct that.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This way it seems to work OK, but a few times it initiates and remains oscillating indefinitely. &lt;br /&gt;&lt;br /&gt;It is not easy to start the fault.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is fixed when the PTX sends a normal use packet inserted and the next one with F5 does not update.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;As it is a feedback system and with delays, I tried to correct using half the difference and the oscillation is damped in 1 to 2 seconds.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This is acceptable but I want to understand how it works and correct it properly.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Now I believe that it should not be corrected in all packets.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;I have to analyze well the capture of the 8 channels of the logic analyzer, 4 of the SPI of the PTX and 4 of the PRX.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;I will send the result when I have it solved. &lt;br /&gt;&lt;br /&gt;Best Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434344?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 06:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea3f397-dfb5-48ab-941f-e3e5b858bee5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
[quote user="o.hojvat"]&amp;nbsp;&amp;nbsp;&amp;nbsp; What happens if the upload is done in the first 20 us after the IRQ goes low at PRX side ?[/quote]
&lt;p&gt;In order for the packet upload to be included in the ACK the entire packet upload procedure has to complete before the IRQ goes low as a result of an incoming packet. If the packet upload completes after the IRQ has gone low it is already too late, and the packet will only be returned on the next packet from the PTX.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]The RF part takes 300 us to go to TX (PLL lock) and may be at the beginning of this time the payload can be loaded in the TX FIFO, to be transmitted next .[/quote]
&lt;p&gt;Unfortunately you can not upload a packet while the TX is settling and have it included immediately. If you check the state diagram in chapter 7.5.2 you will see that the FIFO status is checked before enabling the radio in TX mode. If there are no packets in the TX FIFO the radio will go back to RX mode immediately:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1688452847412v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also, please note that TX settling time is 130us, not 300us.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]There is a disappointing problem:&amp;nbsp; the system works but it depends on the order of PRX or PTX started first. &lt;br /&gt;&lt;br /&gt;The system may be locked because tx FIFO or Rx FIFO full or Max retry number.[/quote]
&lt;p&gt;If you get into problems when starting the PRX first you could put some code on the PRX side to avoid uploading any ACK payloads until at least one packet is received from the PTX. Then you know that you won&amp;#39;t fill the TX FIFO on the PRX side until the PTX is ready to pick them up.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]The system may be locked because tx FIFO or Rx FIFO full or Max retry number.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Since I have a Tx from PTx each 128ms , I can do some FLUSH for FIFOS and clear STATUS flags on PRX and/or PTX sides if there are no packets for example in 200ms.[/quote]
&lt;p&gt;Yes, you can use a timeout on the PRX side to detect situations where the PTX is not sending any data for a long time, and flush the FIFO&amp;#39;s accordingly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If nothing is received for a certain amount of time you might want to just flush the FIFO and immediately upload a new, updated ACK payload. As long as nothing is received simply repeat this procedure. If nothing is received for a very long time you might consider using a longer timeout value, until the PTX starts responding again.&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/434077?ContentTypeID=1</link><pubDate>Sun, 02 Jul 2023 21:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5432c0ac-4b65-460c-b432-b0608bbfe567</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn&lt;/p&gt;
&lt;p&gt;I have many parts of my project working as expected. &lt;br /&gt;&lt;br /&gt;There is a disappointing problem:&amp;nbsp; the system works but it depends on the order of PRX or PTX started first. &lt;br /&gt;&lt;br /&gt;The system may be locked because tx FIFO or Rx FIFO full or Max retry number.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Since I have a Tx from PTx each 128ms , I can do some FLUSH for FIFOS and clear STATUS flags on PRX and/or PTX sides if there are no packets for example in 200ms.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;I am asking if there are some recommendations that are usual for this matter.&lt;/p&gt;
&lt;p&gt;------------------------------------------------------&lt;/p&gt;
&lt;p&gt;By the way I have one idea to share&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; About&amp;nbsp; SPI speed,&amp;nbsp; working with PIC18F26Q10&amp;nbsp; I have used 16 MHZ sending data to a flash memory and 5MHz when receiving data.&amp;nbsp;&amp;nbsp;&amp;nbsp; This meets time specifications for both parts and works fine.&lt;/p&gt;
&lt;p&gt;It is usefull in my aplication because I send 4bytes for command and address and get 4 data bytes in each access for reading.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For NRF I used 4MHz by the moment..&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/433818?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 02:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33fe4882-9c4f-49a6-9d93-cc33aae10091</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;I will try to explain myself better:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I know that the ack payload must be loaded before receiving the packet in the PRX, so that it goes transmitted together with the next ACK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;&amp;nbsp; In the data sheet I can&amp;#39;t find information about time margins regarding the IRQ go to low level and the upload timming&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What happens if the upload is done in the first 20 us after the IRQ goes low at PRX side ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The RF part takes 300 us to go to TX (PLL lock) and may be at the beginning of this time the payload can be loaded in the TX FIFO, to be transmitted next .&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I can do some tests, but perhaps this matter has already been analyzed&lt;/p&gt;
&lt;p&gt;Best Regards, Osvaldo Hojvat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/433651?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 11:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0b43d9-6ebe-46c8-9744-83a3043c8d8b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Osvaldo&lt;/p&gt;
&lt;p&gt;You should be able to buffer regular payloads (PTX) or ACK payloads (PRX) independently of what the radio is currently doing. As an example, it is fine to upload multiple payloads while the radio is busy ramping up.&amp;nbsp;&lt;/p&gt;
[quote user="o.hojvat"]For SPI it is posible to do an upload for the ack payload (6 byte packet) in about&amp;nbsp; 20 us, inmediately IRQ of PRX goes low.[/quote]
&lt;p&gt;You mean the IRQ goes low immediately after uploading an ACK payload?&amp;nbsp;&lt;br /&gt;This sounds odd.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the PRX side you should not expect an interrupt unless you receive a packet from the PTX, uploading an ACK payload on the PRX side will have no influence on when the PTX sends you data.&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: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/433574?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 04:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:794ec789-f965-4411-b898-6aff108f94db</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;There is a time of about 130us for PRX changes from Rx to Tx&lt;/p&gt;
&lt;p&gt;Meanwhile:&lt;/p&gt;
&lt;p&gt;For SPI it is posible to do an upload for the ack payload (6 byte packet) in about&amp;nbsp; 20 us, inmediately IRQ of PRX goes low.&lt;/p&gt;
&lt;p&gt;But may it works ?&lt;/p&gt;
&lt;p&gt;Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replacing RS485 link with NRF24L01+</title><link>https://devzone.nordicsemi.com/thread/433530?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 17:42:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0faf5c70-a8de-4017-bb5d-7aebdc9edf0a</guid><dc:creator>o.hojvat</dc:creator><description>&lt;p&gt;I have&amp;nbsp; measured some delay times and found that sending a packet from PTX and get the reply available again at PRX takes about 2,5ms in total&lt;/p&gt;
&lt;p&gt;This includes NRF tx -rx times to interfase and USART times and reply from central unit by 485 cable&lt;/p&gt;
&lt;p&gt;In my future time division schema , I guess 20ms for each PTX, so it will be 120ms from each PTX trasmition to the following for the ack payload of previus packet.&lt;/p&gt;
&lt;p&gt;In the 20ms slot PTX can send a packet and after after 2,5 ms the reply will upload as ACK payload at PRX&lt;/p&gt;
&lt;p&gt;My last idea is at by example&amp;nbsp; 5ms from the&amp;nbsp; first packet sent, the PTX will send a second special packet one byte length, only to geting the ACK PAYLOAD information.&lt;/p&gt;
&lt;p&gt;This byte will have a special code (&amp;quot;F0&amp;quot; by example) that tells PRX it is not to be send by the USART (as it is done for all the usual packets)&lt;/p&gt;
&lt;p&gt;In this way the reply will be at PRX in the same 20ms time slot&lt;/p&gt;
&lt;p&gt;This one byte packet will be send all the lime to keep syncronized the PTx&lt;/p&gt;
&lt;p&gt;Aditionally the most important advantage is to avoid TXFIFO full in PRX&lt;/p&gt;
&lt;p&gt;The case 3) broadcast packet, it will be loaded in the 6 microprocesor buffers (in PRX =&amp;nbsp; interfase) an loaded to the PRX&amp;nbsp; TxFIFO&amp;nbsp; one in each slot time , a little before the expected one byte repetitive packet.&lt;/p&gt;
&lt;p&gt;So I will begin using all 6 address PIPES and time slot matter, before include the short test program in the complete handheld one.&lt;/p&gt;
&lt;p&gt;Until now I never change the default address in NRF&lt;/p&gt;
&lt;p&gt;The 6 USART address matter was make an well tested .&amp;nbsp; Handheld with 485 cable with several different address&amp;nbsp; was used&amp;nbsp; for this purpose,&lt;/p&gt;
&lt;p&gt;..............................................................&lt;/p&gt;
&lt;p&gt;The problem with wrong address arises because I used a normal handheld with cable to generate and receive USART signals in the debug.&lt;/p&gt;
&lt;p&gt;I was not the problem because an error remaining in the interfase (with the PRX) program but it was an error or confusion in the tests..&lt;/p&gt;
&lt;p&gt;....................................&lt;/p&gt;
&lt;p&gt;With the repetitive special packet it may be more simple to identificate PIPES not in use or out of range PTX&lt;/p&gt;
&lt;p&gt;Best Regards, Osvaldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>