<?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>Precision of Us timer on zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102783/precision-of-us-timer-on-zephyr</link><description>I am using a 4 microsecond tick in alarm counter as well as timer configuration ( not together). 
 Both the timers/counters give a skewed timing. 
 I need to control 2 gpios and 3 pwm pins in matter of few microseconds. I am getting 4X the desired time</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Aug 2023 11:35:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102783/precision-of-us-timer-on-zephyr" /><item><title>RE: Precision of Us timer on zephyr</title><link>https://devzone.nordicsemi.com/thread/442522?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 11:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b5669a5-4b68-40e5-9c02-1790e5193f99</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;It might be easier to use nrfx pwm driver directly here. Take a look at e.g. this sample here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/too1/ncs-nrfx-pwm-simple-example/tree/master"&gt;https://github.com/too1/ncs-nrfx-pwm-simple-example/tree/master&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(It&amp;#39;s a 2 year old sample, so there might be some minor changes required to compile it for the NCS version you are using)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precision of Us timer on zephyr</title><link>https://devzone.nordicsemi.com/thread/442246?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 10:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c77e7fcd-0b0d-4e44-af96-0bdc3ffe4aef</guid><dc:creator>girish7</dc:creator><description>&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/WhatsApp-Image-2023_2D00_08_2D00_21-at-15.33.53.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;the lines in within the block represent 1mhz pwm is on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precision of Us timer on zephyr</title><link>https://devzone.nordicsemi.com/thread/442245?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 10:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2538d105-1622-462f-b1aa-2fa822c5f7d6</guid><dc:creator>girish7</dc:creator><description>&lt;p&gt;Basically, I need to control 2 GPIOS (turn on and off). And cointrol 3 pwm siganls(turn them on and off) to generate the waveform as shown in the figure&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/timing.jpeg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precision of Us timer on zephyr</title><link>https://devzone.nordicsemi.com/thread/440959?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 12:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9973d620-5f75-486f-b792-e21b9388cb6a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I need to control 2 gpios and 3 pwm pins in matter of few microseconds. I am getting 4X the desired time period.&amp;nbsp;[/quote]
&lt;p&gt;Could you describe a bit more what you&amp;nbsp;are trying to implement?&amp;nbsp; You want to generate a PWM pulse or something? or count pules?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>