Or, assuming a two channel scope, use the poor man's version... Add the two channels with one channel set to invert. Make sure the ground clips stay well out of the way.
I followed this approach and the result was interesting. I discovered that in spreadCycle mode there were large voltage peaks on the driver outputs.
I removed my fixed voltage supply and supplied the driver at a lower voltage (12V) and set the internal drive current to 100mA. Even at standstill, the output was reaching 24V peak. I then very gingerly ran the motor slowly forward and the peaks increased to around 28V.
Now, I may be misunderstanding the concept of chopper drivers here (and the Trinamic spreadcycle one in particular), so please be patient with me!
I thought that the idea is the chopper will overdrive the voltage to achieve a fast current rise time with the inductance of the motor coils effectively regulating the maximum voltage achieved.
However, from the gentle test that I made, it looks like the voltage can significantly overshoot the supply voltage and I would have thought that this is a problem for the driver MOSFETs.
I haven't found anything in the datasheet that describes the output voltages, only lots about the current / sense resistor voltage.
Interestingly, when I configure the driver for 'traditional', constant off time with fast decay time (i.e. chopper mode, chm = 1) then the differential output looks more normal and is limited to the supply voltage.
Also, in spreadCycle mode (chm = 0) then the motor has an audio whine both at stand still and when moving slowly. The pitch of this whine changes slightly when probing the outputs, so there must be some coupling going on.
I have noticed in the data sheet about choosing appropriate sense resistors. The module has .11R which is optimised for higher currents, so maybe there isn't enough resolution for running at 100mA?
or EMI entering from wires that were too long
This was my first port of call when I saw the voltage overshoots. I wondered if the long (~50 cm) coiled motor leads were having an effect, but cutting them down to 50mm didn't make any noticeable difference.