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.

LAUNCHXL-CC2640R2: Not working with SmartRFstudio

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640R2F, LAUNCHXL-CC2650

I am trying to use the launchxl-cc2640r2 with the SmartRFstudio but unable to transmit or receive BLE beacons. I updated the firmware requested by the SmartRFstudio and did not do anything beyond that. Any help with the setup of BLE beacons would be appreciated.

  • Hello Vamsi,

    EDIT 19-DEC-17: Adding verified configuration to TX NON-CONNECTABLE Advertisements with SmartRF Studio:

    Note that setting the ADV payload of "02 01 06" is obligatory for the phone to report the device in it's scan list (i.e., what is reported to apps such as BLE Scanner). As subsequently mentioned, SmartRF Studio 7 is not the best tools for protocol / IOP testing as it is targeted for RF validation. We recommend suing the BLE stack sample applications for protocol testing with peer devices.
    --


    (Original reply)
    I'm assuming you are referring to a "BLE beacons" colloquially as a BLE peripheral which is connectable. In this case SmartRF Studio 7 is not the proper tool as it's designed for radio testing and not BLE protocol usage.

    If you are new to our BLE products, I suggest you look at pinned Getting Started & FAQ post which will show you how to get started with BLE on CC2640R2F.

    Best wishes

  • I have used previous BLE chip sets with Smart RF studio. I just want to put the chip in transmit mode and transmit packets on a specific channel. I was able to talk to and configure the chipset but don't see any RF output from the antenna
  • In that case I would suggest posting a screen shot showing the XDS100 connected and the PDU configuration that you selected.

    Also, how are you measuring the RF output?

    Best wishes

  • I am attaching the screen shot for transmitting a single tone and this mode is working.

    I am also attaching the screen shot for transmitting BLE packets which did not work.

    I am measuring the output power by putting an external antenna right next to the antenna of the LAUNCHXL-CC2640R2 kit and looking at the spectrum on a Spectrum Analyzer. Additionally, I don't see the beacons on my phone app (a BLE scanner app).

  • I also picked the Packet TX with ADV_NONCONN_IND PDU but did not make a difference
  • Thank you for the screen shot. There are a number of configuration issues in your setup:

    1) Your Target Configuration is set incorrectly (top left box). Since you are using the LaunchPad, you need to select LAUNCHXL-CC2650
    2) You need to select Packet TX to send a ADV payload
    3) Select the LE 1M PHY setting that shows "compatible with Bluetooth 4.0 - 4.2)

    Best wishes
  • I started with those configuration and nothing happens, I am facing the same issue i.e. no output on the Spectrum analyzer and a beacon scanner app on a smartphone

    Additionally, if I use LAUNCHXL-CC2650 configuration, I cannot even send continuous TX. In the other configurations, continuous TX works (I can see output on a spectrum analyzer) whereas with LAUNCHXL-CC2650 configuration nothing happens.
  • Hi Vamsi,

    Can you enable Command View and take a screenshot with the output when running the configuration suggested by JXS?

    Cheers,
    Fredrik
  • Sure, the screenshot is attached.

  • Everything looks correct. Are you really not picking up anything on a spectrum analyzer?
  • No, I don't see anything on then spectrum analyzer, it would be a hardware issue. I will order a new dev. kit and test that again.

  • On a related note, I want to confirm that it is not a known issue i.e. the evaluation kit does work with smartRF studio 7?
  • Have you tried loading the prebuilt Simple Peripheral hex file to your LaunchPad to see if it's detectable by your phone?

    There are no known compatibility issues with SmartRF Studio 7 and the LaunchPad.

    Best wishes

  • In addition and for clarity, I edited my original reply with additional steps required to make the LaunchPad detectable with a smart phone device using SmartRF Studio 7 . The note & notable is you need to use the GAP ADV token "GAP_ADTYPE_FLAGS" in your ADV payload or the phone's BT stack will discard the device during its scan. Also, ensure you are on BLE channel 37, 38 or 39 and do not use a sequence number.

    Best wishes
  • Thanks, it's working. It was a hardware issue and its working with a new development kit.