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/LAUNCHXL-CC1350: Reset device after certain event via software

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350, CC1310

Tool/software: TI-RTOS

Hello All,

Is it possible to reset cc1350 launch pad through software after an event has happened. If this is possible please help me with this as I am not able to do this. Actually once the packet is sent, i want to reset my launchpad via software so that i can send the second packet.

Regards,

Shubham Jindal

  • Hi Shubham,

    You can refer to the post below for your answer. The answer applies to CC1310 but it's the same device but different radio:

    Regards,

    Michel

  • Thanks a lot for the help sir. This information will help me a lot in moving forward.
  • Hello Sir,

    I am trying to use this statement but I am getting errors when i am using this statement in my program. How can i use this statement?
  • What kind of errors are you getting?
    Michel
  • Hello Sir,

    First of all I think i am making a direct call to this function. Do i need to include some files in my main program for using this function and second thing is How can I use this function?

    The errors that i am getting are: 1) If i directly use this function, then i am getting the following error:
    a) unresolved symbols remain rfPacketTx_CC1350_LAUNCHXL_TI
    b) unresolved symbol SysCtrlSystemReset, first referenced in ./rfPacketTx.obj rfPacketTx_CC1350_LAUNCHXL_TI
    c) #225-D</a> function "SysCtrlSystemReset" declared implicitly rfPacketTx.c


    2) If i provide the definition for this function, I am getting following errors:
    a) #20 identifier "AON_SYSCTL_O_RESETCTL" is undefined
    b) #20 identifier "AON_SYSCTL_RESETCTL_SYSRESET_BITN" is undefined

    This are the errors that i am getting right now. Can you please help me with this.

    Thanks and regards,
    Shubham
  • Hi Shubham

    You must include sys_ctrl.h (so you shouldn't provide any definition)

    You can find the reference to all the functions that you need at the following address:


    You can also access the same information from the Resource Explorer (in CCS under the View menu).
    It is also available online at


    In the resource explorer, follow this path:
    Software->Ti-RTOS for CC26XX -> Documents->Documentation Links

    On the main page, open the CC13xxWare Documentation Overview link, and then open the DriverLib HTML Documentation

    On that new page, you should have a search box (top right) where you can search for all the functions that you are interested in.

    Regards,
    Michel

  • Hello Sir,

    Thanks for the solution but still I am not able to use this function sir. When i have included #include "sys_ctrl.h" this file, I am getting the following error:
    1) #1965 cannot open source file "sys_ctrl.h"

    And when i am including this file, #include <inc/hw_sysctl.h> I am getting the foloowing errors:
    1)#10010 errors encountered during linking; "rfPacketTx_CC1350_LAUNCHXL_TI.out" not built
    2)#10234-D</a> unresolved symbols remain

    I am not able to use this function by looking at the following attached files.

    Can you please tell me why it is not able to open this file "sys_ctrl.h" when it is already included in driverlib folder of the project.

    Please help me with this.

    Thanks and Regards,
    Shubham JIndal
  • Can you tell us what the unresolved symbols are?
    Michel
  • Even I dont know about the unresolved symbols but if i dont include this file #include <inc/hw_sysctl.h> i am not getting this error for unresolved symbols. But why it is not able to open "sys_ctrl.h"

    Thanks and Regards,
    Shubham