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.

CC2640R2F: Network Processor Interface (NPI) for Application Processor

Part Number: CC2640R2F

I am using the CC2640R2F Bluetooth chip as a network processor and I would like to control it using an application processor through Network Processor Interface (NPI). Do you have an NPI library for BLE that do not require TI-RTOS for our application processor since it does not use TI-RTOS? If no, where should I start if I need to develop one?

Thanks,

Soufiane

  • Hi Soufiane,

    What BLE roles do you need to act as? (peripheral, central, broadcaster, observer).

    If you wish to be peripheral/broadcaster only you can use SNP + The MSP Bluetooth Plugin as a reference design. It does contain a reference NPI master implementation that is POSIX compliant that you may be able to use.

    If you wish to be a central/observer device, you will have to use the host_test application from the SDK alongside the HCI Vendor Specific Guide. There is no reference NPI implementation for this.
  • Hi Sean,

    We are using BLE as a peripheral. I downloaded the SNP + The MSP Bluetooth Plugin. I am currently working on adding the files/code from the example to my project to get it to work on our application processor (not a TI processor). We are using FreeRTOS and SPI to talk to the network processor. what low level functions/code do I need to modify to be able to send/receive data to/from the network processor?

    Thanks,

    Soufiane

  • I was able to modify the code to work with FreeRTOS which took much longer than what I expected. Now, It still does not work and I am starting to debug it but at least I was able to convert the code to something that other platforms can understand. It seems like the TI Bluetooth chip has good characteristics  (range...)  but if you try to use it as a network processor with a platform that is not using a TI processor, a TI bios and CCS, it is a cumbersome and a time consuming process especially with no help from TI's tech support. 

    Thanks,

    Soufiane

  • Soufiane,

    Thanks for the feedback, designing a network processor interface is indeed a challenging task.
    Please don't hesitate to ask on the forums for help along the way.