How many motors can the MCPWM peripheral control?
Posted: Sun Jan 02, 2022 2:38 pm
Hi,
I am new to ESP32, and trying to learn MCPWM for motor control.
1. Am i correct to say that each MCPWM Unit can control 3 motors and hence 6 as there are 2 units?
2. Does it work such that
MCPWM Unit 0
PWM0A & PWM0B controls 1 motor independently
PWM1A & PWM1B controls 1 motor independently
PWM2A & PWM2B controls 1 motor independently
MCPWM Unit 1
PWM0A & PWM0B controls 1 motor independently
PWM1A & PWM1B controls 1 motor independently
PWM2A & PWM2B controls 1 motor independently
3. Will using MCPWM reduce the ledc channels available?
I am new to ESP32, and trying to learn MCPWM for motor control.
1. Am i correct to say that each MCPWM Unit can control 3 motors and hence 6 as there are 2 units?
2. Does it work such that
MCPWM Unit 0
PWM0A & PWM0B controls 1 motor independently
PWM1A & PWM1B controls 1 motor independently
PWM2A & PWM2B controls 1 motor independently
MCPWM Unit 1
PWM0A & PWM0B controls 1 motor independently
PWM1A & PWM1B controls 1 motor independently
PWM2A & PWM2B controls 1 motor independently
3. Will using MCPWM reduce the ledc channels available?