Loading...
Searching...
No Matches

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 CONFIG_DW1000_ROLE_DEFAULT   0x0
 Default UWB Role.
 
#define CONFIG_DW1000_NSFD_DEFAULT   8
 Default Number of symbols in start of frame delimiter.
 
#define CONFIG_DW1000_NSYNC_DEFAULT   128
 Default Number of symbols in preamble sequence.
 
#define CONFIG_DW1000_NPHR_DEFAULT   21
 Default Number of symbols in phy header.
 
#define CONFIG_DW1000_CHANNEL_DEFAULT   5
 Default channel.
 
#define CONFIG_DW1000_PRF_DEFAULT   DWT_PRF_64M
 Default Pulse generator delay.
 
#define CONFIG_DW1000_DATARATE_DEFAULT   DWT_BR_6M8
 Default UWB Datarate (110k, 850k, 6m8)
 
#define CONFIG_DW1000_PACLEN_DEFAULT   DWT_PAC8
 Default UWB Acquisition Chunk Size (Relates to RX preamble length)
 
#define CONFIG_DW1000_RX_PREAM_CIDX_DEFAULT   9
 Default UWB RX Preamble Code Index.
 
#define CONFIG_DW1000_RX_SFD_TYPE_DEFAULT   true
 Default UWB SFD Type.
 
#define CONFIG_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)
 
#define CONFIG_DW1000_RX_PHR_MODE_DEFAULT   DWT_PHRMODE_EXT
 Default UWB PHR Mode.
 
#define CONFIG_DW1000_RX_DIAGNOSTIC   0
 Enable RX Frame Quality diagnositics (rssi, fppl, etc.)
 
#define CONFIG_DW1000_TX_PREAM_CIDX_DEAULT   9
 Default UWB RX Antenna separation distance in m.
 
#define CONFIG_DW1000_TX_PREAM_LEN_DEFAULT   DWT_PLEN_128
 Default UWB Preamble Length.
 
#define CONFIG_DW1000_RX_ANTSEP_DEFAULT   0.0205
 Default UWB RX Antenna separation distance in m.
 
#define CONFIG_DW1000_FRAME_FILTER_DEFAULT   0x00ff
 Default MAC FrameFilter (0x00ff = frame filtering enabled, all frames matching PANID and destination address accepted)
 
#define CONFIG_DW1000_XTAL_TRIM_DEFAULT   0x10
 Default MAC FrameFilter Crystal Trim value, 0xff == not set.
 
#define CONFIG_DW1000_RX_STABLE_TIME_US   6
 Time until the Receiver is stable, (in us)
 
#define CONFIG_DW1000_TRXOFF_ENABLE   1
 Enables forced TRXOFF in start_tx and start_tx interface.
 
#define DW1000_DOUBLE_BUFFER_ENABLE   false
 Enables double buffer.
 
#define CONFIG_DW1000_LDE_ENABLE   true
 Load LDE microcode on wake up.
 
#define CONFIG_DW1000_LDO_ENABLE   false
 Load the LDO tune value on wake up.
 
#define CONFIG_DW1000_SLEEP_ENABLE   true
 Enable sleep.
 
#define CONFIG_DW1000_WAKEUP_RX_ENABLE   true
 Wakeup to Rx state.
 
#define CONFIG_DW1000_RX_AUTO_ENABLE   true
 On error re-enable.
 

Macro Definition Documentation

◆ CONFIG_DW1000_CHANNEL_DEFAULT

#define CONFIG_DW1000_CHANNEL_DEFAULT   5

Default channel.

Definition at line 67 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_DATARATE_DEFAULT

#define CONFIG_DW1000_DATARATE_DEFAULT   DWT_BR_6M8

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

  • DWT_BR_110K
  • DWT_BR_850K
  • DWT_BR_6M8

Definition at line 111 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_FRAME_FILTER_DEFAULT

#define CONFIG_DW1000_FRAME_FILTER_DEFAULT   0x00ff

Default MAC FrameFilter (0x00ff = frame filtering enabled, all frames matching PANID and destination address accepted)

Definition at line 205 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_LDE_ENABLE

#define CONFIG_DW1000_LDE_ENABLE   true

Load LDE microcode on wake up.

Definition at line 238 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_LDO_ENABLE

#define CONFIG_DW1000_LDO_ENABLE   false

Load the LDO tune value on wake up.

Definition at line 245 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_NPHR_DEFAULT

#define CONFIG_DW1000_NPHR_DEFAULT   21

Default Number of symbols in phy header.

Definition at line 60 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_NSFD_DEFAULT

#define CONFIG_DW1000_NSFD_DEFAULT   8

Default Number of symbols in start of frame delimiter.

Definition at line 46 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_NSYNC_DEFAULT

#define CONFIG_DW1000_NSYNC_DEFAULT   128

Default Number of symbols in preamble sequence.

Definition at line 53 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_PACLEN_DEFAULT

#define CONFIG_DW1000_PACLEN_DEFAULT   DWT_PAC8

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

  • 8
  • 16
  • 32
  • 64

Definition at line 123 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_PRF_DEFAULT

#define CONFIG_DW1000_PRF_DEFAULT   DWT_PRF_64M

Default Pulse generator delay.

Default UWB Pulse Repetition Frequency (MHz)

  • DWT_PRF_16M
  • DWT_PRF_64M

Definition at line 100 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_ROLE_DEFAULT

#define CONFIG_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.

◆ CONFIG_DW1000_RX_ANTSEP_DEFAULT

#define CONFIG_DW1000_RX_ANTSEP_DEFAULT   0.0205

Default UWB RX Antenna separation distance in m.

Definition at line 197 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_AUTO_ENABLE

#define CONFIG_DW1000_RX_AUTO_ENABLE   true

On error re-enable.

Definition at line 266 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_DIAGNOSTIC

#define CONFIG_DW1000_RX_DIAGNOSTIC   0

Enable RX Frame Quality diagnositics (rssi, fppl, etc.)

Definition at line 165 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_PHR_MODE_DEFAULT

#define CONFIG_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 158 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_PREAM_CIDX_DEFAULT

#define CONFIG_DW1000_RX_PREAM_CIDX_DEFAULT   9

Default UWB RX Preamble Code Index.

Definition at line 130 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_SFD_TO_DEFAULT

#define CONFIG_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 148 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_SFD_TYPE_DEFAULT

#define CONFIG_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 140 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_RX_STABLE_TIME_US

#define CONFIG_DW1000_RX_STABLE_TIME_US   6

Time until the Receiver is stable, (in us)

Definition at line 219 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_SLEEP_ENABLE

#define CONFIG_DW1000_SLEEP_ENABLE   true

Enable sleep.

Definition at line 252 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_TRXOFF_ENABLE

#define CONFIG_DW1000_TRXOFF_ENABLE   1

Enables forced TRXOFF in start_tx and start_tx interface.

Definition at line 226 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_TX_PREAM_CIDX_DEAULT

#define CONFIG_DW1000_TX_PREAM_CIDX_DEAULT   9

Default UWB RX Antenna separation distance in m.

Definition at line 172 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_TX_PREAM_LEN_DEFAULT

#define CONFIG_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 190 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_WAKEUP_RX_ENABLE

#define CONFIG_DW1000_WAKEUP_RX_ENABLE   true

Wakeup to Rx state.

Definition at line 259 of file uwb_dw1000_config.h.

◆ CONFIG_DW1000_XTAL_TRIM_DEFAULT

#define CONFIG_DW1000_XTAL_TRIM_DEFAULT   0x10

Default MAC FrameFilter Crystal Trim value, 0xff == not set.

Definition at line 212 of file uwb_dw1000_config.h.

◆ DW1000_DOUBLE_BUFFER_ENABLE

#define DW1000_DOUBLE_BUFFER_ENABLE   false

Enables double buffer.

Definition at line 232 of file uwb_dw1000_config.h.