Programatically change TX power

13 posts / 0 new
Last post
motred
Offline
Last seen:5 years 6 months ago
Expert
加入:2014-01-20 21:48
Programatically change TX power

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.

AK_Dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2013-12-16 15:49
Programatically change TX power

Hi Morgan,

The Tx output power is fixed at 0 dBm and cannot be changed (programmatically).

Best regards,

Dialog Support Team.

motred
Offline
Last seen:5 years 6 months ago
Expert
加入:2014-01-20 21:48
Thank you for the reply.

Thank you for the reply.

Is this functionality that may be added later, or is the transmit power fixed in silicon?

AK_Dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2013-12-16 15:49
Programatically change TX power

Hi Morgan,
At this moment this is fixed in the current silicon.
Best regards,
Dialog Support Team.

JE_Dialog
Offline
Last seen:3 weeks 5 days ago
Staff
加入:2013-12-05 14:02
Some more details...

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);

summer20100514
Offline
Last seen:4 years 4 months ago
Guru
加入:2014-12-30 05:01
@JE_Dialog, you say that 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?

ankitdaf
Offline
Last seen:2 years 9 months ago
加入:2015-09-03 20:14
Hi JE_Dialog

Hi JE_Dialog

Does this apply only to connection mode power or also to advertising power levels ?

JE_Dialog
Offline
Last seen:3 weeks 5 days ago
Staff
加入:2013-12-05 14:02
Hello , yes - please see

Hello , yes - please see appendix G in UM-B-015 for detials on how to do this. BR JE_Dialog

summer20100514
Offline
Last seen:4 years 4 months ago
Guru
加入:2014-12-30 05:01
Thank you !

Thank you !

Jitendraprasad
Offline
Last seen:2 years 1 month ago
加入:2017-10-02 10:38
Hello Dialog team,

Hello Dialog team,

How we can modify DA1468x transmitting power? Is this adjustable?

Any help will be appreciated.

Thanks,

Jitendra

PM_Dialog
Offline
Last seen:3 days 22 hours ago
Staff
加入:2018-02-08 11:03
Hi Jitendraprasad,

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:

__IO uint16_t RF_ENABLE_CONFIG24_BLE_REG; /*!< (@ 0x50002230) RF_ENABLE_CONFIG24_BLE_REG */
REG_SET_MASKED(RFCU_POWER, RF_ENABLE_CONFIG24_REG, 0x03E0, 0x0000);

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

liuluan002
Offline
Last seen:5 months 2 weeks ago
加入:2015-11-27 14:24
Hi Dialog, after changing the

Hi Dialog, after changing the setting from 0 dB to the -20dB for DA14583, does the system needs a restart or not?

PM_Dialog
Offline
Last seen:3 days 22 hours ago
Staff
加入:2018-02-08 11:03
Hi liuluan002,

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