Skip to content

Commit

Permalink
minor fix and readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
thotro committed Jun 20, 2015
1 parent 1021e31 commit 70d3c5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions DW1000/DW1000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -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];
Expand Down Expand Up @@ -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 ###################################################
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down

0 comments on commit 70d3c5b

Please sign in to comment.