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.

connect CC2340R5 BLE with MSP430F6638 controller

Other Parts Discussed in Thread: CC2340R5, MSP430F6638

Hello,

We are exploring the CC2340R5 BLE module. We want to connect this BLE module with MSP430F6638 microcontroller via UART. 

Can you help us with the reference code for MSP430 to communicate with the CC2340R5 BLE module over UART? Also, if you can send a detailed application note for such use case, it will be helpful. 

We have referred "host_test" application provided with SDK along with btool. While using btool, we could not get any acknowledgment or response from CC2340R5 except from two commands. The screenshot is attached. 

Can you give us a suitable user guide for this?

Regards,

Virendra Dalal

Einfochips

  • For MSP430 UART example, you can refer to this:

    dev.ti.com/.../node

  • Hi Eason,

    The issue is not regarding the UART connection of MSP430F6638. The issue we are referring to is with BLE as an NPI solution.

    1. We desire to use the BLE module (CC2340R) as NPI (Network Processor Interface) and control it via the MSP430F6638 controller using HCI commands. Is there any application note available for this?

    2. We have referred "host_test" application provided with SDK along with btool. While using btool, we could not get any acknowledgment or response from CC2340R5 except from two commands. The screenshot for the same is attached to the original post. What exactly we are missing here?

    3. If there is any reference code available to control BLE via an NPI solution?

    Can you give us a suitable user guide for this?

    Regrads,

    Virendra Dalal

    Einfochips

  • I think you need to consult BLE team. I will change this thread to other topic.

  • Hi Eason,

    Can you please forward this to the respected person?  As we are running out of time, requesting you to escalate this thread.

    Regrads,

    Virendra Dalal

    Einfochips

  • Hi Virendra,

    Unfortunately host_test would be the best example for using the cc2340R5 as an NPI. I say unfortunately due to many hci commands still not being fully supported, for now most of the testing HCI commands work. Eventually when the device is officially released full support for host test and b tool will be ready.

    Are there specific hci commands you wanted to make sure would be supported for your product?

    Kind Regards,

    Rogelio

  • Hi Rogelio,

    Thanks for the update.

    Below mentioned are the key functionality we want to implement:

    1. Make the BLE module a peripheral device with advertising on/off control. We will be implementing some of the standard BLE GATT services/characteristics and some additional custom services and characteristics as per the application use case.

    2. Android/iOS mobile application will scan the BLE device and connect it. Device to support necessary read/write/notify operation on BLE GATT characteristics for communication with Mobile application.

    3. As the target device is battery operated, we will need the access to put BLE chip on sleep mode and wake up operation.

    Can you please confirm if these functionalities will work on cc2340R5? If yes, can you please share the reference host implementation and reference documents for supported command sets?

    Regrads,

    Virendra Dalal

    Einfochips

  • Hi Virendra,

    The cc2340r5 has the capability for your key functionalities and will be supported with the host test example eventually. A quick note is if you want to have the device as an NPI and for it to go to standby you will need to use either SPI or UART with Flow Control.

    Kind Regards,

    Rogelio