Electronic Components Datasheet Search |
|
UM1756 Datasheet(PDF) 44 Page - STMicroelectronics |
|
UM1756 Datasheet(HTML) 44 Page - STMicroelectronics |
44 / 49 page Programming section UM1756 44/49 DocID026263 Rev 2 Initialization and configuration 1. Initialize peripherals 2. LED_READY (GREEN) is lighted up, other LEDs are switched off. 3. LED check sequence: a) LED_ERROR (RED) is switched ON b) LED_BUSY (ORANGE) is switched ON c) LED_SPARE (YELLOW) is switched ON d) LED_ERROR (RED), LED_BUSY (ORANGE) and LED_SPARE (YELLOW) are switched OFF 4. Resets and puts device into standby mode. The STBY_RESET pin goes low for a few hundreds of s and then goes high. 5. Program all registers | SetParam (PARAM, VALUE). Flag signal management 6. Read Status register content | GetStatus 7. Interrupt configuration for FLAG signal 8. Motor runs at constant speed of 400 steps/s forward direction | Run (DIR, SPD) 9. Tentative to write to the current motor absolute position register while the motor is running, as a consequence the LED_ERROR (RED) is lighted up | SetParam (PARAM, VALUE) 10. Get Status to clear FLAG due to non-performable command, as a consequence the LED_ERROR (RED) is switched off | GetStatus 11. Motor stops smoothly | SoftStop 12. Wait until not busy - busy pin test (L648x pin 22). Busy signal management 13. Interrupt configuration for BUSY signal 14. Motor moves by 100,000 steps in reverse direction | Move (DIR, N_STEP) 15. During busy time the LED_BUSY (ORANGE) is switched ON 16. Device disables the power bridges after a deceleration to zero phase | SoftHiZ 17. LED_BUSY (ORANGE) is switched OFF. The LED_BUSY after the point 7 and the LED_ERROR after the point 13 are tied respectively to the BUSY/SYNC pin and the FLAG pin. So for example they are lighted up when the motor accelerates or decelerates. This is happening in the remaining part of the demonstration although not mentioned. Various application commands examples 18. Motor moves by 60,000 steps forward | Move (DIR, N_STEP) 19. Wait until not busy - busy pin test (pin 22). 20. The L6480 only: sends the device command setting hold duty cycle to 0.5%, sends the device command changing hold current to 40 mA. The L6482 only: sends the device command setting hold current to 40 mA, sends the device command setting run current to 200 mA.| SetParam (PARAM, VALUE). |
Similar Part No. - UM1756 |
|
Similar Description - UM1756 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |