stepmotor
所属分类:DSP编程
开发工具:Visual C++
文件大小:1385KB
下载次数:536
上传日期:2011-08-05 16:59:18
上 传 者:
zhangjia
说明: 基于STM32的步进电机的驱动控制 经过测试成功控制
(Based on the STM32 stepper motor drive control has been tested successfully controlled)
文件列表:
步进电机\cortexm3_macro.s (10308, 2008-09-21)
步进电机\gpio.plg (2116, 2010-05-02)
步进电机\gpio.sct (479, 2010-05-02)
步进电机\gpio.tra (2671, 2010-05-02)
步进电机\gpio.uvopt (76703, 2010-06-26)
步进电机\gpio.uvproj (20631, 2010-06-26)
步进电机\gpio_Target 1.dep (21020, 2010-06-26)
步进电机\gpio_uvopt.bak (76703, 2010-06-26)
步进电机\gpio_uvproj.bak (21061, 2010-06-26)
步进电机\JLinkLog.txt (48938, 2010-06-26)
步进电机\library\inc\cortexm3_macro.h (2225, 2008-09-21)
步进电机\library\inc\stm32f10x_adc.h (18854, 2008-09-21)
步进电机\library\inc\stm32f10x_bkp.h (6911, 2008-09-21)
步进电机\library\inc\stm32f10x_can.h (12279, 2008-09-21)
步进电机\library\inc\stm32f10x_crc.h (1881, 2008-09-21)
步进电机\library\inc\stm32f10x_dac.h (9598, 2008-09-21)
步进电机\library\inc\stm32f10x_dbgmcu.h (2859, 2008-09-21)
步进电机\library\inc\stm32f10x_dma.h (17974, 2008-09-21)
步进电机\library\inc\stm32f10x_exti.h (5776, 2008-09-21)
步进电机\library\inc\stm32f10x_flash.h (13996, 2008-09-21)
步进电机\library\inc\stm32f10x_fsmc.h (18487, 2008-09-21)
步进电机\library\inc\stm32f10x_gpio.h (14820, 2008-09-21)
步进电机\library\inc\stm32f10x_i2c.h (15604, 2008-09-21)
步进电机\library\inc\stm32f10x_iwdg.h (3414, 2008-09-21)
步进电机\library\inc\stm32f10x_lib.h (3200, 2008-09-21)
步进电机\library\inc\stm32f10x_map.h (500262, 2008-09-21)
步进电机\library\inc\stm32f10x_nvic.h (19198, 2008-09-21)
步进电机\library\inc\stm32f10x_pwr.h (3865, 2008-09-21)
步进电机\library\inc\stm32f10x_rcc.h (14783, 2008-09-21)
步进电机\library\inc\stm32f10x_rtc.h (3619, 2008-09-21)
步进电机\library\inc\stm32f10x_sdio.h (18326, 2008-09-21)
步进电机\library\inc\stm32f10x_spi.h (13470, 2008-09-21)
步进电机\library\inc\stm32f10x_systick.h (3212, 2008-09-21)
步进电机\library\inc\stm32f10x_tim.h (47203, 2008-09-21)
步进电机\library\inc\stm32f10x_type.h (3388, 2008-09-21)
步进电机\library\inc\stm32f10x_usart.h (14180, 2008-09-21)
步进电机\library\inc\stm32f10x_wwdg.h (2620, 2008-09-21)
步进电机\library\src\stm32f10x_adc.c (58563, 2008-09-21)
步进电机\library\src\stm32f10x_bkp.c (11170, 2008-09-21)
步进电机\library\src\stm32f10x_can.c (31644, 2008-09-21)
... ...
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.0.3
* Date : 09/22/2008
* Description : Description of the SysTick Example.
********************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/
Example description
===================
This example shows how to configure the SysTick to generate a time base equal to
1 ms. The system clock is set to 72 MHz, the SysTick is clocked by the AHB clock
(HCLK) divided by 8.
A "Delay" function is implemented based on the SysTick end-of-count event.
Four LEDs connected to the GPIO_LED Pin 6, Pin 7, Pin 8 and Pin 9 are toggled
with a timing defined by the Delay function.
Directory contents
==================
platform_config.h Evaluation board specific configuration file
stm32f10x_conf.h Library Configuration file
stm32f10x_it.c Interrupt handlers
stm32f10x_it.h Header for stm32f10x_it.c
main.c Main program
main.h Header for main.c
Hardware environment
====================
This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation
boards and can be easily tailored to any other hardware.
To select the STMicroelectronics evaluation board used to run the example, uncomment
the corresponding line in platform_config.h file.
+ STM3210B-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
+ STM3210E-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
How to use it
=============
In order to make the program work, you must do the following:
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files:
+ stm32f10x_lib.c
+ stm32f10x_gpio.c
+ stm32f10x_rcc.c
+ stm32f10x_nvic.c
+ stm32f10x_flash.c
+ stm32f10x_systick.c
- Link all compiled files and load your image into target memory
- Run the example
******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******
近期下载者:
相关文件:
收藏者: