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.

Stack 15.4 example application

Other Parts Discussed in Thread: CC1310, UNIFLASH

Hi,

I am testing the Stack 15.4 example application program. As instructed in the quick start guide I have setup the 2 CC1310 LP boards, one with Sensor+Stack and the other with Collector+Stack.

I do not have LCD displays attached to them. When I power up the Collector and press button2 the LED starts blinking (Network Join mode). When I power up the Sensor there is no indication of connection. The quick start guide says once it joins the LED1 sets to solid. But it does not happen in this case. 

What would be the alternative way of finding if the sensor has joined the collector?

Also in this example, once they connect does the sensor start sending temperature information (periodically)? and how do I monitor it in the collector?

Thank you.

  • You can refer to chapter 10 and 11 in TI-15.4 Stack Embedded Example Applications Quick Start Guide.
  • Did you add the antenna for these two board?
    I have encountered this situation with no connection, then I added a antenna for each board, they were work well.

  • Hi YiKai Chen, Thanks for your reply.

    I did follow those guides. When I turned on the next day they connected immediately (the red LED on the sensor turned on and green LED's started blinkingl). 

    The problem I am having right now is, when ever I re-flash the 2 devices it does not connect.

    I had to try re-flashing them a couple of times to get them to connect.

    And sometimes it takes a while to connect.

    Once they are connected upon restart they connect immediately. 

    (I am using all the default example configurations)

    Is it suppose to take a while to connect, or is there an additional step I have to take when re-flashing.

    Im following the steps in the given instructions. I tried cleaning the project and rebuilding as well. 

    Thank you.

  • Hi Summery, thanx for your reply too.

    I do not have any external antennas to connect to them. I doubt its a problem with reception because once they are joined the first time they connect immediately every single other time. I notice this issue when ever I reflash the 2 boards.

    Thank you.
  • After you download/erase flash, it would take longer time for device to join first time. After that, device would join faster even you power recycle the device.
  • YiKai Chen,

    Could you please give me a quick explanation on why it takes a longtime at first connect. 

    Also around how long is that.

    Any links which has details will be appreciated.

    Thank you in advance.

  • When device joins first time, it need to send beacon requests to collect beacon frame from collectors and start join process to get PANID, network address, network key (if security is enable)... So, it would take longer time. Once this is done in first time joining, it would keep on NV of device and would be loaded into device when device does power recycle and rejoin. There is no need to get PANID, network address, network key (if security is enable)... so it would be faster.
  • Thank you for the explanation YK Chen,

    When ever I re-flash the chip does it erase the NV area (last 2 pages of flash) or does that data remain until it receives new data?

    upon power up if a sensor cannot find the original collector (which it was connected earlier with) and there is another collector in the network (a new one), will the sensor join the new collector?

    Thanx in advance again.
  • 1. It depends on how to re-flash the chip. Usually, it will erase flash unless you ask CCS or Flash Programmer 2 not to erase it.
    2. If you enable NV_RESTORE on device, it won't join another collector.
  • Thanks YK Chen for all the information.

    I also downloaded Uniflash to erase the entire chip (for both collector and sensor) before reprogramming, and it it seems to join very quickly as powered on and set to Join allow mode. The standard CCS flashing method must not have erased the entire chip before downloading.

    By the way the PANID, etc. are stored in the 128KB Flash which stores the program code itself right?
    Or does it use the external 8Mbit Flash memory in the LP board.

    Thank you.
  • Yes, the PANID, etc. are stored in the 128KB Flash