<?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>Frequency Hopping affect transmission stability</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2618/frequency-hopping-affect-transmission-stability</link><description>Dear all 
 I&amp;#39;m testing for RF stability. As i used 24LU1(host) with 51822(device) be the platform. For audio data transmission. 8k 8bits data rate.
 
 Timeslot set as 1008us &amp;amp; 2016us ,2 conditions for comparing. 
 1.single channel 
 2.hopping 5 channel</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 May 2014 08:46:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2618/frequency-hopping-affect-transmission-stability" /><item><title>RE: Frequency Hopping affect transmission stability</title><link>https://devzone.nordicsemi.com/thread/10342?ContentTypeID=1</link><pubDate>Tue, 27 May 2014 08:46:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbda4f1e-38bb-43a7-b1d2-846e6ffbd118</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The timeslot period (nrf51) vs. GZLL_DEFAULT_PARAM_RX_PERIOD (nrf24l) seems to be correct.
The timeslot set should be RX_PERIOD/2.&lt;/p&gt;
&lt;p&gt;In your case, you&amp;#39;re sending audio data.
Let&amp;#39;s say that you buffer up 32 bytes:
1/8kHz * 1 byte * 32 byte = 4 ms&lt;/p&gt;
&lt;p&gt;So, you&amp;#39;re going to be sending 32 bytes every 4 ms.&lt;/p&gt;
&lt;p&gt;Setting Gazell device mode 0 (asynchronous):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Set channel policy to: NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT
Set &amp;quot;nrf_gzll_set_sync_lifetime&amp;quot; to 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Setting Gazell device mode 2 (synchronous):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Set channel policy to: NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL
Setup &amp;quot;nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync&amp;quot; to equal channel-tab size * timeslots_pr_chan
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Setting Gazell device mode 4 (semi-synchronous, will follow host):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Set channel policy to: NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT
Setup &amp;quot;nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync&amp;quot; to equal channel-tab size * timeslots_pr_chan
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In your case, a semi-synchronous mode (legacy mode 4) would make sense, as audio data is very sensitive to jitter.&lt;/p&gt;
&lt;p&gt;Proposed settings for sending each 4 ms:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
err = nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync(timeslot * sizeof(channel_tab));
err = nrf_gzll_set_device_channel_selection_policy(NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT);

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In addition to this, the channel tab and other RF settings must match the host side.
Note that in nRF51x22 gazell, this must be set in your init (like channel tab, timeslot period), but GZP specific data is set in nrf_gzp_config.h.&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>