Hi,
Long-time reader (as a guest), first-time poster!
First of all, congratulations on the awesome work you’ve been sharing here. I’ve learned a lot by going through your posts, code examples, hardware solutions, and everything else I could find!
I’ve been extensively testing your project on various MCUs (Arduino UNO, RP2340, ESP32, and Nucleo 144) along with different drivers (Deng Dual FOC, MKS Dual FOC V3.2, SimpleFOC Mini, and SimpleFOC Shield). Everything has gone smoothly using Arduino and PlatformIO IDE.
I’ve also tested the different branches kindly provided by @runger for the exotic boards I have—thanks for that!
Today I decided to level up my project and started working with a NUCLEO-H755ZI-Q paired with two SimpleFOC Shields, but it’s giving me a bit of a headache. I’m confident I’ve set up the hardware correctly (at least for the Shields), and I haven’t modified the Nucleo board yet.
However, I’m encountering two main issues and was wondering if anyone might have some insights:
1. After successfully flashing the board multiple times with working scripts (including blinking LEDs and serial communication), my board suddenly locked up, preventing me from reflashing any previously working scripts. I suspect it might be related to the issue discussed here:
https://www.stm32duino.com/viewtopic.php?t=2550
Before diving into creating a new configuration file for the H755ZI-Q—which doesn’t seem to exist yet in STM32Duino—I was wondering if anyone here has already faced this issue?
2. At some point, I managed to flash the board with the SimpleFOC open-loop position control, which previously worked fine on other MCUs. However, the driver wouldn’t supply power to the motor. I suspect it’s related to pin configuration. Since I’ve noticed a few posts from members who worked with STM32H7 MCUs, I thought I would ask if anyone had suggestions or specific points I should verify.
I can provide my code, though it doesn’t differ from what’s available on GitHub.
Thanks again for your great work. I’ll continue investigating while looking forward to your feedback!