my project uses a bunch of Adafruit DRV8871 PWM motor drivers. My problem is the I'm short of PWM ports, so I can't just give a PWM port to IN1 and an other one for IN2.
My idea is what I saw at other drivers: to have a regular port called DIR which
-connects the PWM to IN1 if it's LOW
-connects the PWM to IN2 when it's HIGH
As far as I understood, I need a dual channel MOSFET, where one is P and the other is N channel. This would function as a switch.
My problem is that I'm not sure if I'm right and I'm not sure if what I found is the right on (yes, it's 4 a channel MOSFET, I want to save some space):
Could you please check it?