<?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>ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110207/ask-about-tx-power-in-ant-application</link><description>HI Nordic support team. 
 I have a question relate to TX power in ANT application: 
 - ANT Tx application using: ant_broadcast -&amp;gt;Tx 
 - ANT Rx application using: ant_continuous_scanning_controller 
 - SDK 17.1, segger embedded studio 
 We using ANT application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 May 2024 10:41:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110207/ask-about-tx-power-in-ant-application" /><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/486859?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 10:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24af8b82-e99b-418e-b745-5cf62ca1b6a3</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sread"&gt;sread&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you help me explain detail on the source code.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I try to open and close Ant channel but not successful.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Can you let me know the sequence open and close channel? And where to apply on the code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/486261?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 17:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cbb129a-5cd0-4511-9aca-8782209ff83b</guid><dc:creator>sread</dc:creator><description>&lt;p&gt;No, I agree that opening and closing a channel on a timer makes the most sense here.&lt;/p&gt;
&lt;p&gt;The ANT stack doesn&amp;#39;t have inherent support for sending data less frequently than the maximum channel period, so this must be managed through application code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/485351?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 09:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ee25414-3f59-41e8-b512-7040c69d89db</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;ok, i will check thnaks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/485344?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 09:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06de5f05-f9b9-4b07-a49a-9b9c42df8882</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I still don&amp;#39;t understand why&amp;nbsp;interupt_pin_handler() does not work as intended, can you try to run the code in main() instead of an interrupt, to see if that closes the channel as expected?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/485322?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 08:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ec67390-02f0-4123-97cc-83a08921dc66</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I confirm don&amp;#39;t have any timer is used in the my application&lt;/p&gt;
&lt;p&gt;- Only channel&amp;quot; &amp;quot;#define RF_FREQ 25&amp;quot; is used in application&lt;/p&gt;
&lt;p&gt;- Yes&amp;nbsp;&lt;span&gt;CHANNEL_TYPE_MASTER_TX_ONLY is actived, it help me save 5uA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; I hop Ant Tx transmit 30s instead help me save 10uA in additional. It is very important for battey time life of sensor(3-5 years)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/485229?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 21:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def736f8-cba8-4fef-842c-ba970bf441f7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I honestly don&amp;#39;t see how this should not work, is it in any way possible that it&amp;#39;s something else happening here every 2seconds (e.g. other ANT channel open and/or a timer running or something)?&lt;/p&gt;
&lt;p&gt;Is there any difference if using&amp;nbsp;CHANNEL_TYPE_MASTER_TX_ONLY?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/485200?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 16:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf69f814-4a92-4f1c-93a0-c933fd1d3877</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;You sugget me:&lt;br /&gt;-first: open Ant channel&lt;/p&gt;
&lt;p&gt;-second: transmit data&lt;/p&gt;
&lt;p&gt;-third: close Ant channel&lt;/p&gt;
&lt;p&gt;-4th: deep sleep MCU&lt;/p&gt;
&lt;p&gt;May be i dont know sequence to make close Ant Tx, so&amp;nbsp; Ant Tx cannot closed and i still can observe that Ant Tx transmit data each 2second like this:&lt;/p&gt;
&lt;p&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/pastedimage1716309082614v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff6600;font-size:150%;"&gt;Can you guide me the sequence to force close ANT Tx? Or any function help Ant Tx application send data base on custom time define ex 30s, 60s,... instead maximum 2s?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Bellow is my code in external interupt handler, can you review it?&lt;pre class="ui-code" data-mode="text"&gt;static void interupt_pin_handler(nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)
{
    uint32_t err_code;
    Qflag = true;
    NRF_LOG_INFO(&amp;quot;Int example0\n&amp;quot;);
    err_code = sd_ant_channel_open(ANT_MS_CHANNEL_NUMBER);
    ant_message_send();
    err_code = sd_ant_channel_close(ANT_MS_CHANNEL_NUMBER);
    APP_ERROR_CHECK(err_code);
    
    index++;
    NRF_LOG_INFO(&amp;quot;Index  %d&amp;quot;, index);
}&lt;/pre&gt;interupt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/485064?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 11:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39c10e6b-254f-4763-8083-e5f5ffa368b5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sread"&gt;sread&lt;/a&gt;&amp;nbsp;do you have any suggestion on this one?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/484976?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 07:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a321e8-f690-402a-99d6-334b05d3aee0</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;can you share me the contact to someone of ANT orgnizration at right here?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also contacted to ANT dupport forum but it seem dont have any feed back after more than 1 week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/484969?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 07:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca4cbc76-ceb8-409d-86c6-af1554c6d99e</guid><dc:creator>Kenneth</dc:creator><description>[quote user="lta2"]Can we have any function to make ANT Tx only transmit data with customer pre-define time instead maximum 2s:&amp;nbsp;&lt;span&gt;#define CHAN_PERIOD&amp;nbsp;65536 (2seconds) ??&lt;/span&gt;[/quote]
&lt;p&gt;&lt;span&gt;I do not believe so no, then you would need to open, transmit, and close channel from a timer in your application. This timer can run at a interval you decide.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to discuss ANT directly with someone, then I suggest to reach out to&amp;nbsp;&lt;/span&gt;www.thisisant.com,&lt;span&gt;&amp;nbsp;or I can put you in contact with someone there if you want. Let me know.&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: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/484902?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 07:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da1a893b-d291-457a-a6e8-0540357149ea</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Normally i did sleep function for ANT Tx application,&lt;/p&gt;
&lt;p&gt;But it seem ANT Tx make event after 2s, and then it automative wake up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1716188635026v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Can we have any function to make ANT Tx only transmit data with customer pre-define time instead maximum 2s:&amp;nbsp;&lt;span&gt;#define CHAN_PERIOD&amp;nbsp;65536 (2seconds) ??&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks and regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/482305?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 13:42:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e1d7cd0-7381-45c6-bc24-055dca662dba</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Independent of protocol used, the way to sleep and configure wakeup is the same. Please run through for instance the nRF Connect SDK Fundamentals course:&lt;br /&gt;&lt;a href="https://academy.nordicsemi.com/"&gt;https://academy.nordicsemi.com/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To work with ANT in specific you can check out:&lt;br /&gt;&lt;a href="https://www.thisisant.com/APIassets/ANTnRFConnectDoc/index.html"&gt;https://www.thisisant.com/APIassets/ANTnRFConnectDoc/index.html&lt;/a&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: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/482107?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 16:13:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934162e3-b1f6-45da-b268-e88f0d404f68</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;your idea is the same solution i think.&lt;/p&gt;
&lt;p&gt;Can i wakeup application by external interrupt?&lt;/p&gt;
&lt;p&gt;Can you suggest me ANT example refer to put it in sleep mode?&lt;/p&gt;
&lt;p&gt;I am thinking apply sleep mode on &amp;quot;BLE peripheral example&amp;quot;.&lt;/p&gt;
&lt;p&gt;Now, i think we can complete make solution with your suggestion, so dont need contact to person on ANT system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/482053?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 13:20:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d213f693-2323-422e-ac28-bffefa8682b2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In ANT all devices are low power, so both the master node (sensor) and the slave node (display) are low power nodes.&amp;nbsp;So 2second is a nice trade-off between current consumption between the master and slave, and&amp;nbsp;still allow the ability to send data both direction. If you want to send data slower than 2seconds, then I suggest to open channel, send data, close channel, and sleep for instance for 30seconds before you repeat. This means that the slave (display, receiving device) can&amp;#39;t be in synchronised mode, but instead the slave need to scan continuosly for any sensor data. This is fully possible. If you want to discuss ANT directly with someone, then I suggest to reach out to www.thisisant.com,&amp;nbsp;or I can put you in contact with someone there if you want. Let me know.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/481869?ContentTypeID=1</link><pubDate>Sat, 04 May 2024 10:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d6157ee-dbec-4ec5-be09-9f33808f734f</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;hi my friend,&lt;/p&gt;
&lt;p&gt;we are making TPMS(tire pressure monitor system) for our customer,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So power consumtion is very important for running application in 3-5 years.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You said that:&amp;quot;I believe the slowest channel possible is 2seconds, so you can try to use&amp;nbsp;#define CHAN_PERIOD&amp;nbsp;65536 (2seconds).&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;It is so close time to transmit data, we need at least 30s Tx one time.&lt;/p&gt;
&lt;p&gt;Why Ant need keep transmit each 2s(or smaller time 2s), i think it is not BLE so dont need keep alive connection.&lt;/p&gt;
&lt;p&gt;I mean:&amp;nbsp;RF application only need transmits data base on time we&amp;nbsp;define for it. &lt;span&gt;Why Ant need transmit 2s and how to control the time transmit data by our define time?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Our customer request qty 500k/year.&lt;/p&gt;
&lt;p&gt;Can you help me connect to get more support from ANT organization? It is so urgent with us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ask about TX power in ANT application</title><link>https://devzone.nordicsemi.com/thread/478731?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 11:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14793c4f-364e-4c2b-9afe-39699c93192d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I can see you have&amp;nbsp;#define CHAN_PERIOD&amp;nbsp; &amp;nbsp;32767, this means that the ANT channel will communicate every 1second.&lt;/p&gt;
&lt;p&gt;I believe the slowest channel possible is 2seconds, so you can try to use&amp;nbsp;#define CHAN_PERIOD&amp;nbsp;65536 (2seconds).&lt;/p&gt;
&lt;p&gt;Do you need bidirectional data? If you don&amp;#39;t need bidirectional data you can use CHANNEL_TYPE_MASTER_TX_ONLY instead of&amp;nbsp;CHANNEL_TYPE_MASTER.&lt;/p&gt;
&lt;p&gt;Edit: You can find the following useful for estimation of current consumption:&lt;br /&gt;&lt;a href="https://www.thisisant.com/developer/components/developer"&gt;https://www.thisisant.com/developer/components/developer&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF52833 is similar to the nRF52832 in terms of current consumption, example:&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/pastedimage1713180049418v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>