I would like to programatically change the transmit power of the DA14580. Is there support for this in the SDK? Could you please provide some guidance about how to do it.
@JE_Dialog, you say that it will set the near-field permanently by setting SetWord16(RF_ENABLE_CONFIG13_REG, 0x0030). After doing that, can I use SetWord16(RF_ENABLE_CONFIG13_REG, 0xD030) or SetWord16(RF_ENABLE_CONFIG13_REG, 0) to set the normal mode again according to the latest sdk 3.0.8?
The DA1468x transmitting power is not adjustable in every value. It could be by default at 0 dBm transmitting output power or at -20 dBm output power in “Near Field Mode” configuration. In order to activate the "Near Field Mode", you should program the bits 9:5 of the address 0x50002230 with the value 0x0, and you are able to stop it by restoring the previous bitfield value.
To set the output power to -20 dBm you have to configure the RF_ENABLE_CONFIG24_BLE_REG as follow:
Writing 0x0000 to RF_ENABLE_CONFIG24_BLE_REG ; then -20 dBm output power is enabled. Be aware that the default value 0x01A0 restores 0 dBm output power.
Hi Morgan,
The Tx output power is fixed at 0 dBm and cannot be changed (programmatically).
Best regards,
Dialog Support Team.
Thank you for the reply.
Is this functionality that may be added later, or is the transmit power fixed in silicon?
Hi Morgan,
At this moment this is fixed in the current silicon.
Best regards,
Dialog Support Team.
Some more details...
The transmit power of the DA14580 can be set to two levels: 0dBm and about -20dBm. This latter level is named “near-field” mode.
This will set the near-field permanently:
#define NEAR_FIELD_MODE_ENABLED
All it does, is it writes to a register:
SetWord16(RF_ENABLE_CONFIG13_REG, 0x0030);
To set the normal (0dBm) mode, use
SetWord16(RF_ENABLE_CONFIG13_REG, 0xD030);
@JE_Dialog, you say that it will set the near-field permanently by setting SetWord16(RF_ENABLE_CONFIG13_REG, 0x0030). After doing that, can I use SetWord16(RF_ENABLE_CONFIG13_REG, 0xD030) or SetWord16(RF_ENABLE_CONFIG13_REG, 0) to set the normal mode again according to the latest sdk 3.0.8?
Hi JE_Dialog
Does this apply only to connection mode power or also to advertising power levels ?
Hello , yes - please see appendix G in UM-B-015 for detials on how to do this. BR JE_Dialog
Thank you !
Hello Dialog team,
How we can modify DA1468x transmitting power? Is this adjustable?
Any help will be appreciated.
Thanks,
Jitendra
Hi Jitendraprasad,
The DA1468x transmitting power is not adjustable in every value. It could be by default at 0 dBm transmitting output power or at -20 dBm output power in “Near Field Mode” configuration. In order to activate the "Near Field Mode", you should program the bits 9:5 of the address 0x50002230 with the value 0x0, and you are able to stop it by restoring the previous bitfield value.
To set the output power to -20 dBm you have to configure the RF_ENABLE_CONFIG24_BLE_REG as follow:
Writing 0x0000 to RF_ENABLE_CONFIG24_BLE_REG ; then -20 dBm output power is enabled. Be aware that the default value 0x01A0 restores 0 dBm output power.
Thanks, PM_Dialog
Hi Dialog, after changing the setting from 0 dB to the -20dB for DA14583, does the system needs a restart or not?
Hi liuluan002,
You should not reset or restart the chip when you switch the normal mode to “Near Field Mode”. Please check the thread below:
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/signal-strength-sending
Thanks, PM_Dialog