uwb-dw1000 radio configurations More...

Detailed Description

uwb-dw1000 radio configurations

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file uwb_dw1000_config.h.

#include "dw1000/dw1000_regs.h"
+ Include dependency graph for uwb_dw1000_config.h:

Go to the source code of this file.

Macros

#define DW1000_ROLE_DEFAULT   0x0
 Default UWB Role. More...
 
#define DW1000_NSFD_DEFAULT   8
 Default Number of symbols in start of frame delimiter.
 
#define DW1000_NSYNC_DEFAULT   128
 Default Number of symbols in preamble sequence.
 
#define DW1000_NPHR_DEFAULT   21
 Default Number of symbols in phy header.
 
#define DW1000_CHANNEL_DEFAULT   5
 Default channel.
 
#define DW1000_TX_PGDELAY_DEFAULT   TC_PGDELAY_CH5
 Default Pulse generator delay.
 
#define DW1000_PRF_DEFAULT   DWT_PRF_64M
 Default UWB Pulse Repetition Frequency (MHz) More...
 
#define DW1000_DATARATE_DEFAULT   DWT_BR_6M8
 Default UWB Datarate (110k, 850k, 6m8) More...
 
#define DW1000_PACLEN_DEFAULT   DWT_PAC8
 Default UWB Acquisition Chunk Size (Relates to RX preamble length) More...
 
#define DW1000_RX_PREAM_CIDX_DEFAULT   9
 Default UWB RX Preamble Code Index.
 
#define DW1000_RX_SFD_TYPE_DEFAULT   true
 Default UWB SFD Type. More...
 
#define DW1000_RX_SFD_TO_DEFAULT   (128 + 1 + 8 - 8) /* (preamble length + 1 + SFD length - PAC size) */
 Default UWB SFD Timeout (-1=auto, timeout in symbols) More...
 
#define DW1000_RX_PHR_MODE_DEFAULT   DWT_PHRMODE_EXT
 Default UWB PHR Mode. More...
 
#define DW1000_RX_DIAGNOSTIC   0
 Enable RX Frame Quality diagnositics (rssi, fppl, etc.)
 
#define DW1000_TX_PREAM_CIDX_DEAULT   9
 Default UWB RX Antenna separation distance in m.
 
#define DW1000_TX_PREAM_LEN_DEFAULT   DWT_PLEN_128
 Default UWB Preamble Length. More...
 
#define DW1000_RX_ANTSEP_DEFAULT   0.0205
 Default UWB RX Antenna separation distance in m.
 
#define DW1000_FRAME_FILTER_DEFAULT   0x0000
 Default MAC FrameFilter (0x0000 = no filter)
 
#define DW1000_XTAL_TRIM_DEFAULT   0x10
 Default MAC FrameFilter Crystal Trim value, 0xff == not set.
 
#define DW1000_RX_STABLE_TIME_US   6
 Time until the Receiver is stable, (in us)
 
#define DW1000_TRXOFF_ENABLE   1
 Enables forced TRXOFF in start_tx and start_tx interface.
 
#define DW1000_DOUBLE_BUFFER_ENABLE   false
 Enables double buffer.
 
#define DW1000_LDE_ENABLE   true
 Load LDE microcode on wake up.
 
#define DW1000_LDO_ENABLE   false
 Load the LDO tune value on wake up.
 
#define DW1000_SLEEP_ENABLE   true
 Enable sleep.
 
#define DW1000_WAKEUP_RX_ENABLE   true
 Wakeup to Rx state.
 
#define DW1000_RX_AUTO_ENABLE   true
 On error re-enable.
 

Macro Definition Documentation

◆ DW1000_DATARATE_DEFAULT

#define DW1000_DATARATE_DEFAULT   DWT_BR_6M8

Default UWB Datarate (110k, 850k, 6m8)

  • DWT_BR_110K
  • DWT_BR_850K
  • DWT_BR_6M8

Definition at line 113 of file uwb_dw1000_config.h.

◆ DW1000_PACLEN_DEFAULT

#define DW1000_PACLEN_DEFAULT   DWT_PAC8

Default UWB Acquisition Chunk Size (Relates to RX preamble length)

  • 8
  • 16
  • 32
  • 64

Definition at line 125 of file uwb_dw1000_config.h.

◆ DW1000_PRF_DEFAULT

#define DW1000_PRF_DEFAULT   DWT_PRF_64M

Default UWB Pulse Repetition Frequency (MHz)

  • DWT_PRF_16M
  • DWT_PRF_64M

Definition at line 102 of file uwb_dw1000_config.h.

◆ DW1000_ROLE_DEFAULT

#define DW1000_ROLE_DEFAULT   0x0

Default UWB Role.

  • Tag "0x00"
  • Node "0x01"
  • Pan master "0x02"
  • Anchor "0x04"
  • Panmaster "0x07"

Definition at line 39 of file uwb_dw1000_config.h.

◆ DW1000_RX_PHR_MODE_DEFAULT

#define DW1000_RX_PHR_MODE_DEFAULT   DWT_PHRMODE_EXT

Default UWB PHR Mode.

  • 0x0 - standard DWT_PHRMODE_STD
  • 0x3 - extended frames DWT_PHRMODE_EXT

Definition at line 160 of file uwb_dw1000_config.h.

◆ DW1000_RX_SFD_TO_DEFAULT

#define DW1000_RX_SFD_TO_DEFAULT   (128 + 1 + 8 - 8) /* (preamble length + 1 + SFD length - PAC size) */

Default UWB SFD Timeout (-1=auto, timeout in symbols)

Definition at line 150 of file uwb_dw1000_config.h.

◆ DW1000_RX_SFD_TYPE_DEFAULT

#define DW1000_RX_SFD_TYPE_DEFAULT   true

Default UWB SFD Type.

  • true: use non standard SFD for better performance
  • false: use standard SFD

Definition at line 142 of file uwb_dw1000_config.h.

◆ DW1000_TX_PREAM_LEN_DEFAULT

#define DW1000_TX_PREAM_LEN_DEFAULT   DWT_PLEN_128

Default UWB Preamble Length.

  • DWT_PLEN_4096 : Standard preamble length 4096 symbols
  • DWT_PLEN_2048 : Non-standard preamble length 2048 symbols
  • DWT_PLEN_1536 : Non-standard preamble length 1536 symbols
  • DWT_PLEN_1024 : Standard preamble length 1024 symbols
  • DWT_PLEN_512 : Non-standard preamble length 512 symbols
  • DWT_PLEN_256 : Non-standard preamble length 256 symbols
  • DWT_PLEN_128 : Non-standard preamble length 128 symbols
  • DWT_PLEN_64 : Standard preamble length 64 symbols
  • DWT_PLEN_32 : When setting length 32 symbols this is 0x0, which is programmed to byte 2 of the TX_FCTRL register
  • DWT_PLEN_72 : Non-standard length 72

Definition at line 193 of file uwb_dw1000_config.h.