Controlling two Stepper Motors with two ICs and one Raspberry Pi 3B+

I’m using a 12V/4A power supply. But I also tried to power each stepper with an own power supply. Both times VREF on the second driver was 0V.