<?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>MSPM0 project with VS Code, CMake and GCC - part 7b: middleware stepper motor control with A4988 stepper driver</title><link>/technologies/embedded/b/blog/posts/mspm0-project-with-vs-code-cmake-and-gcc---part-7b-middleware-stepper-motor-control-with-a4988-stepper-driver</link><description>In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure. In the next series of posts, I try to create a stepper motor project. It will be based on TI&amp;#39;s stepper motor middlew...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MSPM0 project with VS Code, CMake and GCC - part 7b: middleware stepper motor control with A4988 stepper driver</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/mspm0-project-with-vs-code-cmake-and-gcc---part-7b-middleware-stepper-motor-control-with-a4988-stepper-driver</link><pubDate>Tue, 13 Oct 2026 21:01:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6d7a9c25-2cb2-4482-b048-d334dee0694c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m trying to write similar code for the TI DRV8711 driver. I&amp;#39;ve done it before for a Raspberry Pico.&lt;br /&gt;The main exercise should be to translate Pico SPI to MSPM0 SDK SPI.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to use this as the SPI example:&amp;nbsp;&lt;a href="https://dev.ti.com/tirex/explore/node?isTheia=false&amp;amp;node=A__AHKXGvLW5o8tGkje0zlw4A__MSPM0-SDK__a3PaaoK__LATEST&amp;amp;placeholder=true" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://dev.ti.com/tirex/explore/node?isTheia=false&amp;amp;node=A__AHKXGvLW5o8tGkje0zlw4A__MSPM0-SDK__a3PaaoK__LATEST&amp;amp;placeholder=true&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30242&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSPM0 project with VS Code, CMake and GCC - part 7b: middleware stepper motor control with A4988 stepper driver</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/mspm0-project-with-vs-code-cmake-and-gcc---part-7b-middleware-stepper-motor-control-with-a4988-stepper-driver</link><pubDate>Tue, 13 Oct 2026 09:50:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6d7a9c25-2cb2-4482-b048-d334dee0694c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I created a GitHub &lt;a href="https://github.com/jancumps/mspm0_a4988_lib" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;repo for the Allegro A4988&lt;/a&gt;&amp;nbsp;driver.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To use in your project:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:b9e8a544-94a1-4105-b204-b712b36c575d:type=batchfile&amp;text=include%28FetchContent%29%0A%0AFetchContent_Declare%28stepper_driver%0A%20%20GIT_REPOSITORY%20%22https%3A%2F%2Fgithub.com%2Fjancumps%2Fstepper_driver_lib.git%22%0A%20%20GIT_TAG%20%22origin%2Fmain%22%0A%29%0AFetchContent_MakeAvailable%28stepper_driver%29%0A%0AFetchContent_Declare%28mspm0_a4988%0A%20%20GIT_REPOSITORY%20%22https%3A%2F%2Fgithub.com%2Fjancumps%2Fmspm0_a4988_lib.git%22%0A%20%20GIT_TAG%20%22origin%2Fmain%22%0A%20%20%23%20prevent%20makefile%20execution%20%28if%20any%29%0A%20%20SOURCE_SUBDIR%20%3D%0A%29%0AFetchContent_MakeAvailable%28mspm0_a4988%29%0A%0A%23%20...%0A%0A%0A%23%20list%20C%2B%2B%20module%20files%20here%0Aset%28SOURCES_MODULES%0A%20%20%20%20%24%7Bstepper_driver_SOURCE_DIR%7D%2Fsource%2Fstepper_driver.cpp%0A%20%20%20%20%24%7Bmspm0_a4988_SOURCE_DIR%7D%2Fsource%2Fa4988_mspm0.cpp%0A%20%20%20%20%23%20....]&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30242&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSPM0 project with VS Code, CMake and GCC - part 7b: middleware stepper motor control with A4988 stepper driver</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/mspm0-project-with-vs-code-cmake-and-gcc---part-7b-middleware-stepper-motor-control-with-a4988-stepper-driver</link><pubDate>Sat, 26 Sep 2026 13:00:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6d7a9c25-2cb2-4482-b048-d334dee0694c</guid><dc:creator>spinden</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Well done documenting this project!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30242&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSPM0 project with VS Code, CMake and GCC - part 7b: middleware stepper motor control with A4988 stepper driver</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/mspm0-project-with-vs-code-cmake-and-gcc---part-7b-middleware-stepper-motor-control-with-a4988-stepper-driver</link><pubDate>Sat, 26 Sep 2026 12:06:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6d7a9c25-2cb2-4482-b048-d334dee0694c</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great to see decent C++ code for stepper motors. Looking forward to seeing the ramp feature too.&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30242&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>