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.

CC2642R: Disable 2M and Coded Phy through software

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG

Hi dear team,

A customer is having their product with CC2642R1 tested for Telec certification, and because they want to qualify the produect as BLE4.2 device, the test house asked them to disable 2M and Coded PHY for the test. Is there a way to disable the 2M and Coded PHY for CC2642R? Thanks.

Best regards,

Shuyang

  • Hi Shuyang,

    Please review this piece of documentation in order to learn more about PHY selection.

    With the newer SDKs, SysConfig can be used to select the PHY(s) used for advertising, the PHY(s) used for scanning and the PHY used for connection initialization.

    I hope this will help,

    Best regards,

  • Hi Clement,

    The customer is using HOST_TEST project for the test, and in this project, the RF STACK option shows Custom instead of BLE, therefore they can not set the PHY through SYSConfig.

    Is the PHY in the HOST_TEST configurable? Is there another way to set the PHY?

    Thanks.

    Best regards,

    Shuyang

  • Hi Shuyang,

    Sorry, I assumed the customer was using simple_peripheral.

    May I ask you to verify in SysConfig the configuration of the BLE stack?

    In addition, in the Stack project (usually named Stack Wrapper), change the value set for the predefined values PHY_2MBPS_CFG and PHY_LR_CFG (both symbols has to be 0x00). The modification has to be made inside TOOL/build_components.opt

    /* BLE Core Spec V5.0 Feature Partition Build Components */
    -DPHY_2MBPS_CFG=0x00
    -DPHY_LR_CFG=0x00

    Best regards,

  • Hi Clément,

    After building with the predefined values, the BTOOL can't connect with the LaunchPad with host_test, it shows the error "Device reset timeout". The connection is fine if the predefined value is as default. Do you have any idea what is the cause of this error?

    BTW, is it possible to limit the PHY to 1Mbps only in Simple_peripheral project? I tried to set the advertisment option in sysconfig, but it seems only affect the advertising PHY, the peripheral can still respond to a PHY change request from a central device.

    Best regards,

    Shuyang

  • Hi Shuyang,

    Obviously I was wrong in my suggestion. It is not possible to deactivate the 2M and coded PHYs in hosttest. Sorry for the misleading answer.

    In a connection, the PHY update is negotiated between the central and the peripheral. Even if the peripheral is allowed to start the procedure, the central will always have the final say (you can review BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 6, Part B, §5.1.10 for more details). As a result, if a central asks the peripheral to use the 2M PHY then the peripheral will use this PHY.

    Regards,

  • Hi Clément,

    Thanks for clarifying, now I understand the problem much more clearly. I will explain to the customer and suggest them to neogotiate with the test house for the work-around, thanks!

    Best regards,

    Shuyang