I got a half answer i used two diodes in series and it worked pretty well the only problem is that you can’t control the way the motors spins which is pretty crucial in DRV8833, I think about buying some Bidirectional TVS diodes which may help. I think that works coz the diodes handles back-EMF produces by the motor. For my project this answer is pretty much acceptable but for others may not
