<?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>Radio 2.4GHz LENGTH Field</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43193/radio-2-4ghz-length-field</link><description>After reading the document for nRF52840 Radio Peripheral. I have a doubt about LENGTH field in packet format. what is the difference between LENGTH field and STATIC_PACKET_LENGTH and when to use? How to use 4bit LFLEN for sending packets? where and when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Feb 2019 07:42:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43193/radio-2-4ghz-length-field" /><item><title>RE: Radio 2.4GHz LENGTH Field</title><link>https://devzone.nordicsemi.com/thread/168981?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 07:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:058da3a8-3b12-466d-9d39-752c5a8a8b79</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can set STATIC_PACKET_LENGTH to 0 and only use the LENGTH field, that is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The LENGTH field can be between 0 and 8 bits in size, as configured through the LFLEN field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Obviously the maximum length of the packet is lower if you have a shorter LENGTH field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Back to your question about S0 and S1 these are optional header bits/bytes that will be added before and after the LENGTH field. As an example the BLE stack will use these fields to form the standard BLE packet header.&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: Radio 2.4GHz LENGTH Field</title><link>https://devzone.nordicsemi.com/thread/168966?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 04:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6e7a44b-52dc-4035-aeab-7431c9967c02</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;Thanks for your fast reply. Can i use only LENGTH field for packet transfer by using register directly? If it so then how many bits i can use with LENGTH field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio 2.4GHz LENGTH Field</title><link>https://devzone.nordicsemi.com/thread/168913?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 14:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec6a8e8-83f9-4d7f-8b38-682d8be2ca7d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;STATIC_PACKET_LENGTH is mainly used for protocols that don&amp;#39;t support dynamic packet length (meaning the size of the LENGTH field is 0). Essentially&amp;nbsp;the&amp;nbsp;total packet length is the value of LENGTH + STATIC_PACKET_LENGTH, so if you know that all your packets will have a minimum size &amp;gt; 0 you can configure this in the STATIC_PACKET_LENGTH, and only use the LENGTH field to add additional payload bytes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any particular reason you want to access the radio registers directly?&lt;/p&gt;
&lt;p&gt;Unless you have very particular requirements I would suggest using one of our existing RF protocol implementations, such as BLE or ESB. Then you don&amp;#39;t have to&amp;nbsp;spend a lot of time on the low level radio protocol implementation.&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></channel></rss>