Hi,
This is regarding DRV8834 step selection Mode.
We were using M1=1 & M0=1 mode(1/16 micro-step mode) .Due to application requirement ,shifted to M1=1 & M0=Z mode(1/32 micro-step mode)
At step frequency 1KHz, Motor works as intended with 1/32 micro-step mode,1/16 micro-step mode,1/8 micro-step mode.
but for full step mode ,motor behavior is different.If you give 1 pulse, it moves 1 step.If you give 10 pulse,it moves 1 or 2 steps.
Tried the same by providing step signal through Function Generator.If you give 1 pulse, it moves 1 step.If you give 10 pulse,it moves 1 or 2 steps.
In both case behavior is same.
Voltage at M1,M0 for full step mode is 2 to 3mV. Also tried by shorting M1 & M0 directly to ground.
Connections are as below
Microcontroler GPIO Pins (IOH=-4mA) >>>>>>1K resistor>>>>M0 (DRV8834)
Microcontroler GPIO Pins (IOH=-4mA) >>>>>>1K resistor>>>>M1 (DRV8834)
For Z (high Impedance),Microcontroler GPIO Pins are configured as input-Open drain without Pull-up & Pull Down
For High/low,Microcontroler GPIO Pins are configured as output
While experimenting on step signal through function generator,we reduced step frequency to 50Hz.
Motor works as intended at full step mode.If you give 1 pulse, it moves 1 step.If you give 10 pulse,it moves 10 steps.
Same is observed upto 60Hz.
Above 70 Hz ,motor behavior is as mentioned earlier.
Stepper Motor supports 32microsteps. Motor datasheet (SH2141-5541) is attached.
Request you to assist us on this misbehavior of motor.