Electronic Components Datasheet Search
  English  ▼

X  

UM1771 Datasheet(PDF) 34 Page - STMicroelectronics

Part # UM1771
Description  The EVAL6474H-DISC is a low cost development tool based
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1771 Datasheet(HTML) 34 Page - STMicroelectronics

Back Button UM1771 Datasheet HTML 30Page - STMicroelectronics UM1771 Datasheet HTML 31Page - STMicroelectronics UM1771 Datasheet HTML 32Page - STMicroelectronics UM1771 Datasheet HTML 33Page - STMicroelectronics UM1771 Datasheet HTML 34Page - STMicroelectronics UM1771 Datasheet HTML 35Page - STMicroelectronics UM1771 Datasheet HTML 36Page - STMicroelectronics UM1771 Datasheet HTML 37Page - STMicroelectronics UM1771 Datasheet HTML 38Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 34 / 38 page
background image
Programming section
UM1771
34/38
DocID026392 Rev 2
At the end of the demonstration sequence, the GPIO connected to LEFT and RIGHT
buttons are configured to trigger interrupts on the microcontroller:
On a LEFT button press, the microcontroller starts the motor which will accelerate up to
max. speed.
On a RIGHT button press, the microcontroller performs a soft stop of the motor.
Even if the “Daisy Chain” mode is supported in the L6474 FW library, the L6474 Discovery
board HW does not allow it. Please contact ST support if you want more information on the
“Daisy Chain” mode testing or implementation.
The FW L6474 library consists of the following files:
user_motion/easyspin/inc/stm32f10x_conf.h
Library configuration file
user_motion/ easyspin /src/stm32f10x_it.c
Interrupt handlers
user_motion/easyspin/inc/stm32f10x_it.h
Header for stm32f10x_it.c
user_motion/easyspin/inc/clock.h
System clock setup related
header
user_motion/ easyspin/src/clock.c
System clock source file
user_motion/easyspin/inc/easyspin.h
L6474 definitions header
user_motion/easyspin/inc/eMotionControl.h
L6474 definitions header
(for motion control routines)
user_motion/easyspin/src/easyspin.c
L6474 routines source file
user_motion/easyspin/src/ eMotionControl.c
L6474 routines source file
(related to motion control)
user_motion/easyspin/inc/easyspin _target_config.h L6474 configuration
parameters (this file can be
generated by the GUI)
user_motion/easyspin/inc/main.h
Main header file
user_motion/easyspin/src/main.c
Main program
user_motion/easyspin/inc/pre_include.h
First header file included by the
preprocessor
user_motion/easyspin/readme.txt
Information on the files
5.4.3
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_EASYSPIN_6474H_DISC
Edit the preprocessor include directories and add:
$PROJ_DIR$\
…\…\…\…\…\…\stm32f10x\CMSIS\CM3\DeviceSupport\ST\STM32F10x
$PROJ_DIR$\…\…\…\…\…\…\stm32f10x\STM32F10x_StdPeriph_Driver\inc
$PROJ_DIR$\…\…\…\…\…\easyspin\inc



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


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