<?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>problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95072/problem-in-adding-time-sync-features-in-esb</link><description>Dear all, 
 [nrf sdk version 17.02 ; Broad:nrf52840DK] 
 I am now combing the time sync code into ESB protocol .In the original time sync source code,time slot API is used in order to let esb work cocurrently with BLE protocol. 
 But in my case,I remove</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Feb 2023 13:46:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95072/problem-in-adding-time-sync-features-in-esb" /><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/409879?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 13:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f25ed03-ae2b-43a6-b309-eec6b3b26b74</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CPU will be waiting for event for the most time in any case so that in itself may not mean much. Perhaps it would be a good idea to add some logging to see more what is happening? Log in&amp;nbsp;RADIO_IRQHandler whenever you get a&amp;nbsp;SYNC_PKT and a&amp;nbsp;URLLC_DATA_PKT. From there, add more logging where you see relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/409591?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 13:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a590a7c6-8ff1-41d8-b796-27d2fa3d001d</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;at my Rx device,it receives packets normally for minutes but later it stuck and never get a single packet.Whne I press the pause button of the debugger,it stuck in the while loop and waiting for events,I am sure the the Tx is working normally.&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/6787._16574772_1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/408032?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2023 14:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7cdf66-2653-4bc7-920d-9a2cfd2f2400</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;That is good: Then you get the sync packets. If we for now&amp;nbsp;assume that the Tx part is OK, the question is what happens to that.&amp;nbsp; Does&amp;nbsp;sync_timer_offset_compensate() return true or false? If it returns false, why? (check with a debugger)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/407807?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 14:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd28c31d-4410-4514-9fe3-0251db5b4473</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;I actually check it with the gpio output,I set the pin high when Rx received sync packet in&amp;nbsp;&lt;span&gt;RADIO_IRQHandler().&lt;pre class="ui-code" data-mode="text"&gt; if (NRF_RADIO-&amp;gt;EVENTS_DISABLED &amp;amp;&amp;amp; (NRF_RADIO-&amp;gt;INTENSET &amp;amp; RADIO_INTENSET_DISABLED_Msk)) {

      NRF_RADIO-&amp;gt;EVENTS_DISABLED = 0;
      uint8_t message_id;
      message_id = m_rx_payload_buffer[2];
      switch (message_id){
      case SYNC_PKT:
            {
              nrf_gpio_pin_set(TEST_PIN);
              bool adjustment_procedure_started;
              sync_pkt_t *p_pkt;
              p_pkt = (sync_pkt_t*)&amp;amp;m_rx_payload_buffer[2];
              adjustment_procedure_started = sync_timer_offset_compensate(p_pkt);
              nrf_gpio_pin_clear(TEST_PIN);
              if (adjustment_procedure_started) {
                p_pkt = tx_buf_get();
              }
              clear_events_restart_rx();
            }
            break;

      case URLLC_DATA_PKT:
            if (on_radio_disabled) 
            {
              on_radio_disabled();
            }
            
            break;

      }

    }&lt;/pre&gt;And the result is shown below,it seems that I get the sync packet normally.&lt;/span&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/_A287555EF764D6536B756297_-2023_2D00_02_2D00_02-221222.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&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: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/407799?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 13:56:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adebd04c-a031-4119-bc89-8336f7fc90fe</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you checked with a debugger if you get the sync packets regularly/as epxected in RADIO_IRQHandler()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/407393?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 15:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26521ee2-01d1-47cb-8347-945fefde5af3</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;thanks a lot for help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/407392?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 15:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05e7e3ca-df4d-4370-802c-a5d5c56074d8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Hao,&lt;/p&gt;
