<?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 PCNF1 register settings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83909/radio-pcnf1-register-settings</link><description>Hello ! 
 1. In some legacy code I have found that radio channel is configured twice 
 
 NRF_RADIO -&amp;gt; FREQUENCY = channel; 
 
 NRF_RADIO -&amp;gt; DATAWHITEIV = channel; 
 
 Can it be some tail from some old fixes of some anomalies ? 
 
 in our system Data-whitening</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Feb 2022 11:16:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83909/radio-pcnf1-register-settings" /><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/352293?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 11:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9efff06-65ab-4f64-983f-cde9b97334b4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Hiihtaja"]&lt;p&gt;some splitting for address what need to be written to BASE0 and BASE1 registres.&lt;/p&gt;
&lt;p&gt;On practice everybody use standard BLE address or IEEE specific one.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But what address range can be used if we would like to be as far as possible from known standard radios&lt;/p&gt;[/quote]
&lt;p&gt;You should be able to select any address not used by BLE or one of the other known protocols. However, you should follow these guidelines:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In general it is bad practice to start an address with either 0x00, 0xFF, 0xA or 0x5.&amp;nbsp;0x00 and 0xFF because they contain no bit shifts, and 0xA or 0x5 because they form a continuation of the preamble (the preamble is either 0xAA or 0x55).&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;IEEE 802.15.4 does not use the address fields, as you can see from&amp;nbsp;&lt;a title="Receive sequence" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_11_6#ieee802154_rx"&gt;Receive sequence&lt;/a&gt;. It uses a preamble with synchronization header. IEEE 802.15.4 also uses different modulation, datarate, and channels than BLE/proprietary modes.&lt;/p&gt;
[quote user="Hiihtaja"]&lt;p&gt;Basically packets what have different addresses are rejected without any extra events and do not generate any RX not OK or wrong CRC .e.g without any events. BUT they still occupy time slot,&lt;/p&gt;
&lt;p&gt;our packet interfere to other packet and packet will be corrupted or not even received.&lt;/p&gt;[/quote]
&lt;p&gt;If the other protocol transmits the packet on-air at the exact same time as your protocol, there is chance that the signal will interfere anyways, preventing you from receiving the packet correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The radio will only start receiving a packet once it gets an address match, meaning other protocols will not &amp;quot;take time&amp;quot; from your radio. Only when a valid address is detected, the radio will continue receiving the payload and check CRC, etc.&lt;/p&gt;
[quote user="Hiihtaja"]What about Wifi ? Is any BLE registers can have special values what minimize impact from it ?[/quote]
&lt;p&gt;Wifi uses different modulation, datarate, and channels. The on-air signals may interfere with your wanted signal, but it should normally not cause address matches in the radio. BLE have placed advertising channels on the outside of most used WiFi channels, and implements frequency hopping on connections, to limit impact from other protocols/signals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350748?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 17:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ed6c76c-9428-49ea-8c27-a97fc69965fe</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen !&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Could you please and provide more info about address selection. I can see in PS chapter&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;6.20.2 Address configuration&lt;/p&gt;
&lt;p&gt;some splitting for address what need to be written to BASE0 and BASE1 registres.&lt;/p&gt;
&lt;p&gt;On practice everybody use standard BLE address or IEEE specific one.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But what address range can be used if we would like to be as far as possible from known standard radios&lt;/p&gt;
&lt;p&gt;but we use standard BLE 1,2,125,500 and IEEE radio modes ?&lt;/p&gt;
&lt;p&gt;Basically packets what have different addresses are rejected without any extra events and do not generate any RX not OK or wrong CRC .e.g without any events. BUT they still occupy time slot,&lt;/p&gt;
&lt;p&gt;our packet interfere to other packet and packet will be corrupted or not even received.&lt;/p&gt;
&lt;p&gt;What about Wifi ? Is any BLE registers can have special values what minimize impact from it ?&lt;/p&gt;
&lt;p&gt;I think all of those actions should increase reliability of our radio.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350732?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 15:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b35470e-253a-465c-a23f-c1b0e28ec6be</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Hiihtaja"]&lt;p&gt;I think data-whitening is important feature and need to be ON all the time. But in proprietary radio better to avoid compatibility with BLE. For example register can be set to&amp;nbsp;&lt;span&gt;NRF_RADIO&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;DATAWHITEIV&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;channel +1;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I case of compatibility, radio starts to receive BLE packets with valid CRC and they should be rejected as some alien packets.&lt;/p&gt;
&lt;p&gt;Is this have sense ?&lt;/p&gt;[/quote]
&lt;p&gt;If you want to avoid receiving BLE packets, you should rather use a different access address than what BLE uses (0x8e89bed6). Then you will avoid having to do de-whitening on the packets that you do not get an address match on.&lt;/p&gt;
[quote user="Hiihtaja"]&lt;p&gt;2. About MAXLEN usage in my case when I should send/receive packets with 2 known MAX sizes 64 or 250 bytes.&lt;/p&gt;
&lt;p&gt;Ble_2mbit radio mode in use.&lt;/p&gt;
&lt;p&gt;I have set those values t0&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_LFLEN_BITS&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_S0LEN&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_S1LEN_BITS&lt;/span&gt;&lt;span&gt; (0&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_CILEN_BITS&lt;/span&gt;&lt;span&gt;&amp;nbsp; (&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define NRF_STATLEN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(0)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;as result length of the packet in the position where the LENGTH field in the packet.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In case if TX operation, MAXLEN can be set to 250 and LENGTH is set to exact value what need to be send.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In case of RX, MAXLEN is set to 64 or to 250 for limit MAX size of received packet.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;So I can change MAXLEN and LENGTH only.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is this scheme looks OK ?&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Yes, this sounds fine to me.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350610?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 09:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc3b008e-c039-4657-b4e6-ddd2687cff84</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;2. About MAXLEN usage in my case when I should send/receive packets with 2 known MAX sizes 64 or 250 bytes.&lt;/p&gt;
&lt;p&gt;Ble_2mbit radio mode in use.&lt;/p&gt;
&lt;p&gt;I have set those values t0&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_LFLEN_BITS&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_S0LEN&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_S1LEN_BITS&lt;/span&gt;&lt;span&gt; (0&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_CILEN_BITS&lt;/span&gt;&lt;span&gt;&amp;nbsp; (&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define NRF_STATLEN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(0)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;as result length of the packet in the position where the LENGTH field in the packet.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In case if TX operation, MAXLEN can be set to 250 and LENGTH is set to exact value what need to be send.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In case of RX, MAXLEN is set to 64 or to 250 for limit MAX size of received packet.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;So I can change MAXLEN and LENGTH only.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is this scheme looks OK ?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350605?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 09:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8f58fdc-c423-4830-8ee0-7af10f775094</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;I think data-whitening is important feature and need to be ON all the time. But in proprietary radio better to avoid compatibility with BLE. For example register can be set to&amp;nbsp;&lt;span&gt;NRF_RADIO&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;DATAWHITEIV&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;channel +1;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I case of compatibility, radio starts to receive BLE packets with valid CRC and they should be rejected as some alien packets.&lt;/p&gt;
&lt;p&gt;Is this have sense ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350502?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 16:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6180cfb7-2c23-456b-b629-15f4d950f548</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Hiihtaja"]Can I assume this is BLE recommendations&amp;nbsp;? But any other proprientary radio can send any other IV what have sense and it should be equal on both sides ?[/quote]
&lt;p&gt;Yes,&amp;nbsp;&lt;span&gt;DATAWHITEIV is just the initial value which needs to be know by both sides in order to reconstruct the data. The BLE specifications say this should be set to the channel number. For other protocols, you can set it as you like as long as it is the same on both sides.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350104?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 06:34:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d84526-4bd1-4be9-9f56-6812f036eb7a</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;I think here :&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11640/nrf51822-raw-transmit-receive-not-working"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/11640/nrf51822-raw-transmit-receive-not-working&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;// I&amp;#39;ll use a fixed frequency of 2407 MHz for now. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_RADIO-&amp;gt;FREQUENCY = 7; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;// BLE sets the data whitening IV to the same as the frequency. I assume there is a good reason. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_RADIO-&amp;gt;DATAWHITEIV = 7;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can I assume this is BLE recommendations&amp;nbsp;? But any other proprientary radio can send any other IV what have sense and it should be equal on both sides ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Eugene&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: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/350045?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 16:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16293b87-a64f-4eea-9e48-817ae8e6178c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Hiihtaja"]&lt;p&gt;1. Yes this is proprietary radio and whitening enabled on both side.&lt;/p&gt;
&lt;p&gt;I look around and find code&amp;nbsp;&lt;a href="https://github.com/iot-chalmers/BlueFlood/blob/master/examples/nrf-glossy/nrf-radio-driver.c#L74"&gt;https://github.com/iot-chalmers/BlueFlood/blob/master/examples/nrf-glossy/nrf-radio-driver.c#L74&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;where channel is written&amp;nbsp; to DATAWHITEIV register. Have it sense or not for nRF52840 ?&lt;/p&gt;[/quote]
&lt;p&gt;Like I said before, as long as you use the same whitening/de-whitening technique on both sides, it should be fine. How to handle this is part of your proprietary protocol. See more in&amp;nbsp;&lt;a title="Data whitening" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_2#concept_odh_51r_4r"&gt;Data whitening&lt;/a&gt;.&lt;/p&gt;
[quote user="Hiihtaja"]2. I mean the next state machine. I would like to receive 64 bytes during known timeslot. I have timer what cancel RX state at the end of timeslot. But if RX is really started, I would like to have END event after 64 bytes as fast as possible. Other side can send 64 or 255 but I need 64 and not willing to wait when END is appears after 255.[/quote]
&lt;p&gt;Depending on the configuration, reception will stop after the specified length, regardless of the value of the MAXLEN register, or when it reaches MAXLEN.&lt;/p&gt;
[quote user="Hiihtaja"]What kind of registers have sense to program for&amp;nbsp; stop RX at 64 bytes. If 64 have valid CRC , sw moving to the next state,[/quote]
&lt;p&gt;If you want to have a static payload length, you should set STALEN and MAXLEN in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html#register.PCNF1"&gt;PCNF1 register&lt;/a&gt;. If you want dynamic length, you should set S0LEN, LFLEN, S1LEN in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html#register.PCNF0"&gt;PCNF0 register&lt;/a&gt;, and include the length of the packet in the position where the LENGTH field in the packet. See more in&amp;nbsp;&lt;a title="Packet configuration" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_0#concept_hz4_cjl_4r"&gt;Packet configuration&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/349362?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 17:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef334c9-1825-4975-a3b6-5004926a144b</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;1. Yes this is proprietary radio and whitening enabled on both side.&lt;/p&gt;
&lt;p&gt;I look around and find code&amp;nbsp;&lt;a href="https://github.com/iot-chalmers/BlueFlood/blob/master/examples/nrf-glossy/nrf-radio-driver.c#L74"&gt;https://github.com/iot-chalmers/BlueFlood/blob/master/examples/nrf-glossy/nrf-radio-driver.c#L74&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;where channel is written&amp;nbsp; to DATAWHITEIV register. Have it sense or not for nRF52840 ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. I mean the next state machine. I would like to receive 64 bytes during known timeslot. I have timer what cancel RX state at the end of timeslot. But if RX is really started, I would like to have END event after 64 bytes as fast as possible. Other side can send 64 or 255 but I need 64 and not willing to wait when END is appears after 255.&lt;/p&gt;
&lt;p&gt;What kind of registers have sense to program for&amp;nbsp; stop RX at 64 bytes. If 64 have valid CRC , sw moving to the next state,&lt;/p&gt;
&lt;p&gt;if something else, it should be possible to know before timeslot Timer expired.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio PCNF1 register settings</title><link>https://devzone.nordicsemi.com/thread/349270?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 13:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c76b17a9-a7e5-477a-82d9-4b63ef24ff6d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. What legacy code are you referring to? For BLE, the specification states that the data whitening should be set to the BLE channel. If you are using a proprietary protocol, you can set the whitening as you please, as long as it is set to the same on both ends of the radio link.&lt;/p&gt;
&lt;p&gt;2. How is your radio configuration? Have you set the&amp;nbsp;&lt;a title="PCNF0" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_13_48#register.PCNF0"&gt;PCNF0&lt;/a&gt;-&amp;gt;LFLEN field to 0?&amp;nbsp;Usually&amp;nbsp;this field is used to determine the length of the received packets. The reception will then end when the full packet is received, regardless of the MAXLEN configuration. Either way, it should be fine to update the field between each time you start the radio receive mode.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>