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.

RF4CE for CC2650 Launchpad

Other Parts Discussed in Thread: REMOTI, CC2650, CC2650RC

Hi, I am trying to run a demo application on the CC2650 Launchpad using RF4CE RemoTI. I have it loaded up in code composer studio and am able to run the stack and application on the Launchpad, but i'm not sure how it is supposed to work. Also, do I have to change the board file or anything for it to work with the launchpad?

Thanks

  • Hi Miles,

    You could change the board file, but in case of the UART configuration for RNP, it works 'as is' with the LaunchPad. That's because the LaunchPad and the Smart RF 06 Evaluation Board uses the same IOs for UART. I personally only use LaunchPad for the RNP.

    What you do have to change though, is the debugger used. The Smart RF 06 EB has an XDS100v3, whereas the LaunchPad use XDS110. In CCS there's a dropdown menu under Project->Properties->General->Main(tab)->Connection
  • Ok sounds good! So to get it to work on two launchpads, I can just load the stack and the application onto each launchpad and then I can form a network from that?
  • You will have to flash one as Originator and another as Recipient. Then configure them appropriately. They are kind of "dump" network processors.

    If you are looking for a standalone, single-chip, solution, then that's something we're looking into providing. That's not immediately in the pipe.
  • Ok thanks for the help so far! Just to be clear, it is possible to form a simple two device network using the launchpads? And once the network is formed, do they connect automatically? How do I check that they are connected? Thanks again

  • One more question here... Should I use the RNP sample application or the remote control sample application if I'm just trying to send data from one launchpad to the other? Also, how do select one as the originator and one as the recipient using code composer studio? Thanks again
  • Hi,

    All projects are divided in two images; App and Stack. In case of the RNP the App is really only a serial translation layer. It converts APIs call to the Stack to serial remote procedure calls over NPI (Network Processor Interface).

    You select what features to support by selecting configuration in the Stack.

    I believe I mentioned it earlier that we'd like to try a single-chip solution with peer-to-peer communication. LaunchPad to LaunchPad for RemoTI. If I were to start that project I would take the CC2650RC project for the Originator. Then I would strip out all externals, including the keyscanner. I would replace that with a basic RTOS button driver, which you can find in the basic RTOS examples.

    For the Recipient I guess the same approach would apply, but in this case there's no Stack configuration for Recipient. In order to make one you'd have to define FEATURE_RECIPIENT, instead of FEATURE_ORIGINATOR. You'll find these symbols here:

  • Hi,

    I had to put this aside for a bit, but now I'm picking it back up full force. I configured one CC2650 Launchpad as a originator and one as a receiver and programmed them just like you said, so thank you! I have a few questions... How do I know that the two launchpads are connected to each other? Also, where in the code should I look for how to send data over the network? The end goal is to send custom packets from one launchpad to the other? Is there documentation for this?

    Thanks

  • Hi Miles,

    For evaluation, you can use the target emulator (one as recipient and one as originator) and send data back and forth via the launchpads. You can verify that the devices are paired with one another by looking at each device's pairing entry.

    The main function to look for is RTI_SendDataReq().

    FYI, RemoTI 2.0.1 now supports the launchpad out of box.
  • Hi,

    Thanks for all you help, I seem to have it working. I have a quick question. Do you know how the packet structure is laid out for the packets sent over this network? Is there anywhere I can find that information?

    Thanks