&lt;p&gt;I have not had a chance to look at your code yet but will do so during this week and get back to you.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/406971?ContentTypeID=1</link><pubDate>Sun, 29 Jan 2023 15:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d0bb75-44cd-479a-8ef6-0fa7b943d424</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF5_5F00_SDK_5F00_17.0.2_5F00_esb_5F00_rx.7z"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK_5F00_17.0.2_5F00_esb_5F00_rx.7z&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Above is my Rx program,it is in&amp;nbsp;&lt;strong&gt;...\nRF5_SDK_17.0.2_esb_rx\examples\proprietary_rf\esb_prx,&lt;/strong&gt;basically the time sync featured code is added in main.c and&amp;nbsp;&lt;strong&gt;...\nRF5_SDK_17.0.2_esb_tx\components\proprietary_rf\esb\nrf_esb.c,&lt;/strong&gt;in nrf_esb.c&lt;strong&gt;,the&amp;nbsp;&lt;span&gt;RADIO_IRQHandler() &lt;/span&gt;&lt;/strong&gt;is called when radio receiving packet,in the unmodified version of nrf_esb.c,once receiving packet,on_radio_disabled() is called.but in my case,I have two kinds of receiving packet,one is urllc_data_pkt and the other is sync_pkt identified by meassage_id.&lt;/p&gt;
&lt;p&gt;So in&amp;nbsp;&lt;strong&gt;&lt;span&gt;RADIO_IRQHandler(),&lt;/span&gt;&lt;/strong&gt;I treat&amp;nbsp;urllc_data_pkt as the esb data packet (follow the original procedure how esb handle the data) and I add the case:SYNC_PKT to handle the sync procedure.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void RADIO_IRQHandler() {
  
    if (NRF_RADIO-&amp;gt;EVENTS_READY &amp;amp;&amp;amp; (NRF_RADIO-&amp;gt;INTENSET &amp;amp; RADIO_INTENSET_READY_Msk)) {
      NRF_RADIO-&amp;gt;EVENTS_READY = 0;
       //DEBUG_PIN_SET(DEBUGPIN1);
    }

    if (NRF_RADIO-&amp;gt;EVENTS_END &amp;amp;&amp;amp; (NRF_RADIO-&amp;gt;INTENSET &amp;amp; RADIO_INTENSET_END_Msk)) {
       NRF_RADIO-&amp;gt;EVENTS_END = 0;
       //DEBUG_PIN_SET(DEBUGPIN2);
      // Call the correct on_radio_end function, depending on the current protocol state
      if (on_radio_end) {
        on_radio_end();
      }
    }

    if (NRF_RADIO-&amp;gt;EVENTS_DISABLED &amp;amp;&amp;amp; (NRF_RADIO-&amp;gt;INTENSET &amp;amp; RADIO_INTENSET_DISABLED_Msk)) {

      NRF_RADIO-&amp;gt;EVENTS_DISABLED = 0;
      uint8_t message_id;
      message_id = m_rx_payload_buffer[2];
      switch (message_id){
      case SYNC_PKT:
            {
              bool adjustment_procedure_started;
              sync_pkt_t *p_pkt;
              p_pkt = (sync_pkt_t*)&amp;amp;m_rx_payload_buffer[2];
              adjustment_procedure_started = sync_timer_offset_compensate(p_pkt);
              if (adjustment_procedure_started) {
                p_pkt = tx_buf_get();
              }
              clear_events_restart_rx();
            }
            break;

      case URLLC_DATA_PKT:
            if (on_radio_disabled) 
            {
              on_radio_disabled();
            }
            
            break;

      }

    }

  }
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your kindly help&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Hao.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/406970?ContentTypeID=1</link><pubDate>Sun, 29 Jan 2023 13:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def1fbf5-c00d-495a-8d2a-bd25e3d14e20</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF5_5F00_SDK_5F00_17.0.2_5F00_esb_5F00_tx.7z"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK_5F00_17.0.2_5F00_esb_5F00_tx.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hi,sorry for the late reply, my TX program is in&amp;nbsp;&lt;strong&gt;...\nRF5_SDK_17.0.2_esb_tx\examples\proprietary_rf\esb_ptx&lt;/strong&gt;,&amp;nbsp;in main.c,the while loop(line.325) sending the data packet periodically using &lt;strong&gt;nrf_esb_write_payload(&amp;amp;tx_payload).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;    while (true)
    {
        
        uint32_t time_stamp;
        uint32_t seq;

        tx_payload.length = sizeof(urllc_payload);
        tx_payload.noack = true;                        //all packet is not required ack
        urllc_payload *p_urllc_payload;
        p_urllc_payload = (urllc_payload*)malloc(sizeof(urllc_payload));
        p_urllc_payload -&amp;gt; header.message_id = URLLC_DATA_PKT;
        p_urllc_payload -&amp;gt; seq_num = seq;
        time_stamp = TIME_SYNC_TIMESTAMP_TO_USEC(ts_timestamp_get_ticks_u64()); //get ticks and transfer to USEC
        p_urllc_payload -&amp;gt; time_stamp =  time_stamp;
        memcpy(tx_payload.data,p_urllc_payload,sizeof(urllc_payload));
           
        if (nrf_esb_write_payload(&amp;amp;tx_payload) == NRF_SUCCESS)
        {

          //NRF_LOG_INFO(&amp;quot;Sending urllc data packet succeed&amp;quot;);

        }        
        else{

          NRF_LOG_WARNING(&amp;quot;Sending urllc data packet failed&amp;quot;);
        
        }
        free(p_urllc_payload);
        seq++;
        
        nrf_delay_ms(50);
        NRF_LOG_FLUSH();
    }&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Mean while,there is a app timer called sync_timer keep sending sync packet every 30ms&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;static void repeated_timer_handler(void * p_context)
{

    tx_payload.length = sizeof(sync_pkt_t);               //set tx_payload length packet length
    tx_payload.noack = true;                              //all packet is not required ack
    sync_pkt_t *p_pkt;
    p_pkt = (sync_pkt_t*)malloc(sizeof(sync_pkt_t));
    p_pkt-&amp;gt;header.message_id = SYNC_PKT;
    take_sync_timer_val(p_pkt); 
    memcpy(tx_payload.data,p_pkt,sizeof(sync_pkt_t));
    if (nrf_esb_write_payload(&amp;amp;tx_payload) == NRF_SUCCESS)
    {
         //NRF_LOG_INFO(&amp;quot;Sending sync packet succeed&amp;quot;);
    }        
    else
    {
         NRF_LOG_WARNING(&amp;quot;Sending sync failed&amp;quot;);
    }
    free(p_pkt);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And all the time sync featured code related to &lt;strong&gt;time sync TX&lt;/strong&gt; is in &lt;strong&gt;...\nRF5_SDK_17.0.2_esb_tx\components\proprietary_rf\esb\nrf_esb.c&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/405275?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 13:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e4bffef-f6d7-4598-b1b3-b65985c86391</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No problem, I can take a look. I am not able to see much from these snippets though. Can you upload your full project here (at least everything related to ESB), and explain in a bit more detail what you have done, what you have seen from debugging/testing etc?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/405146?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 06:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e5b1eb4-7b90-4220-a332-bb6c70b3d46b</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply,I didn&amp;#39;t solve it yet,can you help me check the code snippet please.&lt;/p&gt;
&lt;p&gt;I probably did something wrong.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/403897?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 15:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3524cdd-fd18-45f0-9942-4874a6996cea</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry for the delay in this thread. Edvin is out of office and I have inherited it from him. Have you had any progress on your end the last couple of weeks?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/402384?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2022 09:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4cbe5f4-647f-4d93-802b-4b1aa8e0fd8e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;div&gt;Hi, Edvin and most of our R&amp;amp;D team is on vacation until 2nd of January and we are thinly staffed during these holiday season in Norway. Please expect delays in response until Edvin is back from the vacation. We appreciate your patience and thank you for your understanding&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/402133?ContentTypeID=1</link><pubDate>Sat, 24 Dec 2022 18:20:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8073e1e-b7f3-482a-b856-263794d42cc7</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I already test the unmofidied one,and that works normally.I need some features in ESB,mean while I need the timers on tx,rx to be synchrnized,so I do the combination.&lt;/p&gt;
&lt;p&gt;I add the below snippet in&amp;nbsp;&lt;span&gt;RADIO_IRQHandler() of esb.c to doing sync procedure.I don&amp;#39;t know if this is right.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint8_t message_id;
      message_id = m_rx_payload_buffer[2];
      switch (message_id){
      case SYNC_PKT:
            {
            
              bool adjustment_procedure_started;
              sync_pkt_t *p_pkt;
              p_pkt = (sync_pkt_t*)&amp;amp;m_rx_payload_buffer[2];
              adjustment_procedure_started = sync_timer_offset_compensate(p_pkt);
              /*if (adjustment_procedure_started) {
                p_pkt = tx_buf_get();
              }*/
              clear_events_restart_rx();
            }
            break;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/401882?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 10:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b747f9e-1404-495a-b467-68aa16f4299d</guid><dc:creator>Edvin</dc:creator><description>[quote user="HaoHuang"]I just wonder is there any problems in&amp;nbsp;RADIO_IRQHandler()[/quote]
&lt;p&gt;Not that I am aware of. The Radio IRQ Handler is widely used in almost all of our applications, also by our Bluetooth Stack.&lt;/p&gt;
&lt;p&gt;Did you test the unmodified version from the guide? The one with Bluetooth? It doesn&amp;#39;t actually use bluetooth, it only supports running bluetooth next to it.&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: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/401754?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 14:31:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf969a92-2231-44d8-bff1-b86090ca9e2a</guid><dc:creator>HaoHuang</dc:creator><description>&lt;p&gt;Hi,thanks to your quick reply&lt;/p&gt;
&lt;p&gt;1.the&amp;nbsp;&lt;span&gt;RADIO_IRQHandler() is in the nrf_esb.c,the original one doesn&amp;#39;t have the time sync part,I add the compesation part which is sync_timer_offset_compensate(pkt) into it.In other words,I move part of time_sync.c code into nrf_esb.c.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.As mentioned above,esb_tx is sending sync packet&amp;nbsp;regularly (every 30 ms),and the drift is reset when the time sync messages are received (at the beginning of the vedio),but the drift keep driftin for long and then become flat.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will do more testing to figure it out,I just wonder is there any problems in&amp;nbsp;RADIO_IRQHandler() because I do some modification and also I am not really familiar with the radio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hao&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in adding time sync features in ESB</title><link>https://devzone.nordicsemi.com/thread/401748?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 14:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1803278-468a-4edd-9876-5c5e86bbcee7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have not worked with this unofficial example before (although I have seen it referenced). Therefore, it is difficult to say exactly what is wrong only by looking at a few snippets. Did you test the unmodified version before? Searching through thes from the github repository, which I assume you have used. I am not able to understand what changes you did, and why.&lt;/p&gt;
&lt;p&gt;E.g. the RADIO_IRQHandler() that you modified, was it the one in nrf_esb.c, or the one in time_sync.c? The reason I ask is that I don&amp;#39;t see any particular similarities with it any of them, so that is why I am not sure what you are trying to do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I assume that the example is sending the time sync messages regularly. Do you do that as well? And the drift between the devices, do they reset when the time sync messages are received or do they keep drifting?&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></channel></rss>