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.

CC1350: read RSSI to print value in uart

Part Number: CC1350
Other Parts Discussed in Thread: CC2541, , LAUNCHXL-CC2640R2, CC2650, LAUNCHXL-CC2650, CC2560, CC2650EMK, SMARTRF06EBK, BLE-STACK

Dear Ti,

i am a newbie in TI, i was test some example like gpio interrupt and led examples in CCS. but i wan't to read RSSI value from HM10 module, that module is based on CC2541 IC. that is possible or not. i don't know which example is matched for my requirement. if you can please tell me which is best way to read RSSI from my HM10.

i have cc1350 evaluation kit, and some HM10 modules. i want to read that HM-10 modules distance with my cc1350 evaluation kit. and print the RSSI and device name in UART. if you have any example for my requirement please share with me or if you have any idea about my concept please suggest that. 

Note: i don't know about CC1350 programming commands and header files usage. so please explain with step by step.

thank you

with regards 

kannannatesh

  • Hi Natesh,

    While theoretically possible, it depends on the firmware of the module you are using. As this is not a TI module, I can't tell you if it possible or support you regarding it's software.

    Assuming you find a way for the module to give you the RSSI back, you could print it over UART quite easily. I suggest you have a look at the "uartecho" example that is available, it will show you how to setup UART and send/receive data.
  • Dear M-W,
    i know HM-10 is not a Ti product, just i tell for your reference,
    if i want to read RSSI value of another CC1350, which example is help to read Rssi from other module

    regards
    kannannatesh
  • It looks like this post is a double post of this: e2e.ti.com/.../774544

    Please don't double post.
  • Dear TER,

    i know that, But i can't get clear idea about to my requirement from Mr.Chen, so i want to discuss to more people for get more idea that why i start new question about my need.
    if this is wrong decision, i am sorry for that,

    thank you,

    with regards
    kannannatesh
  • Bluetooth forum
    Dear TER,
    i want to track my device location with bluetooth based ibeacon setup. i want to use my CC1350 evaluation kit for print my multi devices distance in UART. i don't want to use any Ibeacon app for my concept. anyone can please help to find correct Ibeacon's with circuit and example for my concept, if you think my CC1350 is not suitable for that please suggest any other micro controller for receive ibecon distance and also please suggest any one ibeacon transmitter module for my concept.
    thank you,

    with regards
    kannannatesh
  • As I had replied, TI doesn't provide BLE central example for CC1350. I would suggest you to buy LAUNCHXL-CC2640R2 to save your time.

  • Dear Chen,
    why you recommend to buy CC2650R2 evaluation board for concept, is it help to read RSSI value from my HM10 module. or any other reason
    i hope you understand what i need, once again i explain my concept i am using my HM10 as a ibeacon sensor tag and i read RSSI value of sensor tags with my microcontrollerCC1350 or CC2650 or other.
    CC2650 have any example for my concept or not.
    thank you

    with regards
    kannannatesh

  • Dear Chen,
    this CC2650 Evaluation kit is help to find my HM-10 device distance or not, If it is not possible, can i use my CC1350 Evaluation kit as a ibeacon tag.
    what is the procedure for Act my CC1350 as a sensor tag. just power up the CC1350 is enough or that is need any program for act sensor tag.
    i need to print my sensor tags(HM10 or CC1350) distance to my UART with the help of my evaluation kit.
    thamk you

    with regards
    kannannatesh
  • There are simple_central example for CC2650EM but not LAUNCHXL-CC2650. If you insist using CC2650, you still need to do porting to simple_central example to make it work on LAUNCHXL-CC2650.
  • Dear

    you said if i choose CC2560 Evaluation kit, The Simple Central Example file is help to complete my need. this is read rssi value from my all HM-10 modules. am i right or not.
    thanks

    with regards
    kannnanantesh
  • For CC2650 Evaluation kit, I mean you have to have CC2650EMK (CC2650EMK-7ID) and SMARTRF06EBK, do you?

  • Dear ,
    i have only CC1350 Evaluation kit, and if you suggest to CC2560 for my concept i will buy it.
    now you said i want to buy more boards(CC2560EMK and SMARTRF06EBK) to complete my concept.
    one thing i want to make low cost device for find own things distance with the help of BLE RSSI value.
    my HM-10 is working with some free ware app. but i want to find distance with help of Hardware like CC1350 or CC2650 Evaluation kits.
    Note: i want to just find my things(key, mobile and wallet...etc) distance from my cc1350 or CC2650. it should low cost device. that why i choose HM-10 module.
    thank you,

    withregards
    kannannatesh
  • If you don't have CC2650EMK (CC2650EMK-7ID) and SMARTRF06EBK, I would suggest you to buy LAUNCHXL-CC2640R2 which is most cost effective kit.
  • Dear

    if i buy LAUNCHXL-CC2640R2 kit, that is possible to read my HM-10 and CC1350 module RSSI based distance. there is any example available for that my concept.
    thank you

    with regards
    kannannatesh
  • I think it should be no problem but I would like to know what BLE service you run on HM-10?
  • Dear

    My HM-10 is CC2541 IC based bluetooth module, Which example is suitable for my concept. Once again please confirm it, it's suitable or not for my need, because TI doesn't have return/refund policy.

    My need: Read my HM-10 module RSSI value and print the distance through UART or any other displays.
    i never use any apps for read RSSI, i must use MC like CC1350 or CC2640R2 evaluation kit for that.
    thank you

    with regards
    kannannatesh
  • I cannot confirm anything without know what you run on HM-10 module.
  • Dear
    i don't know which firmware is run my HM-10. it's available on internet and this link shows how to convert hm-10 module as a ibeacon
    www.instructables.com/.../
    they are do some AT commands for convert HM-10 Ibeacon, already i done with it and check with my android app that shows RSSI value. thats why i choose to pin with my things for find distance.

    if my HM-10 is not suitable for that can i choose CC1350 as a ibeacon module, then cc2640R2 module can read cc1350 module's RSSI value for find distance between my CC1350 to my CC2640R2 evaluation kit.

    with regards
    kannannatesh
  • Hi Natesh,

    If you can find your beacon as a normal advertisement, you are also able to read out the RSSI value as part of the advertisement data. I would suggest you try out the simple_central example and see if you can use this to find your beacon of choice, if you can, then you can find the RSSI as part of the device info in the advertisement responds.
  • I think Natesh's problem is there is no simple_central example for CC1350 in CC13x0 SDK 2.40.00.20. You have to point out where to find simple_central example for CC1350 for him.
  • Hi YiKai,

    Ah that is correct, there is no such example available, it would have to be ported from the BLE-Stack 2.2.2 SDK.

    , you are better of getting the CC2640R2 development kit as suggested by YíKai as it has better software support and more examples for you to use.