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.
Hi,
To control the CC2640R2F using an external MCU, then the CC2640R2F should use the host_test project. This project allows the CC2640R2F to be operated as a network processor by sending UART or SPI commands to the device. Using btool, you can send commands to change the advertising PHY as well as the connection PHY. Through BTool, you can see the bytes sent over UART and copy these for your application.
The following HCI Vendor specific guides shows all the of HCI functions that may be used, how to build them for transmission and what they do:
Best Regards,
Jan
Hi,
BTool is found within your SDK install directory.
For BLE4: {SDK_INSTALL_DIR}/tools/blestack/btool/btool.exe
For BLE5: {SDK_INSTALL_DIR}/tools/ble5stack/btool/btool.exe
Best Regards,
Jan
Hello Jan,
I want to use this commands:
Hi,
Are you using the BLE5-Stack or the BLE4 stack? The Vendor specific HCI command guide for the vendor BLE5 stack is shown below:
You should be able to set the PHY and read the PHY parameters using the commands listed in that guide.
Best Regards,
Jan
Hii Jan,
I'm Using the BLE5-Stack.I'm Trying to Find the command in given file:
file:///C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/docs/ble5stack/vendor_specific_guide/BLE_Vendor_Specific_HCI_Guide/hci_cmd_extracted.html
But there I'm not able to find the command for:
Hi,
You can find the specific HCI_LE_ReadPHY command in Btool (found in {SDK_INSTALL_DIR}/tools/ble5stack/btool/btool.exe).
In btool, you can customize the parameters and see the transmitted hex as a reference.
Best Regards,
Jan
Hello Jan,
Thanks for sharing the commands. One more quick question there are two folders available in SDK one is BLE5STACK and the other is BLESTACK what is difference between them are they both supporting BLE5 and coded PHY features.
Hi,
The difference between the ble5stack and the blestack is that the ble5stack supports BLE5 and the blestack supports BLE4.2. If BLE5 is not an absolute requirement, then I would suggest using the BLE4.2 stack on the CC2640R2 as it contains more examples and offers more RAM and Flash availability for the user application.
Best Regards,
Jan
Hi,
I want to use coded PHY can I use this with BLESTACK or I must have to go with BLE5STACK?
Hi,
If you want to do Coded PHY, then you must use BLE5-Stack. If this is a new development, then I would consider evaluating the CC2340R5 device as well. The CC2340R5 device is a native BLE5 device which offers many additional features.
Best Regards,
Jan