<?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>NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25126/nrf51-with-ptr5518-range-problems</link><description>Hi friends, 
 I&amp;#39;m using a NRF51 IC with this 4.0BLE Modul PTR5518 and i have big problems with Range. As a protocoll i use gazell.
In air it is possible do get some correct signals up to 6-7 m but that it don&amp;#39;t work properly anymore. If you have a human</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Sep 2017 12:45:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25126/nrf51-with-ptr5518-range-problems" /><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98969?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 12:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc8b060a-2121-45bf-b564-1962b848acc9</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Since you get the same results with the sample code I think it is best you create a mypage task, provide detailed documentation of your design and refer to this case. I suspect there might be a hardware issue somewhere, such as impedance mismatch between the radio chip and the antenna.&lt;/p&gt;
&lt;p&gt;Unfortunately I don&amp;#39;t have any experience with that specific module. I have done my tests using two &lt;a href="http://www.nordicsemi.com/eng/Products/nRF51-DK"&gt;pca10028 nRF51 development kits&lt;/a&gt;. The devkits are fitted with the nRF51422, whose radio module is identical to that of the nRF51822 which is mounted on the Xungtong module. When I covered the antenna I completely covered the pcb trace antenna with my hands and made sure I was standing between the two radio modules, blocking line of sight.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98967?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 10:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14155492-bce4-47ef-9554-4c03c7597b1c</guid><dc:creator>tanja</dc:creator><description>&lt;p&gt;Answers to you additional informations below.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98968?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 10:11:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea30e91-3ed1-4c1f-a9fe-2856003e95c5</guid><dc:creator>tanja</dc:creator><description>&lt;p&gt;Dear Jorn,&lt;/p&gt;
&lt;p&gt;thanks for your answers, here  the comments to your points (additional answers):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;We tested with the gazell standard code without our Remote PCB and it has the same result from Range point of view and also when we shield the module like the HS Remote before.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I created already the acccount on nordic page, i will talk with the support if they can evaluate my design.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;6)&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/EMC-Measurement.jpg" alt="image description" /&gt;
)
in the picture you can see the actual measurements (Description of the graph: 1) green line: appr. 3 m away from the Chamber antenna, operated from a person, / 2) red line: 180 degrees rotated: Person is now in between the Remote (distance remote and person 30cm) and the antenna from the chamber / 3)dark green line: 180 degrees rotated Remote near body (distance remote and person 0cm) / 4) brown line: 180 degrees rotated Remote near body (distance remote and person 0cm) shielded also with the second hand.&lt;/p&gt;
&lt;ol start="7"&gt;
&lt;li&gt;With completely covered you mean, when you cover it with hands?
Have you ever used this PTR5518 from Xungtong?
Have you also made some tests with this module?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best Regards &amp;amp; thank you
Tanja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98966?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 11:45:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0989096-bcfb-42b1-be64-950d461fa26c</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;I have updated my answer with additional information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98965?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 15:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2880141-6d8e-4cae-96a3-f5170b512856</guid><dc:creator>tanja</dc:creator><description>&lt;p&gt;Hi Jorn,&lt;/p&gt;
&lt;p&gt;First of all, thank you very much for your fast response.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Our next step is to test this things as you also said with the gazell example code, can you please send me an link to this example library?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;2)We are using this Module as I already said on both sides, on the one hand in an Remote and on the other side we are using an RF PCB in our Control box where also this Modul from Xungtong (NRF51822) is located.&lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;
&lt;p&gt;We already made some approvements especially by the Remote(copper around antenna, bigger hole in main pcb) to get the output power better. It helps  a little bit but we are not satisfied with that.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;We also made a lot of tests with this frequency hopping (jump between at least 15 channels)  which we need that we can certify our HS also for the american market. This makes the range even worse than with an fixed channel.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;a little bit better is the performance with 250k Baudrate.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;We also made some measurements regarding output power in our EMC chamber and matched this with an stand alone PTR5518 (only supplied, sending all the time without main HS PCB) and we can&amp;#39;t see any differences on the output power when we compare it to our Design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;As I already said, the problem is when something is in between, can you maybe test with your Setup these two nRF51DK&amp;#39;s which you talked in the comment above, what happens when you shield it with your hands, we are loosing our connection when we are 2-3 meters away from the other module.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I hope you understand my description.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking forward to hearing from you, thank you upfront.&lt;/p&gt;
&lt;p&gt;Best Regards
Tanja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98964?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 07:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b53b25-c4b0-48f6-b310-ec4cc6129b86</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello tanja&lt;/p&gt;
&lt;p&gt;RF systems are very sensitive to their surroundings. Walls that are not in the direct line of sight can reflect the RF signal causing multipath induced attenuation, especially if there is any metal within the walls like pipes or reinforcement bars. Objects in line of sight would typically attenuate or scatter the signal. Other wireless systems operating in the same band can worsen your SNR, and objects close to the antenna will typically alter its characteristics. Testing the range of a system indoors and outdoors can yield very different results.&lt;/p&gt;
&lt;p&gt;I would like you to test the gazelle code that comes with SDK 12.3.0 and see how well your system does. I do find it a bit strange that you only get around 7-9 meter range with 4dBm output power and 250kb/s datarate, in my opinion you should have more than that.&lt;/p&gt;
&lt;p&gt;I did a quick test with two nRF51 DK&amp;#39;s and a slightly modified version of the gzll_ack_payload example. I simply changed it so the host retransmits the button presses made on the device, that way I could see on the device DK that the transmit was successful both ways. I still had a connection around 20 meters away through two glass doors. This office has a lot of metal pipes, some walls of plaster and some of reinforced concrete.&lt;/p&gt;
&lt;p&gt;If you have any of our devkits available I would also suggest trying your code on those. This would help eliminate any hardware issues.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT, Additional answers&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The example is a part of the SDK, you can download it &lt;a href="https://developer.nordicsemi.com/nRF5_SDK/"&gt;here&lt;/a&gt;. The latest SDK version to support the nRF51 series is 12.3.0. The gazell example code can be found in the \examples\proprietary_rf\gzll\gzll_ack_payload subfolder.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I think we would need to see the design to properly evaluate it. If you would like for us at Nordic to evaluate your schematic design and/or layout you can either upload it to your original post here on DevZone, or if your design is confidential you can create a mypage case at &lt;a href="http://www.nordicsemi.com/"&gt;nordicsemi.com&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When frequency hopping the timeslots per channel option affects the number of retransmits before it changes frequency. If many of your channels are filled with noise from other sources this can affect your range. The nRF51&amp;#39;s radio has a sensitivity of -96 dBm (0.1% BER) at 250kbps, but if there is a lot of noise present at the receiver you will need a stronger signal, or shorter range, to achieve the same BER.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How much power do you measure? Do you have a picture of the measured spectrum?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If I completely cover the antenna I have around 10-13 meters range, also through a glass door.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you still have poor range with the SDK examples there might be a problem with the module you are using.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98963?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 06:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33a677f2-312d-4f12-b64f-c44042949572</guid><dc:creator>tanja</dc:creator><description>&lt;p&gt;Here the gazell setup code, maybe there is a mistake??&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;//The Gazell pipe on which the communication between host and device is carried out. Must be between 1 and 6.
#define GAZELL_DATA_PIPE                                                                                                                                    (1)

