Skip to main content
Am.14
Visitor II
January 28, 2019
Question

Example setup control system IC L6472 parametrs for target steper motor.

  • January 28, 2019
  • 1 reply
  • 557 views

Dear ST.

I setup IC L6472 for my steper motor and i am need example calculation sequnce for precise seti control registers/

Can you write example calculation control registers values for motor with L = 3.6 mG and R = 1.8 om?

And second question:

Can you write normal sequnce comands for change STEP_MODE on the fly?

On my sequnce i have spurios bug with wrong direction drive moto after Run commands?

My sequnce

uint8_t StepModeW    = g_StepMode | 0x8;

   cSPIN_Hard_HiZ();

   cSPIN_Registers_Set(&g_cSPIN);

   cSPIN_SetAcc(ACC);

   cSPIN_SetDec(DEC);

   cSPIN_SetMinSpeed(BeginSpeed);

   cSPIN_Set_Param(cSPIN_STEP_MODE,(uint8_t)(StepModeW));

   cSPIN_Set_Param(cSPIN_ABS_POS,0);

   cSPIN_Set_Param(cSPIN_EL_POS,0); 

   cSPIN_Reset_Pos();

   cSPIN_Run(Direction,EndSpeedW);

My MCU Clock configuration: Core:168 Mhz APB1 and APB2 CLK 21 Mhz SPI CLK:2.625 Mhz

This topic has been closed for replies.

1 reply

Enrico Poli
ST Employee
February 18, 2019

Dear, my recommended setup is the following:

  • TON_MIN = 3 us
  • OFF_FAST = 12 us
  • FAST_STEP = 12 us
  • TOFF_MIN = 22 us
  • TSW = 44 us