Electronic Components Datasheet Search
  English  ▼

X  

UM1756 Datasheet(PDF) 46 Page - STMicroelectronics

Part # UM1756
Description  The EVAL6480H-DISC and EVAL6482H-DISC are low cost development tools based
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1756 Datasheet(HTML) 46 Page - STMicroelectronics

Back Button UM1756 Datasheet HTML 41Page - STMicroelectronics UM1756 Datasheet HTML 42Page - STMicroelectronics UM1756 Datasheet HTML 43Page - STMicroelectronics UM1756 Datasheet HTML 44Page - STMicroelectronics UM1756 Datasheet HTML 45Page - STMicroelectronics UM1756 Datasheet HTML 46Page - STMicroelectronics UM1756 Datasheet HTML 47Page - STMicroelectronics UM1756 Datasheet HTML 48Page - STMicroelectronics UM1756 Datasheet HTML 49Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 46 / 49 page
background image
Programming section
UM1756
46/49
DocID026263 Rev 2
Release SW example
49. Motor motion in 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 (pin 22).
53. Motor goes to the home position set by the ReleaseSW command | GoHome.
54. Wait until not busy - busy pin test (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 step clock mode at 2000 steps/s in forward direction for a few seconds
while a 2 kHz clock signal from the MCU is applied to the 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).
5.4.4
Create a project using the FW library package
Using your preferred IDE, create a new project.
In project options, properties or settings:
Select for the device, the ST STM32F105xB.
Use the CMSIS library.
Edit the preprocessor defined symbols and add:
STM32F10X_CL
USE_STDPERIPH_DRIVER
ST_CSPIN_6480H_DISCOVERY
The flag ST_CSPIN_6480H_DISCOVERY is used for both L6480 and L6482 chips. It is
used to distinguish boards (i.e. the DISC board from the PCC009V2 board).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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