<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>BeagleBone Control Stepper Motors - Part 6a: Use PRU Timer - Preparation</title><link>/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-control-stepper-motors---part-6a-use-pru-timer---preparation</link><description>I&amp;#39;m trying here is to let the real-time units of the BeagleBone generate the signals for a stepper motor .In chapters 1 to 5, I developed PRU firmware that works for 1 stepper motor In part 6, I switch to a timer controlled version, that shou...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: BeagleBone Control Stepper Motors - Part 6a: Use PRU Timer - Preparation</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-control-stepper-motors---part-6a-use-pru-timer---preparation</link><pubDate>Sat, 17 Aug 2019 14:19:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8ff033fe-05f6-413e-aa83-ed96c0712ce0</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;note to self: this should not be in the parse command because it changes a running motor.&lt;/p&gt;&lt;p&gt;The parse should merely set the directory in the structure, without changing the pin.&lt;/p&gt;&lt;p&gt;Setting the direction pin should be done when the motor is ready to run the command, just before doing a first step.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=c_cpp&amp;amp;text=+++if+%28motors%5B0%5D.dir%29+%7B++%0A+++++__R30+%7C%3D+1UL+%3C%3C+motors%5B0%5D.pin_dir%3B++%0A+++%7D+else+%7B++%0A+++++__R30+%26%3D+%7E%281UL+%3C%3C++motors%5B0%5D.pin_dir%29%3B++%0A+++%7D+]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7629&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone Control Stepper Motors - Part 6a: Use PRU Timer - Preparation</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-control-stepper-motors---part-6a-use-pru-timer---preparation</link><pubDate>Sat, 17 Aug 2019 13:23:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8ff033fe-05f6-413e-aa83-ed96c0712ce0</guid><dc:creator>clem57</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Good video &lt;span&gt;[mention:acaf6a9338de4eef8f6717d5561ed01d:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;. I use small steps, too. I often program incrementally proving each step to avoid complex debugging.&lt;/p&gt;&lt;p&gt;Clem&lt;/p&gt;&lt;p&gt;PS Also enjoyed reading your details.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7629&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>