Since the microspora firmware on github is for Platformio, I thought it would be helpful to have an Arduino based thread.
From what I understood so far, Arduino doesn’t have a microspora library with example code.
But we can use the STM32 library and pick the right MCU.
Same goes for DRV8316 and MT6701, so the basic package is available.
With other STM32 MCUs I let arduino export a compiled binary and use the ST-Link to flash it.
Maybe it’s different here, IDK yet. (my microspora will take 10-15 days to deliver)
What I wasn’t sure of, is the description of the SPI interface.
Note: This SPI bus is the same one used for the DRV8316 driver, so make sure to configure the driver before you use the SPI bus for other purposes.
I guess, the DRV chip has it’s own CS pin and PC11 is for external devices communicating with the MCU?
I don’t have a usecase for that now, but was curious.
I will post some test code, once I have the board. My focus is on BLDC motors in NEMA17 and 23 size and step/dir interface, but might try the hybrid stepper approach later.
Feel free to post your code snippets and tips&tricks, so we can help others to start with the Microspora