I have a simple H bridge motor controller (MX1508 for the curious). 4 PWM inputs to control two motors. I'm trying to run the thing off a pi zero W, and I would like to play around with hardware PWM which documentation says the pi zero W can swap between two pairs of pins.
I am aware of software and DMA options for doing PWM, but those can be assigned to any pin and code is easy to rewrite if I bork something. Soldering, not so much. So my focus for the moment is on getting the wiring right to open up my options. I intend to tinker around and learn with all three methods before I am done.
IF I am understanding the documentation correctly, putting pins 12 and 32 to in1 and in2 on the controller will let me swap hardware PWM0 between them, and pins 33 and 35 to in3 and in4 will let me swap hardware PWM1 between them. This should let me use those two channels to control direction and speed on my motors since only one input per motor needs to be active at once. Can someone confirm I've got this much right before I go melting conductors together?