Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible error within the tune function regarding transmit power. #339

Open
czubri opened this issue Oct 25, 2023 · 0 comments
Open

Possible error within the tune function regarding transmit power. #339

czubri opened this issue Oct 25, 2023 · 0 comments

Comments

@czubri
Copy link

czubri commented Oct 25, 2023

Step 1: What do you want?

There might be a wrong value within the standart TX Power Configuration inside the tune function.

Step 2: Describe your environment

  • Arduino IDE version or Toolchain:
  • dw1000 Library version: 0.9
  • Arduino device: ESP32
  • Used adapter board: selfmade

Step 3: Describe the problem

I might me wrong or there might be a good reason for this but it seems to be that there might be a wrong value within the tune function for the transmit power. For channel 5 with smart transmit power control and 64 Mhz pulse freq. the DW1000 Manual (Version 2.18 Page 107) suggests a Value of 0x25466788 but within the tune function the value for this case is set to 0x25456585. All the other values the libraray seems to match the suggestion so i was wondering about this. See DW1000.cpp line 651.

Affected file(s) or example(s):

DW1000.cpp line 651
DW1000 Manual (Version 2.18 Page 107)

Steps to reproduce:

not applicable

Observed Results:

did not test transmit power in this range

Expected Results:

wrong transmitpower possible

Relevant Code:

  } else if(_pulseFrequency == TX_PULSE_FREQ_64MHZ) {
			if(_smartPower) {
				writeValueToBytes(txpower, 0x25456585L, LEN_TX_POWER);
			} else {
				writeValueToBytes(txpower, 0x85858585L, LEN_TX_POWER);
			}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant