This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5: Physical Layer for Multiple Advertisement Sets

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG

Hi team,

When my customer scanned the datasheet of CC2340R5, the customer found out that CC2340R5 is possible to implement Multiple Advertisement Sets. The customer can choose the physical layer for Multiple Advertisement Sets from 1Mbps, 2Mbps, or CODED(500Kbps, 125Kbps). Do we have any sample codes or fuctions for the way of selection of physical layer?

Best regards,

Shunsuke Yamamoto

  • Hey Shunsuke,

    Thanks for posting on e2e. This functionality should be configurable via SysConfig when using the BLE5-Stack examples. You can check under Broadcaster Configuration>Advertisement Set> Advertisement Parameters>Primary/Secondary PHY.

    SysConfig will then generate the advertisment structure inside ti_ble_config.c, an excerpt is shown below.

    GapAdv_params_t advParams1 = {
      .eventProps =   GAP_ADV_PROP_CONNECTABLE | GAP_ADV_PROP_LEGACY | GAP_ADV_PROP_SCANNABLE,
      .primIntMin =   160,
      .primIntMax =   160,
      .primChanMap =  GAP_ADV_CHAN_ALL,
      .peerAddrType = PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID,
      .peerAddr =     { 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa },
      .filterPolicy = GAP_ADV_WL_POLICY_ANY_REQ,
      .txPower =      GAP_ADV_TX_POWER_NO_PREFERENCE,
      .primPhy =      GAP_ADV_PRIM_PHY_1_MBPS,
      .secPhy =       GAP_ADV_SEC_PHY_1_MBPS,
      .sid =          0
    };

  • Hi Ammar-san,

    Thank you for your reply. let's discuss it on email.

    Best regards,

    Shunsuke Yamamoto