<?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>Stepper Motor Control with Hercules High-End Timer - Part 5: Hercules RM57 Hardware Provisioning</title><link>/technologies/industrial-automation-space/b/blog/posts/stepper-motor-control-with-hercules-high-end-timer---part-5-hercules-rm57-hardware-provisioning</link><description>There you go. A dragon of a title - just because I can. I&amp;#39;m trying to control an unknown stepper motor with the high-end timer (NHET) module of a Texas Instruments Hercules microcontroller I got a freebee from TI almost a year ago. An unknown st...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Stepper Motor Control with Hercules High-End Timer - Part 5: Hercules RM57 Hardware Provisioning</title><link>https://community.element14.com/technologies/industrial-automation-space/b/blog/posts/stepper-motor-control-with-hercules-high-end-timer---part-5-hercules-rm57-hardware-provisioning</link><pubDate>Fri, 09 Jun 2017 14:56:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8292d524-b67d-4849-816b-4fd37c5d5991</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I have SPI working on the Hercules.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is a capture of the same init sequence I captured earlier on on the MSP430:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x69/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8292d524-b67d-4849-816b-4fd37c5d5991/contentimage_5F00_184684.png:620:69]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Protocol Analysis:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/618x709/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8292d524-b67d-4849-816b-4fd37c5d5991/contentimage_5F00_184685.png:618:709]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Easiest job done. Now the high-end timer ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=3138&amp;AppID=141&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Stepper Motor Control with Hercules High-End Timer - Part 5: Hercules RM57 Hardware Provisioning</title><link>https://community.element14.com/technologies/industrial-automation-space/b/blog/posts/stepper-motor-control-with-hercules-high-end-timer---part-5-hercules-rm57-hardware-provisioning</link><pubDate>Fri, 09 Jun 2017 10:54:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8292d524-b67d-4849-816b-4fd37c5d5991</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It seems that I can&amp;#39;t turn the ADC pin that&amp;#39;s connected to nSLEEP as a GIO output. Except for the ADC event pin, the module isn&amp;#39;t configurable as GIO. &lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;External event pin (ADEVT) programmable as general-purpose I/O&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;That means that I&amp;#39;ll have to hack the BoosterPack. The pin above the ADC is a GIO.&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/364x289/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8292d524-b67d-4849-816b-4fd37c5d5991/contentimage_5F00_184682.png:364:289]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve just double-checked with a meter that it isn&amp;#39;t connected to anything.&lt;/p&gt;&lt;p&gt;So I can put a bridge between J1 PIN 5 and 6 on the BoosterPack.&lt;/p&gt;&lt;p&gt;Then I can drive the GIO pin high or low as needed. The ADC pin won&amp;#39;t mind. It can have 3V3 without issues.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ll use a male pin header and hack that onto the connector pins. I can then use a jumper to make and break.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=3138&amp;AppID=141&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Stepper Motor Control with Hercules High-End Timer - Part 5: Hercules RM57 Hardware Provisioning</title><link>https://community.element14.com/technologies/industrial-automation-space/b/blog/posts/stepper-motor-control-with-hercules-high-end-timer---part-5-hercules-rm57-hardware-provisioning</link><pubDate>Mon, 05 Jun 2017 14:50:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8292d524-b67d-4849-816b-4fd37c5d5991</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;span&gt;SPI chip select (active high !)&lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;It should be possible to use a positive chip select with this functionality:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/651x282/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8292d524-b67d-4849-816b-4fd37c5d5991/contentimage_5F00_184681.png:651:282]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I can set exactly what CS pin of SPI3 is high or low during activation of transfer. Looks good...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Correction: the CS is on GIOB pin 2. So I&amp;#39;ll have to manually CS. No problem&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=3138&amp;AppID=141&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>