<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LOPY Timer interrup]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I need to generate a square signal on a pin at a precise frequency as the PWM function could do.<br />
But i need to adjust this frequency in real time .. mmm.. the goal is to generate a square signal to control a stepper motor including acceleration phases.</p>
<p dir="auto">So, i'm searching something like a timer interrupt where i could adjust frequency outside the handler.</p>
<p dir="auto">i found that :<br />
<a href="https://forum.pycom.io/topic/897/timer-and-uart-confugration">https://forum.pycom.io/topic/897/timer-and-uart-confugration</a></p>
<p dir="auto">but it doesnt compile on my LOPY ?</p>
<p dir="auto">Could you please give me some help or ideas to solve my problem ?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.pycom.io/topic/2245/lopy-timer-interrup</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 02:19:05 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2245.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Nov 2017 16:37:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LOPY Timer interrup on Thu, 30 Nov 2017 16:37:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I need to generate a square signal on a pin at a precise frequency as the PWM function could do.<br />
But i need to adjust this frequency in real time .. mmm.. the goal is to generate a square signal to control a stepper motor including acceleration phases.</p>
<p dir="auto">So, i'm searching something like a timer interrupt where i could adjust frequency outside the handler.</p>
<p dir="auto">i found that :<br />
<a href="https://forum.pycom.io/topic/897/timer-and-uart-confugration">https://forum.pycom.io/topic/897/timer-and-uart-confugration</a></p>
<p dir="auto">but it doesnt compile on my LOPY ?</p>
<p dir="auto">Could you please give me some help or ideas to solve my problem ?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.pycom.io/post/13282</link><guid isPermaLink="true">https://forum.pycom.io/post/13282</guid><dc:creator><![CDATA[EasyTryer]]></dc:creator><pubDate>Thu, 30 Nov 2017 16:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to LOPY Timer interrup on Thu, 30 Nov 2017 19:34:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2078">@easytryer</a> The example you refer to is for a WiPy 1 device. That's not compatible to a WiPy 2 or LoPy. using a time interrupt is not recommended, since interrupts on the Lopy (and all the other Espressif devices) have a vary long and varying latency (see <a href="https://forum.pycom.io/topic/936/pin-interrupt-latency">https://forum.pycom.io/topic/936/pin-interrupt-latency</a>). The test was made for a Pin interrupt, but for timer interrupts you should expect the same behavior.</p>
]]></description><link>https://forum.pycom.io/post/13288</link><guid isPermaLink="true">https://forum.pycom.io/post/13288</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Thu, 30 Nov 2017 19:34:44 GMT</pubDate></item><item><title><![CDATA[Reply to LOPY Timer interrup on Sat, 02 Dec 2017 13:22:13 GMT]]></title><description><![CDATA[<p dir="auto">hi.</p>
<p dir="auto">thanks for this informations.<br />
Is there a way to acheive my goal or have i to return on more real time uController ?</p>
<p dir="auto">regards</p>
]]></description><link>https://forum.pycom.io/post/13329</link><guid isPermaLink="true">https://forum.pycom.io/post/13329</guid><dc:creator><![CDATA[EasyTryer]]></dc:creator><pubDate>Sat, 02 Dec 2017 13:22:13 GMT</pubDate></item><item><title><![CDATA[Reply to LOPY Timer interrup on Sun, 03 Dec 2017 13:42:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2078">@easytryer</a><br />
We introducing a Python interface to the <a href="http://esp-idf.readthedocs.io/en/latest/api-reference/peripherals/rmt.html" target="_blank" rel="noopener noreferrer nofollow">RMT</a> peripheral very soon (already in testing) I think it’ll do what you neeed</p>
]]></description><link>https://forum.pycom.io/post/13337</link><guid isPermaLink="true">https://forum.pycom.io/post/13337</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Sun, 03 Dec 2017 13:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to LOPY Timer interrup on Sun, 03 Dec 2017 14:54:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a><br />
thanks. I'll wait and try.</p>
]]></description><link>https://forum.pycom.io/post/13338</link><guid isPermaLink="true">https://forum.pycom.io/post/13338</guid><dc:creator><![CDATA[EasyTryer]]></dc:creator><pubDate>Sun, 03 Dec 2017 14:54:41 GMT</pubDate></item></channel></rss>