//THE PAIRING PIPE MUST ALWAYS BE PIPE 0, or else the concept won&amp;#39;t work!!!
#define GAZELL_PAIRING_PIPE                                                                                                                               (0)

//Not used on the remote, but kept here for consistency
#define GAZELL_PAIRING_DATA_STORAGE_ADDRESS                                                                  (0x0003FC00)

//Please read the Flash module description and the documentation of flash_segment_t/struct flash_segment before
//changing the values of any defines that begin with &amp;#39;GAZELL_PAIRING_FLASH_&amp;#39;.

#define GAZELL_PAIRING_FLASH_NUMBER_OF_FIELDS                                               (16)

#define GAZELL_PAIRING_FLASH_0_RELATIVE_ADDRESS_DIRTY_BITS    (4)

#define GAZELL_PAIRING_FLASH_0_RELATIVE_ADDRESS_FIELDS                             (8)

#define GAZELL_PAIRING_FLASH_1_RELATIVE_ADDRESS_DIRTY_BITS    (72)

#define GAZELL_PAIRING_FLASH_1_RELATIVE_ADDRESS_FIELDS                             (76)

#define GAZELL_PAIRING_PROCEDURE_TIMEOUT_MS                                                                 (60)

#define GAZELL_MINIMUM_INTERVAL_BETWEEN_PAIR_AND_UNPAIR_MS        (2000)

#define GAZELL_MAX_NUM_STORED_PACKETS                                                                               (8)

#define GAZELL_DEVICE_DUMMY_PACKET_SEND_INTERVAL_10MS                       (5)

