<?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>Gzll fifo handling</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59772/gzll-fifo-handling</link><description>To the kind attention of Nordic support team, I have been putting to the test a scenario where three devices are used: one gzll host and two gzll devices. When devices are transmitting both at the same time a continuous input data stream towards the host</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Apr 2020 09:20:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59772/gzll-fifo-handling" /><item><title>RE: Gzll fifo handling</title><link>https://devzone.nordicsemi.com/thread/243124?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 09:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1259b2cc-c34e-4c43-9c50-9b84835a9537</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;Hi Kenneth, thank you for you kindness.&lt;/p&gt;
&lt;p&gt;I have got a freertos task that is doing gzll work. So, workaround is checking continuously fifo in the gzll dedicated thread loop, it is like a polling to check fifo. Not a particular trigger, in this case. This polling seems to prevent any troubles, at least in my case.&lt;/p&gt;
&lt;p&gt;About your second question, I&amp;#39;m going to check with a step by step debugging and calling&amp;nbsp;&lt;span&gt;&amp;nbsp;nrf_gzll_get_total_allocated_packet_count before and after reception routines, to see if I can immediately&amp;nbsp;see an effect on rx fifo.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Yes, tx buffers on the host is going to be full, at least in my case, I can get&amp;nbsp;&lt;span&gt;nrf_gzll_ok_to_add_packet_to_tx_fifo error printed on a serial port, and it is about that moment that host cannot communicate anymore with one of the two devices, when not using workaround. I&amp;#39;ll try to print a more complete report using serial port, so that it can be useful to describe what happens.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I want to try to theoretically find a succession of events that can block communication, reading in documentation what is default tx rx behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll also give a look to ack lenght, as you kindly suggested and I&amp;#39;ll update here.&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Gzll fifo handling</title><link>https://devzone.nordicsemi.com/thread/242974?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 13:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4298a4ec-0cfc-4667-94ad-429898f90774</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your workaround seems good, but I am unsure what might trigger it yes. It seems to be related to the host based on your description.&lt;/p&gt;
&lt;p&gt;So based on your description it seems that calling&amp;nbsp;gzp_crypt_user_data_read() /&amp;nbsp;nrf_gzll_fetch_packet_from_rx_fifo() have no effect to the buffer?&amp;nbsp;Or is&amp;nbsp;the problem that TX buffers on the host is going full?&lt;/p&gt;
&lt;p&gt;Is it possible that you are writing too large packets (length field is wrong) from the host to the device?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>