1M PHY update for nrf5340_audio

Dear all,

    Recently, I developed LE audio examples using nRF5340 following the instructions from nRF connect SDK 2.5.2 (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrf/applications/nrf5340_audio/doc/index.html). And everything goes well for the original version.

     However, it seems that in BIG mode, all audio packets are 2M PHY instead 1M PHY. For some reason, I need to keep all packets as 1M PHY ones. I am not sure if it's possible to keep the 1M PHY for all packets. If possible, how can I update?

Best,

DZ

Parents
  • Thanks for your reply.

    Based on the post, I changed the required line by using BT_CODEC_QOS_1M instead of BT_CODEC_QOS_2M and rebuild the demo. However, it's still 2M PHY for BIS/CIS cases.

    So, I would like to know if I missed something, or I have to create a preset by myself?

    Best,

    DZ

  • Hi, 

    For NCS v2.6.0, it needs:

    1. update the option for creating ADV-EXT in bt_mgmt.h like the following
      The diff is 
      +++ b/applications/nrf5340_audio/src/bluetooth/bt_management/bt_mgmt.h
      @@ -12,7 +12,7 @@
      #include <zephyr/bluetooth/audio/audio.h>
      #define LE_AUDIO_EXTENDED_ADV_NAME                                                                 \
      -       BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_USE_NAME,                            \
      +       BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_NO_2M,                            \
                              CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)


      The key is to add BT_LE_ADV_OPT_NO_2M. 
    2. update the QoS setting like in zephyr host (probably you have already done it)
      diff --git a/include/zephyr/bluetooth/audio/audio.h b/include/zephyr/bluetooth/audio/audio.h
      index 03f451a3c8b..f7ace749e9d 100644
      --- a/include/zephyr/bluetooth/audio/audio.h
      +++ b/include/zephyr/bluetooth/audio/audio.h
      @@ -446,7 +446,7 @@ enum {
        *  @param _pd Presentation Delay (usec)
        */
      #define BT_AUDIO_CODEC_QOS_UNFRAMED(_interval, _sdu, _rtn, _latency, _pd)                         \
      -       BT_AUDIO_CODEC_QOS(_interval, BT_AUDIO_CODEC_QOS_FRAMING_UNFRAMED, BT_AUDIO_CODEC_QOS_2M,  \
      +       BT_AUDIO_CODEC_QOS(_interval, BT_AUDIO_CODEC_QOS_FRAMING_UNFRAMED, BT_AUDIO_CODEC_QOS_1M,  \
                                 _sdu, _rtn, _latency, _pd)

    -Amanda H.

  • Hey Amanda 

    How to set PHY as only LE 1M for both primary and secondary data in CIS audio in nrf5340 auio sample ncs 2.6.0

    Can we do the same for LE Coded PHY with nrf5340 audio broadacster sample ncs 2.6.0?

  • Ridhi said:
    How to set PHY as only LE 1M for both primary and secondary data in CIS audio in nrf5340 auio sample ncs 2.6.0

    Please create a support case. 

    Ridhi said:
    Can we do the same for LE Coded PHY with nrf5340 audio broadacster sample ncs 2.6.0?

    No, the implementation for LE Audio doesn't support it out of the box. You have asked the same question in several posts/cases recently. Please stop it since my colleagues have delivered feedback from the development team. 

  • Okay Amanda

    If that is the case then can you pls assist why LE Coded is mentioned in these

Reply Children
Related