optimizing nRF5340 Audio application for maximum range

Hello,

I am working on unidirectional voice broadcasting device where the maximum range is the priority. At this time I am developing on Audio DK boards.

I need some help to choose the correct settings.

16KHz/16b, single stream (mono) quality is good enough, audio latency is not important

I need some few bytes short custom data advertisement about 5x per second. No other communication is needed.

I made some adjustments in nRF Kconfig GUI to select the audio format, audio works but it is hard to tell the the sittings is close to optimal (tested outdoor range is about 150m with optimal antenna orientation).

I understand setting the device to coded PHY should help, however I do not know how to do that.

I added

CONFIG_BT_CTLR_PHY_CODED=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_USER_PHY_UPDATE=y
to the prj.conf but i get message that CONFIG_BT_CTLR_PHY_CODED  was set to n because of dependencies. I could not find any related options in kconfig editor.
Also how can i determine the number of retransmissions?

Thank you

Regards Jeronym

Parents Reply
  • I did more experiments:

    When I create new clean application i can find 

    Bluetooth Controller (BT_CTLR) 

    and inside

    Coded PHY Support (BT_CTLR_PHY_CODED)

    option in Kconfig GUI, however it does not build.

    warning: ENTROPY_NRF5_RNG (defined at drivers/entropy/Kconfig.nrf5:14) has direct dependencies !ENTROPY_NRF_FORCE_ALT && DT_HAS_NORDIC_NRF_RNG_ENABLED && ENTROPY_GENERATOR with value n, but is currently being y-selected by the following symbols:
    - BT_LLL_VENDOR_NORDIC (defined at subsys/bluetooth\controller\Kconfig.ll_sw_split:8), with value y, direct dependencies SOC_COMPATIBLE_NRF && !n && !n && BT_LL_SW_SPLIT && BT_CTLR && BT_HCI && BT (value: y), and select condition SOC_COMPATIBLE_NRF && !n && !n && BT_LL_SW_SPLIT && BT_CTLR && BT_HCI && BT (value: y)

    error: Aborting due to Kconfig warnings

    This is all very confusing.

    I need someone to test the Audio Application with coded PHY enable option.

Children
Related