<?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>Multplie Timers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44323/multplie-timers</link><description>Hi, 
 I need some clarification about how to create multiple Timer functions? 
 my application is to 
 1. read the VDD supply for every 10 sec 
 2. after BLE connected to mobile phone rssi value read for every 5 sec 
 3. need to read the sensor data for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Mar 2019 12:38:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44323/multplie-timers" /><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/174538?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 12:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c1425b1-7f17-4e57-a702-8373e643f947</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The run current for HFCLK is around 250 µA, the run current for LFCLK is 0.25 µA.&lt;/p&gt;
&lt;p&gt;If you are using the radio then you need the crystal.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/174417?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 05:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97abb693-bf7d-46bb-a725-b63d83d8e92b</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;one last question. , How much current consumption difference between the app_tmer and nrf_drv_timer&amp;nbsp; peripheral. .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am in need to run my hardware module in a low power mode. for that LFCLK (32.768 khz) crystal required or not ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/174322?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 14:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f98fe99-6b96-4cf0-bb20-606cfa808cb8</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user="Sunil vignesh"]I developed one hardware with 32MHZ clock . is it possible app_timer to be work on (32Mhz)[/quote]
&lt;p&gt;&amp;nbsp;No, this is not possible.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/174161?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 07:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46aa1586-4028-4f28-8589-45cb85bda975</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;I developed one hardware with 32MHZ clock . is it possible app_timer to be work on (32Mhz)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/174159?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 07:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:148112d5-d5ad-48a1-9a89-7a6779410479</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;as per &lt;strong&gt;ble_app_uart &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;uses BSP_BLE_ module&amp;nbsp; link .&amp;nbsp; &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/examples_bsp_btn_ble"&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;as it is but i need is &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;current status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; event&lt;/p&gt;
&lt;p&gt;connected&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; 1&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; long push &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="el" href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/group__bsp#ggad026454d14088f6f37bd2ba15fe816dfa080e5a2f7e4d93b3ac7e1f7d5b93f09c"&gt;BSP_EVENT_SLEEP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;not connected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&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; long push &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="el" href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/group__bsp#ggad026454d14088f6f37bd2ba15fe816dfa080e5a2f7e4d93b3ac7e1f7d5b93f09c"&gt;BSP_EVENT_SLEEP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;sleep&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&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; long push &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="el" href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/group__bsp#ggad026454d14088f6f37bd2ba15fe816dfaf55c58522aacfa472afe9168ea879d23"&gt;BSP_EVENT_WAKEUP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;shall we change it like this???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/174157?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 07:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c7fd87f-c334-4c55-9846-8377d1c5aed8</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;app_timer&lt;/strong&gt; uses the RTC peripheral and the &lt;strong&gt;nrf_drv_timer&lt;/strong&gt; uses the TIMER peripheral.&lt;/p&gt;
&lt;p&gt;The RTC peripheral uses the LFCLK (32.768 kHz), while the timer peripheral uses the HFCLK.&lt;/p&gt;
&lt;p&gt;[quote user="Sunil vignesh"][/quote]&lt;/p&gt;
&lt;p&gt;I want to differentiate single press and long press to get system : Wakeup and Sleep mode.&lt;/p&gt;
&lt;p&gt;how to use app_timer to detect long press&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You have to configure it so that it fires on a long or a regular button press.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;typedef struct
{
    bsp_event_t push_event;      /**&amp;lt; The event to fire on regular button press. */
    bsp_event_t long_push_event; /**&amp;lt; The event to fire on long button press. */
    bsp_event_t release_event;   /**&amp;lt; The event to fire on button release. */
} bsp_button_event_cfg_t;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/173901?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 09:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e37bf6b-156a-4c26-b929-a445e698f207</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;HI, &lt;/p&gt;
&lt;p&gt;I havee seen the two programs .&lt;/p&gt;
&lt;p&gt;One with app_timer&lt;/p&gt;
&lt;p&gt;another is nrf_drv_timer&lt;/p&gt;
&lt;p&gt;is there any major difference between these two? . Is it work with LFCLK ?&lt;/p&gt;
&lt;p&gt;I want to differentiate single press and long press to get system : Wakeup and Sleep mode.&lt;/p&gt;
&lt;p&gt;how to use app_timer to detect long press&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multplie Timers</title><link>https://devzone.nordicsemi.com/thread/173882?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 08:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0e5a923-9703-4963-8d3d-74d5126cc5c4</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I suggest you take a look at the &lt;a href="https://devzone.nordicsemi.com/tutorials/b/software-development-kit/posts/application-timer-tutorial"&gt;Application Timer Tutorial&lt;/a&gt;, and also look at the examples &lt;strong&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/nrf_dev_timer_example"&gt;\examples\peripheral\timer&lt;/a&gt; &lt;/strong&gt;and &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/nrf_dev_simple_timer_example"&gt;&lt;strong&gt;\examples\peripheral\simple_timer &lt;/strong&gt;&lt;/a&gt;where different configurations of the timer is demonstrated.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>