I can't find any documentation stating how to change the TX power level. I see that is adjustable from the datasheet, but I can't find how to set the appropriate register to turn the TX power down for a beacon we are building. Our beacon is getting picked up way too far away and we want to see how it performs at a lower TX power setting.
Device:
Hi dirjud,
Please checkout FAQ #4.7 from the below document:
http://lpccs-docs.dialog-semiconductor.com/DA14531_FAQs/RF_Radio.html#is-changing-tx-power-level-supported-in-prod-test-as-a-new-feature
Thanks, PM_Dialog
I want to change it programmatically in my c-code. How do I do that?
In looking through some examples, I have found the rf_pa_pwr_set() function and have been trying it, but it doesn't seem to have any effect on the RSSI as measured by the receiving device. Here is my code:
Am I calling this function in the correct place? Any ideas on why it doesn't appear to be working?
Hi dirjud,
您可以使用rf_pa_pwr_set () API来select the Tx output power level- it is in the rf_531.h / .c. The preferable Tx level can be selected from the rf_tx_pwr_lvl_t enum, which defines the transmit output power level from -19.5 dBm up to +2.5 dBm
Please give a try and let me know with the results.
Thanks, PM_Dialog
In looking through some examples, I have found the rf_pa_pwr_set() function and have been trying it, but it doesn't seem to have any effect on the RSSI as measured by the receiving device. Here is my code:
Am I calling this function in the correct place? Any ideas on why it doesn't appear to be working?
Hi dirjud,
Accordign to rf_pa_pwr_set() comments :
"Selects the Tx output power level. The selected value will be applied to hardware when set_recommended_settings() is called."
Can you please call the set_recommended_settings() ? Is there any change?
Thanks, PM_Dialog