Test 6PWM vs ESP32

I test Esp32 and 6PWM standalone
“BLDCDriver6PWM driver = BLDCDriver6PWM(12, 25, 26,27, 33, 32, 14);”
but no output on any pin. I tested 3PWM is ok. I use FOC 2.2.1 and ESP 1.0.6
I don’t know what to do. because I use PS11014 module.

Hi @the_duyet , welcome to SimpleFOC!

Which ESP32 are you using?

6-PWM is only supported on the ESP32 chips which have MCPWM support, like the Wroom or Wrover modules, or the Pico D4. The newer S2 and C3 ESP32 chips do not support 6-PWM…

Thank you for support.
I use esp32 Wroom. When i compile, it error with soc/soc… And i had copy soc folder to Simply FOC libraries. So is what happen ?

Ok, with Wroom it will work. Lets see what the problem can be?

Have you updated to the newest version of ESP32 for Arduino Framework? For SimpleFOC 2.2.1 you must use ESP32 for Arduino v2.0.1 or newer

1 Like

Thanks, my link boards manage URLs is old link. I updated to 2.0.2 and it’s work.
Many thanks.