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-Q1: Basic_Ble_PTM image to support 1M &2M PHY RF performence test at the same time

Part Number: CC2340R5-Q1

Tool/software:

Hi Ti team,

    Now we are using CC2340R5-Q1 to TI demo image-----flash Basic_Ble_PTM to test RF performence for Factory production.

    We are find that Basic_Ble_PTM image only support 1M PHY. How can we do if want Basic_Ble_PTM image to support 1M &2M PHY RF performence test at the same time?

Best regards,

Annie

  • Hello Annie,

    I'm working on this and will get back to you tomorrow.

    Thank you for your patience!

    Best,

    Nima Behmanesh

  • Hi Nima,

         Thanks for your support.

         And now we found the command that Basic_Ble_PTM image supports as below:

    HCI_LE_TransmitterTest
    1Mbps 2402MHz: Send->01 1E 20 03 00 25 00

    and HCIExt_EnhancedModemTestTxCmd is also working normal.

         The command Basic_Ble_PTM image do not support and we need to test in Factory Production is below:

    HCI_LE_EnhancedTransmitterTest(Opcode=0x2034):

    2Mbps 2402MHz: Send->01 34 20 04 00 25 00 02

    500k 2402MHz: Send->01 34 20 04 00 25 00 04

    125k 2402MHz: Send->01 34 20 04 00 25 00 03

    HCI_LE_EnhancedRecieverTest(Opcode=0x2033)
    2Mbps 2402MHz: Sending: 01 33 20 03 00 02 00

    500k 2402MHz: Sending:  01 33 20 03 00 03 00

    125k 2402MHz: Sending:  01 33 20 03 00 03 00

         Best Regards,

         Annie

  • Hello ,

         We need the two knids of command, but Basic_ble_PTM seems not support now. Because I send HCI_LE_EnhancedTxTestCmd like 01 34 20 04 00 25 00 02, I can not get any response from Basic_ble_PTM image. But HCI_LE_TxTestCmd like 01 1E 20 03 00 25 00 is OK.

         Then If we want use HCI_LE_EnhancedTxTestCmd, we need to add code in Basic_ble_PTM image based on the link you gave us, or you have similiar code can share us?

    Best Regards,

    annie

  • Hello ,

        Yes, we need right functions to call but they are not working correctly. The situation is like:  I send HCI_LE_EnhancedTxTestCmd like 01 34 20 04 00 25 00 02, I can not get any response from Basic_ble_PTM image.

         Then If we want use HCI_LE_EnhancedTxTestCmd, we need to add code in Basic_ble_PTM image based on the link you gave us, or you have similiar code can share us?

    Best Regards,

    annie

  • Hey Annie,

    Looking into this further, I do see that HCI_LE_EnchancedTransmitterTest is only supported through DTM and not PTM. So an appropriate project to test this would be host_test.

    Alternatively, you may need to add some code using the commands I sent in the previous post, however, looking into this further I was able to use BTool with basic_ble_PTM and the following HCI commands to change the PHY, as well as setting the default PHY.

    Under HCI drop down in Advanced Commands:

    May I ask how you are sending the commands to the chip?

    Best,

    Nima Behmanesh

  • Hey Nima,

           Because we have changed UART interface to LIN interface in Basic Ble PTM imgage for Factory Production. We could not use UART interface when our prodution is packed in a shell. So Host test image is not a good solution for us.

           Now we send HCI cmd by LIN interface, some command like HCI_LE_TransmitterTest is working OK. Our structure is like below:

         So the only way for us test HCI_LE_EnchancedTransmitterTest in PTM is to change code? But we found HCI code is defined in bottom layer, We are worried about that it could not work normally after we add some code about HCI_LE_EnchancedTransmitterTest in PTM?

    Best Regards,

    Annie

           

  • Hey Nima

    And if Ti team have any plan to develop HCI_LE_EnchancedTransmitterTest cmd in PTM?

    Best Regards,

    Annie