#define GAZELL_CHANNEL_TABLE                                                                                                                        2, 8, 12, 18, 22, 28, 32, 38, 42, 48, 52, 58, 62, 68, 80

#define GAZELL_BAUDRATE_KBITPS                                                                                                                    (250)


void Gazell_Init(void)
{
#if (GAZELL_MODE_DEVICE == GAZELL_MODE)
                flash_segment_t flashSegmentPairingID0 = {
                               .bitsPerField = 32,
                               .numberOfFields = GAZELL_PAIRING_FLASH_NUMBER_OF_FIELDS,
                               .relativeAddressOfFirstDirtyBit = GAZELL_PAIRING_FLASH_0_RELATIVE_ADDRESS_DIRTY_BITS,
                               .relativeAddressOfFirstField = GAZELL_PAIRING_FLASH_0_RELATIVE_ADDRESS_FIELDS
                };
                flash_segment_t flashSegmentPairingID1 = {
                               .bitsPerField = 32,
                               .numberOfFields = GAZELL_PAIRING_FLASH_NUMBER_OF_FIELDS,
                               .relativeAddressOfFirstDirtyBit = GAZELL_PAIRING_FLASH_1_RELATIVE_ADDRESS_DIRTY_BITS,
                               .relativeAddressOfFirstField = GAZELL_PAIRING_FLASH_1_RELATIVE_ADDRESS_FIELDS
                };

                flashSegmentNumberParingID0 = Flash_RegisterSegment(flashSegmentPairingID0);
                flashSegmentNumberParingID1 = Flash_RegisterSegment(flashSegmentPairingID1);

                pairID[0] = Flash_ReadData(flashSegmentNumberParingID0);
                pairID[1] = Flash_ReadData(flashSegmentNumberParingID1);

                nrf_gzll_init(NRF_GZLL_MODE_DEVICE);
                nrf_gzll_set_max_tx_attempts(50);
                if((pairID[0] != 0) &amp;amp;&amp;amp; pairID[1] != 0)
                {
                               nrf_gzll_set_base_address_1(GenerateValidBaseAddressFromChipID(pairID));
                               isPaired = TRUE;
                }
#elif (GAZELL_MODE_HOST == GAZELL_MODE)
                pairID[0] = NRF_FICR-&amp;gt;DEVICEID[0];
                pairID[1] = NRF_FICR-&amp;gt;DEVICEID[1];
                nrf_gzll_init(NRF_GZLL_MODE_HOST);
                nrf_gzll_set_base_address_1(GenerateValidBaseAddressFromChipID(pairID));
#else
#error GAZELL_MODE is undefined or it has some unknown value.
#endif
                nrf_gzll_set_tx_power(NRF_GZLL_TX_POWER_4_DBM);
#if (250 == GAZELL_BAUDRATE_KBITPS)
                nrf_gzll_set_datarate(NRF_GZLL_DATARATE_250KBIT);
                nrf_gzll_set_timeslot_period(2700);
#elif (1000 == GAZELL_BAUDRATE_KBITPS)
                nrf_gzll_set_datarate(NRF_GZLL_DATARATE_1MBIT);
                nrf_gzll_set_timeslot_period(900);
#elif (2000 == GAZELL_BAUDRATE_KBITPS)
#else
#error Wrong baudrate selected. Possible values are 2000, 1000 or 250.
#endif
         nrf_gzll_set_device_channel_selection_policy(NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT);
                generateAndSetChannelTable();
                nrf_gzll_set_timeslots_per_channel(5);
                nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync(1);
                nrf_gzll_enable();
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98962?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 06:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5dfff2f-cfae-4f59-981f-110bcf3ef3d0</guid><dc:creator>tanja</dc:creator><description>&lt;p&gt;Yes I have mounted in an housing, but this makes no difference. I tested also the Module alone and it was the same result.
The problem is not really the range itself, we are able to talk with the module in a range of 7-9 meters without problems (no data gets lost). The problem is if something is in between, especially a body part, like a hand which shields the module.
Is it also somehow possible that the dimensions of the room especially the height, where you use it somehow can influence the range and the behavior when it is shielded?&lt;/p&gt;
&lt;p&gt;Thank you for your answers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 with PTR5518 range problems</title><link>https://devzone.nordicsemi.com/thread/98961?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 06:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb057e7-265b-4c12-8419-32102d89b8b4</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Have you interfaced your module with anything else, or mounted it somewhere?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>