2392740_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2392740_en-US

2392740_en-US

How to choose a microcontroller? Need to control 3 motors with encoders for position control.

Im looking to control the position of a load (lets say around 3 kg) in xyz axis with either steppers or BLDC motors (+Drivers or ESC). I want to add encoders as well or some sensors for feedback loop.

Based on that, I struggled to pick an appropriate microcontroller. I was thinking either STM32 or ESP32 for the brand. It requires 3 PWM output signals (since 3 motors), but how do I know if everything else is enough like the frequency of the clock, do I need external components, etc?

Re: How to choose a microcontroller? Need to control 3 motors with encoders for position control.

Hi @pekoms 

For an MCX choice, start with MCX A34x / A344–A346 for this project. It is the strongest MCX fit for 3-axis motor control because it has a 180 MHz Cortex‑M33, two FlexPWM/eFlexPWM blocks, many PWM outputs, ADCs, timers, and two hardware quadrature decoder blocks for encoder feedback.

A catalog pass also surfaced MCX N94x and MCX A34x as the main higher-end MCX candidates for this class of task.

BR

Harry

Tags (1)
No ratings
Version history
Last update:
Tuesday
Updated by: