Electronic Components Datasheet Search
  English  ▼

X  

UM1756 Datasheet(PDF) 43 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) 43 Page - STMicroelectronics

Back Button UM1756 Datasheet HTML 39Page - STMicroelectronics UM1756 Datasheet HTML 40Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 49 page
background image
DocID026263 Rev 2
43/49
UM1756
Programming section
49
The L648x FW library has been tested on the L6480H Discovery board R1 and the L6482H
Discovery R1. The main program contains a commented demonstration sequence which
uses all the library supported features. This sequence is interactive and to proceed to the
end some user action is necessary.
For the “GoUntil” feature demonstration, when the LED SPARE is blinking for the first time,
the user shall close the SW MOTOR jumper J8. This triggers a switch turn-on event at the
L648x SW pin.
For the “ReleaseSW” feature demonstration, when the LED SPARE is blinking again, the
user shall open the SW MOTOR jumper J8. This triggers a L648x SW pin release.
At the end of the demonstration sequence, the GPIO connected to the LEFT and RIGHT
buttons are configured to trigger interrupts on the microcontroller:
On a LEFT button press, the microcontroller starts the motor at quarter of max. speed if it is
stopped, or doubles the motor speed if it is already running.
On a LEFT button press, the microcontroller disables the power bridges after a smooth stop
if the motor is running at minimum speed, or halves the motor speed if the motor is running
above minimum speed.
Even if the “Daisy Chain” mode is supported in the L648x FW library, the board HW does not
allow it. Please contact ST support if you want more information on “Daisy Chain” mode
testing or implementation.
The L648x FW library consists of the following files:
user_motion/cspin/inc/stm32f10x_conf.h Library configuration file
user_motion/cspin/src/stm32f10x_it.c
Interrupt handlers
user_motion/cspin/inc/stm32f10x_it.h
Header for stm32f10x_it.c
user_motion/cspin/inc/clock.h
System clock setup related header
user_motion/cspin/src/clock.c
System clock source file
user_motion/cspin/inc/cspin.h
Definitions header
user_motion/cspin/src/cspin.c
Routines source file
user_motion/cspin/inc/cspin_config.h
Configuration parameters (this file can be
generated by the GUI)
user_motion/cspin/inc/main.h
Main header file
user_motion/cspin/src/main.c
Main program
user_motion/cspin/inc/pre_include.h
First header file included by the preprocessor
user_motion/cspin/readme.txt
Information on the files
5.4.3
Demo sequence description
The demonstration sequence description is for one L6480 or L6482 device without daisy
chaining. The application commands used are noted after the pipe character. The
application commands traffic can be seen on the SPI interface, pins 18, 19, 20 and 23 which
are respectively SDO, CK, SDI and CS.



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