We have a problem with the DC motor driver DRV8835 that we have soldered to the PCB I have attached below. Prior to this driver we were using L293D h-bridges to run these DC motors and never experienced an issue. We are using ESP32s microcontroller and designed a new PCB (schematic given below) with two DRV8835 drivers to control four DC motors.
Before designing the PCB we set up a circuit on a breadboard (setup is also given down below) and everything was working fine. The motors got slightly warmer with DRV8835 on the breadboard but they were running at the same speeds. But with the new drivers, PCB is drawing twice as much as the current we had on the breadboard setup and the motors heat up way more than they did with the previous driver and on the breadboard. We tried attaching capacitors to the driver’s power and motor terminals as well as resoldering, but it didn’t help much. Are there any suggestions to this problem that we can try implementing? We are working on robotics but we don’t come from an electronics background so any suggestions are appreciated.