nRF5340 BLE transmit power

Hi Sirs,

in nRF5340, is it doable for  to adjust the power index of different channels of BLE_1M or 2M, in terms of SW code  (if there is then where? or NVRAM like setting (read-out/modify/fill back, and effective right after re-power on and won't vanish from then on until change setting doing agin?

Also it is not doable to change the power index via HCI command dynamiclly druing the test?

Thanks

WilsonChen

Parents
  • Hi,

    I've spoken to a developer about this. Since MPSL can only be on the network core, its APIs are only callable from the network core. There are a couple of ways to handle this.

    One way would be to configure the power envelope and call the MPSL function from the application running on the network core. This would require you to edit hci_rpmsg.

    Another way would be to create your own serialization solution to pass calls from the application core to the network core. nRF RPC may be useful for this. https://github.com/nrfconnect/sdk-nrfxlib/tree/main/nrf_rpc

    As far as I know, the power envelope is normally supposed to be configured on initialization.

    Another caveat is that this output power limit will only apply to the SOC, and not any front-end modules. You may need to "offset" the envelope to account for the additional Tx gain added by the amplifier.

    I am aware this does not answer all your questions, however I am going on vacation starting next week, so I am marking this case to be assigned to another engineer.

  • For NCS v2.2.0, you now don't need to edit hci_rpmsg or create your own serialization solution.  For example, I was able to run the HCI Power Control sample app on the app core of the nRF5340 and was able to read the default TX Power with only the unmodified running on the network core.

Reply Children
No Data
Related