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
Hi Jameel,
The TX transmission power should be configured externally by your test equipment by sending the 0x09 DTM command with the desired TX power to your DUT over UART. What kind of tester are you using?
Front end module (FEM) configurations are relevant only if you are including a FEM in your design such as the nRF21540.
Best regards,
Vidar
Hi Vidar,
We have used several kinds of LitePoint equipment with IQFact generic IQFact+, such as IQXEL-M2W7G…etc).
Can you please help to change the defaults setting, so that I can build a new hex files of each level as follows:
with regards,
Jameel Basha
Hi Vidar,
We have used several kinds of LitePoint equipment with IQFact generic IQFact+, such as IQXEL-M2W7G…etc).
Can you please help to change the defaults setting, so that I can build a new hex files of each level as follows:
with regards,
Jameel Basha
Hi Jameel,
The default TX power in the DTM sample (link) is hardcoded to '0', so you will need to edit the code to change it. The LDO will be used if you set CONFIG_BOARD_ENABLE_DCDC=n.
The default Bluetooth address (random static type) is stored in FICR.DEVICEADDR @ 0x00FFC3A4 and 0x00FFC3A8. RE: How to get 6 byte mac address at nrf51822
Best regards,
Vidar