Hi,
I want to know how to Configure TX power and read the BT address for nRF54L15.
Thanks,
PG
Hi,
I want to know how to Configure TX power and read the BT address for nRF54L15.
Thanks,
PG
Hi,
You can configure the CONFIG_BT_CTLR_TX_PWR_ANTENNA in your project configuration file (prj.conf). For example, if you want +8dBm (is 0 dBm by default), you can add CONFIG_BT_CTLR_TX_PWR_ANTENNA=8.
To read the local identity address, you can call bt_id_get() after settings_load() (or bt_enable(NULL) if BT_SETTINGS==n).
E.g.,
bt_addr_le_t bt_addr[CONFIG_BT_ID_MAX];
size_t count = CONFIG_BT_ID_MAX;
char addr_str[BT_ADDR_LE_STR_LEN];
bt_id_get(bt_addr, &count);
for (int i=0; i < count; i++) {
bt_addr_le_to_str(&bt_addr[i], addr_str, sizeof(addr_str));
printk("BT address %d: %s\n", i, addr_str);
}
Best regards,
Vidar
Hi Vidar,
Thanks.
1. Could you please let me know in which file, you have the functions "settings_load()" or the line (bt_enable(NULL) if BT_SETTINGS==n) ?
2. Also, could you let me know how to set the DTM example to set it to DCDC mode OR to LDO mode ?
Thanks,
Jameel Basha
Hi,
I am using the sample appln "direct_test_mode".
With Regards,
Jameel Basha
Hi Jameel,
I assumed you were using a Bluetooth application. Instructions for changing the TX power in DTM are provided here: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/direct_test_mode/README.html#tx_output_power. DTM is for testing of the physical layer, and as far as I know, does not use a BT address. Can you provide a bit more info about what you are going to use the address for? DTM does not specify a command for reading address info from the chip as far as I can tell.
The DCDC regulator is enabled by default if you build for the nRF54L PDK or DK. You can disable it by adding CONFIG_BOARD_ENABLE_DCDC=n to your project configuration (prj.conf).
Best regards,
Vidar
Hi Vidar,
1. Please point to us exactly where to modify the TX Power for the sample (direct_test_mode) using nRF54L15-PDK. I could not find a valid place to set various Tx Power.
2. I added,
in direct_test_mode@nRF54L15?
May I know, where is FEM, defined ? is it even a Macro. Please provide detailed steps, as this is new for us.
Thanks,
Jameel Basha