| Electronic Components Datasheet Search |
|
UM1692 Datasheet(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1692 Datasheet(HTML) 39 Page - STMicroelectronics |
|
39 / 42 page ![]() DocID025487 Rev 2 39/42 UM1692 General description 42 “Go Until” example 40. Interrupt configuration for the SW MOTOR 41. Motor motion in a forward direction at speed 400 steps/s until the user puts a jumper on J8, the LED_SPARE (YELLOW) toggles until the user puts a jumper on J8 | GoUntil (ACT, DIR, SPD) 42. Motor stops 43. The LED_SPARE (YELLOW) is switched off. 44. Wait until not busy - busy pin test (L6472 pin 22). 45. Motor moves by 50,000 steps reverse | Move (DIR, N_STEP) 46. Motor moves to the position saved by the GoUntil command into the MARK register, so 50000 steps forward | GoMark 47. Wait until not busy - busy pin test (L6472 pin 22). 48. Nothing happens during a few seconds. Release SW example 49. Motor motion in a reverse direction at minimum speed until the user removes the jumper on J8, the LED_SPARE (YELLOW) toggles until the user removes the jumper on J8 | ReleaseSW (ACT, DIR) 50. The LED_SPARE (YELLOW) is switched off. 51. Motor moves by 100,000 steps forward | Move (DIR, N_STEP) 52. Wait until not busy - busy pin test (L6472 pin 22). 53. Motor goes to home position set by the “ReleaseSW” command | GoHome 54. Wait until not busy - busy pin test (L6472 pin 22). Step clock mode example 55. “Get Status” to clear FLAG due to switch turn-on event (falling edge on the SW pin) | GetStatus 56. Motor runs in the step clock mode at 2000 steps/s in a forward direction for a few seconds while a 2 kHz clock signal from the MCU is applied to the L6472 STCK pin (25) | StepClock (DIR) 57. The above cited clock is stopped. Buttons interrupt example 58. Buttons interrupt configuration: a) Button_A - Starts the motor at quarter of max. speed if it is stopped | Run (DIR, SPD) - Doubles the motor speed if it is already running | Run (DIR, SPD) b) Button_B - Disables the power bridges after a smooth stop if the motor is running at minimum speed | SoftHiZ - Halves the motor speed if the motor is running above minimum speed | Run (DIR, SPD). |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |