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: cc1310 collector example

Other Parts Discussed in Thread: CC1310

Tool/software: TI-RTOS

Dear sir/madam,

I am using cc1310 lauchpad to run the collector / sensor example from ti resource explorer.

i am reading here

and in point(8),

"Press the BTN-2 button on the collector LaunchPad to allow new devices to join the network. Pressing the BTN-2 a second time closes the network, and new devices are not be a"

but i dont have any update on the uart when i pressing the BTN-2 on my launchpad, i try 2 different launchpad and getting the same result.

Any suggestion would be great ~

Thanks

Jeff

  • Hi Jeff,

    Which version of the SDK are you evaluating? If you look at the if(Csf_keys & KEY_RIGHT) code segment from Csf_processEvents of csf.c you will find the permit joining logic and can further debug to determine whether this is properly being executed or not.

    Regards,
    Ryan
  • HI Ryanm

    I am using CCS 8.1.0.

    as i said i download the program using resource explorer

    something i need to change in the optimsation, i changed from (4 to 3), then i can use breakpoint in

    /* Allow the Specific functions to process */
        Csf_processEvents();
     in collector.c

    in csf.c

            if(Csf_keys & KEY_RIGHT)
            {
                uint32_t duration;
                /* Toggle the permit joining */
                if (permitJoining == true)
                {
                    permitJoining = false;
                    duration = 0;
                    LCD_WRITE_STRING("PermitJoin-OFF", 3);
                }
                else
                {
                    permitJoining = true;
                    duration = 0xFFFFFFFF;
                    LCD_WRITE_STRING("PermitJoin-ON ", 3);
                }

    i cannot enter into this even i press the BTn-2.

    for Csf_keys, i dunno wether i can trigger into it

    static void processKeyChangeCallback(uint8_t keysPressed)
    {
        Csf_keys = keysPressed;

        Csf_events |= CSF_KEY_EVENT;

        /* Wake up the application thread when it waits for clock event */
        Semaphore_post(collectorSem);
    }

    and for key_right

    /*! Left Key ID */
    #define KEY_LEFT              0x08
    /*! Right Key ID */
    #define KEY_RIGHT             0x10

    i also modified the  Csf_events from 0 to 1

    /* pending Csf_events */
    uint16_t Csf_events = 1; //20190326

    thanks

    Jeff

  • Which CC13x0 SDK version do you use for this TI 15.4 collector/sensor test?
  • HI YK Chen,
    How can i check it?
    Thanks
    Jeff
  • You can check the folder name where you import the examples.
  • HI YKChen,

    I import it from TI resource explorer
  • It also give you version on TI Resource Explorer. Can you check the version?
  • HI YK Chen,

    /simplelink_cc13x0_sdk_2_20_00_38

    thanks

    Jeff
  • I suggest you to test examples in latest SDK 3.10.00.11 and the example would output the message to UART directly.