<?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>ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70881/ant-data-transmit-with-maximum-power-using-bt840xe-module</link><description>nRF SDK: 16.0, Device: nRF52840, module: BTX480XE, softdevice: ANT_s340_nrf52840_6.1.1.hex 
 The setup: 
 BLE and ANT running on same device concurrently. The device is modified Nordic UART example code, added with one master and one slave ANT channels</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 09:29:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70881/ant-data-transmit-with-maximum-power-using-bt840xe-module" /><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291711?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 09:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a926723-4b82-42d6-b99a-c76c445658fb</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Yes this solution seems to be working, the only change I had to do was:&lt;/p&gt;
&lt;p&gt;pstAmpConfig.ucPPIChDisable = 0; //ppi_clr_ch; // 0 Value&lt;br /&gt; pstAmpConfig.ucPPIChEnable = 1; //ppi_set_ch; // 1 Value&lt;/p&gt;
&lt;p&gt;in above code. Otherwise stack give error 7 (invalid parameter).&lt;/p&gt;
&lt;p&gt;Now I need to work on packet reliability. Many thanks for the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291595?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 17:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b0a2dea-9644-4dbc-8dc2-400a9be4c62f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It looks like this is working now, it should be possible to do some sanity check by testing line of sight range with and without pa/lna configured, also I suggest that you connect a logic analyzer trace to verify that PA and LNA pins toggles as expected. I also recommend that you try to use ANT continuous scanning mode in ANTwareII, because lost packets may also be due to&amp;nbsp;inaccuracy of timing between master and slave (e.g. make sure you have configured the external 32kHz to be used when init the softdevice stack).&lt;/p&gt;
&lt;p&gt;For best range I assume you should&amp;nbsp;use&amp;nbsp;&lt;span&gt;BT840XE in both ends of the link.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291552?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c961c7f-be20-4ed2-bd1a-5a69d26eaaaf</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;I tried this code mentioned in the ANT forum:&amp;nbsp;&lt;a href="https://www.thisisant.com/forum/viewthread/6616/"&gt;www.thisisant.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t err_code = sd_ant_config_pa_lna_get(&amp;amp;pstAmpConfig);
    APP_ERROR_CHECK(err_code);

    pstAmpConfig.PA_CONFIG.bEnabled = 1;
    pstAmpConfig.PA_CONFIG.bActiveState = 1;
    pstAmpConfig.PA_CONFIG.ucGPIO = APP_PA_PIN;

    pstAmpConfig.LNA_CONFIG.bEnabled = 1;
    pstAmpConfig.LNA_CONFIG.bActiveState = 1;
    pstAmpConfig.LNA_CONFIG.ucGPIO = APP_LNA_PIN;

    nrf_ppi_channel_t ppi_set_ch;
    nrf_ppi_channel_t ppi_clr_ch;

    pstAmpConfig.ucGPIOTECh = 1;//nGpioTeChannelNum;
    pstAmpConfig.ucPPIChDisable = ppi_clr_ch; // 0 Value
    pstAmpConfig.ucPPIChEnable = ppi_set_ch; // 1 Value

    err_code = sd_ant_config_pa_lna_set(&amp;amp;pstAmpConfig);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The result is this data received:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; Opening Channel...
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-02-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-03-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-02-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-03-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-02-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-03-01-00-00-00-00-00-00
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
Received BROADCAST_DATA_0x4E
  :: 4e, 00-02-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-03-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
Received BROADCAST_DATA_0x4E
  :: 4e, 00-03-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-02-01-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
  :: 4e, 00-03-01-00-00-00-00-00-00
Closing Channel...
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
EVENT_CHANNEL_CLOSED_0x07
  :: 40, 00-01-07&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But I&amp;#39;m not sure if it actually increased the physical range or LNA simply failed to initialize. I need to test physical range to verify this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291545?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba864936-d9b9-4fe5-995f-c42500ffc3eb</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;This is how I receive the data on ANTWAREII software:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
Received BROADCAST_DATA_0x4E
  :: 4e, 00-01-01-00-00-00-00-00-00
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02
EVENT_RX_FAIL_0x02
  :: 40, 00-01-02 &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems the TXR sends data but it somehow gets corrupted. Only a few packets reach the RXR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291544?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f971fc0f-d027-4cb1-8bf5-2379b19129a9</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Hi, I have changed the UART pins (6,8 were being used). The PA/LNA pins are inside the module, basically nRF52840 and LNA chip are packaged into single enclosed module. So I have no access to these pins. I have also tried disabling the UART. Also changed the RTT TX pin. Nothing works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291543?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:33:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42473347-ff44-450e-96ca-404f18c66a88</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you measured on pins&amp;nbsp;&lt;span&gt;6,8,17,19 on the Fanstel module to check that the PA/LNA pins toggle as expected?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Typically pins 5-8 are used for UART logging (at least for the nRF52840-DK).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291504?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 13:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08bd263d-f1b5-4408-b300-09d30fd77773</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Sorry the module name is&amp;nbsp;BT840XE by Fanstel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291341?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 16:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba733b51-f55a-47c5-8455-5a8d6b0c2bf8</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I am not familiar with the&amp;nbsp;&lt;span&gt;BTX480XE, are you sure you have spelled the module name right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you for test set the GPIO&amp;#39;s to fixed values to only test TX functionality?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291308?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 14:10:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b6f47d0-4682-475a-90a4-e8f30bed3252</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;The code does not stop, it keeps running. After irregular time intervals I can see some packet getting through and received at the ANTWareII software.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Data transmit with maximum power using BT840XE module</title><link>https://devzone.nordicsemi.com/thread/291295?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 13:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:813700b3-785a-41fe-a719-358e6acf4caf</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I believe the code you have only support BLE, for ANT please check out:&amp;nbsp;&lt;a href="https://www.thisisant.com/forum/viewthread/6616"&gt;https://www.thisisant.com/forum/viewthread/6616&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the code just stop, the it may sound like a hardfault and/or assert. So you may try to look at your fault handlers for error also.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>