<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックRe: QN908x-DK: How to set 2M Phy?</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/QN908x-DK-How-to-set-2M-Phy/m-p/914753#M6860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Jinjee Seo, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.- You can read the PHY's current configuration, Tx and Rx by using the Gap_LeReadPhy function included in the gap_interface.h header file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.- To configure the PHY for 2M mode in the example you're using, you can set the gBleUseHSClock2MbpsPhy_c macro, which in turn, will enable a code section which calls the Gap_LeSetPhy function included in the gap_interface.h header file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.- The theoretical maximum throughput you can get by using the 2M PHY will depend on different factors, including bytes per packet, packets per connection and connection interval. Bluetooth SIG specifies that the connection interval has to be longer than 7.5 ms, so that would be your lower limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a connection time of 7.5 ms, theoretically you could expect a maximum throughput of approximately 1.2 mbps, but in practice, it may be a bit lower. To increase throughput, your best bet might be to change the Connection Interval, as that seems to be the mayor factor in this calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87516i0C8CBC9D16592502/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2019 19:35:42 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2019-08-14T19:35:42Z</dc:date>
    <item>
      <title>QN908x-DK: How to set 2M Phy?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN908x-DK-How-to-set-2M-Phy/m-p/914752#M6859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Use board: QN9080-DK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;FW: qn908xcdk_wireless_examples_bluetooth_private_profile_server_freertos&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;Test environment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;- Peripheral: DK Board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;- Central: LG G7 Cell Phone&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;In the above environment, throughput test with Qpp service yields about 450kbps.&lt;/SPAN&gt;(MTU size: 244)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;Question 1.&lt;/SPAN&gt; &lt;SPAN title=""&gt;Is there a way to check if the using Phy is 1M or 2M?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;Question 2.&lt;/SPAN&gt; &lt;SPAN title=""&gt;Is there any functions to set 2M Phy?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;Question 3.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;What is the maximum &lt;SPAN title=""&gt;throughput &lt;/SPAN&gt;when using 2M Phy? (Qn9080-DK to qn9080-DK)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you tell me the settings to get the above &lt;SPAN title=""&gt;throughput&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 07:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN908x-DK-How-to-set-2M-Phy/m-p/914752#M6859</guid>
      <dc:creator>syd</dc:creator>
      <dc:date>2019-08-13T07:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: QN908x-DK: How to set 2M Phy?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN908x-DK-How-to-set-2M-Phy/m-p/914753#M6860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Jinjee Seo, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.- You can read the PHY's current configuration, Tx and Rx by using the Gap_LeReadPhy function included in the gap_interface.h header file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.- To configure the PHY for 2M mode in the example you're using, you can set the gBleUseHSClock2MbpsPhy_c macro, which in turn, will enable a code section which calls the Gap_LeSetPhy function included in the gap_interface.h header file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.- The theoretical maximum throughput you can get by using the 2M PHY will depend on different factors, including bytes per packet, packets per connection and connection interval. Bluetooth SIG specifies that the connection interval has to be longer than 7.5 ms, so that would be your lower limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a connection time of 7.5 ms, theoretically you could expect a maximum throughput of approximately 1.2 mbps, but in practice, it may be a bit lower. To increase throughput, your best bet might be to change the Connection Interval, as that seems to be the mayor factor in this calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87516i0C8CBC9D16592502/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 19:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN908x-DK-How-to-set-2M-Phy/m-p/914753#M6860</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-08-14T19:35:42Z</dc:date>
    </item>
  </channel>
</rss>

