cancel
Showing results for 
Search instead for 
Did you mean: 

POWERSTEP01 in StepClock Mode

bhushan4520
Associate II
Posted on January 01, 2018 at 12:06

Stepper Motor Driver IC POWERSTEP01:

We implemented  POWERSTEP01 on our own PCB.

We are sending command to POWERSTEP01 through on board STM32F072 microcontroller through SPI.

When we send StepClock  command with direction that is 0x58 or 0x59 . The motor shaft gets HOLD but it change the position of the Shaft.

We are finding the reason behind the change of position of the motor shaft after applying stepclock command.

#powerstep01 #stepper-motor #stepclockmode
5 REPLIES 5
estie
Associate II
Posted on February 04, 2018 at 08:26

Maybe you could specify better when is happening.  Is this just once off after power up, every time you send 0x59, if you change direction ?

What commands are you sending to set up the chip after power on ?

Posted on February 05, 2018 at 11:37

Following is sequence of command after power on:

1.PowerStepReset();   by using reset pin

2. Set Powerstep01 in FULL step mode

3. PowerStepSetParam(GATECFG1,( (IGATE32mA<<IGATE_POSITION) | (TCC0875ns<<TCC_POSITION)));//TCC=875ns, Tgate=32mA,Tboost=0,Wden=0

4.  PowerStepSetParam(GATECFG2,((TBLANK0250ns<<TBLANK_POSITION)|(TDT0125ns<<TDT_POSITION)));//Tblank=250ns,Tdt=125ns  

5.PowerStepSetParam(CONFIG,0xB09E);//24 Mhz ext clk,OC_SD enable

6.PowerStepSetParam(MAX_SPEED,0xFFFF); 

7. PowerStepSetParam(ALARM_EN,0xFF);     //All alarm Enable

8. Set_TorK_VAL_OCD_TH(); // Tval Current and OCD threshold

current is set to 2.8 A at Full microstep

When we send StepClock  command with direction that is 0x58 or 0x59 . The motor shaft gets HOLD but it change the position of the Shaft. And it is happening every time as we send StepClock Command.

Posted on February 05, 2018 at 12:27

how much change? Always same direction?  Are you unsetting StepClock mode in between?  If you send a series of StepClock instructions does it advance , virbrate or what?  Try to give a better, more complete description of what is happening, rather than making me ask loads of questions.

Often if you describe a problem thoroughly to someone who is not in front of what you are doing, you will often see what you are missing ( if indeed you are missing something ) or may realise the answer. It's often our assumptions which prevent us from seeing the answer.

Posted on February 05, 2018 at 13:34

We are not giving any step clock pulses. we just want to HOLD the motor. But as soon as we apply stepclock mode command , motor shaft will change the position and after that motor gets hold. 

Posted on February 05, 2018 at 13:38

It does not appear that you have answered a single one of the specific questions I have asked. If you do not ask questions yourself and do not answer questions which may help see what is happening you are not going to get anywhere.