Hello electronics enthusiasts, I got a tricky situation to figure out. Does anyone know what’s a typical way of uploading code to multiple MCU’s on a single board?
I’m trying to control a ton of DC motors for my robot hand using PWM signals passed to H bridges. In my current version I have an ESP32 that control a bunch of LED drivers that in turn generate the PWM signals for the motors. And it works
My problem is that it’s a bit slow, especially since I’m trying to do a current control PID loop. Additionally I have to redesign it anyway to fit some bigger motors. I’ve been looking around and it seems I can replace the PWM LED drivers with STM32 for basically the same price, but with a lot more compute (for an embedded device). The problem is that I would need 4 or 8 of the STM32 on my board, in addition to the ESP32 that is the master controller. Any suggestions how I’d go about programming all the microcontrollers at the same time? I’m tempted to avoid exposing 4 pads for each STM32 and poking it with a programmer individually.