I hope, someone will help me.
Project is a 3D scanner,Arduino UNODrivers are DRV8255Motors are ordinary NEMA 17
Power supplys are one 5V and one 12V stabilised.
The real program is very short... the rest is a menu and content display.
If I can separate the sketch and find the real problem - I should not ask here
Motors are really not special - the same drivers with the same motors working great at my 3D printer.. So the problem is not in them.