<?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>nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112916/nrf52840-ble-3-wire-pta-for-wi-fi</link><description>Hello DevZone, 
 I&amp;#39;m developing nRF52840 BLE &amp;amp; ESP32 Wi-Fi coexistence with 3-Wire PTA. I followed this document: https://docs.nordicsemi.com/bundle/ncs-2.5.3/page/nrf/device_guides/wifi_coex.html#generic_three_wire_coexistence 
 However, the NCS only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2024 13:58:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112916/nrf52840-ble-3-wire-pta-for-wi-fi" /><item><title>RE: nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/thread/493655?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 13:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7633455-11a5-41c0-a2fd-e4c85f44b18f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;I only found this&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrfxlib/mpsl/doc/api.html#c.mpsl_cx_prio_t"&gt;https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrfxlib/mpsl/doc/api.html#c.mpsl_cx_prio_t&lt;/a&gt;&amp;nbsp;which has the same content as you provided.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/thread/493569?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 07:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48de3bea-d2b7-4980-8d03-e1be992ae3dd</guid><dc:creator>Jayant Tang</dc:creator><description>&lt;p&gt;Hello Amanda,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;That works for me. Thank you very much.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But I have a further question:&lt;/p&gt;
&lt;p&gt;In `nrf/subsys/mpsl/cx/thread/mpsl_cx_thread.c:130`.&lt;/p&gt;
&lt;p&gt;We can see in the `request()` function that it will activate the PRIORITY pin only if the priority&amp;gt;127.&lt;/p&gt;
&lt;p&gt;The priority is a numerical value. Do we&amp;nbsp;have any document about the value meaning?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**
 * @brief Priority of given radio operation.
 *
 * This numerical value is translated by given PTA interface driver to appropriate signal.
 * The straightforward translation would be &amp;lt;= UINT8_MAX/2 is low priority, while &amp;gt; UINT8_MAX/2
 * is high priority. More complicated PTAs support more than 2 priority levels and valid matching
 * must be implemented for such devices.
 *
 * Priority values must be aligned between all users of this API in given system. When multiple
 * radio protocols are enabled (like Bluetooth LE and IEEE 802.15.4), all protocols must use
 * aligned values (Bluetooth low priority operations must use numerically lower value than
 * IEEE 802.15.4 high priority operations).
 */
typedef uint8_t mpsl_cx_prio_t;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jayant&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/thread/493447?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f9be150-73fe-40a6-a9d2-553b4a8d7131</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For now, you can use the following workaround:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add CONFIG_BT_LL_SOFTDEVICE_MULTIROLE=y to prj.conf - this is required as coex is not included in the peripheral library, and currently this is not correctly getting selected automatically when coex is enabled.&lt;/li&gt;
&lt;li&gt;Remove the line &lt;code&gt;depends on !BT&lt;/code&gt; as the customer has already done, and use CONFIG_MPSL_CX_THREAD=y&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The developer has tested this locally and it works on our side, note enabling the multirole library is required for coex to work. This will not build as-is on NCS latest due to a regression, but is fine on 2.5.3. Will be fixed soon and will be part of NCS 2.8.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/thread/493347?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 09:36:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf844b7-2397-4185-b5f0-2938b8a39057</guid><dc:creator>Jayant Tang</dc:creator><description>&lt;p&gt;I have some updates.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;I find out that the&amp;nbsp;MPSL does not call the `register_callback` function. So, my code&amp;nbsp;didn&amp;#39;t&amp;nbsp;get the callback function.&amp;nbsp;&amp;nbsp;&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/pastedimage1720690296050v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2. I tried a different way to enable 3-wire PTA in MPSL. I referred to&amp;nbsp;&lt;span&gt;&lt;span class="ui-provider dw axu jh bbi bbj bbk bbl bbm bbn bbo bbp bbq bbr bbs bbt bbu bbv bbw bbx bby bbz bca bcb bcc bcd bce bcf bcg bch bci bcj bck bcl bcm bcn" dir="ltr"&gt;&lt;i&gt;nrf/subsys/mpsl/cx/bluetooth/mpsl_cx_1w_bluetooth.c&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ui-provider dw axu jh bbi bbj bbk bbl bbm bbn bbo bbp bbq bbr bbs bbt bbu bbv bbw bbx bby bbz bca bcb bcc bcd bce bcf bcg bch bci bcj bck bcl bcm bcn" dir="ltr"&gt;It doesn&amp;#39;t work, too.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="ui-provider dw axu jh bbi bbj bbk bbl bbm bbn bbo bbp bbq bbr bbs bbt bbu bbv bbw bbx bby bbz bca bcb bcc bcd bce bcf bcg bch bci bcj bck bcl bcm bcn" dir="ltr"&gt;You can replace the same name file in my project (previously provided) with this file.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mpsl_5F00_cx_5F00_3w_5F00_bluetooth.c"&gt;devzone.nordicsemi.com/.../mpsl_5F00_cx_5F00_3w_5F00_bluetooth.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/thread/493263?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 03:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac3d29ad-c50b-4730-abe7-8971b42dfa7e</guid><dc:creator>Jayant Tang</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;This config&amp;nbsp;&lt;span&gt;CONFIG_MPSL_CX_THREAD=y does not work.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By default, it can&amp;#39;t be enabled in BLE samples, because the&amp;nbsp;&lt;strong&gt;&lt;em&gt;nrf/subsys/mpsl/cx/Kconfig&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;says&amp;nbsp;this Kconfig&amp;nbsp;`&lt;strong&gt;&lt;em&gt;depends on !BT&lt;/em&gt;&lt;/strong&gt;`.&amp;nbsp;&lt;/span&gt;&lt;span&gt;So, I deleted the line `&lt;strong&gt;&lt;em&gt;depends on !BT&lt;/em&gt;&lt;/strong&gt;`.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The REQUEST pin and PRIORITY pin still not change state. And I can&amp;#39;t connect to the DK with my nRF Connect App. The BLE advertising stopped just after startup.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jayant&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE 3-Wire PTA for Wi-Fi</title><link>https://devzone.nordicsemi.com/thread/493227?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 16:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:974529e2-7ce1-4dcf-9ad9-7b2fc8c88ce0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The generic three-wire coex implementation (CONFIG_MPSL_CX_THREAD), despite the confusing name, also supports BLE as it implements the MPSL generic coex API (&lt;a title="https://docs.nordicsemi.com/bundle/ncs-2.5.3/page/nrf/device_guides/wifi_coex.html#ug-radio-coex-mpsl-cx-based" href="https://docs.nordicsemi.com/bundle/ncs-2.5.3/page/nrf/device_guides/wifi_coex.html#ug-radio-coex-mpsl-cx-based" rel="noopener noreferrer" target="_blank"&gt;https://docs.nordicsemi.com/bundle/ncs-2.5.3/page/nrf/device_guides/wifi_coex.html#ug-radio-coex-mpsl-cx-based&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Try to enable CONFIG_MPSL_CX_THREAD=y in prj.conf instead to see if this protocol works for your requirements.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>