<?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>Software Timers using zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76612/software-timers-using-zephyr</link><description>I followed the description Timers — Zephyr Project Documentation here.and implemented a basic timer functionality in thingy91. 
 
 volatile bool update_timer_expired=false; 
 static void update_timer_handler(struct k_timer *timer_id) { LOG_INF(&amp;quot;Timer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Jun 2021 14:25:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76612/software-timers-using-zephyr" /><item><title>RE: Software Timers using zephyr</title><link>https://devzone.nordicsemi.com/thread/317049?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 14:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed567afe-af64-463d-b089-82dc082ade83</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Ah, I see now that you&amp;#39;re using the Thingy:91. Are you using RTT or Serial logging? Check out this if you&amp;#39;re using RTT:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/61864/unable-to-use-rtt-in-nrf91"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/61864/unable-to-use-rtt-in-nrf91&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you use Serial logging, you can get logging througg the USB output on the Thingy:91, but then you need to program the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/applications/connectivity_bridge/README.html#connectivity-bridge"&gt;Connectivity Bridge&lt;/a&gt;&amp;nbsp;onto the thingy91_nrf52840, whch will make the nRF5240 convert the serial log from the nRF9160 and output it on the USB.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Timers using zephyr</title><link>https://devzone.nordicsemi.com/thread/316592?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 06:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9871e5a0-7758-41d3-b42a-0b62ea4ab2a1</guid><dc:creator>Adarsh__R</dc:creator><description>&lt;p&gt;I have actually went through the samples and implemented part of the code using it. Still I dont get any output from the timer expiry function. As I posted,I am defining the timer using K_TIMER_DEFINE and simply starting it for expiring every 5 seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Timers using zephyr</title><link>https://devzone.nordicsemi.com/thread/316535?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2021 15:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93252f03-01ec-41a7-82fa-1fc9c4b67a80</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Check out these samples to see how to implement a timer:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h185sjwm5882m1bcimiad82dnf4kcy0b"&gt;https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h185sjwm5882m1bcimiad82dnf4kcy0b&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v2.4.99-ncs1/samples/drivers/counter/alarm"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/v2.4.99-ncs1/samples/drivers/counter/alarm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Check out this answer for more information about timers in NCS:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/74591/timers-in-nrf5340"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/74591/timers-in-nrf5340&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>