<?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>TIMER 1 Instance us per tick</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99991/timer-1-instance-us-per-tick</link><description>Is there a way to see the exact time it takes for one tick when setting up a system timer? Obviously 1/16MHz is 0.0625 us which is how I have it set up, but I need this duration to be exact.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 May 2023 08:56:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99991/timer-1-instance-us-per-tick" /><item><title>RE: TIMER 1 Instance us per tick</title><link>https://devzone.nordicsemi.com/thread/427437?ContentTypeID=1</link><pubDate>Thu, 25 May 2023 08:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9df9f8-0cf8-4126-a06b-865126169480</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am not sure exactly what you are doing. The BLE stack hogs CPU time with a very high interrupt priority, so if you are toggling a pin in an interrupt, this may get delayed some times when the BLE stack is running. Perhaps this is what you are seeing?&lt;/p&gt;
&lt;p&gt;In that case, you need to use something called PPI to hook a specific event to a task. In that case you can tie a TIMER event to a GPIO toggle task.&lt;/p&gt;
&lt;p&gt;Based on your DevZone history, it looks like you are using the nRF5 SDK. In that case, the SoftDevice (BLE stack) will take over TIMER0, so you can&amp;#39;t use TIMER0 (or RTC0) in your application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TIMER 1 Instance us per tick</title><link>https://devzone.nordicsemi.com/thread/427020?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 16:22:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0277296c-c8c6-4f6d-9809-da45334f255f</guid><dc:creator>inspiringdev123</dc:creator><description>&lt;p&gt;Does the BLE hog any time from the Hardware Timers on the nrf52832 chip? When scoping the timers, it seems there are longer and shorter pulses sometimes. Is there anyway to avoid this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TIMER 1 Instance us per tick</title><link>https://devzone.nordicsemi.com/thread/426972?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 13:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47da5abf-59b5-4da9-91a5-c9dbad2203ce</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes it is. The accuracy depends on the HFXTAL that you are using. Look at the datasheet for the HFXTAL and look for a PPM rating.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TIMER 1 Instance us per tick</title><link>https://devzone.nordicsemi.com/thread/426967?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 13:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd78e1d-882c-4b44-a726-4682a8dead62</guid><dc:creator>inspiringdev123</dc:creator><description>&lt;p&gt;Just looking to get the precise time of one tick of the timer when it is set to 16MHz. Is it truly 0.0625 us per tick ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TIMER 1 Instance us per tick</title><link>https://devzone.nordicsemi.com/thread/426929?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 12:38:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b91c88d-0289-4bee-a32d-fe822eb34b07</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am sorry, but I don&amp;#39;t understand your question.&lt;/p&gt;
&lt;p&gt;Are you asking what the frequency of the 16MHz clock is? Or are you asking how to set it to 1µS?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>