L298N (via 74HC595) motor control - unexpected voltage & motor not spinning
I figure it out. It looks like current sensing pins have to be connected to the ground and not left unconnected. After looking the schematics again, I figure out that those pins actualy connects H bridge to the ground.