<?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>Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42922/transmit-power-control-with-gazelle-gzll</link><description>I am experimenting with trying to improve the current range of gzll nRF52840 dongle to dongle (which is not that far from what I need). I am developing using nRF5_SDK_15.2.0_9412b96 with SEGGER Embedded Studio for ARM Release 4.12 Build 2018112601.37855</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Mar 2019 09:44:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42922/transmit-power-control-with-gazelle-gzll" /><item><title>RE: Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/thread/176119?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 09:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21e24ebe-f42d-4c31-a883-95fa28fb228e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ray&lt;/p&gt;
&lt;p&gt;Can&amp;#39;t say I disagree &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Next time you run into someone from Nordic sales mention it to them as well.&amp;nbsp;At the end of the day requests&amp;nbsp;for new features or improvements have to go through them&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: Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/thread/175916?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 12:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b84b3c7b-4613-450c-a7f4-5fa850d53f79</guid><dc:creator>RayFoulkes</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;, thanks for the response. I will write up my experience of using nrf_radio_txpower_set which has not been all plain sailing.&lt;/p&gt;
&lt;p&gt;On the issue of documentation, my long-held view is that it is primarily a matter of training the software developers to think of the users. The developers KNOW how something is supposed to work so adding in a few comments in-line (as all the code documentation is inline) should be a few minutes work. It is useful to know the state of the system in which a call can be made and surely the developer knows that. An example of one developer who is trying to be helpful is whoever wrote nrf_dfu_trigger_usb_init which at least gives a few hints about how to use it. Unfortunately, there is a lot of code with much less helpful (or no) hints.&lt;/p&gt;
&lt;p&gt;Just my thoughts, I know you cannot do anything about it! Keep smiling, Ray&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/thread/175538?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 08:13:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7561d8d5-4b1e-4f67-931d-ee60ea0a596e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ray&lt;/p&gt;
&lt;p&gt;Sorry for the slow reply, I forgot to look over my verified cases...&lt;/p&gt;
&lt;p&gt;Feel free to share any information here on your blog, if you haven&amp;#39;t already. Since it is a public case it is already out there &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Good find on the nrf_radio functions, should make things easier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the documentation I agree&amp;nbsp;it is slim on the interplay between different functions and libraries.&amp;nbsp;Mainly this is a resource issue, as it takes a lot of time to write and maintain such documentation with all the changes there are to the various libraries and modules for every SDK update. For the foreseeable future I expect the examples will be the best reference for this ;)&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: Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/thread/168006?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 15:49:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6788840e-89c8-4c23-bdd5-cc7887ef92e0</guid><dc:creator>RayFoulkes</dc:creator><description>&lt;p&gt;OOPs, I have just found that there are already functions&amp;nbsp; (inline) in nrf_radio.h which sets and gets the power and this time it does include 8dbm (from nrf52840.h). These are:&lt;/p&gt;
&lt;p&gt;__STATIC_INLINE void nrf_radio_txpower_set(nrf_radio_txpower_t tx_power)&lt;br /&gt;{&lt;br /&gt; NRF_RADIO-&amp;gt;TXPOWER = (((uint32_t)tx_power) &amp;lt;&amp;lt; RADIO_TXPOWER_TXPOWER_Pos);&lt;br /&gt;}&lt;br /&gt;and the equivalent &amp;quot;get&amp;quot;.&lt;/p&gt;
&lt;p&gt;So, all the work has been done for register writing.&lt;/p&gt;
&lt;p&gt;Regards, Ray&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/thread/167988?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 15:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6da7f7c-42e0-49ba-88fa-530ce9a1d808</guid><dc:creator>RayFoulkes</dc:creator><description>&lt;p&gt;Wow, &lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;, thanks VERY much for such a clear response. I understand that library changes are not in your hands and I guess that gzll is not that high on the Nordic priority list.&lt;/p&gt;
&lt;p&gt;I trust it is OK if I document this solution in my little blog since others might benefit&amp;nbsp; - I don&amp;#39;t think that there is anything particularly secret or sensitive about it.&lt;/p&gt;
&lt;p&gt;I must admit that I struggle a bit with the SDK documentation. There are general guides (such as those for gzll link layer and pairing) which give an overview&amp;nbsp; and the syntactic signature of data and subroutine invocations. Often the middle bit is missing i.e. the semantic part for the subroutine invocations such as preconditions, interdictions (when you can call and when you cannot) and postconditions (i.e. what state (if any) is the software left in after call.&amp;nbsp; The examples go so far, but they are only examples so you have to try to deduce the semantics from examples - which I find hard.&lt;/p&gt;
&lt;p&gt;Anyway, at least Nordic do their very best to help clarify individual cases and I thank you very much once again for that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transmit power control with Gazelle (gzll)</title><link>https://devzone.nordicsemi.com/thread/167898?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 12:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ea7b1e8-c553-4723-a7e7-aa9e8fe73a69</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ray&lt;/p&gt;
&lt;p&gt;The only time the Gazell library will set the TX power is during&amp;nbsp;nrf_gzll_init(..), where it is assigned a default value, and any time you call&amp;nbsp;nrf_gzll_set_tx_power(..).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In other words there is no dynamic change of TX power happening internally. This has to occur in the application (or in some other module using Gazell, like the GZP library).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any time Gazell is initialized and idle you can safely call&amp;nbsp;&lt;span&gt;nrf_gzll_set_tx_power(..), but if you are in the process of transmitting something I would recommend against it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To get around the limitation of the&amp;nbsp;nrf_gzll_set_tx_power(..) function you can simply write to the TXPOWER register in the radio, that is correct. The same recommendation applies: Write to the register after initializing Gazell, before you start sending or receiving packets.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can request the library to be updated with support for +8dBm,&amp;nbsp;but can obviously not make any promises as to if or when it is fixed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>