![]() In the table above you can a comparison of the execution times of the FOC loop for different MCUs. These chips are still supported via their LEDC peripheral, but can’t do 6 PWM.Įven though all the MCUs from the table above (and many more) are supported in the library and all of the will work with most of the BLDC motors+BLDC driver+sensor combinations, their performance will not be the same. While most ESP32 chips do support it, a few of them (like the C3), don’t have MCPWM support. MCU 2 PWM mode 4 PWM mode 3 PWM mode 6 PWM mode pwm frequency config Arduino (8-bit) ✔️ ✔️ ✔️ ✔️ ✔️ (either 4kHz or 32kHz) Arduino DUE ✔️ ✔️ ✔️ ❌ ✔️ stm32 ✔️ ✔️ ✔️ ✔️ ✔️ esp32 MCPWM ✔️ ✔️ ✔️ ✔️ ✔️ esp32 LEDC ✔️ ✔️ ✔️ ❌ ✔️ esp8266 ✔️ ✔️ ✔️ ❌ ✔️ samd21/51 ✔️ ✔️ ✔️ ✔️ ✔️ teensy ✔️ ✔️ ✔️ ✔️ ✔️ Raspberry Pi Pico ✔️ ✔️ ✔️ ✔️ ✔️ Portenta H7 ✔️ ✔️ ✔️ ❌ ✔️ nRF52 ✔️ ✔️ ✔️ ✔️ ✔️įrom this table you can see that if you need the 6 PWM mode for your application you should avoid using Teensy and Arduino DUE boards for now.Īlso, for ESP32 board the situation is confusing as only those ESP32 chips with a built-in MCPWM peripheral can do the 6 PWM mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |