2019-09-30 10:49 AM
I'm using BLE_p2pRouteur example code. In app_conf.h, CFG_TX_POWER is #defined to 0x18, and the comment next to it says 0 dbm. This parameter gets passed to aci_hal_set_tx_power_level(1, CFG_TX_POWER). The documentation of this function in UM1865 indicates this parameter has valid values between 0 and 7. So what does a value of 0x18 mean, and how do I set the TX power to known power levels?
Thanks...
Brian
Solved! Go to Solution.
2019-10-02 04:59 AM
Please have a look at the AN5270. The ACI_HAL_SET_TX_POWER_LEVEL function is fully detailed with all the possible values and their meaning in dBm.
0x0E: -6.9 dBm
0x18: -0.15 dBm
You may also use the STM32CubeMonitor-RF tool which shows the link between the value and the power level.
2019-09-30 01:59 PM
I have the same question. I tried to set tx_power_level to a higher level (0x1e) and the power effectively was higher, but to what level ?
2019-10-02 04:59 AM
Please have a look at the AN5270. The ACI_HAL_SET_TX_POWER_LEVEL function is fully detailed with all the possible values and their meaning in dBm.
0x0E: -6.9 dBm
0x18: -0.15 dBm
You may also use the STM32CubeMonitor-RF tool which shows the link between the value and the power level.
2019-10-02 08:25 AM
Thanks Remi! This was the pointer I needed. Apparently, UM1865 is not applicable to the WB55.