nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

Failed to get/set TX power to NRF5340 as \v1.8.0\zephyr\samples\bluetooth\hci_pwr_ctrl

Hi 

As title. Thanks.

Jeffery

Parents Reply Children
  • Hi Priyanka

    1.

    Are you sure to flash hci_pwr_ctrl  to network core? Which core did you flash BLE controller?  It confused

    me.  I did try flashing hci_pwr_ctrl at network cor and empty_app_core at application core. Then, no uart

    log. Nothing works. It thinks wrong.

    2.

    At my test previously,

    Network core: hci_rpmsg sample which included BLE controller.  Application core: hci_pwr_ctrl sample. 

    These two cores used message handler to communicate. So, bluetooth can work. Uart log can work, too.

    My only questions was NRF5340 cannot get/set TX power.

    Could you mind checking this question internally for me? It took me much time to confirm this issue.

    Jeffery

  • Hi Jeffery,

    This looks strange as it did work for me. Could you try this through west? Just open the Toolchain manager and select the "Open Command prompt" and then navigate to your project file location.

    Then try west build -b nrf5340dk_nrf5340_cpunet

    followed by west flash 

    Then you could take another DK which can be used to check the RSSI values obtained from the peripheral DK into which you flashed the hci_pwr_ctrl.

    This DK could be nRF5340DK, nRF52840DK, etc but you should flash the RSSI viewer firmware into it first and then use the RSSI Viewer application in the nRF Connect for Desktop to view the RSSI measurements.

Related