From 70d3c5bc2ad74544767824550137f61b3418e87a Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 20 Jun 2015 02:29:03 +0200 Subject: [PATCH] minor fix and readme update --- DW1000/DW1000.cpp | 10 +++++----- README.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DW1000/DW1000.cpp b/DW1000/DW1000.cpp index e86dc3e0..05602b1a 100644 --- a/DW1000/DW1000.cpp +++ b/DW1000/DW1000.cpp @@ -164,8 +164,7 @@ void DW1000Class::enableMode(const byte mode[]) { setPreambleCode(PREAMBLE_CODE_16MHZ_4); } -void DW1000Class::tune() { - return; +/*void DW1000Class::tune() { // re-tune chip for channel 5 (default) byte agctune1[LEN_AGC_TUNE1]; byte agctune2[LEN_AGC_TUNE2]; @@ -195,9 +194,10 @@ void DW1000Class::tune() { writeBytes(TX_CAL, TC_PGDELAY_SUB, tcpgdelay, LEN_TC_PGDELAY); writeBytes(FS_CTRL, FS_PLLTUNE_SUB, fsplltune, LEN_FS_PLLTUNE); // TODO LDOTUNE, see 2.5.5, p. 21 -} +}*/ -/*void DW1000Class::tune() { +void DW1000Class::tune() { + return; // these registers are going to be tuned/configured byte agctune1[LEN_AGC_TUNE1]; byte agctune2[LEN_AGC_TUNE2]; @@ -512,7 +512,7 @@ void DW1000Class::tune() { writeBytes(FS_CTRL, FS_PLLTUNE_SUB, fsplltune, LEN_FS_PLLTUNE); writeBytes(FS_CTRL, FS_PLLCFG_SUB, fspllcfg, LEN_FS_PLLCFG); // TODO LDOTUNE, see 2.5.5, p. 21 -}*/ +} /* ########################################################################### * #### Interrupt handling ################################################### diff --git a/README.md b/README.md index c6613b56..95e4b99f 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ A library that offers functionality to use Decawave's DW1000 chips/modules with Project state ------------- -**Progress:** 75% (to a first fully configurable, tested and stable release) +**Progress:** 75% (of a first fully configurable, tested and stable release) **Current milestone:** Tuning and testing (sender/receiver, ping-pong and two-way ranging) **Subsequent milestone:** Frame filtering rules, nodes addressing and MAC data format -**General notice:** A more or less stable transmission of messages between two modules is possible at the momement. The code for device tuning currently has issues and is disabled. This may lead to a few percent increased rate of dropped messages (those not received at all or which did not pass the CRC check). +**General notice:** A (pretty much) stable transmission of messages between two modules is possible at the momement. The code for device tuning currently has issues and is disabled. This may lead to a few percent increased rate of dropped messages (those not received at all or which did not pass the CRC check). Contents --------