<?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>[nRF52833] [gzll] gzll problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91013/nrf52833-gzll-gzll-problem</link><description>We use nrf52833, and the SDK is 17.1.0. We have the following questions about gzll: 1. How to count packets_num and timeouts_num in Packets Statistics? timeouts_num Where is the timeout time set? 2. When we use gzll as a device to transmit IMU data, we</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Aug 2022 12:56:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91013/nrf52833-gzll-gzll-problem" /><item><title>RE: [nRF52833] [gzll] gzll problem</title><link>https://devzone.nordicsemi.com/thread/381786?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 12:56:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f297fc7e-700c-4336-a993-d805a79075a6</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="austin"]1、How to determine the interrupt priority of IMU with gzll&amp;#39;s NRF_GZLL_LOW_IRQ_PRIORITY[/quote]
&lt;p&gt;Use NVIC_GetPriority to see the interrupt priority of your wanted _IRQn.&lt;/p&gt;
&lt;p&gt;Use NVIC_SetPriority(_IRQn) to set it to another value. Since Gazell uses 0 and 1, I recommend a lower value (2-7).&lt;/p&gt;
[quote user="austin"]&lt;p&gt;2、Can we directly send IMU data to the host at fixed time intervals regardless of whether we receive the ACK from the host?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;You can push it to the TX fifo, but you&amp;#39;ll then need to handle any return code that isn&amp;#39;t successful.&lt;/p&gt;
&lt;p&gt;You can also setup a lower max tx attempts, in cases where the data is no longer valid, or whichever fits your application best.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: [nRF52833] [gzll] gzll problem</title><link>https://devzone.nordicsemi.com/thread/381779?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 12:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100a7990-44f6-4f17-aacb-e326850f8991</guid><dc:creator>austin</dc:creator><description>&lt;p&gt;HI Hakon,&lt;/p&gt;
&lt;p&gt;1、How to determine the interrupt priority of IMU with gzll&amp;#39;s NRF_GZLL_LOW_IRQ_PRIORITY&lt;/p&gt;
&lt;p&gt;2、Can we directly send IMU data to the host at fixed time intervals regardless of whether we receive the ACK from the host?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;tks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF52833] [gzll] gzll problem</title><link>https://devzone.nordicsemi.com/thread/381755?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 11:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:768b0acc-ca56-4a3a-b056-81c3d54d5ade</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;
[quote user=""]1. How to count packets_num and timeouts_num in Packets Statistics?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; timeouts_num Where is the timeout time&amp;nbsp; set?[/quote]
&lt;p&gt;Here&amp;#39;s the documentation and how to enable and interpret this feature:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/gzll_02_user_guide.html?cp=8_1_5_4#gzll_transmission_statictics"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/gzll_02_user_guide.html?cp=8_1_5_4#gzll_transmission_statictics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The max amount of transmissions per packet is set in nrf_gzll_set_max_tx_attempts()&lt;/p&gt;
[quote user=""]2. When we use gzll as a device to transmit IMU data, we encounter a problem. If the IMU is not moving, the packet loss rate is good. If the IMU is in motion, the packet loss rate is high,What is the reason and how to resolve it?[/quote]
&lt;p&gt;It sounds like the interrupt function for the sensor is configured with an equal or higher interrupt priority than the interrupts in gazell. Can you try to adjust the interrupt priority of this IMU IRQ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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>