Close

Three x Three Centre Aligned PWM

A project log for Triple Brushless Actuator - ESP32

3x DRV8313, 6x SPI/I2C Encoders, 3x Current, Voltage, FET Temp, 2x UART, USB, (CAN), 2x I2C, OLED. Core 1 BLDC control. Core 0 Arduino.

paul-gouldPaul Gould 06/27/2021 at 03:120 Comments

9 PWM from ESP-32

The first 6 are centre aligned together

The second 3 are centre aligned together with a 180degree offset to smooth out the power fluctuations.

Ideally they should be 3 each at 120degrees apart but the there are only two MCPWM blocks (with 6PWM each) and I cannot work out how to sync between them.

Discussions