Hi th133,
Please refer to Table 2 in the DRV8824 datasheet for reference. One step angle is a 90 degree change in electrical angle.
You will need two DRV8842 to control the stepper motor. Each DRV8842 can control the current in one winding by using the PH/EN and I4:0 inputs to implement this table.
The I4:0 sets the amount of current while the PH sets the current direction.
Please refer to Table 2 in the DRV8824 datasheet for reference. One step angle is a 90 degree change in electrical angle.
You will need two DRV8842 to control the stepper motor. Each DRV8842 can control the current in one winding by using the PH/EN and I4:0 inputs to implement this table.
The I4:0 sets the amount of current while the PH sets the current direction.