资源简介
基于DWM1000 官方API的测距程序,一直到了Keil 版本,可以直接使用MDK打开,dwm1000 uwb学习基础入门必看,还有三基站一标签定位的keil源码,需要的留言
代码片段和文件信息
/*! ------------------------------------------------------------------------------------------------------------------
* @file deca_device.c
* @brief DecaWave device configuration and control functions
*
* @attention
*
* Copyright 2013 (c) DecaWave Ltd Dublin Ireland.
*
* All rights reserved.
*
*/
#include “deca_types.h“
#include “deca_param_types.h“
#include “deca_regs.h“
#include “deca_device_api.h“
#include “deca_sleep.h“
#include “port.h“
// Defines for enable_clocks function
#define FORCE_SYS_XTI 0
#define ENABLE_ALL_SEQ 1
#define FORCE_SYS_PLL 2
#define READ_ACC_ON 7
#define READ_ACC_OFF 8
#define FORCE_OTP_ON 11
#define FORCE_OTP_OFF 12
#define FORCE_TX_PLL 13
// #define DWT_API_ERROR_CHECK // define so API checks config input parameters
// -------------------------------------------------------------------------------------------------------------------
//
// Internal functions for controlling and configuring the device
//
// -------------------------------------------------------------------------------------------------------------------
// Enable and Configure specified clocks
void _dwt_enableclocks(int clocks) ;
// Configure the ucode (FP algorithm) parameters
void _dwt_configlde(int prf);
// Load ucode from OTP/ROM
void _dwt_loaducodefromrom(void);
// Read non-volatile memory
uint32 _dwt_otpread(uint32 address);
// Program the non-volatile memory
uint32 _dwt_otpprogword32(uint32 data uint16 address);
// Upload the device configuration into always on memory
void _dwt_aonarrayupload(void);
// -------------------------------------------------------------------------------------------------------------------
/*!
* Static data for DW1000 DecaWave Transceiver control
*/
// -------------------------------------------------------------------------------------------------------------------
// Structure to hold device data
typedef struct
{
uint32 deviceID ;
uint32 partID ;
uint32 lotID ;
uint8 chan; // Added channel here - used in the reading of accumulator
uint8 longframes ; // Flag in non-standard long frame mode
uint8 otprev ; // OTP revision number (read during initialisation)
uint32 txFCTRL ; // Keep TX_FCTRL register config
uint8 xtrim; // XTAL trim value read from OTP
uint8 dblbuffon; // Double RX buffer mode flag
uint32 sysCFGreg ; // Local copy of system config register
uint16 sleep_mode; // Used for automatic reloading of LDO tune and microcode at wake-up
dwt_callback_data_t cdata; // Callback data structure
uint8 wait4resp ; // wait4response was set with last TX start command
int prfIndex ;
void (*dwt_txcallback)(const dwt_callback_data_t *txd);
void (*dwt_rxcallback)(const dwt_callback_dat
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 116291 2017-06-26 14:05 测距源码\decadriver\deca_device.c
文件 62414 2015-11-30 22:50 测距源码\decadriver\deca_device_api.h
文件 3952 2015-12-03 23:48 测距源码\decadriver\deca_params_init.c
文件 1754 2015-12-03 23:48 测距源码\decadriver\deca_param_types.h
文件 14481 2015-11-27 19:30 测距源码\decadriver\deca_range_tables.c
文件 76888 2015-12-03 23:48 测距源码\decadriver\deca_regs.h
文件 1124 2015-11-13 23:17 测距源码\decadriver\deca_types.h
文件 1177 2015-12-04 00:16 测距源码\decadriver\deca_version.h
文件 17273 2010-06-07 10:25 测距源码\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2011-02-09 14:59 测距源码\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
文件 26297 2011-03-14 12:31 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Release_Notes.html
文件 15766 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15503 2011-10-06 21:43 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 15692 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13656 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14073 2011-03-10 10:51 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2011-03-10 10:51 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
文件 13072 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
文件 13160 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
文件 12482 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd_vl.s
文件 9814 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s
文件 10562 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
文件 10269 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md.s
文件 11058 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md_vl.s
文件 13261 2011-03-10 10:52 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_xl.s
文件 16626 2011-03-10 10:53 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_cl.s
文件 16229 2011-03-10 10:53 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd.s
文件 15675 2011-03-10 10:53 测距源码\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd_vl.s
............此处省略352个文件信息
相关资源
- VL53L0X激光测距传感器资料
- STM32 SRAM启动的 KeiL 配置
- 用两个摄像头实现,双目标定,双目
- UWB中基于TDOA定位方法的Fang算法论文参
- 基于AT89C51的十字路口交通灯设计pro
- 物联网行业新突破:UWB人员定位技术
- opencv视觉测距
- keil调试仿真技巧-从入门到精通
- 飞控代码源码-台湾飞控大神版
- 基于51单片机的超声波测距技术实现含
- Keil4破解版下载150129
- 基于51单片机的十字路口交通灯Protu
- keilc51源代码
- 如何使用KEIL MDK程序
- RTOS RTX(V1)keil自带的操作系统STM32可
- proteus仿真、keil4、DHT11、LCD1602
- 论文研究 - Barkhausen检测距离对冷轧低
- 实现按键控制设定温度值,控制继电
- Keil.STM32L0xx_DFP.2.0.0.pack
- Keil5下的STM32F407程序
- 基于51单片机超声波测距毕业设计
- HC-SR04超声波模块(包含基于51stm32配套
- stm32f103c8t6 Keil led工程
- STM32f103C8t6型单片机用于超声波测距
- bumblebee双目标定/伪彩色深度图/鼠标测
- DWM1000中文版数据手册
- 超声波车速测量系统设计
- STM32 MODBUS_RTU从站程序,KEIL编写
- Keil Array Visualization 1.4.1 beta
- STM32F103内部Flash读写源码可直接运行
评论
共有 条评论