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.

RTOS/CC1350: CC1350 simple_peripheral project not advertise

Part Number: CC1350
Other Parts Discussed in Thread: CC2540, CC2640R2F

Tool/software: TI-RTOS

Hi,

I have 2xCC1350 Launchpad and i would like to use simple_peripheral projects in my launchpads.

I installed simplelink_cc13x0_sdk_1_60_00_21 and simplelink_cc13x0_sdk_2_10_00_36 SDKs.

I imported the simple_peripheral project (simple_peripheral_cc1350lp_app_flashrom) with CCS v8.

For simple_peripheral project in simplelink_cc13x0_sdk_2_10_00_36 SDK;

Description Resource Path Location Type
Build-variable 'COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_LIBRARIES' cannot be resolved. This project may not build as expected. simple_peripheral_cc1350lp_app_FlashROM properties Problem

Description Resource Path Location Type
Build-variable 'COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_SYMBOLS' cannot be resolved. This project may not build as expected. simple_peripheral_cc1350lp_app_FlashROM properties Problem

and icall task seems running forever and launchpad does not advertise

For simple_peripheral project in simplelink_cc13x0_sdk_1_60_00_21 SDK;

Description Resource Path Location Type
#112-D statement is unreachable app_ble_pem3.c /simple_peripheral_cc1350lp_app_FlashROM/Debug/configPkg/package/cfg line 7560 C/C++ Problem

Description Resource Path Location Type
This project contains 1 unresolved buildable linked resource(s). The project may not build as expected. simple_peripheral_cc1350lp_app_FlashROM project Problem

and icall task seems running forever and launchpad does not advertise

I tried CCS Cloud feature, I loaded simple_peripheral project to lp. However, it could not work

According to ble configuration in projects, it should advertise after initialization

What is the problem ? How can i solve it ?
Thanks

