Closed fotherja closed 1 month ago
Hello,
Luckily I was able to both reproduce and fix the issue that you were seeing. Simply update your Simple FOC library to the latest: 2.3.4, more details follow. In your output, it's clear that it's an issue with the "Simple FOC" library. When I installed version 2.3.3 (thanks for listing your version there) I was able to see the problem:
Shown below:
Checking the Simple FOC 2.3.4 release, I see that they mention new support for the MCPWM
driver. Which is why when I use 2.3.4, I no longer see the error:
I know the images aren't great, but I hope that helps.
Thanks!
Brilliant! Thank you very much for getting back to me. What convenient timing with the FOC update!
Error trying to upload the standard firmware (IoT Motor Driver Example) that comes with IoT Brushless Motor Driver (from https://www.sparkfun.com/products/22132)
Your workbench
I have set the board on the arduino IDE to ESP32 Thing Plus C as suggested in the Hookup guide by Sparkfun (https://docs.sparkfun.com/SparkFun_IoT_Brushless_Motor_Driver/software_overview/)
Steps to reproduce
Simply having the above installed and trying to verify/upload the code