<?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>Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93549/set-3dbm-power-on-nrf5340</link><description>Hello, 
 We want to set Tx power of +3dbm i followed the procedure as mentioned in following ticket: 
 
 I set the high voltage in network core main as following: 
 
 
 we set value 3 using 
 
 bt_hci_cmd_send_sync (BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Nov 2022 12:11:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93549/set-3dbm-power-on-nrf5340" /><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394902?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 12:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60844bb3-6a9a-4211-be79-6b394bc04fa2</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi mapg,&lt;/p&gt;
&lt;p&gt;That is a very interesting discovery. I will have to double check with the internal team on why that file is implemented like that and if it affects anything. My quick check shows that it is probably an error of the author, &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c#L286"&gt;and it shouldn&amp;#39;t affect anything&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Meanwhile, a colleague points out that you might be affected by this erratum. Could you please give it a look and see if the step to trigger that errata problem matches your current software behavior?&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF5340_Rev1/ERR/nRF5340/Rev1/latest/anomaly_340_158.html"&gt;https://infocenter.nordicsemi.com/topic/errata_nRF5340_Rev1/ERR/nRF5340/Rev1/latest/anomaly_340_158.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394761?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 15:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:537aff91-53d5-4510-8502-7554efb7be0a</guid><dc:creator>mapg</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;br /&gt;&lt;br /&gt;We are already using the&amp;nbsp;&lt;strong&gt;bt_hci_cmd_send_sync&amp;nbsp;&lt;/strong&gt;and its working values&amp;nbsp;-40dbm, 0dbm.&lt;br /&gt;But for 3dbm its not giving the correct measurements.&lt;br /&gt;&lt;br /&gt;I am doing doing the configuration in following order:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enable the high voltage on RADIO&amp;nbsp;&lt;span style="font-family:inherit;"&gt;using&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;strong style="font-family:inherit;"&gt;nrf_vreqctrl_radio_high_voltage_set&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;The setting the Tx power as mentioned in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;Bluetooth: HCI Power&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is there any stack configuration i am missing? Which needs to be enabled.&lt;br /&gt;Another question Do the stack already configured to have maximum 3dbm value? May be there is some define in the stack which set the maximum to 0dbm.&lt;/p&gt;
&lt;p&gt;I am passing 3 as argument to&amp;nbsp;&lt;em&gt;&lt;strong&gt;&lt;span class="pl-en"&gt;set_tx_power&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span class="pl-en"&gt;for setting 3dbm.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I have seen that in&amp;nbsp;hal/nrf5/radio/radio_nrf5340.h&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1667921639878v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Which says the maximum power is 0dbm. Then how the 3dbm can be configured?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394757?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 14:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1820008-c1e2-4279-9430-49040d05c94d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi mapg,&lt;/p&gt;
&lt;p&gt;My apology for claiming it to be not a public API. I cannot find it in the documentation and thought that it is some inner functions being used directly.&lt;br /&gt;It seems that it is the way to do it, as officially demonstrated in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;Bluetooth: HCI Power Control&lt;/a&gt;&amp;nbsp;Zephyr sample.&lt;/p&gt;
&lt;p&gt;Just to be sure that&amp;nbsp;software is not the problem, could you please share how &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;buf&lt;/span&gt; is setup in your call to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;bt_hci_cmd_send_sync()&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;Meanwhile, I cannot find an alternative way to set TX Power via software (so as to rule out software as a potential cause).&lt;/p&gt;
&lt;p&gt;If it turns out to be not software, would you mind sharing your hardware files for a review?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394589?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 08:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c94a168-f3ad-4339-9d36-a45b28c1a29e</guid><dc:creator>mapg</dc:creator><description>&lt;p&gt;Hi Hieu.&lt;br /&gt;&lt;br /&gt;I am using ncs 1.9.1. Which is the public API for this configuration?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394469?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 14:44:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b8c36f2-15f0-4836-baf0-33a837c344e7</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi mapg,&lt;/p&gt;
&lt;p&gt;There are no known issues in software that could lead to your observation.&lt;/p&gt;
&lt;p&gt;What SDK version are you working on? I notice you are not using a public API, could you please give some insights into why you made that decision?&lt;/p&gt;
&lt;p&gt;It could also very well be something with your hardware design. We could take a look at your hardware files. If you wish to proceed with that, let&amp;#39;s turn this question into a private one and continue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394352?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 09:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24bcba4c-0edc-4588-906b-9f8e2004dc79</guid><dc:creator>mapg</dc:creator><description>&lt;p&gt;Any help on it &lt;a href="https://devzone.nordicsemi.com/members/vthieu"&gt;Hieu&lt;/a&gt;&amp;nbsp;. We want to send some devices for the certification tests and we are not able to get the results for our local tests.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394151?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 13:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d037843-a2fc-4ec2-806b-316fd150731f</guid><dc:creator>mapg</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;br /&gt;&lt;br /&gt;This measurement is from our certification lab. I am really unaware of the method they use.&lt;br /&gt;With the Spectrum analyzer Tx power is even less around 1dbm.&lt;br /&gt;&lt;br /&gt;We have our custom hardware with nrf5340 on it.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set +3dbm power on nrf5340</title><link>https://devzone.nordicsemi.com/thread/394125?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 11:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:069c6311-5d14-4c5c-9189-426f5b707590</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello mapg,&lt;/p&gt;
&lt;p&gt;May I ask two questions please:&lt;/p&gt;
&lt;p&gt;- What kind of setup you used to&amp;nbsp;measure the TX Power?&lt;/p&gt;
&lt;p&gt;- What board did you use&amp;nbsp;analyze?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>