STM32-NRF24L01-text-code
所属分类:单片机开发
开发工具:Visual C++
文件大小:281KB
下载次数:42
上传日期:2014-06-25 10:35:54
上 传 者:
atomcoretech
说明: 完美实现NRF24L01通讯,与STM32F103系列芯片联合调试成功,通讯稳定
(NRF24L01 perfect realization of communication, combined with the STM32F103 series chip debugging success, communication stability)
文件列表:
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\bsp\bsp.c (5302, 2010-04-02)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\bsp\bsp.h (218, 2009-08-16)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\bsp\watchdog.c (1145, 2009-08-24)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\bsp\watchdog.h (125, 2009-08-24)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\KeiDelAll.bat (445, 2009-08-27)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\BinType.h (6517, 2009-08-02)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\config.h (2074, 2010-04-05)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\encrypt.bat (136, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\encrypt.exe (86016, 2009-05-24)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\globals.h (506, 2009-08-29)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\hex2bin.exe (8192, 2007-10-08)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\include.h (659, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\main.c (1188, 2010-04-05)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\main.h (1132, 2009-08-24)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\myGPIOType.h (9727, 2010-04-05)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\MyStdlib.c (630, 2009-05-23)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\MyStdlib.h (146, 2009-05-15)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\MyType.h (6630, 2009-08-02)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\Project.Uv2 (10363, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\RAM.ini (1257, 2009-06-29)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\stm32f10x_conf.h (6311, 2008-09-23)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\stm32f10x_it.c (29291, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\stm32f10x_it.h (3842, 2008-09-23)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\stm32f10x_vector.s (12871, 2008-09-23)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\STM32_Reg.h (8609, 2009-01-23)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\timer.c (1216, 2009-06-29)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\main\timer.h (182, 2009-06-30)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\memory\spi.c (2390, 2010-04-05)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\memory\spi_config.h (2224, 2010-04-02)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\NRF24L01\nrf24l01.c (12560, 2010-04-05)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\NRF24L01\nrf24l01.h (248, 2010-04-01)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\LstFlash\stm32.map (77858, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\LstFlashIAP\stm32.map (77858, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\LstRAM\STM32.map (72943, 2010-04-05)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\LstSim\STM32.map (77858, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\ObjFlash\ExtDll.iex (19, 2010-03-31)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\ObjFlash\stm32.hex (7873, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\ObjFlash\stm32.htm (41658, 2010-04-04)
nrf24接收(模拟SPI)BHS-STM32\nrf24接收(模拟SPI) BHS-STM32\out\ObjFlash\stm32.sct (479, 2009-08-29)
... ...
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/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******
近期下载者:
相关文件:
收藏者: