zephyr/drivers/ieee802154/Kconfig.dw1000
Johann Fischer 8f983c3654 drivers: ieee802154: add Decawave DW1000 driver
Add initial support for Decawave DW1000
IEEE 802.15.4-2011 UWB transceiver.

Driver has basic functionality. Additional functions such
as reading out timestamps and delayed TX were implemented
for test purposes, but also require support in the 802154
subsystem.

Register, sub-register, and defaults defines in the file
ieee802154_dw1000_regs.h are taken from the Decawave's
DW1000 driver for the Mynewt OS.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-05-07 23:30:58 -05:00

37 lines
1 KiB
Plaintext

# Copyright (c) 2020 PHYTEC Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
menuconfig IEEE802154_DW1000
bool "Decawave DW1000 Driver support"
depends on NETWORKING && SPI
if IEEE802154_DW1000
config IEEE802154_DW1000_SNIFF_ONT
int "SNIFF on time"
default 0
range 0 15
help
SNIFF on time in unit of PAC. The minimum on time is the duration
of two PACs. The SNIFF counter always adds 1 PAC unit to the on-time
count. The SNIFF_ONT value should be in range of 1-15.
Zero value disables SNIFF mode.
config IEEE802154_DW1000_SNIFF_OFFT
int "SNIFF off time"
default 16
range 1 255
help
SNIFF off time in unit of approximate 1 microsecond.
config IEEE802154_DW1000_INIT_PRIO
int "DW1000 initialization priority"
default 80
help
Set the initialization priority number. Do not mess with it unless
you know what you are doing. Beware DW1000 requires gpio and spi to
be ready first (and sometime gpio should be the very first as spi
might need it too). And of course it has to start before the net stack.
endif