<?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>S0 and S1 fields</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59868/s0-and-s1-fields</link><description>Hello. 
 I&amp;#39;m reading the documentation of the radio peripheral of nRF52832 but I can&amp;#39;t find any information about the S0 and S1 fields. 
 What are those fields? What do they mean?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 Apr 2020 14:50:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59868/s0-and-s1-fields" /><item><title>RE: S0 and S1 fields</title><link>https://devzone.nordicsemi.com/thread/243481?ContentTypeID=1</link><pubDate>Sat, 04 Apr 2020 14:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c6a72e-6c26-4ef4-8b2b-66c4fd451cef</guid><dc:creator>George555</dc:creator><description>&lt;p&gt;In the example I used as a base, S0, S1, and LENGTH fields are equal 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S0 and S1 fields</title><link>https://devzone.nordicsemi.com/thread/243479?ContentTypeID=1</link><pubDate>Sat, 04 Apr 2020 13:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d45fbd49-4997-4194-9fa0-36abb7f64094</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;If you have length field encoded in the first byte of packet, or payload length is static, you don&amp;#39;t need S0.&lt;br /&gt;S1 is only needed as padding if your LENGTH field is less than 8 bits (I believe it&amp;#39;s not).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S0 and S1 fields</title><link>https://devzone.nordicsemi.com/thread/243478?ContentTypeID=1</link><pubDate>Sat, 04 Apr 2020 13:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b87cf00-9fba-4bdb-b140-76aee51b8496</guid><dc:creator>George555</dc:creator><description>&lt;p&gt;Thanks Dmitry,&lt;/p&gt;
&lt;p&gt;Do I need to use them in case I want to implement my own protocol with static or dynamic payload length?&lt;/p&gt;
&lt;p&gt;I have modified a simple example with static packet payload length and it works fine. I&amp;#39;m just not sure if I need those fields.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S0 and S1 fields</title><link>https://devzone.nordicsemi.com/thread/243477?ContentTypeID=1</link><pubDate>Sat, 04 Apr 2020 12:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd4916f2-5c73-48dd-a45c-f7ec766b40cd</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;these fields allow radio to work with different protocols and packet formats.&lt;br /&gt;S0 is a part of packet preceding length field (e.g. in BLE, length field is the second byte). Thus receiver/transmitter knows where to look for packet length.&lt;br /&gt;S1 is to handle cases when packet header is not a multiple of byte (in ESB, for example, PCF field is 9 bits wide).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>