Have a nice day

  • Before looking into the details, what is your main reason to use BLE on CC1350?

    Note that the flash is not sufficient to run sub 1 GHz + BLE at the same time. You can either do sub 1 GHz + BLE beacons or switch from a BLE image to a sub 1 GHz image.
  • Hi Erdem,

    Are you using the OAD version of the project or the non-OAD version?

    I will try to reproduce what you're seeing and get back to you.
  • Hi TER,
    As you say, i am trying to test the switching ble image and sub 1GHz image. However, i could not run the simple_peripheral project.
    Thanks
  • Hi Marie,
    Also, i built the simple peripheral project in CCS Cloud and load the .out file by using Flash Programmer 2. it did not work.
    Thanks for your attention
  • Hi Erdem,

    Can you try installing the SDKs locally and build with CCS? (link: www.ti.com/.../SIMPLELINK-CC13X0-SDK )

    I just tried and I'm not able to reproduce your problem.

    Note that simple peripheral does not have any display defined per default on CC1350. You will however be able to see the device advertising on BLE.
  • Hi Marie,
    There might be a problem in my sdk installation. However, the launchpad did not advertise when i load and build simple_peripheral project from CCS cloud. I will reinstall SDK and let you know the result.
    Thanks for your quick response

  • Hi Marie,

    I have weird situation in my setup, I have CC1350 launchpad and SmartRF05 Evaluation. I want to make sure that there is no problem in my launchpad. 

    I set the packet sniffer to listen channel 37.
    I set the my launchpad to broadcast BLE adv at channel 37 by using smart RF.
    When i start to smartRF to send ble packet, the packet sniffer stops listening. Then, packet sniffer start listening again after stopping the smartRF program. 

    Why i am not able to use packet sniffer while i am using smart rf in my launchpad ?

    Thank you

  • Hi Marie,

    Nothing changes, it seems to locked in ICall_taskEntry function.

    I am using  CC13x0 SDK v2.10.00.36 and CCSv8.

    Here is generated .out and .hex file

    out_and_hex_file.zip

    Here is project file

    cc1350_peripheral.zip

    Thank you 

  • Hi Erdem,

    You have to use one device for advertising, and a separate device for sniffing.
  • Hi Marie,

    Of course, i am using separate device advertising and sniffing. As i said, i am using SmartRF05 Evaluation Board as a sniffer with Packet Sniffer program. i am using CC1350 launchpad with simple_peripheral example that comes with CC13x0 SDK v2.10.00.36. This makes two devices which are SmartRF05 Evaluation Board and CC1350 launchpad.

    Also, i shared simple_peripheral project in my previous comment, Can you use the project to reproduce my problem?

    Thank you

  • Hi Erdem,

    You wrote:
    "When i start to smartRF to send ble packet, the packet sniffer stops listening. Then, packet sniffer start listening again after stopping the smartRF program. "

    It sounds like SmartRF Studio is actually also running on the SMartRF 05 Board (thus blocking packet sniffer from running).

    What device is on your SmartRF05 Board? (e.g. CC2541EM).

    Can you see the CC1350 Launchpad advertise with a smartphone?
  • Hi Marie,

    There is CC2540 on SmartRF05 EB(Rev 1.0.1).

    I used two CC1350 launchpad to be sure that is there any problem in BLE antenna path.
    One of them is configured as transmitter in Smart RF stuido.
    Other launchpad is configured as receiver in Smart RF stuido.

    Transmitter sends infinite number of packets on channel 8 with 9dBm tx power.
    Receiver listens channel 8.

    Receiver catches all packets that are sent from transmitter. The average RSSI is -28dBm. No packet error rate and bit error rate. The distance between transmitter and receiver is nearly 20 centimeters.

    However, when i load the simple_peripheral example project to one of my CC1350 launchpad, it does not start advertisement( i checked the advertisement with nRF Connect mobile application and packet sniffer).

    Thanks

  • Hi Erdem,

    Can you try installing CCS and the SDK locally and build and program simple peripheral on your device?

    (When you're using smartRF studio to tranmit BLE ADV packets on channel 8 the packet sniffer will not see these packets because it's configured to sniff on one of the advertisement channels (37, 38, 39).)
  • Hi Marie,

    Sorry for my misunderstanding.

    (When you're using smartRF studio to tranmit BLE ADV packets on channel 8 the packet sniffer will not see these packets because it's configured to sniff on one of the advertisement channels (37, 38, 39).)

    I did not use packet sniffer to scan channel 8. As you say, packet sniffer is not able to scan channel 8 .I used another CC1350 launchpad with smartRF Studio to scan channel 8. 

    I only used packet sniffer and nRF Connect mobile app to scan simple_peripheral project advertisement packets.

    Can you try installing CCS and the SDK locally and build and program simple peripheral on your device?

    I reinstall SDK and CCS, it did not work.
    Also, i used CCS cloud to prevent problems which are caused by SDK and CCS installation. The simple_peripheral project that build in CCS cloud did not work.

    Can you test the project that i shared in previous comment to be sure that my launchpad is fine ?



    Best regards

  • Hi Erdem,

    If you're unsure whether the LP is the problem you can test the simple_peripheral example with no changes.

    Have you tried connecting to the CC1350 simple peripheral with a CC2640R2F simple central?
  • Hi Marie,

    I am using unmodified simple_peripheral projects.
    I am sure that, CC1350 does not advertise. If CC1350 does not advertise, how CC2640R2F lp will connect ? 

    In one of my earlier comment, i shared simple_peripheral project that i use can you check the project is fine ?
    Thank you

  • Hi Erdem,

    I just tested simple peripheral on CC1350 from the 2.10 SDK. It advertises but does not output anything over display. If you're not seeing the CC1350 advertise you have probably done something wrong.
  • Hi Marie,

    Did you test the project that i share?
    Which version of CCS you use ?
  • Hi Erdem,

    No, since you're using the simple peripheral with no changes I am just testing simple peripheral out of the SDK.

    I am using CCS 8.
  • Hi Erdem,

    Did you get it to work?

    I will close this thread due to inactivity.