| поискавой системы для электроныых деталей |
|
UM1691 датащи(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1691 датащи(HTML) 35 Page - STMicroelectronics |
|
35 / 41 page ![]() DocID025486 Rev 2 35/41 UM1691 General description 41 The FW L6470 library has been tested on the L6470H DISCOVERY board R1. The main program contains a commented demonstration sequence which uses all the FW L6470 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 L6470 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 L6470 SW pin release. 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 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 L6470 FW library, the L6470 Discovery board HW does not allow it. Please contact ST support if you want more information on “Daisy Chain” mode testing or implementation. The FW L6470 library consists of the following files: user_motion/dspin/inc/stm32f10x_conf.h Library configuration file user_motion/dspin/src/stm32f10x_it.cInterrupt handlers user_motion/dspin/inc/stm32f10x_it.hHeader for stm32f10x_it.c user_motion/dspin/inc/clock.h System clock setup related header user_motion/dspin/src/clock.c System clock source file user_motion/dspin/inc/dspin.h L6470 definitions header user_motion/dspin/src/dspin.c L6470 routines source file user_motion/dspin/inc/dspin_config.hdSPIN configuration parameters (this file can be generated by the GUI) user_motion/dspin/inc/main.h Main header file user_motion/dspin/src/main.c Main program user_motion/dspin/inc/pre_include.hFirst header file included by the preprocessor user_motion/dspin/readme.txt Information on the files 4.6.3 Demonstration sequence description The demonstration sequence description is for one L6470 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. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |