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

MAX32666 RF Testing question #1290

Open
sullivanmj opened this issue Dec 10, 2024 · 1 comment
Open

MAX32666 RF Testing question #1290

sullivanmj opened this issue Dec 10, 2024 · 1 comment

Comments

@sullivanmj
Copy link

In the RF_Test Example for MAX32666, there is some code that appears to be setting TX power for the continuous transmission tests:

void setTxPower(int8_t power)
{
// TODO(BLE): validate value
txPower = power;
llc_api_set_txpower((int8_t)power);
LlSetAdvTxPower((int8_t)power);
printf("> Power set to %d dBm\n", power);
}

I see that there is come code enforcing that when the function is called, the argument needs to be one out of -10, 0, or 4. I assume these values correspond to a value in dBm. If that is the case, can we go higher than 4? Or if not, what is the argument that I can pass in order to get the highest TX power possible?

@EricB-ADI
Copy link
Contributor

-10 dBm, 0dBm, and 4 dBm are the 3 options that it can use. If you pass a value that is not one of those, you will get the closest available power. For example, -1dBm would give you 0dBm and -8dBm would give you -10dBm. The MAX32666 is limited to 4dBm max. There is no macro for max power. The maximum power is 4dBm.

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

2 participants